From 7c6bd698f90e60bd2d054bc597aedd9c8ca90bec Mon Sep 17 00:00:00 2001 From: Yezzi Hsueh Date: Sun, 15 Jun 2025 04:19:58 +0800 Subject: [PATCH] Initial commit --- .clean | 16 + .links | 432 + ABOUT | 38 + AN-2.0 | 1607 ++ AN-2.01 | 1496 ++ AN-3.00 | 3654 +++ AN-3.01 | 2173 ++ AN-3.02a01 | 218 + AN-3.02a02 | 199 + AN-3.02a03 | 193 + AN-3.02a04 | 204 + AN-3.02a05 | 187 + AN-3.02a06 | 204 + AN-3.02a07 | 258 + AN-3.02a08 | 218 + AN-3.02a09 | 514 + BUILD | 764 + CDDL.Schily.txt | 376 + COMPILE | 764 + CONTRIBUTING | 47 + COPYING | 131 + Changelog | 14840 +++++++++++ Changelog.1 | 7752 ++++++ DEFAULTS/Defaults | 8 + DEFAULTS/Defaults.aix | 51 + DEFAULTS/Defaults.amigaos | 51 + DEFAULTS/Defaults.beos | 51 + DEFAULTS/Defaults.bitrig | 49 + DEFAULTS/Defaults.bsd-os | 50 + DEFAULTS/Defaults.bsd-os3 | 50 + DEFAULTS/Defaults.cygwin32_nt | 77 + DEFAULTS/Defaults.cygwin32_wow | 78 + DEFAULTS/Defaults.cygwin32_wow64 | 78 + DEFAULTS/Defaults.darwin | 51 + DEFAULTS/Defaults.dgux | 51 + DEFAULTS/Defaults.dgux3 | 51 + DEFAULTS/Defaults.dgux4 | 51 + DEFAULTS/Defaults.domainos | 51 + DEFAULTS/Defaults.dragonfly | 50 + DEFAULTS/Defaults.freebsd | 50 + DEFAULTS/Defaults.freemint | 50 + DEFAULTS/Defaults.gnu | 51 + DEFAULTS/Defaults.gnu-kfreebsd | 69 + DEFAULTS/Defaults.haiku | 51 + DEFAULTS/Defaults.hp-ux | 51 + DEFAULTS/Defaults.interix | 81 + DEFAULTS/Defaults.irix | 51 + DEFAULTS/Defaults.linux | 69 + DEFAULTS/Defaults.mac-os10 | 51 + DEFAULTS/Defaults.mingw32_nt | 52 + DEFAULTS/Defaults.minix | 49 + DEFAULTS/Defaults.ms-dos | 51 + DEFAULTS/Defaults.netbsd | 50 + DEFAULTS/Defaults.newsos6 | 51 + DEFAULTS/Defaults.nextstep | 50 + DEFAULTS/Defaults.openbsd | 50 + DEFAULTS/Defaults.openserver | 50 + DEFAULTS/Defaults.openvms | 51 + DEFAULTS/Defaults.os2 | 51 + DEFAULTS/Defaults.osf1 | 51 + DEFAULTS/Defaults.pyro | 51 + DEFAULTS/Defaults.qnx | 53 + DEFAULTS/Defaults.rhapsody | 51 + DEFAULTS/Defaults.sunos4 | 50 + DEFAULTS/Defaults.sunos5 | 51 + DEFAULTS/Defaults.syllable | 51 + DEFAULTS/Defaults.unixware | 50 + DEFAULTS/MKLINKS | 4 + DEFAULTS/dummy-setup | 0 DEFAULTS/vc6-cygwin-setup | 44 + DEFAULTS/vc6-interix-setup | 40 + DEFAULTS/vc6-setup | 44 + DEFAULTS/vc7-cygwin-setup | 45 + DEFAULTS/vc7-interix-setup | 41 + DEFAULTS/vc7-setup | 45 + DEFAULTS/vc7_64-cygwin-setup | 45 + DEFAULTS/vc7_64-setup | 46 + DEFAULTS/vc9-cygwin-setup | 48 + DEFAULTS/vc9-setup | 48 + DEFAULTS_CSW/Defaults | 8 + DEFAULTS_CSW/Defaults.sunos5 | 67 + DEFAULTS_CSW/MKLINKS | 4 + DEFAULTS_CSW/null | 0 DEFAULTS_CSW/sparc-cc.defs | 40 + DEFAULTS_ENG/Defaults | 8 + DEFAULTS_ENG/Defaults.aix | 54 + DEFAULTS_ENG/Defaults.amigaos | 54 + DEFAULTS_ENG/Defaults.beos | 54 + DEFAULTS_ENG/Defaults.bitrig | 52 + DEFAULTS_ENG/Defaults.bsd-os | 53 + DEFAULTS_ENG/Defaults.bsd-os3 | 53 + DEFAULTS_ENG/Defaults.cygwin32_nt | 80 + DEFAULTS_ENG/Defaults.cygwin32_wow | 80 + DEFAULTS_ENG/Defaults.cygwin32_wow64 | 80 + DEFAULTS_ENG/Defaults.darwin | 54 + DEFAULTS_ENG/Defaults.dgux | 54 + DEFAULTS_ENG/Defaults.dgux3 | 54 + DEFAULTS_ENG/Defaults.dgux4 | 54 + DEFAULTS_ENG/Defaults.domainos | 54 + DEFAULTS_ENG/Defaults.dragonfly | 53 + DEFAULTS_ENG/Defaults.freebsd | 53 + DEFAULTS_ENG/Defaults.freemint | 53 + DEFAULTS_ENG/Defaults.gnu | 54 + DEFAULTS_ENG/Defaults.gnu-kfreebsd | 72 + DEFAULTS_ENG/Defaults.haiku | 54 + DEFAULTS_ENG/Defaults.hp-ux | 54 + DEFAULTS_ENG/Defaults.interix | 84 + DEFAULTS_ENG/Defaults.irix | 54 + DEFAULTS_ENG/Defaults.linux | 72 + DEFAULTS_ENG/Defaults.mac-os10 | 54 + DEFAULTS_ENG/Defaults.mingw32_nt | 55 + DEFAULTS_ENG/Defaults.minix | 52 + DEFAULTS_ENG/Defaults.ms-dos | 54 + DEFAULTS_ENG/Defaults.netbsd | 53 + DEFAULTS_ENG/Defaults.newsos6 | 54 + DEFAULTS_ENG/Defaults.nextstep | 53 + DEFAULTS_ENG/Defaults.openbsd | 53 + DEFAULTS_ENG/Defaults.openserver | 53 + DEFAULTS_ENG/Defaults.openvms | 51 + DEFAULTS_ENG/Defaults.os2 | 54 + DEFAULTS_ENG/Defaults.osf1 | 54 + DEFAULTS_ENG/Defaults.pyro | 54 + DEFAULTS_ENG/Defaults.qnx | 56 + DEFAULTS_ENG/Defaults.rhapsody | 54 + DEFAULTS_ENG/Defaults.sunos4 | 53 + DEFAULTS_ENG/Defaults.sunos5 | 54 + DEFAULTS_ENG/Defaults.syllable | 54 + DEFAULTS_ENG/Defaults.unixware | 53 + DEFAULTS_ENG/MKLINKS | 4 + DEFAULTS_ENG/README | 1 + DEFAULTS_ENG/dummy-setup | 0 DEFAULTS_ENG/vc6-cygwin-setup | 44 + DEFAULTS_ENG/vc6-interix-setup | 40 + DEFAULTS_ENG/vc6-setup | 44 + DEFAULTS_ENG/vc7-cygwin-setup | 45 + DEFAULTS_ENG/vc7-interix-setup | 41 + DEFAULTS_ENG/vc7-setup | 45 + DEFAULTS_ENG/vc7_64-cygwin-setup | 45 + DEFAULTS_ENG/vc7_64-setup | 46 + DEFAULTS_ENG/vc9-cygwin-setup | 48 + DEFAULTS_ENG/vc9-setup | 48 + GPL-2.0.txt | 339 + Gmake | 4 + Gmake.linux | 8 + INSTALL | 764 + LGPL-2.1.txt | 504 + MKNOD.hpux | 56 + MKNOD.hpux-800 | 92 + Makefile | 19 + Mcsw | 49 + Mocsw | 21 + PORTING | 144 + README | 5 + README.BSDi | 12 + README.FreeBSD | 95 + README.NetBSD | 21 + README.OpenBSD | 47 + README.QNX | 3 + README.SSPM | 51 + README.apple | 1 + README.compile | 764 + README.linux-shm | 25 + README.mkisofs | 16 + README.next | 1 + README.openserver | 84 + README.os2 | 25 + README.sgi | 30 + README.unixware | 89 + README.vms | 140 + README.xxxBSD | 86 + READMEs/README.aix | 32 + READMEs/README.gmake | 47 + READMEs/README.hpux | 139 + READMEs/README.install | 33 + READMEs/README.linux | 189 + READMEs/README.macosX | 98 + READMEs/README.macosX-old-versions | 104 + READMEs/README.mingw32 | 13 + READMEs/README.msdos | 89 + READMEs/README.ppc | 62 + READMEs/README.solaris | 82 + READMEs/README.sunos | 11 + READMEs/README.win32 | 202 + RULES/9000-725-hp-ux-cc.rul | 36 + RULES/9000-725-hp-ux-gcc.rul | 46 + RULES/MKLINKS | 448 + RULES/README | 27 + RULES/alpha-openvms-cc.rul | 36 + RULES/alpha-osf1-cc.rul | 36 + RULES/alpha-osf1-gcc.rul | 45 + RULES/amd64-bitrig-clang.rul | 41 + RULES/atarist-freemint-gcc.rul | 59 + RULES/aviion-dgux3-cc.rul | 34 + RULES/aviion-dgux3-gcc.rul | 36 + RULES/aviion-dgux4-cc.rul | 33 + RULES/aviion-dgux4-gcc.rul | 35 + RULES/bemac-beos-cc.rul | 42 + RULES/bemac-beos-mwcc.rul | 42 + RULES/bepc-beos-cc.rul | 53 + RULES/bepc-beos-gcc.rul | 53 + RULES/bepc-haiku-cc.rul | 58 + RULES/bepc-haiku-gcc.rul | 58 + RULES/cc-apollo.rul | 96 + RULES/cc-bemwcc.rul | 117 + RULES/cc-clang.rul | 90 + RULES/cc-dec.rul | 89 + RULES/cc-dg.rul | 88 + RULES/cc-dumb.rul | 93 + RULES/cc-gcc.rul | 90 + RULES/cc-hp.rul | 100 + RULES/cc-hp64.rul | 98 + RULES/cc-ibm.rul | 104 + RULES/cc-msc.rul | 126 + RULES/cc-msc64.rul | 28 + RULES/cc-msposix.rul | 112 + RULES/cc-openvms.rul | 92 + RULES/cc-pcc.rul | 85 + RULES/cc-sco_os.rul | 92 + RULES/cc-sco_uw.rul | 90 + RULES/cc-sgi.rul | 85 + RULES/cc-sgi64.rul | 85 + RULES/cc-sony.rul | 90 + RULES/cc-sun.rul | 90 + RULES/cc-sunpro.rul | 108 + RULES/dn5500-domainos-cc.rul | 37 + RULES/dummy.dep | 22 + RULES/dynamic.lnk | 22 + RULES/gmake.wrn | 25 + RULES/hppa-nextstep-cc.rul | 50 + RULES/hppa-nextstep-gcc.rul | 49 + RULES/i386-at386-gnu-cc.rul | 41 + RULES/i386-at386-gnu-gcc.rul | 41 + RULES/i386-bsd-os-cc.rul | 51 + RULES/i386-bsd-os-gcc.rul | 51 + RULES/i386-bsd-os3-cc.rul | 56 + RULES/i386-bsd-os3-gcc.rul | 56 + RULES/i386-darwin-clang.rul | 62 + RULES/i386-freebsd-cc.rul | 39 + RULES/i386-freebsd-clang.rul | 41 + RULES/i386-freebsd-gcc.rul | 39 + RULES/i386-mingw32_nt-gcc.rul | 49 + RULES/i386-minix-clang.rul | 41 + RULES/i386-ms-dos-gcc.rul | 44 + RULES/i386-netbsd-cc.rul | 41 + RULES/i386-netbsd-gcc.rul | 41 + RULES/i386-openbsd-cc.rul | 40 + RULES/i386-openbsd-gcc.rul | 40 + RULES/i386-openserver-cc.rul | 35 + RULES/i386-openserver-gcc.rul | 48 + RULES/i386-os2-gcc.rul | 56 + RULES/i386-unixware-cc.rul | 36 + RULES/i386-unixware-gcc.rul | 41 + RULES/i486-cygwin32_nt-cc.rul | 48 + RULES/i486-cygwin32_nt-cl.rul | 48 + RULES/i486-cygwin32_nt-gcc.rul | 48 + RULES/i486-mingw32_nt-gcc.rul | 49 + RULES/i586-linux-cc.rul | 51 + RULES/i586-linux-clang.rul | 51 + RULES/i586-linux-gcc.rul | 51 + RULES/i586-linux-suncc.rul | 55 + RULES/i586-mingw32_nt-gcc.rul | 49 + RULES/i586-pyro-cc.rul | 53 + RULES/i586-pyro-gcc.rul | 53 + RULES/i586-syllable-cc.rul | 53 + RULES/i586-syllable-gcc.rul | 53 + RULES/i686-cygwin32_wow64-cl64.rul | 40 + RULES/i686-mingw32_nt-gcc.rul | 49 + RULES/i786-mingw32_nt-gcc.rul | 49 + RULES/i86pc-sunos5-cc.rul | 37 + RULES/i86pc-sunos5-clang.rul | 47 + RULES/i86pc-sunos5-gcc.rul | 46 + RULES/i86pc-sunos5-pcc.rul | 40 + RULES/ip22-irix-cc.rul | 40 + RULES/ip22-irix-gcc.rul | 48 + RULES/ldummy.cnf | 20 + RULES/local.cnf | 48 + RULES/m68k-amigaos-gcc.rul | 42 + RULES/man-bsd.def | 48 + RULES/man-sysv.def | 48 + RULES/mk-.id | 68 + RULES/mk-gmake.id | 100 + RULES/mk-smake.id | 76 + RULES/mk-sunpro.id | 70 + RULES/news4000-newsos6-cc.rul | 39 + RULES/os-aix.def | 21 + RULES/os-aix.id | 24 + RULES/os-amigaos.def | 21 + RULES/os-amigaos.id | 22 + RULES/os-beos.def | 21 + RULES/os-beos.id | 22 + RULES/os-bitrig.def | 23 + RULES/os-bitrig.id | 24 + RULES/os-bsd-os.def | 21 + RULES/os-bsd-os.id | 23 + RULES/os-bsd-os3.def | 21 + RULES/os-cygwin32_nt.def | 22 + RULES/os-cygwin32_nt.id | 24 + RULES/os-cygwin32_wow.def | 24 + RULES/os-cygwin32_wow.id | 26 + RULES/os-cygwin32_wow64.def | 22 + RULES/os-cygwin32_wow64.id | 24 + RULES/os-cygwin_95-4.0.id | 23 + RULES/os-cygwin_98-4.10.id | 23 + RULES/os-cygwin_me-4.90.id | 23 + RULES/os-cygwin_nt-10.0-wow.id | 25 + RULES/os-cygwin_nt-10.0-wow64.id | 25 + RULES/os-cygwin_nt-10.0.id | 25 + RULES/os-cygwin_nt-4.0.id | 23 + RULES/os-cygwin_nt-5.0.id | 23 + RULES/os-cygwin_nt-5.1.id | 23 + RULES/os-cygwin_nt-5.2-wow.id | 25 + RULES/os-cygwin_nt-5.2-wow64.id | 23 + RULES/os-cygwin_nt-5.2.id | 23 + RULES/os-cygwin_nt-6.0-wow.id | 25 + RULES/os-cygwin_nt-6.0-wow64.id | 23 + RULES/os-cygwin_nt-6.0.id | 23 + RULES/os-cygwin_nt-6.1-wow.id | 25 + RULES/os-cygwin_nt-6.1-wow64.id | 23 + RULES/os-cygwin_nt-6.1.id | 23 + RULES/os-cygwin_nt-6.2-wow.id | 25 + RULES/os-cygwin_nt-6.2-wow64.id | 25 + RULES/os-cygwin_nt-6.2.id | 25 + RULES/os-cygwin_nt-6.3-wow.id | 25 + RULES/os-cygwin_nt-6.3-wow64.id | 25 + RULES/os-cygwin_nt-6.3.id | 25 + RULES/os-cygwin_nt-6.4-wow.id | 25 + RULES/os-cygwin_nt-6.4-wow64.id | 25 + RULES/os-cygwin_nt-6.4.id | 25 + RULES/os-darwin.def | 21 + RULES/os-darwin.id | 22 + RULES/os-dgux.id | 23 + RULES/os-dgux3.def | 21 + RULES/os-dgux4.def | 21 + RULES/os-domainos.def | 23 + RULES/os-domainos.id | 22 + RULES/os-dragonfly.def | 21 + RULES/os-dragonfly.id | 22 + RULES/os-freebsd.def | 21 + RULES/os-freebsd.id | 22 + RULES/os-freemint.def | 21 + RULES/os-freemint.id | 22 + RULES/os-gnu-kfreebsd.def | 21 + RULES/os-gnu-kfreebsd.id | 22 + RULES/os-gnu.def | 21 + RULES/os-gnu.id | 22 + RULES/os-haiku.def | 21 + RULES/os-haiku.id | 22 + RULES/os-hp-ux.def | 21 + RULES/os-hp-ux.id | 22 + RULES/os-interix-nt-4.0.id | 21 + RULES/os-interix-nt-5.0.id | 21 + RULES/os-interix-nt-5.1.id | 21 + RULES/os-interix-nt-5.2.id | 21 + RULES/os-interix-nt-6.0.id | 23 + RULES/os-interix-nt-6.1.id | 23 + RULES/os-interix.def | 21 + RULES/os-interix.id | 40 + RULES/os-irix.def | 21 + RULES/os-irix.id | 22 + RULES/os-linux.def | 21 + RULES/os-linux.id | 22 + RULES/os-mac-os.id | 23 + RULES/os-mac-os10.def | 21 + RULES/os-mingw32_95-4.0.id | 20 + RULES/os-mingw32_98-4.0.id | 20 + RULES/os-mingw32_98-4.10.id | 20 + RULES/os-mingw32_me-4.90.id | 20 + RULES/os-mingw32_nt-4.0.id | 20 + RULES/os-mingw32_nt-5.0.id | 20 + RULES/os-mingw32_nt-5.1.id | 20 + RULES/os-mingw32_nt-5.2.id | 20 + RULES/os-mingw32_nt-6.0.id | 22 + RULES/os-mingw32_nt-6.1.id | 22 + RULES/os-mingw32_nt-6.2.id | 22 + RULES/os-mingw32_nt-6.3.id | 22 + RULES/os-mingw32_nt-6.4.id | 22 + RULES/os-mingw32_nt.def | 25 + RULES/os-mingw32_nt.id | 20 + RULES/os-minix.def | 23 + RULES/os-minix.id | 24 + RULES/os-ms-dos.def | 19 + RULES/os-ms-dos.id | 20 + RULES/os-netbsd.def | 21 + RULES/os-netbsd.id | 22 + RULES/os-news-os.id | 21 + RULES/os-newsos6.def | 19 + RULES/os-nextstep.def | 21 + RULES/os-nextstep.id | 22 + RULES/os-openbsd.def | 21 + RULES/os-openbsd.id | 22 + RULES/os-openserver.def | 21 + RULES/os-openvms.def | 21 + RULES/os-openvms.id | 22 + RULES/os-os-2.id | 22 + RULES/os-os2.def | 21 + RULES/os-osf1.def | 21 + RULES/os-osf1.id | 22 + RULES/os-pyro.def | 21 + RULES/os-pyro.id | 22 + RULES/os-qnx.def | 21 + RULES/os-qnx.id | 22 + RULES/os-rhapsody.def | 21 + RULES/os-rhapsody.id | 22 + RULES/os-sco_sv.id | 25 + RULES/os-sunos.id | 23 + RULES/os-sunos4.def | 21 + RULES/os-sunos5.def | 21 + RULES/os-syllable.def | 21 + RULES/os-syllable.id | 22 + RULES/os-unix_sv.id | 22 + RULES/os-unixware.def | 21 + RULES/os-unixware.id | 22 + RULES/pci-qnx-cc.rul | 39 + RULES/power-macintosh-darwin-cc.rul | 64 + RULES/power-macintosh-darwin-gcc.rul | 63 + RULES/power-macintosh-rhapsody-cc.rul | 58 + RULES/power-macintosh-rhapsody-gcc.rul | 55 + RULES/powerpc-beos-gcc.rul | 51 + RULES/powerpc-beos-mwcc.rul | 44 + RULES/profiled.lnk | 22 + RULES/r-gmake.dep | 94 + RULES/r-gmake.tag | 25 + RULES/r-make.dep | 86 + RULES/r-make.obj | 60 + RULES/r-make.tag | 25 + RULES/r-smake.dep | 102 + RULES/r-smake.obj | 64 + RULES/r-smake.tag | 25 + RULES/r-sunpro.dep | 94 + RULES/rs6000-aix-cc.rul | 40 + RULES/rs6000-aix-gcc.rul | 54 + RULES/rules.aux | 38 + RULES/rules.clr | 46 + RULES/rules.cmd | 56 + RULES/rules.cnf | 73 + RULES/rules.cpl | 24 + RULES/rules.cst | 33 + RULES/rules.csw | 52 + RULES/rules.dep | 21 + RULES/rules.dir | 26 + RULES/rules.drv | 42 + RULES/rules.dyn | 28 + RULES/rules.env | 47 + RULES/rules.hlp | 77 + RULES/rules.htm | 50 + RULES/rules.inc | 61 + RULES/rules.ins | 111 + RULES/rules.lib | 55 + RULES/rules.lnt | 25 + RULES/rules.loc | 51 + RULES/rules.man | 67 + RULES/rules.mkd | 23 + RULES/rules.mks | 37 + RULES/rules.mod | 40 + RULES/rules.nul | 20 + RULES/rules.obj | 23 + RULES/rules.pkg | 95 + RULES/rules.prg | 119 + RULES/rules.rdi | 44 + RULES/rules.rel | 83 + RULES/rules.scr | 24 + RULES/rules.shl | 81 + RULES/rules.sps | 85 + RULES/rules.tag | 21 + RULES/rules.top | 99 + RULES/rules.tpk | 70 + RULES/rules.tst | 30 + RULES/rules1.dir | 52 + RULES/rules1.top | 397 + RULES/static.lnk | 22 + RULES/sub.htm | 36 + RULES/sun3-sunos4-cc.rul | 34 + RULES/sun3-sunos4-gcc.rul | 46 + RULES/sun4-sunos4-cc.rul | 34 + RULES/sun4-sunos4-gcc.rul | 41 + RULES/sun4-sunos5-cc.rul | 37 + RULES/sun4-sunos5-clang.rul | 46 + RULES/sun4-sunos5-gcc.rul | 48 + RULES/version | 17 + RULES/x86-interix-cc.rul | 46 + RULES/x86-interix-cl.rul | 54 + RULES/x86-interix-gcc.rul | 41 + RULES/x86pc-qnx-gcc.rul | 42 + START | 1 + TARGETS/15conf | 1 + TARGETS/25inc | 1 + TARGETS/25include | 1 + TARGETS/43libschily | 1 + TARGETS/44libdeflt | 1 + TARGETS/44libscg | 1 + TARGETS/44libscg!@!scg | 1 + TARGETS/45lib | 1 + TARGETS/45libcdrdeflt | 1 + TARGETS/45libedc | 1 + TARGETS/45libfile | 1 + TARGETS/45libfind | 1 + TARGETS/45libhfs_iso | 1 + TARGETS/45libmdigest | 1 + TARGETS/45libparanoia | 1 + TARGETS/45librscg | 1 + TARGETS/45libscgcmd | 1 + TARGETS/45libsiconv | 1 + TARGETS/45libsiconv!@!tables | 1 + TARGETS/55btcflash | 1 + TARGETS/55cdda2wav | 1 + TARGETS/55cdrecord | 1 + TARGETS/55cmd | 1 + TARGETS/55mkisofs | 1 + TARGETS/55mkisofs!@!diag | 1 + TARGETS/55readcd | 1 + TARGETS/55rscsi | 1 + TARGETS/55scgcheck | 1 + TARGETS/55scgskeleton | 1 + TARGETS/85man | 1 + TARGETS/README | 12 + TARGETS/Targetdirs | 6 + TARGETS/__slot | 1 + TEMPLATES/Defaults.clang | 49 + TEMPLATES/Defaults.gcc | 49 + TEMPLATES/Defaults.xcc | 49 + TEMPLATES/MKLINKS | 52 + TEMPLATES/Makefile.aux | 16 + TEMPLATES/Makefile.cmd | 19 + TEMPLATES/Makefile.dir | 16 + TEMPLATES/Makefile.drv | 21 + TEMPLATES/Makefile.inc | 15 + TEMPLATES/Makefile.lib | 19 + TEMPLATES/Makefile.loc | 17 + TEMPLATES/Makefile.man | 18 + TEMPLATES/Makefile.mks | 16 + TEMPLATES/Makefile.mod | 21 + TEMPLATES/Makefile.root | 19 + TEMPLATES/Makefile.scr | 17 + TEMPLATES/Makefile.shl | 21 + TEMPLATES/Makefile.wrap | 17 + TEMPLATES/Makefile_de.man | 20 + TEMPLATES/noshlxxx.mk | 9 + TEMPLATES/temp-clang.rul | 48 + TEMPLATES/temp-gcc.rul | 48 + TEMPLATES/temp-xcc.rul | 39 + autoconf/acgeneral.m4 | 2751 ++ autoconf/aclocal.m4 | 3500 +++ autoconf/acoldnames.m4 | 82 + autoconf/acspecific.m4 | 2913 +++ autoconf/autoconf | 176 + autoconf/autoconf.m4 | 28 + autoconf/autoheader.m4 | 110 + autoconf/config.guess | 1031 + autoconf/config.sub | 998 + autoconf/configure | 24885 +++++++++++++++++++ autoconf/configure.in | 1115 + autoconf/install-sh | 250 + autoconf/rules.cnf.in | 43 + autoconf/xconfig.h.in | 1180 + btcflash/MKLINKS | 38 + btcflash/Makefile | 41 + btcflash/Makefile.man | 18 + btcflash/btcflash.1 | 451 + btcflash/btcflash.c | 307 + btcflash/skel.c | 527 + build_all.com | 29 + cdda2wav/Changelog | 570 + cdda2wav/FAQ | 293 + cdda2wav/Frontends | 34 + cdda2wav/HOWTOUSE | 101 + cdda2wav/MKLINKS | 49 + cdda2wav/Makefile | 73 + cdda2wav/Makefile.man | 18 + cdda2wav/Makefile.rd | 16 + cdda2wav/NEEDED | 10 + cdda2wav/OtherProgs | 2 + cdda2wav/README | 549 + cdda2wav/THANKS | 36 + cdda2wav/TODO | 41 + cdda2wav/aifc.c | 259 + cdda2wav/aifc.h | 2 + cdda2wav/aiff.c | 231 + cdda2wav/aiff.h | 2 + cdda2wav/autoconf_ | 5 + cdda2wav/base64.c | 105 + cdda2wav/base64.h | 58 + cdda2wav/build_cdda2wav.com | 44 + cdda2wav/byteorder.h | 76 + cdda2wav/cd_extra.c | 485 + cdda2wav/cd_text.c | 636 + cdda2wav/cdda2mp3 | 111 + cdda2wav/cdda2mp3.1 | 2 + cdda2wav/cdda2mp3.mk | 16 + cdda2wav/cdda2mp3.mk1 | 18 + cdda2wav/cdda2mp3.new | 60 + cdda2wav/cdda2ogg | 111 + cdda2wav/cdda2ogg.1 | 191 + cdda2wav/cdda2ogg.mk | 16 + cdda2wav/cdda2ogg.mk1 | 18 + cdda2wav/cdda2wav.1 | 1739 ++ cdda2wav/cdda2wav.c | 4479 ++++ cdda2wav/cdda2wav.h | 150 + cdda2wav/cdda_links | 4 + cdda2wav/config.h | 65 + cdda2wav/configure | 1671 ++ cdda2wav/configure.in | 151 + cdda2wav/exitcodes.h | 42 + cdda2wav/global.h | 180 + cdda2wav/inf2cdtext.pl | 241 + cdda2wav/interface.c | 1258 + cdda2wav/interface.h | 166 + cdda2wav/ioctl.c | 716 + cdda2wav/ioctl.h | 2 + cdda2wav/lconfig.h.in | 32 + cdda2wav/local.cnf.in | 155 + cdda2wav/lowlevel.h | 26 + cdda2wav/mycdrom.h | 167 + cdda2wav/mytype.h | 42 + cdda2wav/parse.c | 510 + cdda2wav/parse.h | 28 + cdda2wav/pitchplay | 39 + cdda2wav/raw.c | 84 + cdda2wav/raw.h | 2 + cdda2wav/readmult | 31 + cdda2wav/resample.c | 1195 + cdda2wav/resample.h | 32 + cdda2wav/ringbuff.c | 283 + cdda2wav/ringbuff.h | 114 + cdda2wav/scsi_cmds.c | 2432 ++ cdda2wav/scsi_cmds.h | 108 + cdda2wav/semshm.c | 599 + cdda2wav/semshm.h | 53 + cdda2wav/setuid.c | 415 + cdda2wav/setuid.h | 41 + cdda2wav/sndconfig.c | 1065 + cdda2wav/sndconfig.h | 27 + cdda2wav/sndfile.h | 38 + cdda2wav/sun.c | 118 + cdda2wav/sun.h | 2 + cdda2wav/toc.c | 4523 ++++ cdda2wav/toc.h | 71 + cdda2wav/tracknames.pl | 245 + cdda2wav/tracknames.txt | 34 + cdda2wav/version.sed | 4 + cdda2wav/wav.c | 190 + cdda2wav/wav.h | 2 + cdrecord/COPYING | 57 + cdrecord/LICENSE | 57 + cdrecord/LIMITATIONS | 57 + cdrecord/Makefile | 66 + cdrecord/Makefile.dfl | 20 + cdrecord/Makefile.doc | 20 + cdrecord/Makefile.man | 18 + cdrecord/README | 461 + cdrecord/README.ATAPI | 601 + cdrecord/README.DiskT@2 | 63 + cdrecord/README.WORM | 10 + cdrecord/README.audio | 50 + cdrecord/README.cdplus | 75 + cdrecord/README.cdrw | 13 + cdrecord/README.cdtext | 61 + cdrecord/README.clone | 26 + cdrecord/README.copy | 52 + cdrecord/README.multi | 190 + cdrecord/README.parallel | 55 + cdrecord/README.raw | 69 + cdrecord/README.rscsi | 126 + cdrecord/README.solaris-x86-ATAPI-DMA | 79 + cdrecord/README.solaris-x86-ata-DMA | 92 + cdrecord/README.sony | 29 + cdrecord/README.sun-lofi | 20 + cdrecord/README.verify | 87 + cdrecord/README.volmgt | 44 + cdrecord/Rata-dma.mk | 16 + cdrecord/Ratapi-dma.mk | 16 + cdrecord/Ratapi.mk | 16 + cdrecord/Raudio.mk | 16 + cdrecord/Rcdplus.mk | 16 + cdrecord/Rcdrw.mk | 16 + cdrecord/Rcdtext.mk | 16 + cdrecord/Rclone.mk | 16 + cdrecord/Rcopy.mk | 16 + cdrecord/Rdisktattoo.mk | 16 + cdrecord/Rmulti.mk | 16 + cdrecord/Rparallel.mk | 16 + cdrecord/Rraw.mk | 16 + cdrecord/Rrscsi.mk | 16 + cdrecord/Rsony.mk | 16 + cdrecord/Rsun-lofi.mk | 16 + cdrecord/Rverify.mk | 16 + cdrecord/Rvolmgt.mk | 16 + cdrecord/Rworm.mk | 16 + cdrecord/adip.h | 37 + cdrecord/audiosize.c | 285 + cdrecord/auheader.h | 25 + cdrecord/auinfo.c | 614 + cdrecord/build_all.com | 119 + cdrecord/build_all.com.old | 98 + cdrecord/build_cdrecord.com | 63 + cdrecord/cd_misc.c | 191 + cdrecord/cdr_drv.c | 409 + cdrecord/cdrecord.1 | 3537 +++ cdrecord/cdrecord.c | 5552 +++++ cdrecord/cdrecord.dfl | 69 + cdrecord/cdrecord.h | 1237 + cdrecord/cdtext.c | 602 + cdrecord/cdtext.h | 128 + cdrecord/clone.c | 265 + cdrecord/crc16.c | 161 + cdrecord/crc16.h | 26 + cdrecord/cue.c | 1713 ++ cdrecord/diskid.c | 525 + cdrecord/drv_7501.c | 1089 + cdrecord/drv_bd.c | 1929 ++ cdrecord/drv_dvd.c | 2177 ++ cdrecord/drv_dvdplus.c | 1991 ++ cdrecord/drv_jvc.c | 1499 ++ cdrecord/drv_mmc.c | 3917 +++ cdrecord/drv_philips.c | 1446 ++ cdrecord/drv_simul.c | 481 + cdrecord/drv_sony.c | 1442 ++ cdrecord/fifo.c | 929 + cdrecord/iso9660.h | 165 + cdrecord/isosize.c | 108 + cdrecord/misc.c | 86 + cdrecord/mmcvendor.h | 72 + cdrecord/movesect.c | 97 + cdrecord/movesect.h | 30 + cdrecord/priv.c | 497 + cdrecord/readme.mk | 16 + cdrecord/scsi_cdr.c | 3119 +++ cdrecord/scsi_cdr_mmc4.c | 72 + cdrecord/scsi_mmc.c | 1592 ++ cdrecord/scsi_mmc4.c | 74 + cdrecord/scsi_scan.c | 278 + cdrecord/scsi_scan.h | 25 + cdrecord/scsilog.c | 174 + cdrecord/scsilog.h | 111 + cdrecord/scsimmc.h | 623 + cdrecord/sector.c | 274 + cdrecord/subchan.c | 1053 + cdrecord/vendor.c | 45 + cdrecord/version.h | 6 + cdrecord/wm_packet.c | 302 + cdrecord/wm_session.c | 41 + cdrecord/wm_track.c | 40 + cdrecord/xio.c | 193 + cdrecord/xio.h | 53 + conf/Makefile | 58 + conf/cc-config.sh | 251 + conf/install-sh | 337 + conf/makeinc | 236 + conf/mkdep-aix.sh | 59 + conf/mkdep-hpux.sh | 43 + conf/mkdep-msc-interix.sh | 80 + conf/mkdep-msc.sh | 53 + conf/mkdep-sco.sh | 45 + conf/mkdir-sh | 54 + conf/mkdir.sh | 153 + conf/oarch.sh | 247 + conf/post.html | 9 + conf/pre.html | 7 + conf/runrmt_android | 92 + conf/runrmt_rsh | 70 + conf/runrmt_ssh | 70 + conf/setup.sh | 243 + conf/src-get | 459 + conf/srcroot.sh | 41 + conf/wget.sh | 84 + conf/xconfig.mk | 21 + configure | 31 + doc/btcflash.man | 396 + doc/btcflash.ps | 1156 + doc/cdda2ogg.man | 132 + doc/cdda2ogg.ps | 575 + doc/cdda2wav.man | 1584 ++ doc/cdda2wav.ps | 3726 +++ doc/cdrecord.man | 3564 +++ doc/cdrecord.ps | 6957 ++++++ doc/isoinfo.man | 330 + doc/isoinfo.ps | 872 + doc/mkisofs.man | 3498 +++ doc/mkisofs.ps | 8275 ++++++ doc/readcd.man | 726 + doc/readcd.ps | 1802 ++ doc/scgcheck.man | 396 + doc/scgcheck.ps | 1037 + doc/scgskeleton.man | 396 + doc/scgskeleton.ps | 1146 + inc/MKLINKS | 38 + inc/Makefile | 16 + inc/align_test.c | 826 + inc/align_test.mk | 16 + inc/avoffset.c | 187 + inc/avoffset.mk | 17 + inc/getfp.c | 114 + include/Makefile | 14 + include/schily/Makefile | 19 + include/schily/Targets | 36 + include/schily/_regex.h | 135 + include/schily/_regex.mk | 17 + include/schily/align.h | 173 + include/schily/align.mk | 17 + include/schily/alloca.h | 71 + include/schily/alloca.mk | 17 + include/schily/archdefs.h | 288 + include/schily/archdefs.mk | 17 + include/schily/assert.h | 47 + include/schily/assert.mk | 17 + include/schily/avoffset.h | 164 + include/schily/avoffset.mk | 17 + include/schily/btorder.h | 124 + include/schily/btorder.mk | 17 + include/schily/ccomdefs.h | 90 + include/schily/ccomdefs.mk | 17 + include/schily/checkerr.h | 95 + include/schily/checkerr.mk | 17 + include/schily/ctype.h | 40 + include/schily/ctype.mk | 17 + include/schily/dbgmalloc.h | 79 + include/schily/dbgmalloc.mk | 17 + include/schily/deflts.h | 70 + include/schily/deflts.mk | 17 + include/schily/device.h | 158 + include/schily/device.mk | 17 + include/schily/dirent.h | 225 + include/schily/dirent.mk | 17 + include/schily/dlfcn.h | 110 + include/schily/dlfcn.mk | 17 + include/schily/err_arch.h | 24 + include/schily/err_arch.mk | 17 + include/schily/err_bit.h | 24 + include/schily/err_bit.mk | 17 + include/schily/err_char.h | 24 + include/schily/err_char.mk | 17 + include/schily/err_type.h | 26 + include/schily/err_type.mk | 17 + include/schily/errno.h | 62 + include/schily/errno.mk | 17 + include/schily/fcntl.h | 134 + include/schily/fcntl.mk | 17 + include/schily/fetchdir.h | 60 + include/schily/fetchdir.mk | 17 + include/schily/find.h | 119 + include/schily/find.mk | 17 + include/schily/float.h | 56 + include/schily/float.mk | 17 + include/schily/fnmatch.h | 103 + include/schily/fnmatch.mk | 17 + include/schily/fstream.h | 98 + include/schily/fstream.mk | 17 + include/schily/getargs.h | 172 + include/schily/getargs.mk | 17 + include/schily/getcwd.h | 53 + include/schily/getcwd.mk | 17 + include/schily/grp.h | 53 + include/schily/grp.mk | 17 + include/schily/hostname.h | 105 + include/schily/hostname.mk | 17 + include/schily/iconv.h | 72 + include/schily/iconv.mk | 17 + include/schily/idcache.h | 43 + include/schily/idcache.mk | 17 + include/schily/in.h | 33 + include/schily/in.mk | 17 + include/schily/inet.h | 47 + include/schily/inet.mk | 17 + include/schily/intcvt.h | 114 + include/schily/intcvt.mk | 17 + include/schily/inttypes.h | 38 + include/schily/inttypes.mk | 17 + include/schily/io.h | 46 + include/schily/io.mk | 17 + include/schily/ioctl.h | 33 + include/schily/ioctl.mk | 17 + include/schily/ipc.h | 33 + include/schily/ipc.mk | 17 + include/schily/jmpdefs.h | 60 + include/schily/jmpdefs.mk | 17 + include/schily/libgen.h | 51 + include/schily/libgen.mk | 17 + include/schily/libport.h | 416 + include/schily/libport.mk | 17 + include/schily/librmt.h | 69 + include/schily/librmt.mk | 17 + include/schily/limits.h | 54 + include/schily/limits.mk | 17 + include/schily/locale.h | 50 + include/schily/locale.mk | 17 + include/schily/math.h | 34 + include/schily/math.mk | 17 + include/schily/maxpath.h | 122 + include/schily/maxpath.mk | 17 + include/schily/mconfig.h | 559 + include/schily/mconfig.mk | 17 + include/schily/md4.h | 59 + include/schily/md4.mk | 17 + include/schily/md5.h | 59 + include/schily/md5.mk | 17 + include/schily/mman.h | 58 + include/schily/mman.mk | 17 + include/schily/mtio.h | 99 + include/schily/mtio.mk | 17 + include/schily/netdb.h | 42 + include/schily/netdb.mk | 17 + include/schily/nlsdefs.h | 103 + include/schily/nlsdefs.mk | 17 + include/schily/param.h | 76 + include/schily/param.mk | 17 + include/schily/patmatch.h | 143 + include/schily/patmatch.mk | 17 + include/schily/poll.h | 43 + include/schily/poll.mk | 17 + include/schily/priv.h | 151 + include/schily/priv.mk | 17 + include/schily/procfs.h | 40 + include/schily/procfs.mk | 17 + include/schily/prototyp.h | 132 + include/schily/prototyp.mk | 17 + include/schily/pwd.h | 56 + include/schily/pwd.mk | 17 + include/schily/regex.h | 36 + include/schily/regex.mk | 17 + include/schily/resource.h | 127 + include/schily/resource.mk | 17 + include/schily/rmd160.h | 70 + include/schily/rmd160.mk | 17 + include/schily/rmtio.h | 160 + include/schily/rmtio.mk | 17 + include/schily/schily.h | 659 + include/schily/schily.mk | 17 + include/schily/schilyp.h | 42 + include/schily/schilyp.mk | 17 + include/schily/select.h | 48 + include/schily/select.mk | 17 + include/schily/sem.h | 33 + include/schily/sem.mk | 17 + include/schily/setjmp.h | 31 + include/schily/setjmp.mk | 17 + include/schily/sha1.h | 70 + include/schily/sha1.mk | 17 + include/schily/sha2.h | 135 + include/schily/sha2.mk | 17 + include/schily/sha3.h | 90 + include/schily/sha3.mk | 17 + include/schily/shadow.h | 33 + include/schily/shadow.mk | 17 + include/schily/shcall.h | 52 + include/schily/shcall.mk | 17 + include/schily/shedit.h | 97 + include/schily/shedit.mk | 17 + include/schily/shm.h | 33 + include/schily/shm.mk | 17 + include/schily/siconv.h | 63 + include/schily/siconv.mk | 17 + include/schily/sigblk.h | 62 + include/schily/sigblk.mk | 17 + include/schily/signal.h | 60 + include/schily/signal.mk | 17 + include/schily/sigset.h | 103 + include/schily/sigset.mk | 17 + include/schily/socket.h | 64 + include/schily/socket.mk | 17 + include/schily/standard.h | 159 + include/schily/standard.mk | 17 + include/schily/stat.h | 402 + include/schily/stat.mk | 17 + include/schily/stdarg.h | 30 + include/schily/stdarg.mk | 17 + include/schily/stdint.h | 488 + include/schily/stdint.mk | 17 + include/schily/stdio.h | 136 + include/schily/stdio.mk | 17 + include/schily/stdlib.h | 72 + include/schily/stdlib.mk | 17 + include/schily/stkframe.h | 90 + include/schily/stkframe.mk | 17 + include/schily/strar.h | 186 + include/schily/strar.mk | 17 + include/schily/string.h | 108 + include/schily/string.mk | 17 + include/schily/sunos4_proto.h | 287 + include/schily/sunos4_proto.mk | 17 + include/schily/sysexits.h | 135 + include/schily/sysexits.mk | 17 + include/schily/syslog.h | 33 + include/schily/syslog.mk | 17 + include/schily/systeminfo.h | 33 + include/schily/systeminfo.mk | 17 + include/schily/termcap.h | 59 + include/schily/termcap.mk | 17 + include/schily/termios.h | 148 + include/schily/termios.mk | 17 + include/schily/time.h | 164 + include/schily/time.mk | 17 + include/schily/timeb.h | 39 + include/schily/timeb.mk | 17 + include/schily/times.h | 53 + include/schily/times.mk | 17 + include/schily/types.h | 47 + include/schily/types.mk | 17 + include/schily/unistd.h | 183 + include/schily/unistd.mk | 17 + include/schily/utime.h | 80 + include/schily/utime.mk | 17 + include/schily/utsname.h | 62 + include/schily/utsname.mk | 17 + include/schily/utypes.h | 158 + include/schily/utypes.mk | 17 + include/schily/varargs.h | 140 + include/schily/varargs.mk | 17 + include/schily/vfork.h | 69 + include/schily/vfork.mk | 17 + include/schily/wait.h | 283 + include/schily/wait.mk | 17 + include/schily/walk.h | 133 + include/schily/walk.mk | 17 + include/schily/wchar.h | 180 + include/schily/wchar.mk | 17 + include/schily/wctype.h | 103 + include/schily/wctype.mk | 17 + include/schily/windows.h | 88 + include/schily/windows.mk | 17 + include/schily/xconfig.h | 180 + include/schily/xconfig.mk | 17 + include/schily/xmconfig.h | 159 + include/schily/xmconfig.mk | 17 + lib/Makefile.off | 14 + lib/TARGETS/15conf | 0 lib/TARGETS/__slot | 0 lib/Targetdirs | 0 libcdrdeflt/Makefile | 12 + libcdrdeflt/Targets | 5 + libcdrdeflt/cdrdeflt.c | 273 + libcdrdeflt/cdrdeflt.h | 26 + libcdrdeflt/libcdrdeflt-mapvers | 9 + libcdrdeflt/libcdrdeflt.mk | 22 + libcdrdeflt/libcdrdeflt_p.mk | 24 + libcdrdeflt/noshlcdrdeflt.mk | 9 + libcdrdeflt/shlcdrdeflt.mk | 22 + libdeflt/Makefile | 12 + libdeflt/Targets | 1 + libdeflt/default.c | 203 + libdeflt/libdeflt-mapvers | 20 + libdeflt/libdeflt.mk | 21 + libdeflt/libdeflt_p.mk | 23 + libdeflt/noshldeflt.mk | 9 + libdeflt/shldeflt.mk | 21 + libedc/Makefile | 13 + libedc/README | 113 + libedc/crctable.out | 171 + libedc/ecc.h | 127 + libedc/edc.h | 364 + libedc/edc_code_tables | 1001 + libedc/edc_ecc.c | 1045 + libedc/edc_ecc_dec.c | 2251 ++ libedc/edcspeed.c | 76 + libedc/encoder_tables | 44 + libedc/l2sq_table | 1177 + libedc/libedc.mk | 35 + libedc/libedc_dec.mk | 30 + libedc/libedc_dec_p.mk | 33 + libedc/libedc_ecc-mapvers | 26 + libedc/libedc_ecc_dec-mapvers | 10 + libedc/libedc_p.mk | 38 + libedc/noshledc.mk | 9 + libedc/noshledc_dec.mk | 9 + libedc/repair.c | 79 + libedc/repair.mk | 22 + libedc/scramble_table | 618 + libedc/shledc.mk | 36 + libedc/shledc_dec.mk | 32 + libedc/speed.mk | 22 + libfile/LEGAL.NOTICE | 37 + libfile/Makefile | 12 + libfile/README | 70 + libfile/apprentice.c | 630 + libfile/file.c | 286 + libfile/file.h | 143 + libfile/libfile-mapvers | 12 + libfile/libfile.com | 11 + libfile/libfile.mk | 21 + libfile/libfile_p.mk | 24 + libfile/magic.5 | 207 + libfile/noshlfile.mk | 9 + libfile/patchlevel.h | 108 + libfile/shlfile.mk | 22 + libfile/softmagic.c | 384 + libfind/Makefile | 12 + libfind/README | 129 + libfind/Targets | 4 + libfind/cmpdir.c | 188 + libfind/fetchdir.c | 227 + libfind/find.c | 2568 ++ libfind/find_list.c | 313 + libfind/find_list.h | 29 + libfind/find_main.c | 280 + libfind/find_misc.c | 170 + libfind/find_misc.h | 54 + libfind/find_tok.h | 202 + libfind/idcache.c | 296 + "libfind/if\033pdi" | 2566 ++ libfind/libfind-mapvers | 49 + libfind/libfind.mk | 30 + libfind/libfind_p.mk | 32 + libfind/noshlfind.mk | 9 + libfind/shlfind.mk | 30 + libfind/walk.c | 691 + libhfs_iso/Makefile | 13 + libhfs_iso/README | 30 + libhfs_iso/block.c | 225 + libhfs_iso/block.h | 25 + libhfs_iso/btree.c | 753 + libhfs_iso/btree.h | 35 + libhfs_iso/data.c | 404 + libhfs_iso/data.h | 45 + libhfs_iso/file.c | 475 + libhfs_iso/file.h | 37 + libhfs_iso/gdata.c | 22 + libhfs_iso/hfs.c | 2171 ++ libhfs_iso/hfs.h | 191 + libhfs_iso/hybrid.h | 55 + libhfs_iso/internal.h | 357 + libhfs_iso/libhfs-mapvers | 65 + libhfs_iso/libhfs.mk | 23 + libhfs_iso/libhfs_iso.com | 18 + libhfs_iso/libhfs_p.mk | 26 + libhfs_iso/low.c | 531 + libhfs_iso/low.h | 99 + libhfs_iso/node.c | 495 + libhfs_iso/node.h | 36 + libhfs_iso/noshlhfs.mk | 9 + libhfs_iso/record.c | 580 + libhfs_iso/record.h | 40 + libhfs_iso/shlhfs.mk | 24 + libhfs_iso/volume.c | 774 + libhfs_iso/volume.h | 46 + libmdigest/Makefile | 12 + libmdigest/Targets | 3 + libmdigest/byte_order.c | 190 + libmdigest/byte_order.h | 212 + libmdigest/libmdigest-mapvers | 66 + libmdigest/md4.c | 264 + libmdigest/md5.c | 282 + libmdigest/mdigest.mk | 35 + libmdigest/mdigest_p.mk | 24 + libmdigest/noshlmdigest.mk | 9 + libmdigest/rmd160.c | 427 + libmdigest/sha1.c | 272 + libmdigest/sha2.c | 1026 + libmdigest/sha3.c | 507 + libmdigest/shlmdigest.mk | 36 + libparanoia/LICENSE | 4 + libparanoia/Makefile | 12 + libparanoia/README.interface | 75 + libparanoia/README.paranoia | 83 + libparanoia/Rinterface.mk | 16 + libparanoia/Rparanoia.mk | 16 + libparanoia/Targets | 2 + libparanoia/cdda_paranoia.h | 142 + libparanoia/gap.c | 588 + libparanoia/gap.h | 35 + libparanoia/isort.c | 318 + libparanoia/isort.h | 152 + libparanoia/libparanoia-mapvers | 25 + libparanoia/noshlparanoia.mk | 9 + libparanoia/overlap.c | 285 + libparanoia/overlap.h | 21 + libparanoia/overlapdef.txt | 20 + libparanoia/p_block.c | 621 + libparanoia/p_block.h | 219 + libparanoia/paranoia.c | 3369 +++ libparanoia/paranoia.mk | 23 + libparanoia/paranoia_p.mk | 24 + libparanoia/pmalloc.c | 95 + libparanoia/pmalloc.h | 30 + libparanoia/shlparanoia.mk | 22 + librscg/Makefile | 12 + librscg/librscg-mapvers | 7 + librscg/librscg.mk | 25 + librscg/librscg_p.mk | 28 + librscg/noshlrscg.mk | 9 + librscg/scsi-remote.c | 1236 + librscg/shlrscg.mk | 29 + libscg/Makefile | 12 + libscg/Targets | 13 + libscg/libscg-mapvers | 89 + libscg/libscg.com | 14 + libscg/libscg.mk | 24 + libscg/libscg_p.mk | 26 + libscg/noshlscg.mk | 9 + libscg/pg.h | 64 + libscg/rdummy.c | 47 + libscg/scg/Makefile | 22 + libscg/scg/aspi-dos.h | 157 + libscg/scg/aspi-dos.mk | 17 + libscg/scg/aspi-win32.h | 209 + libscg/scg/aspi-win32.mk | 17 + libscg/scg/scgcmd.h | 249 + libscg/scg/scgcmd.mk | 17 + libscg/scg/scgio.h | 74 + libscg/scg/scgio.mk | 17 + libscg/scg/scgops.h | 75 + libscg/scg/scgops.mk | 17 + libscg/scg/scsicdb.h | 253 + libscg/scg/scsicdb.mk | 17 + libscg/scg/scsidefs.h | 129 + libscg/scg/scsidefs.mk | 17 + libscg/scg/scsireg.h | 1268 + libscg/scg/scsireg.mk | 17 + libscg/scg/scsisense.h | 209 + libscg/scg/scsisense.mk | 17 + libscg/scg/scsitransp.h | 273 + libscg/scg/scsitransp.mk | 17 + libscg/scg/spti-wnt.h | 145 + libscg/scg/spti-wnt.mk | 17 + libscg/scg/srb_os2.h | 171 + libscg/scg/srb_os2.mk | 17 + libscg/scgsettarget.c | 60 + libscg/scgtimes.c | 58 + libscg/scgtimes.h | 27 + libscg/scsi-aix.c | 663 + libscg/scsi-amigaos.c | 808 + libscg/scsi-apollo.c | 597 + libscg/scsi-atari.c | 735 + libscg/scsi-beos.c | 461 + libscg/scsi-bsd-os.c | 475 + libscg/scsi-bsd.c | 1248 + libscg/scsi-dos.c | 593 + libscg/scsi-hpux.c | 395 + libscg/scsi-linux-ata.c | 1271 + libscg/scsi-linux-pg.c | 621 + libscg/scsi-linux-sg.c | 1824 ++ libscg/scsi-mac-iokit.c | 735 + libscg/scsi-next.c | 453 + libscg/scsi-openserver.c | 1058 + libscg/scsi-os2.c | 661 + libscg/scsi-osf.c | 477 + libscg/scsi-qnx.c | 343 + libscg/scsi-sgi.c | 507 + libscg/scsi-sun.c | 1200 + libscg/scsi-syllable.c | 322 + libscg/scsi-unixware.c | 959 + libscg/scsi-vms.c | 583 + libscg/scsi-wnt.c | 1815 ++ libscg/scsierrs.c | 1016 + libscg/scsihack.c | 524 + libscg/scsihelp.c | 64 + libscg/scsiopen.c | 467 + libscg/scsiopts.c | 106 + libscg/scsitransp.c | 1490 ++ libscg/shlscg.mk | 24 + libscgcmd/Makefile | 12 + libscgcmd/Targets | 5 + libscgcmd/buffer.c | 104 + libscgcmd/inquiry.c | 68 + libscgcmd/libscgcmd-mapvers | 32 + libscgcmd/libscgcmd.h | 63 + libscgcmd/libscgcmd.mk | 25 + libscgcmd/libscgcmd_p.mk | 27 + libscgcmd/modes.c | 296 + libscgcmd/modesense.c | 335 + libscgcmd/noshlscgcmd.mk | 9 + libscgcmd/read.c | 113 + libscgcmd/readcap.c | 96 + libscgcmd/ready.c | 155 + libscgcmd/shlscgcmd.mk | 25 + libschily/Makefile | 12 + libschily/Makefile.man | 13 + libschily/Targets | 95 + libschily/Targets.man | 62 + libschily/absfpath.3 | 2 + libschily/absfpath.mk3 | 18 + libschily/absnpath.3 | 2 + libschily/absnpath.mk3 | 18 + libschily/abspath.3 | 97 + libschily/abspath.c | 206 + libschily/abspath.mk3 | 18 + libschily/astoi.3 | 55 + libschily/astoi.c | 204 + libschily/astoi.mk3 | 18 + libschily/astol.3 | 45 + libschily/astol.mk3 | 18 + libschily/astoll.c | 164 + libschily/astoul.c | 158 + libschily/astoull.c | 164 + libschily/at-base.c | 116 + libschily/at-base2.c | 235 + libschily/at-defs.h | 71 + libschily/basename.c | 48 + libschily/breakline.3 | 57 + libschily/breakline.c | 62 + libschily/breakline.mk3 | 18 + libschily/checkerr.c | 323 + libschily/chown.c | 30 + libschily/cmpbytes.3 | 51 + libschily/cmpbytes.c | 122 + libschily/cmpbytes.mk3 | 18 + libschily/cmpmbytes.c | 122 + libschily/cmpnullbytes.c | 113 + libschily/comerr.3 | 56 + libschily/comerr.c | 382 + libschily/comerr.mk3 | 18 + libschily/comerrno.3 | 50 + libschily/comerrno.mk3 | 18 + libschily/cvt.c | 270 + libschily/dirent.c | 160 + libschily/dirname.c | 52 + libschily/diropen.c | 86 + libschily/dlfcn.c | 220 + libschily/eaccess.c | 56 + libschily/errmsg.3 | 49 + libschily/errmsg.mk3 | 18 + libschily/errmsgno.3 | 42 + libschily/errmsgno.mk3 | 18 + libschily/error.3 | 37 + libschily/error.c | 88 + libschily/error.mk3 | 18 + libschily/faccessat.c | 58 + libschily/fchdir.c | 122 + libschily/fchmodat.c | 81 + libschily/fchownat.c | 62 + libschily/fcomerr.c | 205 + libschily/fconv.c | 431 + libschily/fdopendir.c | 122 + libschily/fdown.3 | 37 + libschily/fdown.mk3 | 18 + libschily/fdup.3 | 37 + libschily/fdup.mk3 | 18 + libschily/fexec.c | 559 + libschily/fexecl.3 | 43 + libschily/fexecl.mk3 | 18 + libschily/fexecle.3 | 40 + libschily/fexecle.mk3 | 18 + libschily/fexecv.3 | 36 + libschily/fexecv.mk3 | 18 + libschily/fexecve.3 | 65 + libschily/fexecve.mk3 | 18 + libschily/fgetline.3 | 40 + libschily/fgetline.mk3 | 18 + libschily/file_raise.3 | 40 + libschily/file_raise.mk3 | 18 + libschily/fileclose.3 | 36 + libschily/fileclose.mk3 | 18 + libschily/fileluopen.3 | 42 + libschily/fileluopen.mk3 | 18 + libschily/fileopen.3 | 55 + libschily/fileopen.mk3 | 18 + libschily/filepos.3 | 43 + libschily/filepos.mk3 | 18 + libschily/fileread.3 | 47 + libschily/fileread.mk3 | 18 + libschily/filereopen.3 | 39 + libschily/filereopen.mk3 | 18 + libschily/fileseek.3 | 34 + libschily/fileseek.mk3 | 18 + libschily/filesize.3 | 38 + libschily/filesize.mk3 | 18 + libschily/filestat.3 | 34 + libschily/filestat.mk3 | 18 + libschily/filewrite.3 | 42 + libschily/filewrite.mk3 | 18 + libschily/fillbytes.c | 99 + libschily/findbytes.c | 154 + libschily/findinpath.c | 116 + libschily/findline.3 | 64 + libschily/findline.c | 173 + libschily/findline.mk3 | 18 + libschily/fjmem.c | 124 + libschily/flush.3 | 30 + libschily/flush.mk3 | 18 + libschily/fnmatch.3 | 126 + libschily/fnmatch.c | 419 + libschily/fnmatch.mk3 | 18 + libschily/format.3 | 532 + libschily/format.c | 1737 ++ libschily/format.mk3 | 18 + libschily/fpipe.3 | 37 + libschily/fpipe.mk3 | 18 + libschily/fprformat.c | 62 + libschily/fprintf.3 | 37 + libschily/fprintf.mk3 | 18 + libschily/fstatat.c | 63 + libschily/fstream.c | 325 + libschily/futimens.c | 78 + libschily/futimesat.c | 55 + libschily/getallargs.3 | 142 + libschily/getallargs.mk3 | 18 + libschily/getargs.3 | 566 + libschily/getargs.c | 1431 ++ libschily/getargs.mk3 | 18 + libschily/getav0.c | 158 + libschily/getdomainname.c | 99 + libschily/getdtablesize.c | 46 + libschily/geterrno.3 | 37 + libschily/geterrno.c | 38 + libschily/geterrno.mk3 | 18 + libschily/getexecpath.c | 80 + libschily/getfiles.3 | 139 + libschily/getfiles.mk3 | 18 + libschily/getfp.c | 114 + libschily/getgrent.c | 140 + libschily/gethostid.c | 64 + libschily/gethostname.c | 128 + libschily/getline.3 | 36 + libschily/getline.mk3 | 18 + libschily/getlogin.c | 26 + libschily/getnstimeofday.c | 96 + libschily/getnum.c | 73 + libschily/getpagesize.c | 62 + libschily/getperm.c | 334 + libschily/getpwent.c | 138 + libschily/gettimeofday.c | 89 + libschily/gettnum.c | 64 + libschily/getxnum.c | 93 + libschily/getxtnum.c | 103 + libschily/gid.c | 64 + libschily/handlecond.3 | 89 + libschily/handlecond.c | 272 + libschily/handlecond.mk3 | 18 + libschily/jmem.c | 113 + libschily/jsdprintf.c | 96 + libschily/jsprintf.c | 198 + libschily/jssnprintf.c | 89 + libschily/jssprintf.c | 68 + libschily/kill.c | 96 + libschily/lchmod.c | 68 + libschily/libschily-mapvers | 519 + libschily/libschily.com | 60 + libschily/libschily.mk | 22 + libschily/libschily_p.mk | 23 + libschily/linkat.c | 81 + libschily/lutimens.c | 85 + libschily/lxchdir.c | 82 + libschily/match.c | 607 + libschily/matchl.c | 20 + libschily/matchmb.c | 25 + libschily/matchmbl.c | 26 + libschily/matchw.c | 23 + libschily/matchwl.c | 24 + libschily/mem.c | 104 + libschily/mkdirat.c | 57 + libschily/mkdirs.c | 127 + libschily/mkfifo.c | 58 + libschily/mkfifoat.c | 53 + libschily/mkgmtime.c | 115 + libschily/mknodat.c | 76 + libschily/mkstemp.c | 44 + libschily/movebytes.3 | 54 + libschily/movebytes.c | 125 + libschily/movebytes.mk3 | 18 + libschily/movecbytes.c | 107 + libschily/noshlschily.mk | 9 + libschily/ofindline.3 | 58 + libschily/ofindline.mk3 | 18 + libschily/openat.c | 140 + libschily/patcompile.3 | 64 + libschily/patcompile.mk3 | 18 + libschily/patmatch.3 | 75 + libschily/patmatch.mk3 | 18 + libschily/peekc.3 | 36 + libschily/peekc.mk3 | 18 + libschily/permtostr.c | 77 + libschily/printf.3 | 34 + libschily/printf.c | 144 + libschily/printf.mk3 | 18 + libschily/procnameat.c | 99 + libschily/raisecond.3 | 49 + libschily/raisecond.c | 172 + libschily/raisecond.mk3 | 18 + libschily/readlinkat.c | 71 + libschily/rename.c | 150 + libschily/renameat.c | 52 + libschily/resolvefpath.3 | 2 + libschily/resolvefpath.mk3 | 18 + libschily/resolvenpath.3 | 2 + libschily/resolvenpath.mk3 | 18 + libschily/resolvepath.3 | 114 + libschily/resolvepath.c | 289 + libschily/resolvepath.mk3 | 18 + libschily/saveargs.c | 221 + libschily/savewd.c | 88 + libschily/searchinpath.c | 245 + libschily/serrmsg.c | 114 + libschily/seterrno.c | 41 + libschily/setfp.c | 63 + libschily/setnstimeofday.c | 89 + libschily/shlschily.mk | 21 + libschily/sleep.c | 57 + libschily/snprintf.c | 99 + libschily/spawn.c | 233 + libschily/spawnl.3 | 55 + libschily/spawnl.mk3 | 18 + libschily/spawnv.3 | 49 + libschily/spawnv.mk3 | 18 + libschily/sprintf.3 | 35 + libschily/sprintf.c | 64 + libschily/sprintf.mk3 | 18 + libschily/stdio/cvmod.c | 59 + libschily/stdio/dat.c | 19 + libschily/stdio/fcons.c | 79 + libschily/stdio/fcons64.c | 25 + libschily/stdio/fdown.c | 25 + libschily/stdio/fdup.c | 36 + libschily/stdio/fdup64.c | 25 + libschily/stdio/ffileread.c | 40 + libschily/stdio/ffilewrite.c | 40 + libschily/stdio/fgetaline.c | 100 + libschily/stdio/fgetline.c | 183 + libschily/stdio/fgetstr.c | 123 + libschily/stdio/file_getraise.c | 33 + libschily/stdio/file_raise.c | 44 + libschily/stdio/fileclose.c | 25 + libschily/stdio/fileluopen.c | 69 + libschily/stdio/fileluopen64.c | 25 + libschily/stdio/filemopen.c | 40 + libschily/stdio/filemopen64.c | 25 + libschily/stdio/fileopen.c | 35 + libschily/stdio/fileopen64.c | 25 + libschily/stdio/filepos.c | 30 + libschily/stdio/filepos64.c | 25 + libschily/stdio/fileread.c | 90 + libschily/stdio/filereopen.c | 91 + libschily/stdio/filereopen64.c | 25 + libschily/stdio/fileseek.c | 39 + libschily/stdio/fileseek64.c | 25 + libschily/stdio/filesize.c | 32 + libschily/stdio/filesize64.c | 25 + libschily/stdio/filestat.c | 27 + libschily/stdio/filestat64.c | 25 + libschily/stdio/filewrite.c | 92 + libschily/stdio/flag.c | 135 + libschily/stdio/flush.c | 23 + libschily/stdio/fpipe.c | 38 + libschily/stdio/getdelim.c | 124 + libschily/stdio/niread.c | 42 + libschily/stdio/niwrite.c | 42 + libschily/stdio/nixread.c | 57 + libschily/stdio/nixwrite.c | 57 + libschily/stdio/openfd.c | 29 + libschily/stdio/openfd64.c | 26 + libschily/stdio/peekc.c | 32 + libschily/stdio/schilyio.h | 251 + libschily/strcasecmp.c | 46 + libschily/strcasemap.c | 61 + libschily/strcat.c | 43 + libschily/strcatl.3 | 37 + libschily/strcatl.c | 59 + libschily/strcatl.mk3 | 18 + libschily/strchr.c | 36 + libschily/strcmp.c | 39 + libschily/strcpy.c | 40 + libschily/strcspn.c | 47 + libschily/strdup.c | 52 + libschily/streql.3 | 32 + libschily/streql.c | 41 + libschily/streql.mk3 | 18 + libschily/strlcat.c | 59 + libschily/strlcatl.c | 84 + libschily/strlcpy.c | 52 + libschily/strlen.3 | 31 + libschily/strlen.c | 36 + libschily/strlen.mk3 | 18 + libschily/strncasecmp.c | 57 + libschily/strncat.c | 51 + libschily/strncmp.c | 53 + libschily/strncpy.c | 51 + libschily/strndup.c | 56 + libschily/strnlen.c | 42 + libschily/strrchr.c | 38 + libschily/strspn.c | 47 + libschily/strstr.c | 49 + libschily/strtod.c | 2540 ++ libschily/swabbytes.c | 42 + libschily/symlinkat.c | 90 + libschily/timegm.c | 37 + libschily/uid.c | 64 + libschily/uname.c | 226 + libschily/unlinkat.c | 57 + libschily/usleep.c | 136 + libschily/utimens.c | 74 + libschily/utimensat.c | 59 + libschily/wcscat.c | 44 + libschily/wcscatl.c | 59 + libschily/wcschr.c | 37 + libschily/wcscmp.c | 38 + libschily/wcscpy.c | 42 + libschily/wcscspn.c | 48 + libschily/wcsdup.c | 51 + libschily/wcseql.c | 44 + libschily/wcslcat.c | 59 + libschily/wcslcatl.c | 85 + libschily/wcslcpy.c | 53 + libschily/wcslen.c | 36 + libschily/wcsncat.c | 53 + libschily/wcsncmp.c | 54 + libschily/wcsncpy.c | 52 + libschily/wcsndup.c | 57 + libschily/wcsnlen.c | 43 + libschily/wcsrchr.c | 39 + libschily/wcsspn.c | 48 + libschily/wcsstr.c | 50 + libschily/wctype.c | 90 + libschily/wdabort.c | 42 + libschily/zerobytes.c | 90 + libsiconv/Makefile | 12 + libsiconv/Targets | 3 + libsiconv/libsiconv-mapvers | 16 + libsiconv/libsiconv.mk | 21 + libsiconv/libsiconv_p.mk | 23 + libsiconv/noshlsiconv.mk | 9 + libsiconv/shlsiconv.mk | 21 + libsiconv/sic_nls.c | 551 + libsiconv/tables/Makefile | 25 + libsiconv/tables/cp10000 | 403 + libsiconv/tables/cp10000.mk | 16 + libsiconv/tables/cp10006 | 388 + libsiconv/tables/cp10006.mk | 16 + libsiconv/tables/cp10007 | 385 + libsiconv/tables/cp10007.mk | 16 + libsiconv/tables/cp10029 | 275 + libsiconv/tables/cp10029.mk | 16 + libsiconv/tables/cp10079 | 402 + libsiconv/tables/cp10079.mk | 16 + libsiconv/tables/cp10081 | 374 + libsiconv/tables/cp10081.mk | 16 + libsiconv/tables/cp1250 | 274 + libsiconv/tables/cp1250.mk | 16 + libsiconv/tables/cp1251 | 274 + libsiconv/tables/cp1251.mk | 16 + libsiconv/tables/cp1252 | 274 + libsiconv/tables/cp1252.mk | 16 + libsiconv/tables/cp1253 | 274 + libsiconv/tables/cp1253.mk | 16 + libsiconv/tables/cp1254 | 274 + libsiconv/tables/cp1254.mk | 16 + libsiconv/tables/cp1255 | 274 + libsiconv/tables/cp1255.mk | 16 + libsiconv/tables/cp1256 | 274 + libsiconv/tables/cp1256.mk | 16 + libsiconv/tables/cp1257 | 274 + libsiconv/tables/cp1257.mk | 16 + libsiconv/tables/cp1258 | 274 + libsiconv/tables/cp1258.mk | 16 + libsiconv/tables/cp437 | 274 + libsiconv/tables/cp437.mk | 16 + libsiconv/tables/cp737 | 274 + libsiconv/tables/cp737.mk | 16 + libsiconv/tables/cp775 | 275 + libsiconv/tables/cp775.mk | 16 + libsiconv/tables/cp850 | 274 + libsiconv/tables/cp850.mk | 16 + libsiconv/tables/cp852 | 274 + libsiconv/tables/cp852.mk | 16 + libsiconv/tables/cp855 | 275 + libsiconv/tables/cp855.mk | 16 + libsiconv/tables/cp857 | 275 + libsiconv/tables/cp857.mk | 16 + libsiconv/tables/cp860 | 275 + libsiconv/tables/cp860.mk | 16 + libsiconv/tables/cp861 | 275 + libsiconv/tables/cp861.mk | 16 + libsiconv/tables/cp862 | 275 + libsiconv/tables/cp862.mk | 16 + libsiconv/tables/cp863 | 275 + libsiconv/tables/cp863.mk | 16 + libsiconv/tables/cp864 | 275 + libsiconv/tables/cp864.mk | 16 + libsiconv/tables/cp865 | 275 + libsiconv/tables/cp865.mk | 16 + libsiconv/tables/cp866 | 275 + libsiconv/tables/cp866.mk | 16 + libsiconv/tables/cp869 | 275 + libsiconv/tables/cp869.mk | 16 + libsiconv/tables/cp874 | 274 + libsiconv/tables/cp874.mk | 16 + libsiconv/tables/iso8859-1 | 303 + libsiconv/tables/iso8859-1.mk | 16 + libsiconv/tables/iso8859-10 | 303 + libsiconv/tables/iso8859-10.mk | 16 + libsiconv/tables/iso8859-11 | 297 + libsiconv/tables/iso8859-11.mk | 16 + libsiconv/tables/iso8859-13 | 299 + libsiconv/tables/iso8859-13.mk | 16 + libsiconv/tables/iso8859-14 | 301 + libsiconv/tables/iso8859-14.mk | 16 + libsiconv/tables/iso8859-15 | 303 + libsiconv/tables/iso8859-15.mk | 16 + libsiconv/tables/iso8859-16 | 299 + libsiconv/tables/iso8859-16.mk | 16 + libsiconv/tables/iso8859-2 | 303 + libsiconv/tables/iso8859-2.mk | 16 + libsiconv/tables/iso8859-3 | 296 + libsiconv/tables/iso8859-3.mk | 16 + libsiconv/tables/iso8859-4 | 303 + libsiconv/tables/iso8859-4.mk | 16 + libsiconv/tables/iso8859-5 | 303 + libsiconv/tables/iso8859-5.mk | 16 + libsiconv/tables/iso8859-6 | 260 + libsiconv/tables/iso8859-6.mk | 16 + libsiconv/tables/iso8859-7 | 308 + libsiconv/tables/iso8859-7.mk | 16 + libsiconv/tables/iso8859-8 | 270 + libsiconv/tables/iso8859-8.mk | 16 + libsiconv/tables/iso8859-9 | 307 + libsiconv/tables/iso8859-9.mk | 16 + libsiconv/tables/koi8-r | 302 + libsiconv/tables/koi8-r.mk | 16 + libsiconv/tables/koi8-u | 298 + libsiconv/tables/koi8-u.mk | 16 + libvms/decc_ver.c | 31 + libvms/descrip_deps.mms | 28 + libvms/descrip_mods.mms | 20 + libvms/descrip_src.mms | 33 + libvms/vms_init.c | 480 + libvms/vms_init.h | 73 + libvms/vms_misc.c | 389 + libvms/vms_misc.h | 36 + make_diskt@2.sh | 56 + man/Makefile | 14 + man/man4/Makefile | 14 + man/man4/makefiles.4 | 1975 ++ man/man4/makefiles.mk | 18 + man/man4/makerules.4 | 1013 + man/man4/makerules.mk | 18 + mkisofs/COPYING | 345 + mkisofs/ChangeLog | 3866 +++ mkisofs/ChangeLog.mkhybrid | 482 + mkisofs/Makefile | 62 + mkisofs/Makefile.doc | 19 + mkisofs/Makefile.man | 29 + mkisofs/README | 142 + mkisofs/README.compression | 17 + mkisofs/README.eltorito | 98 + mkisofs/README.graft_dirs | 149 + mkisofs/README.hfs_boot | 74 + mkisofs/README.hfs_magic | 69 + mkisofs/README.hide | 206 + mkisofs/README.joliet | 53 + mkisofs/README.macosx | 41 + mkisofs/README.mkhybrid | 125 + mkisofs/README.prep_boot | 45 + mkisofs/README.rootinfo | 72 + mkisofs/README.session | 48 + mkisofs/README.sort | 102 + mkisofs/README.sparcboot | 76 + mkisofs/README.sunx86boot | 76 + mkisofs/RELEASE | 3 + mkisofs/Rcompresion.mk | 16 + mkisofs/Reltorito.mk | 16 + mkisofs/Rgraft_dirs.mk | 16 + mkisofs/Rhfs_boot.mk | 16 + mkisofs/Rhfs_magic.mk | 16 + mkisofs/Rhide.mk | 16 + mkisofs/Rjoliet.mk | 16 + mkisofs/Rmacosx.mk | 16 + mkisofs/Rmkhybrid.mk | 16 + mkisofs/Rprep_boot.mk | 16 + mkisofs/Rrootinfo.mk | 16 + mkisofs/Rsession.mk | 16 + mkisofs/Rsort.mk | 16 + mkisofs/Rsparcboot.mk | 16 + mkisofs/Rsunx86boot.mk | 16 + mkisofs/TODO | 57 + mkisofs/apple.c | 3081 +++ mkisofs/apple.h | 374 + mkisofs/apple_driver.8 | 50 + mkisofs/apple_driver.c | 211 + mkisofs/apple_driver.mk | 36 + mkisofs/apple_driver_man.mk | 29 + mkisofs/boot.c | 542 + mkisofs/bootinfo.h | 34 + mkisofs/bswap.h | 55 + mkisofs/build_mkisofs.com | 49 + mkisofs/defaults.h | 154 + mkisofs/desktop.c | 175 + mkisofs/diag/MKLINKS | 34 + mkisofs/diag/Makefile | 35 + mkisofs/diag/Makefile.man | 30 + mkisofs/diag/README | 76 + mkisofs/diag/devdump.8 | 2 + mkisofs/diag/devdump_man.mk | 29 + mkisofs/diag/dump.c | 458 + mkisofs/diag/dump.mk | 45 + mkisofs/diag/isodebug.8 | 107 + mkisofs/diag/isodebug.c | 349 + mkisofs/diag/isodebug.mk | 45 + mkisofs/diag/isodebug_man.mk | 29 + mkisofs/diag/isodump.8 | 2 + mkisofs/diag/isodump.c | 770 + mkisofs/diag/isodump.mk | 45 + mkisofs/diag/isodump_man.mk | 29 + mkisofs/diag/isoinfo.8 | 400 + mkisofs/diag/isoinfo.c | 2284 ++ mkisofs/diag/isoinfo.mk | 51 + mkisofs/diag/isoinfo_man.mk | 29 + mkisofs/diag/isovfy.8 | 2 + mkisofs/diag/isovfy.c | 898 + mkisofs/diag/isovfy.mk | 45 + mkisofs/diag/isovfy_man.mk | 29 + mkisofs/diskmbr.h | 53 + mkisofs/dvd_file.c | 701 + mkisofs/dvd_file.h | 29 + mkisofs/dvd_reader.c | 292 + mkisofs/dvd_reader.h | 139 + mkisofs/eltorito.c | 686 + mkisofs/files.c | 399 + mkisofs/hash.c | 600 + mkisofs/hdisk.pl | 65 + mkisofs/hybridman.mk | 30 + mkisofs/ifo_read.c | 452 + mkisofs/ifo_read.h | 69 + mkisofs/ifo_types.h | 79 + mkisofs/inode.c | 447 + mkisofs/iso9660.h | 376 + mkisofs/isonum.c | 228 + mkisofs/joliet.c | 1456 ++ mkisofs/mac_label.c | 428 + mkisofs/mac_label.h | 157 + mkisofs/mactypes.h | 53 + mkisofs/magic | 81 + mkisofs/mapping | 8 + mkisofs/match.c | 416 + mkisofs/match.h | 92 + mkisofs/mkhybrid.8 | 2 + mkisofs/mkisofs.8 | 3708 +++ mkisofs/mkisofs.c | 3992 +++ mkisofs/mkisofs.h | 882 + mkisofs/more.mapping | 282 + mkisofs/multi.c | 2234 ++ mkisofs/name.c | 542 + mkisofs/readme.mk | 16 + mkisofs/rock.c | 944 + mkisofs/rock.h | 54 + mkisofs/scsi.c | 183 + mkisofs/scsi.h | 20 + mkisofs/stream.c | 257 + mkisofs/sunlabel.h | 194 + mkisofs/tree.c | 2997 +++ mkisofs/udf.c | 2698 ++ mkisofs/udf.h | 41 + mkisofs/udf_fs.h | 744 + mkisofs/vms.c | 313 + mkisofs/vms.h | 17 + mkisofs/volume.c | 733 + mkisofs/walk.c | 160 + mkisofs/write.c | 3032 +++ pkgdefs/CSW/CSWcdrtools/Makefile | 15 + pkgdefs/CSW/CSWcdrtools/copyright | 376 + pkgdefs/CSW/CSWcdrtools/depend | 3 + pkgdefs/CSW/CSWcdrtools/pkginfo | 10 + pkgdefs/CSW/CSWcdrtools/prototype | 92 + pkgdefs/OCSW/CSWcdrtools/Makefile | 15 + pkgdefs/OCSW/CSWcdrtools/checkpkg_override | 30 + pkgdefs/OCSW/CSWcdrtools/copyright | 376 + pkgdefs/OCSW/CSWcdrtools/depend | 4 + pkgdefs/OCSW/CSWcdrtools/pkginfo | 10 + pkgdefs/OCSW/CSWcdrtools/prototype | 95 + rc.pp | 76 + readcd/MKLINKS | 40 + readcd/Makefile | 46 + readcd/Mreadcd.man | 19 + readcd/build_readcd.com | 39 + readcd/io.c | 223 + readcd/iodefs.h | 34 + readcd/readcd.1 | 840 + readcd/readcd.c | 3185 +++ rscsi/Makefile | 25 + rscsi/Makefile.dfl | 19 + rscsi/Makefile.doc | 16 + rscsi/Makefile.man | 18 + rscsi/default-rscsi.sample | 64 + rscsi/rscsi.1 | 692 + rscsi/rscsi.c | 1028 + rscsi/rscsi.dfl | 64 + scgcheck/MKLINKS | 36 + scgcheck/Makefile | 36 + scgcheck/Makefile.man | 18 + scgcheck/dmaresid.c | 251 + scgcheck/scgcheck.1 | 414 + scgcheck/scgcheck.c | 655 + scgcheck/scgcheck.h | 33 + scgcheck/sense.c | 312 + scgskeleton/MKLINKS | 38 + scgskeleton/Makefile | 41 + scgskeleton/Makefile.man | 18 + scgskeleton/scgskeleton.1 | 443 + scgskeleton/skel.c | 536 + vms/append_version.com | 75 + vms/collect_deps.com | 124 + vms/collect_deps.com_orig | 124 + vms/descrip.mms | 1501 ++ vms/descrip_local.mms | 61 + vms/descrip_local.mms_template | 61 + vms/descrip_mkdeps.mms | 516 + vms/descrip_src.mms | 9 + vms/descrip_src_cmn.mms | 340 + vms/descrip_src_flags.mms | 25 + vms/discard_link_files.com | 64 + vms/restore_file_links.sh | 31 + vms/stream_lf.fdl | 3 + vms/vax_old.opt | 10 + vms/vms_name_fix.sh | 324 + vms/vms_notes.txt | 758 + 1899 files changed, 405987 insertions(+) create mode 100755 .clean create mode 100644 .links create mode 100644 ABOUT create mode 100644 AN-2.0 create mode 100644 AN-2.01 create mode 100644 AN-3.00 create mode 100644 AN-3.01 create mode 100644 AN-3.02a01 create mode 100644 AN-3.02a02 create mode 100644 AN-3.02a03 create mode 100644 AN-3.02a04 create mode 100644 AN-3.02a05 create mode 100644 AN-3.02a06 create mode 100644 AN-3.02a07 create mode 100644 AN-3.02a08 create mode 100644 AN-3.02a09 create mode 100644 BUILD create mode 100644 CDDL.Schily.txt create mode 100644 COMPILE create mode 100644 CONTRIBUTING create mode 100644 COPYING create mode 100644 Changelog create mode 100644 Changelog.1 create mode 100644 DEFAULTS/Defaults create mode 100644 DEFAULTS/Defaults.aix create mode 100644 DEFAULTS/Defaults.amigaos create mode 100644 DEFAULTS/Defaults.beos create mode 100644 DEFAULTS/Defaults.bitrig create mode 100644 DEFAULTS/Defaults.bsd-os create mode 100644 DEFAULTS/Defaults.bsd-os3 create mode 100644 DEFAULTS/Defaults.cygwin32_nt create mode 100644 DEFAULTS/Defaults.cygwin32_wow create mode 100644 DEFAULTS/Defaults.cygwin32_wow64 create mode 100644 DEFAULTS/Defaults.darwin create mode 100644 DEFAULTS/Defaults.dgux create mode 100644 DEFAULTS/Defaults.dgux3 create mode 100644 DEFAULTS/Defaults.dgux4 create mode 100644 DEFAULTS/Defaults.domainos create mode 100644 DEFAULTS/Defaults.dragonfly create mode 100644 DEFAULTS/Defaults.freebsd create mode 100644 DEFAULTS/Defaults.freemint create mode 100644 DEFAULTS/Defaults.gnu create mode 100644 DEFAULTS/Defaults.gnu-kfreebsd create mode 100644 DEFAULTS/Defaults.haiku create mode 100644 DEFAULTS/Defaults.hp-ux create mode 100644 DEFAULTS/Defaults.interix create mode 100644 DEFAULTS/Defaults.irix create mode 100644 DEFAULTS/Defaults.linux create mode 100644 DEFAULTS/Defaults.mac-os10 create mode 100644 DEFAULTS/Defaults.mingw32_nt create mode 100644 DEFAULTS/Defaults.minix create mode 100644 DEFAULTS/Defaults.ms-dos create mode 100644 DEFAULTS/Defaults.netbsd create mode 100644 DEFAULTS/Defaults.newsos6 create mode 100644 DEFAULTS/Defaults.nextstep create mode 100644 DEFAULTS/Defaults.openbsd create mode 100644 DEFAULTS/Defaults.openserver create mode 100644 DEFAULTS/Defaults.openvms create mode 100644 DEFAULTS/Defaults.os2 create mode 100644 DEFAULTS/Defaults.osf1 create mode 100644 DEFAULTS/Defaults.pyro create mode 100644 DEFAULTS/Defaults.qnx create mode 100644 DEFAULTS/Defaults.rhapsody create mode 100644 DEFAULTS/Defaults.sunos4 create mode 100644 DEFAULTS/Defaults.sunos5 create mode 100644 DEFAULTS/Defaults.syllable create mode 100644 DEFAULTS/Defaults.unixware create mode 100644 DEFAULTS/MKLINKS create mode 100644 DEFAULTS/dummy-setup create mode 100644 DEFAULTS/vc6-cygwin-setup create mode 100644 DEFAULTS/vc6-interix-setup create mode 100644 DEFAULTS/vc6-setup create mode 100644 DEFAULTS/vc7-cygwin-setup create mode 100644 DEFAULTS/vc7-interix-setup create mode 100644 DEFAULTS/vc7-setup create mode 100644 DEFAULTS/vc7_64-cygwin-setup create mode 100644 DEFAULTS/vc7_64-setup create mode 100644 DEFAULTS/vc9-cygwin-setup create mode 100644 DEFAULTS/vc9-setup create mode 100644 DEFAULTS_CSW/Defaults create mode 100644 DEFAULTS_CSW/Defaults.sunos5 create mode 100644 DEFAULTS_CSW/MKLINKS create mode 100644 DEFAULTS_CSW/null create mode 100644 DEFAULTS_CSW/sparc-cc.defs create mode 100644 DEFAULTS_ENG/Defaults create mode 100644 DEFAULTS_ENG/Defaults.aix create mode 100644 DEFAULTS_ENG/Defaults.amigaos create mode 100644 DEFAULTS_ENG/Defaults.beos create mode 100644 DEFAULTS_ENG/Defaults.bitrig create mode 100644 DEFAULTS_ENG/Defaults.bsd-os create mode 100644 DEFAULTS_ENG/Defaults.bsd-os3 create mode 100644 DEFAULTS_ENG/Defaults.cygwin32_nt create mode 100644 DEFAULTS_ENG/Defaults.cygwin32_wow create mode 100644 DEFAULTS_ENG/Defaults.cygwin32_wow64 create mode 100644 DEFAULTS_ENG/Defaults.darwin create mode 100644 DEFAULTS_ENG/Defaults.dgux create mode 100644 DEFAULTS_ENG/Defaults.dgux3 create mode 100644 DEFAULTS_ENG/Defaults.dgux4 create mode 100644 DEFAULTS_ENG/Defaults.domainos create mode 100644 DEFAULTS_ENG/Defaults.dragonfly create mode 100644 DEFAULTS_ENG/Defaults.freebsd create mode 100644 DEFAULTS_ENG/Defaults.freemint create mode 100644 DEFAULTS_ENG/Defaults.gnu create mode 100644 DEFAULTS_ENG/Defaults.gnu-kfreebsd create mode 100644 DEFAULTS_ENG/Defaults.haiku create mode 100644 DEFAULTS_ENG/Defaults.hp-ux create mode 100644 DEFAULTS_ENG/Defaults.interix create mode 100644 DEFAULTS_ENG/Defaults.irix create mode 100644 DEFAULTS_ENG/Defaults.linux create mode 100644 DEFAULTS_ENG/Defaults.mac-os10 create mode 100644 DEFAULTS_ENG/Defaults.mingw32_nt create mode 100644 DEFAULTS_ENG/Defaults.minix create mode 100644 DEFAULTS_ENG/Defaults.ms-dos create mode 100644 DEFAULTS_ENG/Defaults.netbsd create mode 100644 DEFAULTS_ENG/Defaults.newsos6 create mode 100644 DEFAULTS_ENG/Defaults.nextstep create mode 100644 DEFAULTS_ENG/Defaults.openbsd create mode 100644 DEFAULTS_ENG/Defaults.openserver create mode 100644 DEFAULTS_ENG/Defaults.openvms create mode 100644 DEFAULTS_ENG/Defaults.os2 create mode 100644 DEFAULTS_ENG/Defaults.osf1 create mode 100644 DEFAULTS_ENG/Defaults.pyro create mode 100644 DEFAULTS_ENG/Defaults.qnx create mode 100644 DEFAULTS_ENG/Defaults.rhapsody create mode 100644 DEFAULTS_ENG/Defaults.sunos4 create mode 100644 DEFAULTS_ENG/Defaults.sunos5 create mode 100644 DEFAULTS_ENG/Defaults.syllable create mode 100644 DEFAULTS_ENG/Defaults.unixware create mode 100644 DEFAULTS_ENG/MKLINKS create mode 100644 DEFAULTS_ENG/README create mode 100644 DEFAULTS_ENG/dummy-setup create mode 100644 DEFAULTS_ENG/vc6-cygwin-setup create mode 100644 DEFAULTS_ENG/vc6-interix-setup create mode 100644 DEFAULTS_ENG/vc6-setup create mode 100644 DEFAULTS_ENG/vc7-cygwin-setup create mode 100644 DEFAULTS_ENG/vc7-interix-setup create mode 100644 DEFAULTS_ENG/vc7-setup create mode 100644 DEFAULTS_ENG/vc7_64-cygwin-setup create mode 100644 DEFAULTS_ENG/vc7_64-setup create mode 100644 DEFAULTS_ENG/vc9-cygwin-setup create mode 100644 DEFAULTS_ENG/vc9-setup create mode 100644 GPL-2.0.txt create mode 100755 Gmake create mode 100755 Gmake.linux create mode 100644 INSTALL create mode 100644 LGPL-2.1.txt create mode 100755 MKNOD.hpux create mode 100755 MKNOD.hpux-800 create mode 100644 Makefile create mode 100644 Mcsw create mode 100644 Mocsw create mode 100644 PORTING create mode 100644 README create mode 100644 README.BSDi create mode 100644 README.FreeBSD create mode 100644 README.NetBSD create mode 100644 README.OpenBSD create mode 100644 README.QNX create mode 100644 README.SSPM create mode 100644 README.apple create mode 100644 README.compile create mode 100644 README.linux-shm create mode 100644 README.mkisofs create mode 100644 README.next create mode 100644 README.openserver create mode 100644 README.os2 create mode 100644 README.sgi create mode 100644 README.unixware create mode 100644 README.vms create mode 100644 README.xxxBSD create mode 100644 READMEs/README.aix create mode 100644 READMEs/README.gmake create mode 100644 READMEs/README.hpux create mode 100644 READMEs/README.install create mode 100644 READMEs/README.linux create mode 100644 READMEs/README.macosX create mode 100644 READMEs/README.macosX-old-versions create mode 100644 READMEs/README.mingw32 create mode 100644 READMEs/README.msdos create mode 100644 READMEs/README.ppc create mode 100644 READMEs/README.solaris create mode 100644 READMEs/README.sunos create mode 100644 READMEs/README.win32 create mode 100644 RULES/9000-725-hp-ux-cc.rul create mode 100644 RULES/9000-725-hp-ux-gcc.rul create mode 100644 RULES/MKLINKS create mode 100644 RULES/README create mode 100644 RULES/alpha-openvms-cc.rul create mode 100644 RULES/alpha-osf1-cc.rul create mode 100644 RULES/alpha-osf1-gcc.rul create mode 100644 RULES/amd64-bitrig-clang.rul create mode 100644 RULES/atarist-freemint-gcc.rul create mode 100644 RULES/aviion-dgux3-cc.rul create mode 100644 RULES/aviion-dgux3-gcc.rul create mode 100644 RULES/aviion-dgux4-cc.rul create mode 100644 RULES/aviion-dgux4-gcc.rul create mode 100644 RULES/bemac-beos-cc.rul create mode 100644 RULES/bemac-beos-mwcc.rul create mode 100644 RULES/bepc-beos-cc.rul create mode 100644 RULES/bepc-beos-gcc.rul create mode 100644 RULES/bepc-haiku-cc.rul create mode 100644 RULES/bepc-haiku-gcc.rul create mode 100644 RULES/cc-apollo.rul create mode 100644 RULES/cc-bemwcc.rul create mode 100644 RULES/cc-clang.rul create mode 100644 RULES/cc-dec.rul create mode 100644 RULES/cc-dg.rul create mode 100644 RULES/cc-dumb.rul create mode 100644 RULES/cc-gcc.rul create mode 100644 RULES/cc-hp.rul create mode 100644 RULES/cc-hp64.rul create mode 100644 RULES/cc-ibm.rul create mode 100644 RULES/cc-msc.rul create mode 100644 RULES/cc-msc64.rul create mode 100644 RULES/cc-msposix.rul create mode 100644 RULES/cc-openvms.rul create mode 100644 RULES/cc-pcc.rul create mode 100644 RULES/cc-sco_os.rul create mode 100644 RULES/cc-sco_uw.rul create mode 100644 RULES/cc-sgi.rul create mode 100644 RULES/cc-sgi64.rul create mode 100644 RULES/cc-sony.rul create mode 100644 RULES/cc-sun.rul create mode 100644 RULES/cc-sunpro.rul create mode 100644 RULES/dn5500-domainos-cc.rul create mode 100644 RULES/dummy.dep create mode 100644 RULES/dynamic.lnk create mode 100644 RULES/gmake.wrn create mode 100644 RULES/hppa-nextstep-cc.rul create mode 100644 RULES/hppa-nextstep-gcc.rul create mode 100644 RULES/i386-at386-gnu-cc.rul create mode 100644 RULES/i386-at386-gnu-gcc.rul create mode 100644 RULES/i386-bsd-os-cc.rul create mode 100644 RULES/i386-bsd-os-gcc.rul create mode 100644 RULES/i386-bsd-os3-cc.rul create mode 100644 RULES/i386-bsd-os3-gcc.rul create mode 100644 RULES/i386-darwin-clang.rul create mode 100644 RULES/i386-freebsd-cc.rul create mode 100644 RULES/i386-freebsd-clang.rul create mode 100644 RULES/i386-freebsd-gcc.rul create mode 100644 RULES/i386-mingw32_nt-gcc.rul create mode 100644 RULES/i386-minix-clang.rul create mode 100644 RULES/i386-ms-dos-gcc.rul create mode 100644 RULES/i386-netbsd-cc.rul create mode 100644 RULES/i386-netbsd-gcc.rul create mode 100644 RULES/i386-openbsd-cc.rul create mode 100644 RULES/i386-openbsd-gcc.rul create mode 100644 RULES/i386-openserver-cc.rul create mode 100644 RULES/i386-openserver-gcc.rul create mode 100644 RULES/i386-os2-gcc.rul create mode 100644 RULES/i386-unixware-cc.rul create mode 100644 RULES/i386-unixware-gcc.rul create mode 100644 RULES/i486-cygwin32_nt-cc.rul create mode 100644 RULES/i486-cygwin32_nt-cl.rul create mode 100644 RULES/i486-cygwin32_nt-gcc.rul create mode 100644 RULES/i486-mingw32_nt-gcc.rul create mode 100644 RULES/i586-linux-cc.rul create mode 100644 RULES/i586-linux-clang.rul create mode 100644 RULES/i586-linux-gcc.rul create mode 100644 RULES/i586-linux-suncc.rul create mode 100644 RULES/i586-mingw32_nt-gcc.rul create mode 100644 RULES/i586-pyro-cc.rul create mode 100644 RULES/i586-pyro-gcc.rul create mode 100644 RULES/i586-syllable-cc.rul create mode 100644 RULES/i586-syllable-gcc.rul create mode 100644 RULES/i686-cygwin32_wow64-cl64.rul create mode 100644 RULES/i686-mingw32_nt-gcc.rul create mode 100644 RULES/i786-mingw32_nt-gcc.rul create mode 100644 RULES/i86pc-sunos5-cc.rul create mode 100644 RULES/i86pc-sunos5-clang.rul create mode 100644 RULES/i86pc-sunos5-gcc.rul create mode 100644 RULES/i86pc-sunos5-pcc.rul create mode 100644 RULES/ip22-irix-cc.rul create mode 100644 RULES/ip22-irix-gcc.rul create mode 100644 RULES/ldummy.cnf create mode 100644 RULES/local.cnf create mode 100644 RULES/m68k-amigaos-gcc.rul create mode 100644 RULES/man-bsd.def create mode 100644 RULES/man-sysv.def create mode 100644 RULES/mk-.id create mode 100644 RULES/mk-gmake.id create mode 100644 RULES/mk-smake.id create mode 100644 RULES/mk-sunpro.id create mode 100644 RULES/news4000-newsos6-cc.rul create mode 100644 RULES/os-aix.def create mode 100644 RULES/os-aix.id create mode 100644 RULES/os-amigaos.def create mode 100644 RULES/os-amigaos.id create mode 100644 RULES/os-beos.def create mode 100644 RULES/os-beos.id create mode 100644 RULES/os-bitrig.def create mode 100644 RULES/os-bitrig.id create mode 100644 RULES/os-bsd-os.def create mode 100644 RULES/os-bsd-os.id create mode 100644 RULES/os-bsd-os3.def create mode 100644 RULES/os-cygwin32_nt.def create mode 100644 RULES/os-cygwin32_nt.id create mode 100644 RULES/os-cygwin32_wow.def create mode 100644 RULES/os-cygwin32_wow.id create mode 100644 RULES/os-cygwin32_wow64.def create mode 100644 RULES/os-cygwin32_wow64.id create mode 100644 RULES/os-cygwin_95-4.0.id create mode 100644 RULES/os-cygwin_98-4.10.id create mode 100644 RULES/os-cygwin_me-4.90.id create mode 100644 RULES/os-cygwin_nt-10.0-wow.id create mode 100644 RULES/os-cygwin_nt-10.0-wow64.id create mode 100644 RULES/os-cygwin_nt-10.0.id create mode 100644 RULES/os-cygwin_nt-4.0.id create mode 100644 RULES/os-cygwin_nt-5.0.id create mode 100644 RULES/os-cygwin_nt-5.1.id create mode 100644 RULES/os-cygwin_nt-5.2-wow.id create mode 100644 RULES/os-cygwin_nt-5.2-wow64.id create mode 100644 RULES/os-cygwin_nt-5.2.id create mode 100644 RULES/os-cygwin_nt-6.0-wow.id create mode 100644 RULES/os-cygwin_nt-6.0-wow64.id create mode 100644 RULES/os-cygwin_nt-6.0.id create mode 100644 RULES/os-cygwin_nt-6.1-wow.id create mode 100644 RULES/os-cygwin_nt-6.1-wow64.id create mode 100644 RULES/os-cygwin_nt-6.1.id create mode 100644 RULES/os-cygwin_nt-6.2-wow.id create mode 100644 RULES/os-cygwin_nt-6.2-wow64.id create mode 100644 RULES/os-cygwin_nt-6.2.id create mode 100644 RULES/os-cygwin_nt-6.3-wow.id create mode 100644 RULES/os-cygwin_nt-6.3-wow64.id create mode 100644 RULES/os-cygwin_nt-6.3.id create mode 100644 RULES/os-cygwin_nt-6.4-wow.id create mode 100644 RULES/os-cygwin_nt-6.4-wow64.id create mode 100644 RULES/os-cygwin_nt-6.4.id create mode 100644 RULES/os-darwin.def create mode 100644 RULES/os-darwin.id create mode 100644 RULES/os-dgux.id create mode 100644 RULES/os-dgux3.def create mode 100644 RULES/os-dgux4.def create mode 100644 RULES/os-domainos.def create mode 100644 RULES/os-domainos.id create mode 100644 RULES/os-dragonfly.def create mode 100644 RULES/os-dragonfly.id create mode 100644 RULES/os-freebsd.def create mode 100644 RULES/os-freebsd.id create mode 100644 RULES/os-freemint.def create mode 100644 RULES/os-freemint.id create mode 100644 RULES/os-gnu-kfreebsd.def create mode 100644 RULES/os-gnu-kfreebsd.id create mode 100644 RULES/os-gnu.def create mode 100644 RULES/os-gnu.id create mode 100644 RULES/os-haiku.def create mode 100644 RULES/os-haiku.id create mode 100644 RULES/os-hp-ux.def create mode 100644 RULES/os-hp-ux.id create mode 100644 RULES/os-interix-nt-4.0.id create mode 100644 RULES/os-interix-nt-5.0.id create mode 100644 RULES/os-interix-nt-5.1.id create mode 100644 RULES/os-interix-nt-5.2.id create mode 100644 RULES/os-interix-nt-6.0.id create mode 100644 RULES/os-interix-nt-6.1.id create mode 100644 RULES/os-interix.def create mode 100644 RULES/os-interix.id create mode 100644 RULES/os-irix.def create mode 100644 RULES/os-irix.id create mode 100644 RULES/os-linux.def create mode 100644 RULES/os-linux.id create mode 100644 RULES/os-mac-os.id create mode 100644 RULES/os-mac-os10.def create mode 100644 RULES/os-mingw32_95-4.0.id create mode 100644 RULES/os-mingw32_98-4.0.id create mode 100644 RULES/os-mingw32_98-4.10.id create mode 100644 RULES/os-mingw32_me-4.90.id create mode 100644 RULES/os-mingw32_nt-4.0.id create mode 100644 RULES/os-mingw32_nt-5.0.id create mode 100644 RULES/os-mingw32_nt-5.1.id create mode 100644 RULES/os-mingw32_nt-5.2.id create mode 100644 RULES/os-mingw32_nt-6.0.id create mode 100644 RULES/os-mingw32_nt-6.1.id create mode 100644 RULES/os-mingw32_nt-6.2.id create mode 100644 RULES/os-mingw32_nt-6.3.id create mode 100644 RULES/os-mingw32_nt-6.4.id create mode 100644 RULES/os-mingw32_nt.def create mode 100644 RULES/os-mingw32_nt.id create mode 100644 RULES/os-minix.def create mode 100644 RULES/os-minix.id create mode 100644 RULES/os-ms-dos.def create mode 100644 RULES/os-ms-dos.id create mode 100644 RULES/os-netbsd.def create mode 100644 RULES/os-netbsd.id create mode 100644 RULES/os-news-os.id create mode 100644 RULES/os-newsos6.def create mode 100644 RULES/os-nextstep.def create mode 100644 RULES/os-nextstep.id create mode 100644 RULES/os-openbsd.def create mode 100644 RULES/os-openbsd.id create mode 100644 RULES/os-openserver.def create mode 100644 RULES/os-openvms.def create mode 100644 RULES/os-openvms.id create mode 100644 RULES/os-os-2.id create mode 100644 RULES/os-os2.def create mode 100644 RULES/os-osf1.def create mode 100644 RULES/os-osf1.id create mode 100644 RULES/os-pyro.def create mode 100644 RULES/os-pyro.id create mode 100644 RULES/os-qnx.def create mode 100644 RULES/os-qnx.id create mode 100644 RULES/os-rhapsody.def create mode 100644 RULES/os-rhapsody.id create mode 100644 RULES/os-sco_sv.id create mode 100644 RULES/os-sunos.id create mode 100644 RULES/os-sunos4.def create mode 100644 RULES/os-sunos5.def create mode 100644 RULES/os-syllable.def create mode 100644 RULES/os-syllable.id create mode 100644 RULES/os-unix_sv.id create mode 100644 RULES/os-unixware.def create mode 100644 RULES/os-unixware.id create mode 100644 RULES/pci-qnx-cc.rul create mode 100644 RULES/power-macintosh-darwin-cc.rul create mode 100644 RULES/power-macintosh-darwin-gcc.rul create mode 100644 RULES/power-macintosh-rhapsody-cc.rul create mode 100644 RULES/power-macintosh-rhapsody-gcc.rul create mode 100644 RULES/powerpc-beos-gcc.rul create mode 100644 RULES/powerpc-beos-mwcc.rul create mode 100644 RULES/profiled.lnk create mode 100644 RULES/r-gmake.dep create mode 100644 RULES/r-gmake.tag create mode 100644 RULES/r-make.dep create mode 100644 RULES/r-make.obj create mode 100644 RULES/r-make.tag create mode 100644 RULES/r-smake.dep create mode 100644 RULES/r-smake.obj create mode 100644 RULES/r-smake.tag create mode 100644 RULES/r-sunpro.dep create mode 100644 RULES/rs6000-aix-cc.rul create mode 100644 RULES/rs6000-aix-gcc.rul create mode 100644 RULES/rules.aux create mode 100644 RULES/rules.clr create mode 100644 RULES/rules.cmd create mode 100644 RULES/rules.cnf create mode 100644 RULES/rules.cpl create mode 100644 RULES/rules.cst create mode 100644 RULES/rules.csw create mode 100644 RULES/rules.dep create mode 100644 RULES/rules.dir create mode 100644 RULES/rules.drv create mode 100644 RULES/rules.dyn create mode 100644 RULES/rules.env create mode 100644 RULES/rules.hlp create mode 100644 RULES/rules.htm create mode 100644 RULES/rules.inc create mode 100644 RULES/rules.ins create mode 100644 RULES/rules.lib create mode 100644 RULES/rules.lnt create mode 100644 RULES/rules.loc create mode 100644 RULES/rules.man create mode 100644 RULES/rules.mkd create mode 100644 RULES/rules.mks create mode 100644 RULES/rules.mod create mode 100644 RULES/rules.nul create mode 100644 RULES/rules.obj create mode 100644 RULES/rules.pkg create mode 100644 RULES/rules.prg create mode 100644 RULES/rules.rdi create mode 100644 RULES/rules.rel create mode 100644 RULES/rules.scr create mode 100644 RULES/rules.shl create mode 100644 RULES/rules.sps create mode 100644 RULES/rules.tag create mode 100644 RULES/rules.top create mode 100644 RULES/rules.tpk create mode 100644 RULES/rules.tst create mode 100644 RULES/rules1.dir create mode 100644 RULES/rules1.top create mode 100644 RULES/static.lnk create mode 100644 RULES/sub.htm create mode 100644 RULES/sun3-sunos4-cc.rul create mode 100644 RULES/sun3-sunos4-gcc.rul create mode 100644 RULES/sun4-sunos4-cc.rul create mode 100644 RULES/sun4-sunos4-gcc.rul create mode 100644 RULES/sun4-sunos5-cc.rul create mode 100644 RULES/sun4-sunos5-clang.rul create mode 100644 RULES/sun4-sunos5-gcc.rul create mode 100644 RULES/version create mode 100644 RULES/x86-interix-cc.rul create mode 100644 RULES/x86-interix-cl.rul create mode 100644 RULES/x86-interix-gcc.rul create mode 100644 RULES/x86pc-qnx-gcc.rul create mode 100644 START create mode 100644 TARGETS/15conf create mode 100644 TARGETS/25inc create mode 100644 TARGETS/25include create mode 100644 TARGETS/43libschily create mode 100644 TARGETS/44libdeflt create mode 100644 TARGETS/44libscg create mode 100644 TARGETS/44libscg!@!scg create mode 100644 TARGETS/45lib create mode 100644 TARGETS/45libcdrdeflt create mode 100644 TARGETS/45libedc create mode 100644 TARGETS/45libfile create mode 100644 TARGETS/45libfind create mode 100644 TARGETS/45libhfs_iso create mode 100644 TARGETS/45libmdigest create mode 100644 TARGETS/45libparanoia create mode 100644 TARGETS/45librscg create mode 100644 TARGETS/45libscgcmd create mode 100644 TARGETS/45libsiconv create mode 100644 TARGETS/45libsiconv!@!tables create mode 100644 TARGETS/55btcflash create mode 100644 TARGETS/55cdda2wav create mode 100644 TARGETS/55cdrecord create mode 100644 TARGETS/55cmd create mode 100644 TARGETS/55mkisofs create mode 100644 TARGETS/55mkisofs!@!diag create mode 100644 TARGETS/55readcd create mode 100644 TARGETS/55rscsi create mode 100644 TARGETS/55scgcheck create mode 100644 TARGETS/55scgskeleton create mode 100644 TARGETS/85man create mode 100644 TARGETS/README create mode 100644 TARGETS/Targetdirs create mode 100644 TARGETS/__slot create mode 100644 TEMPLATES/Defaults.clang create mode 100644 TEMPLATES/Defaults.gcc create mode 100644 TEMPLATES/Defaults.xcc create mode 100755 TEMPLATES/MKLINKS create mode 100644 TEMPLATES/Makefile.aux create mode 100644 TEMPLATES/Makefile.cmd create mode 100644 TEMPLATES/Makefile.dir create mode 100644 TEMPLATES/Makefile.drv create mode 100644 TEMPLATES/Makefile.inc create mode 100644 TEMPLATES/Makefile.lib create mode 100644 TEMPLATES/Makefile.loc create mode 100644 TEMPLATES/Makefile.man create mode 100644 TEMPLATES/Makefile.mks create mode 100644 TEMPLATES/Makefile.mod create mode 100644 TEMPLATES/Makefile.root create mode 100644 TEMPLATES/Makefile.scr create mode 100644 TEMPLATES/Makefile.shl create mode 100644 TEMPLATES/Makefile.wrap create mode 100644 TEMPLATES/Makefile_de.man create mode 100644 TEMPLATES/noshlxxx.mk create mode 100644 TEMPLATES/temp-clang.rul create mode 100644 TEMPLATES/temp-gcc.rul create mode 100644 TEMPLATES/temp-xcc.rul create mode 100644 autoconf/acgeneral.m4 create mode 100644 autoconf/aclocal.m4 create mode 100644 autoconf/acoldnames.m4 create mode 100644 autoconf/acspecific.m4 create mode 100755 autoconf/autoconf create mode 100644 autoconf/autoconf.m4 create mode 100644 autoconf/autoheader.m4 create mode 100755 autoconf/config.guess create mode 100755 autoconf/config.sub create mode 100755 autoconf/configure create mode 100644 autoconf/configure.in create mode 100755 autoconf/install-sh create mode 100644 autoconf/rules.cnf.in create mode 100644 autoconf/xconfig.h.in create mode 100644 btcflash/MKLINKS create mode 100644 btcflash/Makefile create mode 100644 btcflash/Makefile.man create mode 100644 btcflash/btcflash.1 create mode 100644 btcflash/btcflash.c create mode 100644 btcflash/skel.c create mode 100644 build_all.com create mode 100644 cdda2wav/Changelog create mode 100644 cdda2wav/FAQ create mode 100644 cdda2wav/Frontends create mode 100644 cdda2wav/HOWTOUSE create mode 100644 cdda2wav/MKLINKS create mode 100644 cdda2wav/Makefile create mode 100644 cdda2wav/Makefile.man create mode 100644 cdda2wav/Makefile.rd create mode 100644 cdda2wav/NEEDED create mode 100644 cdda2wav/OtherProgs create mode 100644 cdda2wav/README create mode 100644 cdda2wav/THANKS create mode 100644 cdda2wav/TODO create mode 100644 cdda2wav/aifc.c create mode 100644 cdda2wav/aifc.h create mode 100644 cdda2wav/aiff.c create mode 100644 cdda2wav/aiff.h create mode 100755 cdda2wav/autoconf_ create mode 100644 cdda2wav/base64.c create mode 100644 cdda2wav/base64.h create mode 100644 cdda2wav/build_cdda2wav.com create mode 100644 cdda2wav/byteorder.h create mode 100644 cdda2wav/cd_extra.c create mode 100644 cdda2wav/cd_text.c create mode 100755 cdda2wav/cdda2mp3 create mode 100644 cdda2wav/cdda2mp3.1 create mode 100644 cdda2wav/cdda2mp3.mk create mode 100644 cdda2wav/cdda2mp3.mk1 create mode 100644 cdda2wav/cdda2mp3.new create mode 100755 cdda2wav/cdda2ogg create mode 100644 cdda2wav/cdda2ogg.1 create mode 100644 cdda2wav/cdda2ogg.mk create mode 100644 cdda2wav/cdda2ogg.mk1 create mode 100644 cdda2wav/cdda2wav.1 create mode 100644 cdda2wav/cdda2wav.c create mode 100644 cdda2wav/cdda2wav.h create mode 100644 cdda2wav/cdda_links create mode 100644 cdda2wav/config.h create mode 100755 cdda2wav/configure create mode 100644 cdda2wav/configure.in create mode 100644 cdda2wav/exitcodes.h create mode 100644 cdda2wav/global.h create mode 100755 cdda2wav/inf2cdtext.pl create mode 100644 cdda2wav/interface.c create mode 100644 cdda2wav/interface.h create mode 100644 cdda2wav/ioctl.c create mode 100644 cdda2wav/ioctl.h create mode 100644 cdda2wav/lconfig.h.in create mode 100644 cdda2wav/local.cnf.in create mode 100644 cdda2wav/lowlevel.h create mode 100644 cdda2wav/mycdrom.h create mode 100644 cdda2wav/mytype.h create mode 100644 cdda2wav/parse.c create mode 100644 cdda2wav/parse.h create mode 100755 cdda2wav/pitchplay create mode 100644 cdda2wav/raw.c create mode 100644 cdda2wav/raw.h create mode 100755 cdda2wav/readmult create mode 100644 cdda2wav/resample.c create mode 100644 cdda2wav/resample.h create mode 100644 cdda2wav/ringbuff.c create mode 100644 cdda2wav/ringbuff.h create mode 100644 cdda2wav/scsi_cmds.c create mode 100644 cdda2wav/scsi_cmds.h create mode 100644 cdda2wav/semshm.c create mode 100644 cdda2wav/semshm.h create mode 100644 cdda2wav/setuid.c create mode 100644 cdda2wav/setuid.h create mode 100644 cdda2wav/sndconfig.c create mode 100644 cdda2wav/sndconfig.h create mode 100644 cdda2wav/sndfile.h create mode 100644 cdda2wav/sun.c create mode 100644 cdda2wav/sun.h create mode 100644 cdda2wav/toc.c create mode 100644 cdda2wav/toc.h create mode 100755 cdda2wav/tracknames.pl create mode 100644 cdda2wav/tracknames.txt create mode 100644 cdda2wav/version.sed create mode 100644 cdda2wav/wav.c create mode 100644 cdda2wav/wav.h create mode 100644 cdrecord/COPYING create mode 100644 cdrecord/LICENSE create mode 100644 cdrecord/LIMITATIONS create mode 100644 cdrecord/Makefile create mode 100644 cdrecord/Makefile.dfl create mode 100644 cdrecord/Makefile.doc create mode 100644 cdrecord/Makefile.man create mode 100644 cdrecord/README create mode 100644 cdrecord/README.ATAPI create mode 100644 cdrecord/README.DiskT@2 create mode 100644 cdrecord/README.WORM create mode 100644 cdrecord/README.audio create mode 100644 cdrecord/README.cdplus create mode 100644 cdrecord/README.cdrw create mode 100644 cdrecord/README.cdtext create mode 100644 cdrecord/README.clone create mode 100644 cdrecord/README.copy create mode 100644 cdrecord/README.multi create mode 100644 cdrecord/README.parallel create mode 100644 cdrecord/README.raw create mode 100644 cdrecord/README.rscsi create mode 100644 cdrecord/README.solaris-x86-ATAPI-DMA create mode 100644 cdrecord/README.solaris-x86-ata-DMA create mode 100644 cdrecord/README.sony create mode 100644 cdrecord/README.sun-lofi create mode 100644 cdrecord/README.verify create mode 100644 cdrecord/README.volmgt create mode 100644 cdrecord/Rata-dma.mk create mode 100644 cdrecord/Ratapi-dma.mk create mode 100644 cdrecord/Ratapi.mk create mode 100644 cdrecord/Raudio.mk create mode 100644 cdrecord/Rcdplus.mk create mode 100644 cdrecord/Rcdrw.mk create mode 100644 cdrecord/Rcdtext.mk create mode 100644 cdrecord/Rclone.mk create mode 100644 cdrecord/Rcopy.mk create mode 100644 cdrecord/Rdisktattoo.mk create mode 100644 cdrecord/Rmulti.mk create mode 100644 cdrecord/Rparallel.mk create mode 100644 cdrecord/Rraw.mk create mode 100644 cdrecord/Rrscsi.mk create mode 100644 cdrecord/Rsony.mk create mode 100644 cdrecord/Rsun-lofi.mk create mode 100644 cdrecord/Rverify.mk create mode 100644 cdrecord/Rvolmgt.mk create mode 100644 cdrecord/Rworm.mk create mode 100644 cdrecord/adip.h create mode 100644 cdrecord/audiosize.c create mode 100644 cdrecord/auheader.h create mode 100644 cdrecord/auinfo.c create mode 100644 cdrecord/build_all.com create mode 100644 cdrecord/build_all.com.old create mode 100644 cdrecord/build_cdrecord.com create mode 100644 cdrecord/cd_misc.c create mode 100644 cdrecord/cdr_drv.c create mode 100644 cdrecord/cdrecord.1 create mode 100644 cdrecord/cdrecord.c create mode 100644 cdrecord/cdrecord.dfl create mode 100644 cdrecord/cdrecord.h create mode 100644 cdrecord/cdtext.c create mode 100644 cdrecord/cdtext.h create mode 100644 cdrecord/clone.c create mode 100644 cdrecord/crc16.c create mode 100644 cdrecord/crc16.h create mode 100644 cdrecord/cue.c create mode 100644 cdrecord/diskid.c create mode 100644 cdrecord/drv_7501.c create mode 100644 cdrecord/drv_bd.c create mode 100644 cdrecord/drv_dvd.c create mode 100644 cdrecord/drv_dvdplus.c create mode 100644 cdrecord/drv_jvc.c create mode 100644 cdrecord/drv_mmc.c create mode 100644 cdrecord/drv_philips.c create mode 100644 cdrecord/drv_simul.c create mode 100644 cdrecord/drv_sony.c create mode 100644 cdrecord/fifo.c create mode 100644 cdrecord/iso9660.h create mode 100644 cdrecord/isosize.c create mode 100644 cdrecord/misc.c create mode 100644 cdrecord/mmcvendor.h create mode 100644 cdrecord/movesect.c create mode 100644 cdrecord/movesect.h create mode 100644 cdrecord/priv.c create mode 100644 cdrecord/readme.mk create mode 100644 cdrecord/scsi_cdr.c create mode 100644 cdrecord/scsi_cdr_mmc4.c create mode 100644 cdrecord/scsi_mmc.c create mode 100644 cdrecord/scsi_mmc4.c create mode 100644 cdrecord/scsi_scan.c create mode 100644 cdrecord/scsi_scan.h create mode 100644 cdrecord/scsilog.c create mode 100644 cdrecord/scsilog.h create mode 100644 cdrecord/scsimmc.h create mode 100644 cdrecord/sector.c create mode 100644 cdrecord/subchan.c create mode 100644 cdrecord/vendor.c create mode 100644 cdrecord/version.h create mode 100644 cdrecord/wm_packet.c create mode 100644 cdrecord/wm_session.c create mode 100644 cdrecord/wm_track.c create mode 100644 cdrecord/xio.c create mode 100644 cdrecord/xio.h create mode 100644 conf/Makefile create mode 100755 conf/cc-config.sh create mode 100755 conf/install-sh create mode 100755 conf/makeinc create mode 100755 conf/mkdep-aix.sh create mode 100755 conf/mkdep-hpux.sh create mode 100755 conf/mkdep-msc-interix.sh create mode 100755 conf/mkdep-msc.sh create mode 100755 conf/mkdep-sco.sh create mode 100755 conf/mkdir-sh create mode 100755 conf/mkdir.sh create mode 100755 conf/oarch.sh create mode 100644 conf/post.html create mode 100644 conf/pre.html create mode 100755 conf/runrmt_android create mode 100755 conf/runrmt_rsh create mode 100755 conf/runrmt_ssh create mode 100755 conf/setup.sh create mode 100755 conf/src-get create mode 100755 conf/srcroot.sh create mode 100755 conf/wget.sh create mode 100644 conf/xconfig.mk create mode 100755 configure create mode 100644 doc/btcflash.man create mode 100644 doc/btcflash.ps create mode 100644 doc/cdda2ogg.man create mode 100644 doc/cdda2ogg.ps create mode 100644 doc/cdda2wav.man create mode 100644 doc/cdda2wav.ps create mode 100644 doc/cdrecord.man create mode 100644 doc/cdrecord.ps create mode 100644 doc/isoinfo.man create mode 100644 doc/isoinfo.ps create mode 100644 doc/mkisofs.man create mode 100644 doc/mkisofs.ps create mode 100644 doc/readcd.man create mode 100644 doc/readcd.ps create mode 100644 doc/scgcheck.man create mode 100644 doc/scgcheck.ps create mode 100644 doc/scgskeleton.man create mode 100644 doc/scgskeleton.ps create mode 100644 inc/MKLINKS create mode 100644 inc/Makefile create mode 100644 inc/align_test.c create mode 100644 inc/align_test.mk create mode 100644 inc/avoffset.c create mode 100644 inc/avoffset.mk create mode 100644 inc/getfp.c create mode 100644 include/Makefile create mode 100644 include/schily/Makefile create mode 100644 include/schily/Targets create mode 100644 include/schily/_regex.h create mode 100644 include/schily/_regex.mk create mode 100644 include/schily/align.h create mode 100644 include/schily/align.mk create mode 100644 include/schily/alloca.h create mode 100644 include/schily/alloca.mk create mode 100644 include/schily/archdefs.h create mode 100644 include/schily/archdefs.mk create mode 100644 include/schily/assert.h create mode 100644 include/schily/assert.mk create mode 100644 include/schily/avoffset.h create mode 100644 include/schily/avoffset.mk create mode 100644 include/schily/btorder.h create mode 100644 include/schily/btorder.mk create mode 100644 include/schily/ccomdefs.h create mode 100644 include/schily/ccomdefs.mk create mode 100644 include/schily/checkerr.h create mode 100644 include/schily/checkerr.mk create mode 100644 include/schily/ctype.h create mode 100644 include/schily/ctype.mk create mode 100644 include/schily/dbgmalloc.h create mode 100644 include/schily/dbgmalloc.mk create mode 100644 include/schily/deflts.h create mode 100644 include/schily/deflts.mk create mode 100644 include/schily/device.h create mode 100644 include/schily/device.mk create mode 100644 include/schily/dirent.h create mode 100644 include/schily/dirent.mk create mode 100644 include/schily/dlfcn.h create mode 100644 include/schily/dlfcn.mk create mode 100644 include/schily/err_arch.h create mode 100644 include/schily/err_arch.mk create mode 100644 include/schily/err_bit.h create mode 100644 include/schily/err_bit.mk create mode 100644 include/schily/err_char.h create mode 100644 include/schily/err_char.mk create mode 100644 include/schily/err_type.h create mode 100644 include/schily/err_type.mk create mode 100644 include/schily/errno.h create mode 100644 include/schily/errno.mk create mode 100644 include/schily/fcntl.h create mode 100644 include/schily/fcntl.mk create mode 100644 include/schily/fetchdir.h create mode 100644 include/schily/fetchdir.mk create mode 100644 include/schily/find.h create mode 100644 include/schily/find.mk create mode 100644 include/schily/float.h create mode 100644 include/schily/float.mk create mode 100644 include/schily/fnmatch.h create mode 100644 include/schily/fnmatch.mk create mode 100644 include/schily/fstream.h create mode 100644 include/schily/fstream.mk create mode 100644 include/schily/getargs.h create mode 100644 include/schily/getargs.mk create mode 100644 include/schily/getcwd.h create mode 100644 include/schily/getcwd.mk create mode 100644 include/schily/grp.h create mode 100644 include/schily/grp.mk create mode 100644 include/schily/hostname.h create mode 100644 include/schily/hostname.mk create mode 100644 include/schily/iconv.h create mode 100644 include/schily/iconv.mk create mode 100644 include/schily/idcache.h create mode 100644 include/schily/idcache.mk create mode 100644 include/schily/in.h create mode 100644 include/schily/in.mk create mode 100644 include/schily/inet.h create mode 100644 include/schily/inet.mk create mode 100644 include/schily/intcvt.h create mode 100644 include/schily/intcvt.mk create mode 100644 include/schily/inttypes.h create mode 100644 include/schily/inttypes.mk create mode 100644 include/schily/io.h create mode 100644 include/schily/io.mk create mode 100644 include/schily/ioctl.h create mode 100644 include/schily/ioctl.mk create mode 100644 include/schily/ipc.h create mode 100644 include/schily/ipc.mk create mode 100644 include/schily/jmpdefs.h create mode 100644 include/schily/jmpdefs.mk create mode 100644 include/schily/libgen.h create mode 100644 include/schily/libgen.mk create mode 100644 include/schily/libport.h create mode 100644 include/schily/libport.mk create mode 100644 include/schily/librmt.h create mode 100644 include/schily/librmt.mk create mode 100644 include/schily/limits.h create mode 100644 include/schily/limits.mk create mode 100644 include/schily/locale.h create mode 100644 include/schily/locale.mk create mode 100644 include/schily/math.h create mode 100644 include/schily/math.mk create mode 100644 include/schily/maxpath.h create mode 100644 include/schily/maxpath.mk create mode 100644 include/schily/mconfig.h create mode 100644 include/schily/mconfig.mk create mode 100644 include/schily/md4.h create mode 100644 include/schily/md4.mk create mode 100644 include/schily/md5.h create mode 100644 include/schily/md5.mk create mode 100644 include/schily/mman.h create mode 100644 include/schily/mman.mk create mode 100644 include/schily/mtio.h create mode 100644 include/schily/mtio.mk create mode 100644 include/schily/netdb.h create mode 100644 include/schily/netdb.mk create mode 100644 include/schily/nlsdefs.h create mode 100644 include/schily/nlsdefs.mk create mode 100644 include/schily/param.h create mode 100644 include/schily/param.mk create mode 100644 include/schily/patmatch.h create mode 100644 include/schily/patmatch.mk create mode 100644 include/schily/poll.h create mode 100644 include/schily/poll.mk create mode 100644 include/schily/priv.h create mode 100644 include/schily/priv.mk create mode 100644 include/schily/procfs.h create mode 100644 include/schily/procfs.mk create mode 100644 include/schily/prototyp.h create mode 100644 include/schily/prototyp.mk create mode 100644 include/schily/pwd.h create mode 100644 include/schily/pwd.mk create mode 100644 include/schily/regex.h create mode 100644 include/schily/regex.mk create mode 100644 include/schily/resource.h create mode 100644 include/schily/resource.mk create mode 100644 include/schily/rmd160.h create mode 100644 include/schily/rmd160.mk create mode 100644 include/schily/rmtio.h create mode 100644 include/schily/rmtio.mk create mode 100644 include/schily/schily.h create mode 100644 include/schily/schily.mk create mode 100644 include/schily/schilyp.h create mode 100644 include/schily/schilyp.mk create mode 100644 include/schily/select.h create mode 100644 include/schily/select.mk create mode 100644 include/schily/sem.h create mode 100644 include/schily/sem.mk create mode 100644 include/schily/setjmp.h create mode 100644 include/schily/setjmp.mk create mode 100644 include/schily/sha1.h create mode 100644 include/schily/sha1.mk create mode 100644 include/schily/sha2.h create mode 100644 include/schily/sha2.mk create mode 100644 include/schily/sha3.h create mode 100644 include/schily/sha3.mk create mode 100644 include/schily/shadow.h create mode 100644 include/schily/shadow.mk create mode 100644 include/schily/shcall.h create mode 100644 include/schily/shcall.mk create mode 100644 include/schily/shedit.h create mode 100644 include/schily/shedit.mk create mode 100644 include/schily/shm.h create mode 100644 include/schily/shm.mk create mode 100644 include/schily/siconv.h create mode 100644 include/schily/siconv.mk create mode 100644 include/schily/sigblk.h create mode 100644 include/schily/sigblk.mk create mode 100644 include/schily/signal.h create mode 100644 include/schily/signal.mk create mode 100644 include/schily/sigset.h create mode 100644 include/schily/sigset.mk create mode 100644 include/schily/socket.h create mode 100644 include/schily/socket.mk create mode 100644 include/schily/standard.h create mode 100644 include/schily/standard.mk create mode 100644 include/schily/stat.h create mode 100644 include/schily/stat.mk create mode 100644 include/schily/stdarg.h create mode 100644 include/schily/stdarg.mk create mode 100644 include/schily/stdint.h create mode 100644 include/schily/stdint.mk create mode 100644 include/schily/stdio.h create mode 100644 include/schily/stdio.mk create mode 100644 include/schily/stdlib.h create mode 100644 include/schily/stdlib.mk create mode 100644 include/schily/stkframe.h create mode 100644 include/schily/stkframe.mk create mode 100644 include/schily/strar.h create mode 100644 include/schily/strar.mk create mode 100644 include/schily/string.h create mode 100644 include/schily/string.mk create mode 100644 include/schily/sunos4_proto.h create mode 100644 include/schily/sunos4_proto.mk create mode 100644 include/schily/sysexits.h create mode 100644 include/schily/sysexits.mk create mode 100644 include/schily/syslog.h create mode 100644 include/schily/syslog.mk create mode 100644 include/schily/systeminfo.h create mode 100644 include/schily/systeminfo.mk create mode 100644 include/schily/termcap.h create mode 100644 include/schily/termcap.mk create mode 100644 include/schily/termios.h create mode 100644 include/schily/termios.mk create mode 100644 include/schily/time.h create mode 100644 include/schily/time.mk create mode 100644 include/schily/timeb.h create mode 100644 include/schily/timeb.mk create mode 100644 include/schily/times.h create mode 100644 include/schily/times.mk create mode 100644 include/schily/types.h create mode 100644 include/schily/types.mk create mode 100644 include/schily/unistd.h create mode 100644 include/schily/unistd.mk create mode 100644 include/schily/utime.h create mode 100644 include/schily/utime.mk create mode 100644 include/schily/utsname.h create mode 100644 include/schily/utsname.mk create mode 100644 include/schily/utypes.h create mode 100644 include/schily/utypes.mk create mode 100644 include/schily/varargs.h create mode 100644 include/schily/varargs.mk create mode 100644 include/schily/vfork.h create mode 100644 include/schily/vfork.mk create mode 100644 include/schily/wait.h create mode 100644 include/schily/wait.mk create mode 100644 include/schily/walk.h create mode 100644 include/schily/walk.mk create mode 100644 include/schily/wchar.h create mode 100644 include/schily/wchar.mk create mode 100644 include/schily/wctype.h create mode 100644 include/schily/wctype.mk create mode 100644 include/schily/windows.h create mode 100644 include/schily/windows.mk create mode 100644 include/schily/xconfig.h create mode 100644 include/schily/xconfig.mk create mode 100644 include/schily/xmconfig.h create mode 100644 include/schily/xmconfig.mk create mode 100644 lib/Makefile.off create mode 100644 lib/TARGETS/15conf create mode 100644 lib/TARGETS/__slot create mode 100644 lib/Targetdirs create mode 100644 libcdrdeflt/Makefile create mode 100644 libcdrdeflt/Targets create mode 100644 libcdrdeflt/cdrdeflt.c create mode 100644 libcdrdeflt/cdrdeflt.h create mode 100644 libcdrdeflt/libcdrdeflt-mapvers create mode 100644 libcdrdeflt/libcdrdeflt.mk create mode 100644 libcdrdeflt/libcdrdeflt_p.mk create mode 100644 libcdrdeflt/noshlcdrdeflt.mk create mode 100644 libcdrdeflt/shlcdrdeflt.mk create mode 100644 libdeflt/Makefile create mode 100644 libdeflt/Targets create mode 100644 libdeflt/default.c create mode 100644 libdeflt/libdeflt-mapvers create mode 100644 libdeflt/libdeflt.mk create mode 100644 libdeflt/libdeflt_p.mk create mode 100644 libdeflt/noshldeflt.mk create mode 100644 libdeflt/shldeflt.mk create mode 100644 libedc/Makefile create mode 100644 libedc/README create mode 100644 libedc/crctable.out create mode 100644 libedc/ecc.h create mode 100644 libedc/edc.h create mode 100644 libedc/edc_code_tables create mode 100644 libedc/edc_ecc.c create mode 100644 libedc/edc_ecc_dec.c create mode 100644 libedc/edcspeed.c create mode 100644 libedc/encoder_tables create mode 100644 libedc/l2sq_table create mode 100644 libedc/libedc.mk create mode 100644 libedc/libedc_dec.mk create mode 100644 libedc/libedc_dec_p.mk create mode 100644 libedc/libedc_ecc-mapvers create mode 100644 libedc/libedc_ecc_dec-mapvers create mode 100644 libedc/libedc_p.mk create mode 100644 libedc/noshledc.mk create mode 100644 libedc/noshledc_dec.mk create mode 100644 libedc/repair.c create mode 100644 libedc/repair.mk create mode 100644 libedc/scramble_table create mode 100644 libedc/shledc.mk create mode 100644 libedc/shledc_dec.mk create mode 100644 libedc/speed.mk create mode 100644 libfile/LEGAL.NOTICE create mode 100644 libfile/Makefile create mode 100644 libfile/README create mode 100644 libfile/apprentice.c create mode 100644 libfile/file.c create mode 100644 libfile/file.h create mode 100644 libfile/libfile-mapvers create mode 100644 libfile/libfile.com create mode 100644 libfile/libfile.mk create mode 100644 libfile/libfile_p.mk create mode 100644 libfile/magic.5 create mode 100644 libfile/noshlfile.mk create mode 100644 libfile/patchlevel.h create mode 100644 libfile/shlfile.mk create mode 100644 libfile/softmagic.c create mode 100644 libfind/Makefile create mode 100644 libfind/README create mode 100644 libfind/Targets create mode 100644 libfind/cmpdir.c create mode 100644 libfind/fetchdir.c create mode 100644 libfind/find.c create mode 100644 libfind/find_list.c create mode 100644 libfind/find_list.h create mode 100644 libfind/find_main.c create mode 100644 libfind/find_misc.c create mode 100644 libfind/find_misc.h create mode 100644 libfind/find_tok.h create mode 100644 libfind/idcache.c create mode 100644 "libfind/if\033pdi" create mode 100644 libfind/libfind-mapvers create mode 100644 libfind/libfind.mk create mode 100644 libfind/libfind_p.mk create mode 100644 libfind/noshlfind.mk create mode 100644 libfind/shlfind.mk create mode 100644 libfind/walk.c create mode 100644 libhfs_iso/Makefile create mode 100644 libhfs_iso/README create mode 100644 libhfs_iso/block.c create mode 100644 libhfs_iso/block.h create mode 100644 libhfs_iso/btree.c create mode 100644 libhfs_iso/btree.h create mode 100644 libhfs_iso/data.c create mode 100644 libhfs_iso/data.h create mode 100644 libhfs_iso/file.c create mode 100644 libhfs_iso/file.h create mode 100644 libhfs_iso/gdata.c create mode 100644 libhfs_iso/hfs.c create mode 100644 libhfs_iso/hfs.h create mode 100644 libhfs_iso/hybrid.h create mode 100644 libhfs_iso/internal.h create mode 100644 libhfs_iso/libhfs-mapvers create mode 100644 libhfs_iso/libhfs.mk create mode 100644 libhfs_iso/libhfs_iso.com create mode 100644 libhfs_iso/libhfs_p.mk create mode 100644 libhfs_iso/low.c create mode 100644 libhfs_iso/low.h create mode 100644 libhfs_iso/node.c create mode 100644 libhfs_iso/node.h create mode 100644 libhfs_iso/noshlhfs.mk create mode 100644 libhfs_iso/record.c create mode 100644 libhfs_iso/record.h create mode 100644 libhfs_iso/shlhfs.mk create mode 100644 libhfs_iso/volume.c create mode 100644 libhfs_iso/volume.h create mode 100644 libmdigest/Makefile create mode 100644 libmdigest/Targets create mode 100644 libmdigest/byte_order.c create mode 100644 libmdigest/byte_order.h create mode 100644 libmdigest/libmdigest-mapvers create mode 100644 libmdigest/md4.c create mode 100644 libmdigest/md5.c create mode 100644 libmdigest/mdigest.mk create mode 100644 libmdigest/mdigest_p.mk create mode 100644 libmdigest/noshlmdigest.mk create mode 100644 libmdigest/rmd160.c create mode 100644 libmdigest/sha1.c create mode 100644 libmdigest/sha2.c create mode 100644 libmdigest/sha3.c create mode 100644 libmdigest/shlmdigest.mk create mode 100644 libparanoia/LICENSE create mode 100644 libparanoia/Makefile create mode 100644 libparanoia/README.interface create mode 100644 libparanoia/README.paranoia create mode 100644 libparanoia/Rinterface.mk create mode 100644 libparanoia/Rparanoia.mk create mode 100644 libparanoia/Targets create mode 100644 libparanoia/cdda_paranoia.h create mode 100644 libparanoia/gap.c create mode 100644 libparanoia/gap.h create mode 100644 libparanoia/isort.c create mode 100644 libparanoia/isort.h create mode 100644 libparanoia/libparanoia-mapvers create mode 100644 libparanoia/noshlparanoia.mk create mode 100644 libparanoia/overlap.c create mode 100644 libparanoia/overlap.h create mode 100644 libparanoia/overlapdef.txt create mode 100644 libparanoia/p_block.c create mode 100644 libparanoia/p_block.h create mode 100644 libparanoia/paranoia.c create mode 100644 libparanoia/paranoia.mk create mode 100644 libparanoia/paranoia_p.mk create mode 100644 libparanoia/pmalloc.c create mode 100644 libparanoia/pmalloc.h create mode 100644 libparanoia/shlparanoia.mk create mode 100644 librscg/Makefile create mode 100644 librscg/librscg-mapvers create mode 100644 librscg/librscg.mk create mode 100644 librscg/librscg_p.mk create mode 100644 librscg/noshlrscg.mk create mode 100644 librscg/scsi-remote.c create mode 100644 librscg/shlrscg.mk create mode 100644 libscg/Makefile create mode 100644 libscg/Targets create mode 100644 libscg/libscg-mapvers create mode 100644 libscg/libscg.com create mode 100644 libscg/libscg.mk create mode 100644 libscg/libscg_p.mk create mode 100644 libscg/noshlscg.mk create mode 100644 libscg/pg.h create mode 100644 libscg/rdummy.c create mode 100644 libscg/scg/Makefile create mode 100644 libscg/scg/aspi-dos.h create mode 100644 libscg/scg/aspi-dos.mk create mode 100644 libscg/scg/aspi-win32.h create mode 100644 libscg/scg/aspi-win32.mk create mode 100644 libscg/scg/scgcmd.h create mode 100644 libscg/scg/scgcmd.mk create mode 100644 libscg/scg/scgio.h create mode 100644 libscg/scg/scgio.mk create mode 100644 libscg/scg/scgops.h create mode 100644 libscg/scg/scgops.mk create mode 100644 libscg/scg/scsicdb.h create mode 100644 libscg/scg/scsicdb.mk create mode 100644 libscg/scg/scsidefs.h create mode 100644 libscg/scg/scsidefs.mk create mode 100644 libscg/scg/scsireg.h create mode 100644 libscg/scg/scsireg.mk create mode 100644 libscg/scg/scsisense.h create mode 100644 libscg/scg/scsisense.mk create mode 100644 libscg/scg/scsitransp.h create mode 100644 libscg/scg/scsitransp.mk create mode 100644 libscg/scg/spti-wnt.h create mode 100644 libscg/scg/spti-wnt.mk create mode 100644 libscg/scg/srb_os2.h create mode 100644 libscg/scg/srb_os2.mk create mode 100644 libscg/scgsettarget.c create mode 100644 libscg/scgtimes.c create mode 100644 libscg/scgtimes.h create mode 100644 libscg/scsi-aix.c create mode 100644 libscg/scsi-amigaos.c create mode 100644 libscg/scsi-apollo.c create mode 100644 libscg/scsi-atari.c create mode 100644 libscg/scsi-beos.c create mode 100644 libscg/scsi-bsd-os.c create mode 100644 libscg/scsi-bsd.c create mode 100644 libscg/scsi-dos.c create mode 100644 libscg/scsi-hpux.c create mode 100644 libscg/scsi-linux-ata.c create mode 100644 libscg/scsi-linux-pg.c create mode 100644 libscg/scsi-linux-sg.c create mode 100644 libscg/scsi-mac-iokit.c create mode 100644 libscg/scsi-next.c create mode 100644 libscg/scsi-openserver.c create mode 100644 libscg/scsi-os2.c create mode 100644 libscg/scsi-osf.c create mode 100644 libscg/scsi-qnx.c create mode 100644 libscg/scsi-sgi.c create mode 100644 libscg/scsi-sun.c create mode 100644 libscg/scsi-syllable.c create mode 100644 libscg/scsi-unixware.c create mode 100644 libscg/scsi-vms.c create mode 100644 libscg/scsi-wnt.c create mode 100644 libscg/scsierrs.c create mode 100644 libscg/scsihack.c create mode 100644 libscg/scsihelp.c create mode 100644 libscg/scsiopen.c create mode 100644 libscg/scsiopts.c create mode 100644 libscg/scsitransp.c create mode 100644 libscg/shlscg.mk create mode 100644 libscgcmd/Makefile create mode 100644 libscgcmd/Targets create mode 100644 libscgcmd/buffer.c create mode 100644 libscgcmd/inquiry.c create mode 100644 libscgcmd/libscgcmd-mapvers create mode 100644 libscgcmd/libscgcmd.h create mode 100644 libscgcmd/libscgcmd.mk create mode 100644 libscgcmd/libscgcmd_p.mk create mode 100644 libscgcmd/modes.c create mode 100644 libscgcmd/modesense.c create mode 100644 libscgcmd/noshlscgcmd.mk create mode 100644 libscgcmd/read.c create mode 100644 libscgcmd/readcap.c create mode 100644 libscgcmd/ready.c create mode 100644 libscgcmd/shlscgcmd.mk create mode 100644 libschily/Makefile create mode 100644 libschily/Makefile.man create mode 100644 libschily/Targets create mode 100644 libschily/Targets.man create mode 100644 libschily/absfpath.3 create mode 100644 libschily/absfpath.mk3 create mode 100644 libschily/absnpath.3 create mode 100644 libschily/absnpath.mk3 create mode 100644 libschily/abspath.3 create mode 100644 libschily/abspath.c create mode 100644 libschily/abspath.mk3 create mode 100644 libschily/astoi.3 create mode 100644 libschily/astoi.c create mode 100644 libschily/astoi.mk3 create mode 100644 libschily/astol.3 create mode 100644 libschily/astol.mk3 create mode 100644 libschily/astoll.c create mode 100644 libschily/astoul.c create mode 100644 libschily/astoull.c create mode 100644 libschily/at-base.c create mode 100644 libschily/at-base2.c create mode 100644 libschily/at-defs.h create mode 100644 libschily/basename.c create mode 100644 libschily/breakline.3 create mode 100644 libschily/breakline.c create mode 100644 libschily/breakline.mk3 create mode 100644 libschily/checkerr.c create mode 100644 libschily/chown.c create mode 100644 libschily/cmpbytes.3 create mode 100644 libschily/cmpbytes.c create mode 100644 libschily/cmpbytes.mk3 create mode 100644 libschily/cmpmbytes.c create mode 100644 libschily/cmpnullbytes.c create mode 100644 libschily/comerr.3 create mode 100644 libschily/comerr.c create mode 100644 libschily/comerr.mk3 create mode 100644 libschily/comerrno.3 create mode 100644 libschily/comerrno.mk3 create mode 100644 libschily/cvt.c create mode 100644 libschily/dirent.c create mode 100644 libschily/dirname.c create mode 100644 libschily/diropen.c create mode 100644 libschily/dlfcn.c create mode 100644 libschily/eaccess.c create mode 100644 libschily/errmsg.3 create mode 100644 libschily/errmsg.mk3 create mode 100644 libschily/errmsgno.3 create mode 100644 libschily/errmsgno.mk3 create mode 100644 libschily/error.3 create mode 100644 libschily/error.c create mode 100644 libschily/error.mk3 create mode 100644 libschily/faccessat.c create mode 100644 libschily/fchdir.c create mode 100644 libschily/fchmodat.c create mode 100644 libschily/fchownat.c create mode 100644 libschily/fcomerr.c create mode 100644 libschily/fconv.c create mode 100644 libschily/fdopendir.c create mode 100644 libschily/fdown.3 create mode 100644 libschily/fdown.mk3 create mode 100644 libschily/fdup.3 create mode 100644 libschily/fdup.mk3 create mode 100644 libschily/fexec.c create mode 100644 libschily/fexecl.3 create mode 100644 libschily/fexecl.mk3 create mode 100644 libschily/fexecle.3 create mode 100644 libschily/fexecle.mk3 create mode 100644 libschily/fexecv.3 create mode 100644 libschily/fexecv.mk3 create mode 100644 libschily/fexecve.3 create mode 100644 libschily/fexecve.mk3 create mode 100644 libschily/fgetline.3 create mode 100644 libschily/fgetline.mk3 create mode 100644 libschily/file_raise.3 create mode 100644 libschily/file_raise.mk3 create mode 100644 libschily/fileclose.3 create mode 100644 libschily/fileclose.mk3 create mode 100644 libschily/fileluopen.3 create mode 100644 libschily/fileluopen.mk3 create mode 100644 libschily/fileopen.3 create mode 100644 libschily/fileopen.mk3 create mode 100644 libschily/filepos.3 create mode 100644 libschily/filepos.mk3 create mode 100644 libschily/fileread.3 create mode 100644 libschily/fileread.mk3 create mode 100644 libschily/filereopen.3 create mode 100644 libschily/filereopen.mk3 create mode 100644 libschily/fileseek.3 create mode 100644 libschily/fileseek.mk3 create mode 100644 libschily/filesize.3 create mode 100644 libschily/filesize.mk3 create mode 100644 libschily/filestat.3 create mode 100644 libschily/filestat.mk3 create mode 100644 libschily/filewrite.3 create mode 100644 libschily/filewrite.mk3 create mode 100644 libschily/fillbytes.c create mode 100644 libschily/findbytes.c create mode 100644 libschily/findinpath.c create mode 100644 libschily/findline.3 create mode 100644 libschily/findline.c create mode 100644 libschily/findline.mk3 create mode 100644 libschily/fjmem.c create mode 100644 libschily/flush.3 create mode 100644 libschily/flush.mk3 create mode 100644 libschily/fnmatch.3 create mode 100644 libschily/fnmatch.c create mode 100644 libschily/fnmatch.mk3 create mode 100644 libschily/format.3 create mode 100644 libschily/format.c create mode 100644 libschily/format.mk3 create mode 100644 libschily/fpipe.3 create mode 100644 libschily/fpipe.mk3 create mode 100644 libschily/fprformat.c create mode 100644 libschily/fprintf.3 create mode 100644 libschily/fprintf.mk3 create mode 100644 libschily/fstatat.c create mode 100644 libschily/fstream.c create mode 100644 libschily/futimens.c create mode 100644 libschily/futimesat.c create mode 100644 libschily/getallargs.3 create mode 100644 libschily/getallargs.mk3 create mode 100644 libschily/getargs.3 create mode 100644 libschily/getargs.c create mode 100644 libschily/getargs.mk3 create mode 100644 libschily/getav0.c create mode 100644 libschily/getdomainname.c create mode 100644 libschily/getdtablesize.c create mode 100644 libschily/geterrno.3 create mode 100644 libschily/geterrno.c create mode 100644 libschily/geterrno.mk3 create mode 100644 libschily/getexecpath.c create mode 100644 libschily/getfiles.3 create mode 100644 libschily/getfiles.mk3 create mode 100644 libschily/getfp.c create mode 100644 libschily/getgrent.c create mode 100644 libschily/gethostid.c create mode 100644 libschily/gethostname.c create mode 100644 libschily/getline.3 create mode 100644 libschily/getline.mk3 create mode 100644 libschily/getlogin.c create mode 100644 libschily/getnstimeofday.c create mode 100644 libschily/getnum.c create mode 100644 libschily/getpagesize.c create mode 100644 libschily/getperm.c create mode 100644 libschily/getpwent.c create mode 100644 libschily/gettimeofday.c create mode 100644 libschily/gettnum.c create mode 100644 libschily/getxnum.c create mode 100644 libschily/getxtnum.c create mode 100644 libschily/gid.c create mode 100644 libschily/handlecond.3 create mode 100644 libschily/handlecond.c create mode 100644 libschily/handlecond.mk3 create mode 100644 libschily/jmem.c create mode 100644 libschily/jsdprintf.c create mode 100644 libschily/jsprintf.c create mode 100644 libschily/jssnprintf.c create mode 100644 libschily/jssprintf.c create mode 100644 libschily/kill.c create mode 100644 libschily/lchmod.c create mode 100644 libschily/libschily-mapvers create mode 100644 libschily/libschily.com create mode 100644 libschily/libschily.mk create mode 100644 libschily/libschily_p.mk create mode 100644 libschily/linkat.c create mode 100644 libschily/lutimens.c create mode 100644 libschily/lxchdir.c create mode 100644 libschily/match.c create mode 100644 libschily/matchl.c create mode 100644 libschily/matchmb.c create mode 100644 libschily/matchmbl.c create mode 100644 libschily/matchw.c create mode 100644 libschily/matchwl.c create mode 100644 libschily/mem.c create mode 100644 libschily/mkdirat.c create mode 100644 libschily/mkdirs.c create mode 100644 libschily/mkfifo.c create mode 100644 libschily/mkfifoat.c create mode 100644 libschily/mkgmtime.c create mode 100644 libschily/mknodat.c create mode 100644 libschily/mkstemp.c create mode 100644 libschily/movebytes.3 create mode 100644 libschily/movebytes.c create mode 100644 libschily/movebytes.mk3 create mode 100644 libschily/movecbytes.c create mode 100644 libschily/noshlschily.mk create mode 100644 libschily/ofindline.3 create mode 100644 libschily/ofindline.mk3 create mode 100644 libschily/openat.c create mode 100644 libschily/patcompile.3 create mode 100644 libschily/patcompile.mk3 create mode 100644 libschily/patmatch.3 create mode 100644 libschily/patmatch.mk3 create mode 100644 libschily/peekc.3 create mode 100644 libschily/peekc.mk3 create mode 100644 libschily/permtostr.c create mode 100644 libschily/printf.3 create mode 100644 libschily/printf.c create mode 100644 libschily/printf.mk3 create mode 100644 libschily/procnameat.c create mode 100644 libschily/raisecond.3 create mode 100644 libschily/raisecond.c create mode 100644 libschily/raisecond.mk3 create mode 100644 libschily/readlinkat.c create mode 100644 libschily/rename.c create mode 100644 libschily/renameat.c create mode 100644 libschily/resolvefpath.3 create mode 100644 libschily/resolvefpath.mk3 create mode 100644 libschily/resolvenpath.3 create mode 100644 libschily/resolvenpath.mk3 create mode 100644 libschily/resolvepath.3 create mode 100644 libschily/resolvepath.c create mode 100644 libschily/resolvepath.mk3 create mode 100644 libschily/saveargs.c create mode 100644 libschily/savewd.c create mode 100644 libschily/searchinpath.c create mode 100644 libschily/serrmsg.c create mode 100644 libschily/seterrno.c create mode 100644 libschily/setfp.c create mode 100644 libschily/setnstimeofday.c create mode 100644 libschily/shlschily.mk create mode 100644 libschily/sleep.c create mode 100644 libschily/snprintf.c create mode 100644 libschily/spawn.c create mode 100644 libschily/spawnl.3 create mode 100644 libschily/spawnl.mk3 create mode 100644 libschily/spawnv.3 create mode 100644 libschily/spawnv.mk3 create mode 100644 libschily/sprintf.3 create mode 100644 libschily/sprintf.c create mode 100644 libschily/sprintf.mk3 create mode 100644 libschily/stdio/cvmod.c create mode 100644 libschily/stdio/dat.c create mode 100644 libschily/stdio/fcons.c create mode 100644 libschily/stdio/fcons64.c create mode 100644 libschily/stdio/fdown.c create mode 100644 libschily/stdio/fdup.c create mode 100644 libschily/stdio/fdup64.c create mode 100644 libschily/stdio/ffileread.c create mode 100644 libschily/stdio/ffilewrite.c create mode 100644 libschily/stdio/fgetaline.c create mode 100644 libschily/stdio/fgetline.c create mode 100644 libschily/stdio/fgetstr.c create mode 100644 libschily/stdio/file_getraise.c create mode 100644 libschily/stdio/file_raise.c create mode 100644 libschily/stdio/fileclose.c create mode 100644 libschily/stdio/fileluopen.c create mode 100644 libschily/stdio/fileluopen64.c create mode 100644 libschily/stdio/filemopen.c create mode 100644 libschily/stdio/filemopen64.c create mode 100644 libschily/stdio/fileopen.c create mode 100644 libschily/stdio/fileopen64.c create mode 100644 libschily/stdio/filepos.c create mode 100644 libschily/stdio/filepos64.c create mode 100644 libschily/stdio/fileread.c create mode 100644 libschily/stdio/filereopen.c create mode 100644 libschily/stdio/filereopen64.c create mode 100644 libschily/stdio/fileseek.c create mode 100644 libschily/stdio/fileseek64.c create mode 100644 libschily/stdio/filesize.c create mode 100644 libschily/stdio/filesize64.c create mode 100644 libschily/stdio/filestat.c create mode 100644 libschily/stdio/filestat64.c create mode 100644 libschily/stdio/filewrite.c create mode 100644 libschily/stdio/flag.c create mode 100644 libschily/stdio/flush.c create mode 100644 libschily/stdio/fpipe.c create mode 100644 libschily/stdio/getdelim.c create mode 100644 libschily/stdio/niread.c create mode 100644 libschily/stdio/niwrite.c create mode 100644 libschily/stdio/nixread.c create mode 100644 libschily/stdio/nixwrite.c create mode 100644 libschily/stdio/openfd.c create mode 100644 libschily/stdio/openfd64.c create mode 100644 libschily/stdio/peekc.c create mode 100644 libschily/stdio/schilyio.h create mode 100644 libschily/strcasecmp.c create mode 100644 libschily/strcasemap.c create mode 100644 libschily/strcat.c create mode 100644 libschily/strcatl.3 create mode 100644 libschily/strcatl.c create mode 100644 libschily/strcatl.mk3 create mode 100644 libschily/strchr.c create mode 100644 libschily/strcmp.c create mode 100644 libschily/strcpy.c create mode 100644 libschily/strcspn.c create mode 100644 libschily/strdup.c create mode 100644 libschily/streql.3 create mode 100644 libschily/streql.c create mode 100644 libschily/streql.mk3 create mode 100644 libschily/strlcat.c create mode 100644 libschily/strlcatl.c create mode 100644 libschily/strlcpy.c create mode 100644 libschily/strlen.3 create mode 100644 libschily/strlen.c create mode 100644 libschily/strlen.mk3 create mode 100644 libschily/strncasecmp.c create mode 100644 libschily/strncat.c create mode 100644 libschily/strncmp.c create mode 100644 libschily/strncpy.c create mode 100644 libschily/strndup.c create mode 100644 libschily/strnlen.c create mode 100644 libschily/strrchr.c create mode 100644 libschily/strspn.c create mode 100644 libschily/strstr.c create mode 100644 libschily/strtod.c create mode 100644 libschily/swabbytes.c create mode 100644 libschily/symlinkat.c create mode 100644 libschily/timegm.c create mode 100644 libschily/uid.c create mode 100644 libschily/uname.c create mode 100644 libschily/unlinkat.c create mode 100644 libschily/usleep.c create mode 100644 libschily/utimens.c create mode 100644 libschily/utimensat.c create mode 100644 libschily/wcscat.c create mode 100644 libschily/wcscatl.c create mode 100644 libschily/wcschr.c create mode 100644 libschily/wcscmp.c create mode 100644 libschily/wcscpy.c create mode 100644 libschily/wcscspn.c create mode 100644 libschily/wcsdup.c create mode 100644 libschily/wcseql.c create mode 100644 libschily/wcslcat.c create mode 100644 libschily/wcslcatl.c create mode 100644 libschily/wcslcpy.c create mode 100644 libschily/wcslen.c create mode 100644 libschily/wcsncat.c create mode 100644 libschily/wcsncmp.c create mode 100644 libschily/wcsncpy.c create mode 100644 libschily/wcsndup.c create mode 100644 libschily/wcsnlen.c create mode 100644 libschily/wcsrchr.c create mode 100644 libschily/wcsspn.c create mode 100644 libschily/wcsstr.c create mode 100644 libschily/wctype.c create mode 100644 libschily/wdabort.c create mode 100644 libschily/zerobytes.c create mode 100644 libsiconv/Makefile create mode 100644 libsiconv/Targets create mode 100644 libsiconv/libsiconv-mapvers create mode 100644 libsiconv/libsiconv.mk create mode 100644 libsiconv/libsiconv_p.mk create mode 100644 libsiconv/noshlsiconv.mk create mode 100644 libsiconv/shlsiconv.mk create mode 100644 libsiconv/sic_nls.c create mode 100644 libsiconv/tables/Makefile create mode 100644 libsiconv/tables/cp10000 create mode 100644 libsiconv/tables/cp10000.mk create mode 100644 libsiconv/tables/cp10006 create mode 100644 libsiconv/tables/cp10006.mk create mode 100644 libsiconv/tables/cp10007 create mode 100644 libsiconv/tables/cp10007.mk create mode 100644 libsiconv/tables/cp10029 create mode 100644 libsiconv/tables/cp10029.mk create mode 100644 libsiconv/tables/cp10079 create mode 100644 libsiconv/tables/cp10079.mk create mode 100644 libsiconv/tables/cp10081 create mode 100644 libsiconv/tables/cp10081.mk create mode 100644 libsiconv/tables/cp1250 create mode 100644 libsiconv/tables/cp1250.mk create mode 100644 libsiconv/tables/cp1251 create mode 100644 libsiconv/tables/cp1251.mk create mode 100644 libsiconv/tables/cp1252 create mode 100644 libsiconv/tables/cp1252.mk create mode 100644 libsiconv/tables/cp1253 create mode 100644 libsiconv/tables/cp1253.mk create mode 100644 libsiconv/tables/cp1254 create mode 100644 libsiconv/tables/cp1254.mk create mode 100644 libsiconv/tables/cp1255 create mode 100644 libsiconv/tables/cp1255.mk create mode 100644 libsiconv/tables/cp1256 create mode 100644 libsiconv/tables/cp1256.mk create mode 100644 libsiconv/tables/cp1257 create mode 100644 libsiconv/tables/cp1257.mk create mode 100644 libsiconv/tables/cp1258 create mode 100644 libsiconv/tables/cp1258.mk create mode 100644 libsiconv/tables/cp437 create mode 100644 libsiconv/tables/cp437.mk create mode 100644 libsiconv/tables/cp737 create mode 100644 libsiconv/tables/cp737.mk create mode 100644 libsiconv/tables/cp775 create mode 100644 libsiconv/tables/cp775.mk create mode 100644 libsiconv/tables/cp850 create mode 100644 libsiconv/tables/cp850.mk create mode 100644 libsiconv/tables/cp852 create mode 100644 libsiconv/tables/cp852.mk create mode 100644 libsiconv/tables/cp855 create mode 100644 libsiconv/tables/cp855.mk create mode 100644 libsiconv/tables/cp857 create mode 100644 libsiconv/tables/cp857.mk create mode 100644 libsiconv/tables/cp860 create mode 100644 libsiconv/tables/cp860.mk create mode 100644 libsiconv/tables/cp861 create mode 100644 libsiconv/tables/cp861.mk create mode 100644 libsiconv/tables/cp862 create mode 100644 libsiconv/tables/cp862.mk create mode 100644 libsiconv/tables/cp863 create mode 100644 libsiconv/tables/cp863.mk create mode 100644 libsiconv/tables/cp864 create mode 100644 libsiconv/tables/cp864.mk create mode 100644 libsiconv/tables/cp865 create mode 100644 libsiconv/tables/cp865.mk create mode 100644 libsiconv/tables/cp866 create mode 100644 libsiconv/tables/cp866.mk create mode 100644 libsiconv/tables/cp869 create mode 100644 libsiconv/tables/cp869.mk create mode 100644 libsiconv/tables/cp874 create mode 100644 libsiconv/tables/cp874.mk create mode 100644 libsiconv/tables/iso8859-1 create mode 100644 libsiconv/tables/iso8859-1.mk create mode 100644 libsiconv/tables/iso8859-10 create mode 100644 libsiconv/tables/iso8859-10.mk create mode 100644 libsiconv/tables/iso8859-11 create mode 100644 libsiconv/tables/iso8859-11.mk create mode 100644 libsiconv/tables/iso8859-13 create mode 100644 libsiconv/tables/iso8859-13.mk create mode 100644 libsiconv/tables/iso8859-14 create mode 100644 libsiconv/tables/iso8859-14.mk create mode 100644 libsiconv/tables/iso8859-15 create mode 100644 libsiconv/tables/iso8859-15.mk create mode 100644 libsiconv/tables/iso8859-16 create mode 100644 libsiconv/tables/iso8859-16.mk create mode 100644 libsiconv/tables/iso8859-2 create mode 100644 libsiconv/tables/iso8859-2.mk create mode 100644 libsiconv/tables/iso8859-3 create mode 100644 libsiconv/tables/iso8859-3.mk create mode 100644 libsiconv/tables/iso8859-4 create mode 100644 libsiconv/tables/iso8859-4.mk create mode 100644 libsiconv/tables/iso8859-5 create mode 100644 libsiconv/tables/iso8859-5.mk create mode 100644 libsiconv/tables/iso8859-6 create mode 100644 libsiconv/tables/iso8859-6.mk create mode 100644 libsiconv/tables/iso8859-7 create mode 100644 libsiconv/tables/iso8859-7.mk create mode 100644 libsiconv/tables/iso8859-8 create mode 100644 libsiconv/tables/iso8859-8.mk create mode 100644 libsiconv/tables/iso8859-9 create mode 100644 libsiconv/tables/iso8859-9.mk create mode 100644 libsiconv/tables/koi8-r create mode 100644 libsiconv/tables/koi8-r.mk create mode 100644 libsiconv/tables/koi8-u create mode 100644 libsiconv/tables/koi8-u.mk create mode 100644 libvms/decc_ver.c create mode 100644 libvms/descrip_deps.mms create mode 100644 libvms/descrip_mods.mms create mode 100644 libvms/descrip_src.mms create mode 100644 libvms/vms_init.c create mode 100644 libvms/vms_init.h create mode 100644 libvms/vms_misc.c create mode 100644 libvms/vms_misc.h create mode 100644 make_diskt@2.sh create mode 100644 man/Makefile create mode 100644 man/man4/Makefile create mode 100644 man/man4/makefiles.4 create mode 100644 man/man4/makefiles.mk create mode 100644 man/man4/makerules.4 create mode 100644 man/man4/makerules.mk create mode 100644 mkisofs/COPYING create mode 100644 mkisofs/ChangeLog create mode 100644 mkisofs/ChangeLog.mkhybrid create mode 100644 mkisofs/Makefile create mode 100644 mkisofs/Makefile.doc create mode 100644 mkisofs/Makefile.man create mode 100644 mkisofs/README create mode 100644 mkisofs/README.compression create mode 100644 mkisofs/README.eltorito create mode 100644 mkisofs/README.graft_dirs create mode 100644 mkisofs/README.hfs_boot create mode 100644 mkisofs/README.hfs_magic create mode 100644 mkisofs/README.hide create mode 100644 mkisofs/README.joliet create mode 100644 mkisofs/README.macosx create mode 100644 mkisofs/README.mkhybrid create mode 100644 mkisofs/README.prep_boot create mode 100644 mkisofs/README.rootinfo create mode 100644 mkisofs/README.session create mode 100644 mkisofs/README.sort create mode 100644 mkisofs/README.sparcboot create mode 100644 mkisofs/README.sunx86boot create mode 100644 mkisofs/RELEASE create mode 100644 mkisofs/Rcompresion.mk create mode 100644 mkisofs/Reltorito.mk create mode 100644 mkisofs/Rgraft_dirs.mk create mode 100644 mkisofs/Rhfs_boot.mk create mode 100644 mkisofs/Rhfs_magic.mk create mode 100644 mkisofs/Rhide.mk create mode 100644 mkisofs/Rjoliet.mk create mode 100644 mkisofs/Rmacosx.mk create mode 100644 mkisofs/Rmkhybrid.mk create mode 100644 mkisofs/Rprep_boot.mk create mode 100644 mkisofs/Rrootinfo.mk create mode 100644 mkisofs/Rsession.mk create mode 100644 mkisofs/Rsort.mk create mode 100644 mkisofs/Rsparcboot.mk create mode 100644 mkisofs/Rsunx86boot.mk create mode 100644 mkisofs/TODO create mode 100644 mkisofs/apple.c create mode 100644 mkisofs/apple.h create mode 100644 mkisofs/apple_driver.8 create mode 100644 mkisofs/apple_driver.c create mode 100644 mkisofs/apple_driver.mk create mode 100644 mkisofs/apple_driver_man.mk create mode 100644 mkisofs/boot.c create mode 100644 mkisofs/bootinfo.h create mode 100644 mkisofs/bswap.h create mode 100644 mkisofs/build_mkisofs.com create mode 100644 mkisofs/defaults.h create mode 100644 mkisofs/desktop.c create mode 100644 mkisofs/diag/MKLINKS create mode 100644 mkisofs/diag/Makefile create mode 100644 mkisofs/diag/Makefile.man create mode 100644 mkisofs/diag/README create mode 100644 mkisofs/diag/devdump.8 create mode 100644 mkisofs/diag/devdump_man.mk create mode 100644 mkisofs/diag/dump.c create mode 100644 mkisofs/diag/dump.mk create mode 100644 mkisofs/diag/isodebug.8 create mode 100644 mkisofs/diag/isodebug.c create mode 100644 mkisofs/diag/isodebug.mk create mode 100644 mkisofs/diag/isodebug_man.mk create mode 100644 mkisofs/diag/isodump.8 create mode 100644 mkisofs/diag/isodump.c create mode 100644 mkisofs/diag/isodump.mk create mode 100644 mkisofs/diag/isodump_man.mk create mode 100644 mkisofs/diag/isoinfo.8 create mode 100644 mkisofs/diag/isoinfo.c create mode 100644 mkisofs/diag/isoinfo.mk create mode 100644 mkisofs/diag/isoinfo_man.mk create mode 100644 mkisofs/diag/isovfy.8 create mode 100644 mkisofs/diag/isovfy.c create mode 100644 mkisofs/diag/isovfy.mk create mode 100644 mkisofs/diag/isovfy_man.mk create mode 100644 mkisofs/diskmbr.h create mode 100644 mkisofs/dvd_file.c create mode 100644 mkisofs/dvd_file.h create mode 100644 mkisofs/dvd_reader.c create mode 100644 mkisofs/dvd_reader.h create mode 100644 mkisofs/eltorito.c create mode 100644 mkisofs/files.c create mode 100644 mkisofs/hash.c create mode 100755 mkisofs/hdisk.pl create mode 100644 mkisofs/hybridman.mk create mode 100644 mkisofs/ifo_read.c create mode 100644 mkisofs/ifo_read.h create mode 100644 mkisofs/ifo_types.h create mode 100644 mkisofs/inode.c create mode 100644 mkisofs/iso9660.h create mode 100644 mkisofs/isonum.c create mode 100644 mkisofs/joliet.c create mode 100644 mkisofs/mac_label.c create mode 100644 mkisofs/mac_label.h create mode 100644 mkisofs/mactypes.h create mode 100644 mkisofs/magic create mode 100644 mkisofs/mapping create mode 100644 mkisofs/match.c create mode 100644 mkisofs/match.h create mode 100644 mkisofs/mkhybrid.8 create mode 100644 mkisofs/mkisofs.8 create mode 100644 mkisofs/mkisofs.c create mode 100644 mkisofs/mkisofs.h create mode 100644 mkisofs/more.mapping create mode 100644 mkisofs/multi.c create mode 100644 mkisofs/name.c create mode 100644 mkisofs/readme.mk create mode 100644 mkisofs/rock.c create mode 100644 mkisofs/rock.h create mode 100644 mkisofs/scsi.c create mode 100644 mkisofs/scsi.h create mode 100644 mkisofs/stream.c create mode 100644 mkisofs/sunlabel.h create mode 100644 mkisofs/tree.c create mode 100644 mkisofs/udf.c create mode 100644 mkisofs/udf.h create mode 100644 mkisofs/udf_fs.h create mode 100644 mkisofs/vms.c create mode 100644 mkisofs/vms.h create mode 100644 mkisofs/volume.c create mode 100644 mkisofs/walk.c create mode 100644 mkisofs/write.c create mode 100644 pkgdefs/CSW/CSWcdrtools/Makefile create mode 100644 pkgdefs/CSW/CSWcdrtools/copyright create mode 100644 pkgdefs/CSW/CSWcdrtools/depend create mode 100644 pkgdefs/CSW/CSWcdrtools/pkginfo create mode 100644 pkgdefs/CSW/CSWcdrtools/prototype create mode 100644 pkgdefs/OCSW/CSWcdrtools/Makefile create mode 100644 pkgdefs/OCSW/CSWcdrtools/checkpkg_override create mode 100644 pkgdefs/OCSW/CSWcdrtools/copyright create mode 100644 pkgdefs/OCSW/CSWcdrtools/depend create mode 100644 pkgdefs/OCSW/CSWcdrtools/pkginfo create mode 100644 pkgdefs/OCSW/CSWcdrtools/prototype create mode 100755 rc.pp create mode 100644 readcd/MKLINKS create mode 100644 readcd/Makefile create mode 100644 readcd/Mreadcd.man create mode 100644 readcd/build_readcd.com create mode 100644 readcd/io.c create mode 100644 readcd/iodefs.h create mode 100644 readcd/readcd.1 create mode 100644 readcd/readcd.c create mode 100644 rscsi/Makefile create mode 100644 rscsi/Makefile.dfl create mode 100644 rscsi/Makefile.doc create mode 100644 rscsi/Makefile.man create mode 100644 rscsi/default-rscsi.sample create mode 100644 rscsi/rscsi.1 create mode 100644 rscsi/rscsi.c create mode 100644 rscsi/rscsi.dfl create mode 100644 scgcheck/MKLINKS create mode 100644 scgcheck/Makefile create mode 100644 scgcheck/Makefile.man create mode 100644 scgcheck/dmaresid.c create mode 100644 scgcheck/scgcheck.1 create mode 100644 scgcheck/scgcheck.c create mode 100644 scgcheck/scgcheck.h create mode 100644 scgcheck/sense.c create mode 100644 scgskeleton/MKLINKS create mode 100644 scgskeleton/Makefile create mode 100644 scgskeleton/Makefile.man create mode 100644 scgskeleton/scgskeleton.1 create mode 100644 scgskeleton/skel.c create mode 100644 vms/append_version.com create mode 100644 vms/collect_deps.com create mode 100644 vms/collect_deps.com_orig create mode 100644 vms/descrip.mms create mode 100644 vms/descrip_local.mms create mode 100644 vms/descrip_local.mms_template create mode 100644 vms/descrip_mkdeps.mms create mode 100644 vms/descrip_src.mms create mode 100644 vms/descrip_src_cmn.mms create mode 100644 vms/descrip_src_flags.mms create mode 100644 vms/discard_link_files.com create mode 100644 vms/restore_file_links.sh create mode 100644 vms/stream_lf.fdl create mode 100644 vms/vax_old.opt create mode 100644 vms/vms_name_fix.sh create mode 100644 vms/vms_notes.txt diff --git a/.clean b/.clean new file mode 100755 index 0000000..b52ef44 --- /dev/null +++ b/.clean @@ -0,0 +1,16 @@ +#!/bin/sh +rm -rf */OBJ */*/OBJ libs/* incs/* +rm -f core */core */*/core +rm -f .EDT* */.EDT* */*/.EDT* +rm -f .vedt* */.vedt* */*/.vedt* +rm -f *.bak */*.bak */*/*.bak +rm -f */tags */*/tags +rm -f */TAGS */*/TAGS +rm -rf proto/* packages/* + +if [ -f .links ]; then + rm -f `cat .links` +fi + +find . -name '*.[1-9].html' -perm -u=rw -exec rm {} + + diff --git a/.links b/.links new file mode 100644 index 0000000..eb25ba6 --- /dev/null +++ b/.links @@ -0,0 +1,432 @@ +./btcflash/cd_misc.c +./btcflash/io.c +./btcflash/misc.c +./btcflash/scsi_cdr.c +./btcflash/scsi_scan.c +./cdda2wav/acgeneral.m4 +./cdda2wav/aclocal.m4 +./cdda2wav/acoldnames.m4 +./cdda2wav/acspecific.m4 +./cdda2wav/autoconf +./cdda2wav/autoconf.m4 +./cdda2wav/autoheader.m4 +./cdda2wav/cd_misc.c +./cdda2wav/config.guess +./cdda2wav/config.sub +./cdda2wav/install-sh +./cdda2wav/priv.c +./cdda2wav/scsi_cdr.c +./cdda2wav/scsi_scan.c +./mkisofs/diag/scsi.c +./readcd/cd_misc.c +./readcd/misc.c +./readcd/movesect.c +./readcd/priv.c +./readcd/scsi_cdr.c +./readcd/scsi_mmc.c +./readcd/scsi_scan.c +./RULES/9000-710-hp-ux-cc.rul +./RULES/9000-710-hp-ux-cc64.rul +./RULES/9000-710-hp-ux-gcc.rul +./RULES/9000-712-hp-ux-cc.rul +./RULES/9000-712-hp-ux-cc64.rul +./RULES/9000-712-hp-ux-gcc.rul +./RULES/9000-715-hp-ux-cc.rul +./RULES/9000-715-hp-ux-cc64.rul +./RULES/9000-715-hp-ux-gcc.rul +./RULES/9000-725-hp-ux-cc64.rul +./RULES/9000-735-hp-ux-cc.rul +./RULES/9000-735-hp-ux-cc64.rul +./RULES/9000-735-hp-ux-gcc.rul +./RULES/9000-743-hp-ux-cc.rul +./RULES/9000-743-hp-ux-cc64.rul +./RULES/9000-743-hp-ux-gcc.rul +./RULES/9000-755-hp-ux-cc.rul +./RULES/9000-755-hp-ux-cc64.rul +./RULES/9000-755-hp-ux-gcc.rul +./RULES/9000-777-hp-ux-cc.rul +./RULES/9000-777-hp-ux-cc64.rul +./RULES/9000-777-hp-ux-gcc.rul +./RULES/9000-778-hp-ux-cc.rul +./RULES/9000-778-hp-ux-cc64.rul +./RULES/9000-778-hp-ux-gcc.rul +./RULES/9000-780-hp-ux-cc.rul +./RULES/9000-780-hp-ux-cc64.rul +./RULES/9000-780-hp-ux-gcc.rul +./RULES/9000-782-hp-ux-cc.rul +./RULES/9000-782-hp-ux-cc64.rul +./RULES/9000-782-hp-ux-gcc.rul +./RULES/9000-785-hp-ux-cc.rul +./RULES/9000-785-hp-ux-cc64.rul +./RULES/9000-785-hp-ux-gcc.rul +./RULES/9000-800-hp-ux-cc.rul +./RULES/9000-800-hp-ux-cc64.rul +./RULES/9000-800-hp-ux-gcc.rul +./RULES/9000-820-hp-ux-cc.rul +./RULES/9000-820-hp-ux-cc64.rul +./RULES/9000-820-hp-ux-gcc.rul +./RULES/9000-831-hp-ux-cc.rul +./RULES/9000-831-hp-ux-cc64.rul +./RULES/9000-831-hp-ux-gcc.rul +./RULES/9000-899-hp-ux-cc.rul +./RULES/9000-899-hp-ux-cc64.rul +./RULES/9000-899-hp-ux-gcc.rul +./RULES/aarch64-linux-cc.rul +./RULES/aarch64-linux-clang.rul +./RULES/aarch64-linux-clang32.rul +./RULES/aarch64-linux-clang64.rul +./RULES/aarch64-linux-gcc.rul +./RULES/aarch64-linux-gcc32.rul +./RULES/aarch64-linux-gcc64.rul +./RULES/aarch64-sunos5-clang.rul +./RULES/aarch64-sunos5-clang32.rul +./RULES/aarch64-sunos5-clang64.rul +./RULES/aarch64-sunos5-gcc.rul +./RULES/aarch64-sunos5-gcc32.rul +./RULES/aarch64-sunos5-gcc64.rul +./RULES/alpha-linux-cc.rul +./RULES/alpha-linux-gcc.rul +./RULES/alpha-netbsd-cc.rul +./RULES/alpha-netbsd-gcc.rul +./RULES/alphaserver_ds20_500_mhz-openvms-cc.rul +./RULES/amd64-bitrig-clang32.rul +./RULES/amd64-bitrig-clang64.rul +./RULES/amd64-freebsd-cc.rul +./RULES/amd64-freebsd-clang.rul +./RULES/amd64-freebsd-clang32.rul +./RULES/amd64-freebsd-clang64.rul +./RULES/amd64-freebsd-gcc.rul +./RULES/amd64-gnu-kfreebsd-cc.rul +./RULES/amd64-gnu-kfreebsd-gcc.rul +./RULES/amd64-gnu-kfreebsd-gcc32.rul +./RULES/amd64-netbsd-cc.rul +./RULES/amd64-netbsd-gcc.rul +./RULES/amd64-openbsd-cc.rul +./RULES/amd64-openbsd-gcc.rul +./RULES/amiga-netbsd-cc.rul +./RULES/amiga-netbsd-gcc.rul +./RULES/aranym-freemint-gcc.rul +./RULES/arm64-freebsd-clang.rul +./RULES/arm64-freebsd-clang32.rul +./RULES/arm64-freebsd-clang64.rul +./RULES/armv4l-linux-cc.rul +./RULES/armv4l-linux-gcc.rul +./RULES/armv4tl-linux-cc.rul +./RULES/armv4tl-linux-gcc.rul +./RULES/armv5l-linux-cc.rul +./RULES/armv5l-linux-gcc.rul +./RULES/armv5teb-linux-cc.rul +./RULES/armv5teb-linux-gcc.rul +./RULES/armv5tejl-linux-cc.rul +./RULES/armv5tejl-linux-gcc.rul +./RULES/armv5tel-linux-cc.rul +./RULES/armv5tel-linux-gcc.rul +./RULES/armv6l-linux-cc.rul +./RULES/armv6l-linux-gcc.rul +./RULES/armv7l-linux-cc.rul +./RULES/armv7l-linux-gcc.rul +./RULES/atariclone-freemint-gcc.rul +./RULES/atariste-freemint-gcc.rul +./RULES/ataritt-freemint-gcc.rul +./RULES/bemac-beos-gcc.rul +./RULES/bemac-haiku-cc.rul +./RULES/bemac-haiku-gcc.rul +./RULES/cc-clang32.rul +./RULES/cc-clang64.rul +./RULES/cc-gcc32.rul +./RULES/cc-gcc64.rul +./RULES/cc-ibm32.rul +./RULES/cc-ibm64.rul +./RULES/cc-sunpro32.rul +./RULES/cc-sunpro64.rul +./RULES/falcon-freemint-gcc.rul +./RULES/hades-freemint-gcc.rul +./RULES/i386-bitrig-clang.rul +./RULES/i386-cygwin32_nt-cc.rul +./RULES/i386-cygwin32_nt-cl.rul +./RULES/i386-cygwin32_nt-gcc.rul +./RULES/i386-darwin-cc.rul +./RULES/i386-darwin-cc32.rul +./RULES/i386-darwin-cc64.rul +./RULES/i386-darwin-clang32.rul +./RULES/i386-darwin-clang64.rul +./RULES/i386-darwin-gcc.rul +./RULES/i386-darwin-gcc32.rul +./RULES/i386-darwin-gcc64.rul +./RULES/i386-dragonfly-cc.rul +./RULES/i386-dragonfly-gcc.rul +./RULES/i386-freebsd-clang32.rul +./RULES/i386-freebsd-clang64.rul +./RULES/i386-gnu-kfreebsd-cc.rul +./RULES/i386-gnu-kfreebsd-gcc.rul +./RULES/i386-linux-cc.rul +./RULES/i386-linux-gcc.rul +./RULES/i386-linux-suncc.rul +./RULES/i386-nextstep-cc.rul +./RULES/i386-nextstep-gcc.rul +./RULES/i486-cygwin32_nt-cc32.rul +./RULES/i486-cygwin32_nt-cc64.rul +./RULES/i486-cygwin32_nt-gcc32.rul +./RULES/i486-cygwin32_nt-gcc64.rul +./RULES/i486-gnu-kfreebsd-cc.rul +./RULES/i486-gnu-kfreebsd-gcc.rul +./RULES/i486-linux-cc.rul +./RULES/i486-linux-gcc.rul +./RULES/i486-linux-suncc.rul +./RULES/i486-ms-dos-gcc.rul +./RULES/i486-unixware-cc.rul +./RULES/i486-unixware-gcc.rul +./RULES/i586-cygwin32_nt-cc.rul +./RULES/i586-cygwin32_nt-cl.rul +./RULES/i586-cygwin32_nt-gcc.rul +./RULES/i586-gnu-kfreebsd-cc.rul +./RULES/i586-gnu-kfreebsd-gcc.rul +./RULES/i586-linux-cc64.rul +./RULES/i586-linux-clang32.rul +./RULES/i586-linux-clang64.rul +./RULES/i586-linux-gcc32.rul +./RULES/i586-linux-gcc64.rul +./RULES/i586-linux-suncc32.rul +./RULES/i586-linux-suncc64.rul +./RULES/i586-ms-dos-gcc.rul +./RULES/i586-unixware-cc.rul +./RULES/i586-unixware-gcc.rul +./RULES/i686-at386-gnu-cc.rul +./RULES/i686-at386-gnu-gcc.rul +./RULES/i686-cygwin32_nt-cc.rul +./RULES/i686-cygwin32_nt-cl.rul +./RULES/i686-cygwin32_nt-cl64.rul +./RULES/i686-cygwin32_nt-gcc.rul +./RULES/i686-cygwin32_wow-cc.rul +./RULES/i686-cygwin32_wow-cc64.rul +./RULES/i686-cygwin32_wow-cl.rul +./RULES/i686-cygwin32_wow-cl64.rul +./RULES/i686-cygwin32_wow-gcc.rul +./RULES/i686-cygwin32_wow-gcc64.rul +./RULES/i686-cygwin32_wow64-cc.rul +./RULES/i686-cygwin32_wow64-cc64.rul +./RULES/i686-cygwin32_wow64-cl.rul +./RULES/i686-cygwin32_wow64-gcc.rul +./RULES/i686-cygwin32_wow64-gcc64.rul +./RULES/i686-gnu-kfreebsd-cc.rul +./RULES/i686-gnu-kfreebsd-gcc.rul +./RULES/i686-linux-cc.rul +./RULES/i686-linux-gcc.rul +./RULES/i686-linux-suncc.rul +./RULES/i686-linux-suncc64.rul +./RULES/i686-ms-dos-gcc.rul +./RULES/i786-cygwin32_nt-cc.rul +./RULES/i786-cygwin32_nt-cl.rul +./RULES/i786-cygwin32_nt-cl64.rul +./RULES/i786-cygwin32_nt-gcc.rul +./RULES/i786-cygwin32_wow-cc.rul +./RULES/i786-cygwin32_wow-cc64.rul +./RULES/i786-cygwin32_wow-cl.rul +./RULES/i786-cygwin32_wow-cl64.rul +./RULES/i786-cygwin32_wow-gcc.rul +./RULES/i786-cygwin32_wow-gcc64.rul +./RULES/i786-cygwin32_wow64-cc.rul +./RULES/i786-cygwin32_wow64-cc64.rul +./RULES/i786-cygwin32_wow64-cl.rul +./RULES/i786-cygwin32_wow64-gcc.rul +./RULES/i786-cygwin32_wow64-gcc64.rul +./RULES/i786-ms-dos-gcc.rul +./RULES/i86pc-sunos5-cc32.rul +./RULES/i86pc-sunos5-cc64.rul +./RULES/i86pc-sunos5-clang32.rul +./RULES/i86pc-sunos5-clang64.rul +./RULES/i86pc-sunos5-gcc32.rul +./RULES/i86pc-sunos5-gcc64.rul +./RULES/ia64-hp-ux-cc.rul +./RULES/ia64-hp-ux-cc64.rul +./RULES/ia64-hp-ux-gcc.rul +./RULES/ia64-linux-cc.rul +./RULES/ia64-linux-gcc.rul +./RULES/ip17-irix-cc.rul +./RULES/ip17-irix-cc64.rul +./RULES/ip17-irix-gcc.rul +./RULES/ip17-irix-gcc64.rul +./RULES/ip20-irix-cc.rul +./RULES/ip20-irix-cc64.rul +./RULES/ip20-irix-gcc.rul +./RULES/ip20-irix-gcc64.rul +./RULES/ip22-irix-cc64.rul +./RULES/ip22-irix-gcc64.rul +./RULES/ip27-irix-cc.rul +./RULES/ip27-irix-cc64.rul +./RULES/ip27-irix-gcc.rul +./RULES/ip27-irix-gcc64.rul +./RULES/ip28-irix-cc.rul +./RULES/ip28-irix-cc64.rul +./RULES/ip28-irix-gcc.rul +./RULES/ip28-irix-gcc64.rul +./RULES/ip30-irix-cc.rul +./RULES/ip30-irix-cc64.rul +./RULES/ip30-irix-gcc.rul +./RULES/ip30-irix-gcc64.rul +./RULES/ip32-irix-cc.rul +./RULES/ip32-irix-cc64.rul +./RULES/ip32-irix-gcc.rul +./RULES/ip32-irix-gcc64.rul +./RULES/ip35-irix-cc.rul +./RULES/ip35-irix-cc64.rul +./RULES/ip35-irix-gcc.rul +./RULES/ip35-irix-gcc64.rul +./RULES/ldummy.lnk +./RULES/m68k-linux-cc.rul +./RULES/m68k-linux-gcc.rul +./RULES/m68k-nextstep-cc.rul +./RULES/m68k-nextstep-gcc.rul +./RULES/mac68k-netbsd-cc.rul +./RULES/mac68k-netbsd-gcc.rul +./RULES/macppc-netbsd-cc.rul +./RULES/macppc-netbsd-gcc.rul +./RULES/milan-freemint-gcc.rul +./RULES/mips-linux-cc.rul +./RULES/mips-linux-gcc.rul +./RULES/mips64-linux-cc.rul +./RULES/mips64-linux-gcc.rul +./RULES/mips64-linux-gcc32.rul +./RULES/mipsel-linux-cc.rul +./RULES/mipsel-linux-gcc.rul +./RULES/mk-build.id +./RULES/mk-make.id +./RULES/os-cygwin_98-4.0.id +./RULES/os-irix64.id +./RULES/os-openunix.id +./RULES/parisc-linux-cc.rul +./RULES/parisc-linux-gcc.rul +./RULES/parisc64-linux-cc.rul +./RULES/parisc64-linux-gcc.rul +./RULES/parisc64-linux-gcc32.rul +./RULES/pentium-4-unixware-cc.rul +./RULES/pentium-4-unixware-gcc.rul +./RULES/pentium-iii-unixware-cc.rul +./RULES/pentium-iii-unixware-gcc.rul +./RULES/pentium-pro-unixware-cc.rul +./RULES/pentium-pro-unixware-gcc.rul +./RULES/power-macintosh-darwin-cc32.rul +./RULES/power-macintosh-darwin-cc64.rul +./RULES/power-macintosh-darwin-gcc32.rul +./RULES/power-macintosh-darwin-gcc64.rul +./RULES/power-macintosh-mac-os10-cc.rul +./RULES/power-macintosh-mac-os10-gcc.rul +./RULES/ppc-linux-cc.rul +./RULES/ppc-linux-gcc.rul +./RULES/ppc64-linux-cc.rul +./RULES/ppc64-linux-gcc.rul +./RULES/ppc64le-linux-cc.rul +./RULES/ppc64le-linux-gcc.rul +./RULES/r-build.dep +./RULES/r-build.obj +./RULES/r-build.tag +./RULES/r-gmake.obj +./RULES/r-sunpro.tag +./RULES/r-sunpro.obj +./RULES/rs6000-aix-cc32.rul +./RULES/rs6000-aix-cc64.rul +./RULES/rs6000-aix-gcc32.rul +./RULES/rs6000-aix-gcc64.rul +./RULES/s390-linux-cc.rul +./RULES/s390-linux-gcc.rul +./RULES/s390x-linux-cc.rul +./RULES/s390x-linux-gcc.rul +./RULES/sh3-linux-cc.rul +./RULES/sh3-linux-gcc.rul +./RULES/sh4-linux-cc.rul +./RULES/sh4-linux-gcc.rul +./RULES/sh4a-linux-cc.rul +./RULES/sh4a-linux-gcc.rul +./RULES/sparc-bsd-os-cc.rul +./RULES/sparc-bsd-os-gcc.rul +./RULES/sparc-bsd-os3-cc.rul +./RULES/sparc-bsd-os3-gcc.rul +./RULES/sparc-linux-cc.rul +./RULES/sparc-linux-gcc.rul +./RULES/sparc-netbsd-cc.rul +./RULES/sparc-netbsd-gcc.rul +./RULES/sparc-nextstep-cc.rul +./RULES/sparc-nextstep-gcc.rul +./RULES/sparc64-freebsd-cc.rul +./RULES/sparc64-freebsd-gcc.rul +./RULES/sparc64-linux-cc.rul +./RULES/sparc64-linux-gcc.rul +./RULES/sparc64-linux-gcc32.rul +./RULES/sparc64-linux-gcc64.rul +./RULES/sun4-sunos5-cc32.rul +./RULES/sun4-sunos5-cc64.rul +./RULES/sun4-sunos5-clang32.rul +./RULES/sun4-sunos5-clang64.rul +./RULES/sun4-sunos5-gcc32.rul +./RULES/sun4-sunos5-gcc64.rul +./RULES/sun4c-sunos4-cc.rul +./RULES/sun4c-sunos4-gcc.rul +./RULES/sun4c-sunos5-cc.rul +./RULES/sun4c-sunos5-gcc.rul +./RULES/sun4d-sunos5-cc.rul +./RULES/sun4d-sunos5-gcc.rul +./RULES/sun4e-sunos5-cc.rul +./RULES/sun4e-sunos5-gcc.rul +./RULES/sun4L-sunos5-cc.rul +./RULES/sun4L-sunos5-gcc.rul +./RULES/sun4m-sunos4-cc.rul +./RULES/sun4m-sunos4-gcc.rul +./RULES/sun4m-sunos5-cc.rul +./RULES/sun4m-sunos5-gcc.rul +./RULES/sun4u-sunos5-cc.rul +./RULES/sun4u-sunos5-cc64.rul +./RULES/sun4u-sunos5-gcc.rul +./RULES/sun4u-sunos5-gcc64.rul +./RULES/sun4us-sunos5-cc.rul +./RULES/sun4us-sunos5-cc64.rul +./RULES/sun4us-sunos5-gcc.rul +./RULES/sun4us-sunos5-gcc64.rul +./RULES/sun4v-sunos5-cc.rul +./RULES/sun4v-sunos5-cc64.rul +./RULES/sun4v-sunos5-gcc.rul +./RULES/sun4v-sunos5-gcc64.rul +./RULES/x86_64-cygwin32_nt-gcc.rul +./RULES/x86_64-cygwin32_nt-gcc32.rul +./RULES/x86_64-cygwin32_nt-gcc64.rul +./RULES/x86_64-darwin-cc.rul +./RULES/x86_64-darwin-cc32.rul +./RULES/x86_64-darwin-cc64.rul +./RULES/x86_64-darwin-clang.rul +./RULES/x86_64-darwin-clang32.rul +./RULES/x86_64-darwin-clang64.rul +./RULES/x86_64-darwin-gcc.rul +./RULES/x86_64-darwin-gcc32.rul +./RULES/x86_64-darwin-gcc64.rul +./RULES/x86_64-dragonfly-cc.rul +./RULES/x86_64-dragonfly-gcc.rul +./RULES/x86_64-gnu-kfreebsd-cc.rul +./RULES/x86_64-gnu-kfreebsd-gcc.rul +./RULES/x86_64-gnu-kfreebsd-gcc32.rul +./RULES/x86_64-haiku-cc.rul +./RULES/x86_64-haiku-gcc.rul +./RULES/x86_64-linux-cc.rul +./RULES/x86_64-linux-clang.rul +./RULES/x86_64-linux-clang32.rul +./RULES/x86_64-linux-clang64.rul +./RULES/x86_64-linux-gcc.rul +./RULES/x86_64-linux-gcc32.rul +./RULES/x86_64-linux-gcc64.rul +./RULES/x86_64-linux-suncc.rul +./RULES/x86_64-linux-suncc64.rul +./TEMPLATES/cmd.mk +./TEMPLATES/inc.mk +./TEMPLATES/ldummy.lnk +./TEMPLATES/lib.mk +./TEMPLATES/shl.mk +./TEMPLATES/temp-clang32.rul +./TEMPLATES/temp-clang64.rul +./TEMPLATES/temp-gcc32.rul +./TEMPLATES/temp-gcc64.rul +./scgcheck/cd_misc.c +./scgcheck/scsi_cdr.c +./scgcheck/scsi_scan.c +./scgskeleton/cd_misc.c +./scgskeleton/io.c +./scgskeleton/misc.c +./scgskeleton/scsi_cdr.c +./scgskeleton/scsi_scan.c diff --git a/ABOUT b/ABOUT new file mode 100644 index 0000000..a0c798a --- /dev/null +++ b/ABOUT @@ -0,0 +1,38 @@ +This package contains the following software: + +- cdda2wav (an digital CD audio extraction program) + By Heiko Eißfeldt and + by Jörg Schilling joerg.schilling@fokus.fraunhofer.de + +- cdrecord (a CD recording program) + By Jörg Schilling + +- mkisofs (an ISO-9660 filesystem image creator) + By Jörg Schilling joerg.schilling@fokus.fraunhofer.de and + by James Pearson + +- mkhybrid (an ISO-9660/HFS filesystem image creator) + Link to mkisofs + +- several diagnostic programs for ISO-9660 + + - devdump dump a device or file in hex + + - isodump dump a device or file based on ISO-9660 + + - isoinfo analyze or list an ISO-9660 image + + - isovfy verify an ISO-9660 image + +- readcd (a stripped down version of scgskeleton) + may be used to read data CD's, to write to DVD-RAM + and to copy Solaris boot CD's + By Jörg Schilling joerg.schilling@fokus.fraunhofer.de + +- scgcheck (a program to validate the correct behavior + of the low level libscg code and the SCSI transport + code of the underlying OS). + By Jörg Schilling joerg.schilling@fokus.fraunhofer.de + +- libscg (a highly portable SCSI transport library) + By Jörg Schilling joerg.schilling@fokus.fraunhofer.de diff --git a/AN-2.0 b/AN-2.0 new file mode 100644 index 0000000..c504298 --- /dev/null +++ b/AN-2.0 @@ -0,0 +1,1607 @@ +NEW features of cdrtools-2.0: + +Please have a look at the German open Source Center BerliOS at www.berlios.de +BerliOS will continue to support free hosting of cryptography projects even +when US laws change and don't allow to host cryptography projects in the USA. +Also look at sourcewell.berlios.de, the first Open Source announcement service +that itself is implemented as Open Source project. + +***************** Important news **************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +All: + +- Now using the "Slottable Source" feature of the makefile system. + This is the fist modular reusable portable makefile standard + in the open source world. + + To see a new feature call: "make tinfo" + +- config.sub now recognises "parisc-unknown-linux-gnu" + +- Circumvent some problems with GCC-3.0 on Linux + +- Removed printf() definitions from schily.h to avoid type clashes + +- Support for SCO (Caldera) OpenUNIX (aka. UnixWare 8) + +- Better support for Darwin-1.3 and 1.4 + + This is: + + - enhanced makefile system + + - type casts needed for unusual types used on Darwin + (e.g. sizeof() returns long!) + +- Schily support includefiles rearranged to make portability even + easier. + +- mconfig.h now defines IS_SCHILY to signal users of the + Schily makefilesystem, that the Schily portability environment + is being used. + +- now includes the forgotten mkdep-sco.sh that helps to better + work around the SCO C-compiler. + +- timedefs.h modified. Now the last schily portability support include + file hast been reworked to make portability even much easier. + +- schily.h & standard.h have been modified to hopefully finally solve + all type clash problems with size_t & spawn*() + +- Compile support for QNX Neutrino + +- Now we hopefully have floating point support for _all_ platforms + even those without *cvt() and without __dtoa(). Thanks to a hint + from Thomas Langer we now use strtod.c + to gert a fallback __dtoa() + +- Added an autoconf test for rcmd() so cdrtools now should compile + again on BeOS and AmigaOS where no rcmd() is present. + +- fixed fexec.c to make it compile ion QNX + +- Now the complete libschily is included although it it not needed + for cdrtools. There are two reasons for doing this: + + - Cdrtools is _the_ program that is heavily tested on + many different platforms, so I will get reports for + compile problems this way. + + - cdrtools becomes a base docking platform for the SSPM + system this way. Now any of the Schily tools may be included + and compiled inside the base portability platform 'cdrtools'. + +- New supported architctures: + s390-linux-cc.rul parisc-linux-cc.rul parisc64-linux-cc.rul + +- Large File support for IRIX-6.2 (added autoconf test for -n32 cc option) + +- Large File support for IRIX-6.5 now everything works correctly if the + OS supports Large Files by default in 32 bit mode (uses fseeko()/ftello() + if present. This could only be done by massively changing the autoconf code + stolen from GNUtar. + +- Support for SGI IRIX platform ip17-irix + +- Support for SGI IRIX-6.5 + +- Try to support recent BeOS (again) + + - Workaround in libschily/comerr.c for the nonstandard + big negative errno values on BeOS + +- libschily now includes floating point printf() for BeOS + +- fileluopen.c from libschily now compiles on BeOS (without O_NDELAY) + +- workaround for the nonstandard negative errno values on BeOS + +- Schily makefile RULES for AmigaOS added + +- getpagesize() emulation for BeOS to make cdda2wav compile on BeOS + +- New rule allows automatic fallback to GCC if the configured + default compiler could not be found. + +- statdefs.h enhanced + +- Many corrections to give less warnings on SCO Openserver + +- Support for NT-5.1 (WIN XP) added os-cygwin_nt-5.1.id + +- VMS script build_all.com now includes astoll.c so compilation + on VMS should work again. + +- New macros for max/min values of int*_t in utypes.h + +- Limit the different handling of packed bitfields for AIX to AIX CC. + +- Unfortunately fragementation of cdrecord has begun. + I noticed this fact recently when people started to ask me + senseless things which turned out to be a result of + a modified cdrtools source that I have not ben aware of. + + One main goal of cdrtools is to provide a platform indepenant + user interface which cannot be achieved if people change important + parts os the user interface. + For this reason, I changed the license in hope that this will + help at least to keep the user interface the same on all + platforms and on all distributions. + + Please keep in mind that fragmentation in many cases increases + my workload. There is no real reason for a modification, + and (even worse) the people who create modifications do not help + to keep my workload low in order to help me (and Heiko and James) + with the cdrtools project. People should rather contribute to + the project. Cdrtools should be free and actively mantained + in future. With increasing workload, I don't know how to do this. + + +- Add hints that compiling on unknown platforms wil only work if + "smake" is used. + +- Autoconf code for Large file support now handles Linux system include + file bugs that prevented correct behavior on 64 Bit Linux systems. + + +- Better autoconf code for the problems with mlock() & HP-UX-10.20 + +- Better autocheck code for available C-compilers on HP-UX + Now even a fallback from GCC to CC works. + +- Some changes to make compilation on 64 bit systems more correct + +- Added support for GNU Hurd to the Schily Makefilesystem + +- Cast pointerdiffs to int for printf() %.*s format and/or include + workarounds for 64 bit problems in this area. + +- Several modifications to make OS/2 work again + (e.g. -lsocket added) + +- fexec.c now uses a configurable PATH environment separator + to allow PATH lookup on OS/2 + +- A 20 year old extension has been removed from format.c + This caused printf() to interpret %X as %lX. This caused noticable + problems on IA-64. It should have created problems on True64 + and on 64 bit Sparc programs too but was not directly visible + due to a different stack content. + +- remove #elif to avoid a GCC-3.x warning + +- config.sub now knows about IA64 architecture + +- Makefilesystem now spports compiler specific optimization flags + +- Align_test.c now creates a better include file (using more () to + make sure the compiler created correct code). + +- Makefilesystem changed $(MAKE) to "$(MAKE)" to allow spaces + in pathnames + +- Correct autoconf test for broken OS like MAC OS X that do not + allow local malloc() implementations due to linker bugs. + +- Add autoconf test for strange clock_t definition method on Linux + +- README.ATAPI enhanced for all platforms + +- README.ATAPI now contains a hint on how to use ATAPI drives on HP-UX-11.x + +- Support for FreeBSD on Ultrasparc added to the makefile system + +- *roff'd man pages in .../doc dir re-created + +- Try to work around a bug in OpenBSD. + OpenBSD defines EOF in ctype.h but POSIX only mentions an EOF definition + for stdio.h. If we include ctype.h bfore schily.h on OpenBSD while + stdio.h has not been included, this will fail. + +/*--------------------------------------------------------------------------*/ + +Libparanoia (Ported by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +- The paranoia code from cdparanoia (written by Monty xiphmont@mit.edu) + has been converted into a portable library. + +/*--------------------------------------------------------------------------*/ + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- Changed to allow compilation on K&R compilers too + +- Speedup by 300% + The speedup is nearly processor independant. + + Pentium-233 2443 sectors/s 32x + 333Mhz-UltraSparc-IIi 6402 sectors/s 85x + 900Mhz-UltraSparc-III+ 22813 sectors/s 304x + Athlon-1000 24378 sectors/s 325x + Athlon-1700 40168 sectors/s 535x + + Depending on the speed of gettimeofday(), these numbers may be up to 5% + too low. + +- Code is now put under GPL. + +/*--------------------------------------------------------------------------*/ + +Libscg: + +- Trying to add a workaround for just another bug in the + sg driver in the Linux kernel. If a TIMEOUT occurs, + the error code does not indicate a TIMEOUT. + +- Better scg_open() error messages when trying to do scanbus on Linux + and no /dev/sg* or /dev/pg* could be opened. + +- Output Request Sense buffer with -debug when the USCSI interface is + used on Solaris. + +- First attempt for support for the new IOKit SCSI interface on MaxOS X + Darwin-1.4 and newer with much much help from + Constantine Sapuntzakis + + Unfortunately there is not yet support for SCSI devices nor + is there support for standard Bus,Target,Lun device namings. + I hope that bot may be added in the future. + + Volunteers who like to help with the libscg interface stuff + for Darwin-1.4 are welcome. + +- Try to make scsi-beos.c compile on new BeOS version 5 + +- First attempt to integrate the AmigaOS SCSI transport interface code + from Thomas Langer + +- Massive modicifation of the support code for SCO OpenServer 5.x + + As the kernel implementation contains several bugs, + the new code will by default not check for hard disks in scan mode. + + The code checks the following environment variables: + + "LIBSCG_SCAN_ALL" To force scanning for all SCSI targets. + "LIBSCG_SCSIUSERCMD" use old SCSIUSERCMD ioctl() + "LIBSCG_MAX_DMA" override MAX_DMA value, value must be number in kB + "LIBSCG_ENABLE_USB" enable access of USB devices + +- Version -> 0.6 + +- Adding support for the CDROM_SEND_PACKET ioctl() from cdrom.c + + Thanks to Alexander Kern for the idea and first + code fragments for supporting the CDROM_SEND_PACKET ioctl() from + the cdrom.c kernel driver. Please note that this interface in principle + is completely unneeded but the Linux kernel is just a cluster of + code and does not support planned orthogonal interface systems. + For this reason we need CDROM_SEND_PACKET in order to work around a + bug in the linux kernel that prevents to use PCATA drives because + the kernel panics if you try to put ide-scsi on top of the PCATA + driver. + + The code is currently in "status nascendi" but usable with some trade offs. + + To use: call e.g. + + cdrecord -scanbus dev=ATAPI: + + cdrecord -dao -v speed=24 dev=ATAPI:0,0 .... + + Be careful! This code is only needed in order to be able to use + PCATA CD-writers on notebooks because there is a severe kernel bug. + Unfortunately, this bug causes the kernel to hang (and force you + to reboot) if you try to call: + + cdrecord -scanbus + + without the dev=ATAPI: option. + + In this case cdrecord will hang infintely and unkillable + in open("/dev/sg1", 2) => you need to reboot :-( + + Repeat by: Insert a PCATA CD-Writer in a Sony VAIO notebook and run + cdrecord -scanbus. + +- Enhanced list of SCSI Error texts from SCSI standard from 29.5.2001 + +- New callback function to allow execption handling to be done after + the current SCSI command did finish. + +- scsi-aix.c now uses UIntptr_t in alignement macro. + +- Some 64 bit casts in the USCSI code from scsi-sun.c + + For hints on the Linux Packet code in ide-cdrom.c read README.ATAPI + +- Introduce a workaround for a conceptional Bug in the Linux kernel + SCSI implementation. + + Linux is unable to distinct between a target selection timeut (e.g. switched + off target) and a command timeout (e.g. command needs more time than expected). + + If the detected command time is < 1 second, libscg will now assume a dead target. + +- Fix a bug with ATAPI in scsi-vms.c - now the SCSI status byte is OK + Thanks To Eberhard Heuser + +- Allow up to 26 IDE controlers in scsi-vms.c - Thanks to Chip Dancy + +- Do not open all /dev/scg* devices on Solaris if not in Scanbus mode + +- Handle ENXIO in Solaris USCSI interface code as indicator for a + switched off device. + +- Max DMA size for Linux ATAPI Packet interface code corrected. + Max DMA is 128k-1 and not 128k. + +- Support for recently defined new SCSI target types found in SCSI + standard. + +- New help system that lists all SCSI low level transports for a specific + platform together with their properties. + +- Allow consistent usage of alternate SCSI transport layers. + + Now the Solaris USCSI implementation and the (SuSE) Linux ATA implementation + behave similar and both allow dev= as well as dev=: + for -scanbus, e.g. + + cdrecord dev=USCSI -scanbus + cdrecord dev=USCSI: -scanbus + cdrecord dev=ATAPI -scanbus + cdrecord dev=ATAPI: -scanbus + + all work the same way. + +- Small change for Linux device initialization by request of Linus Torvalds + + The purpose of this change is to support a new SCSI transport interface + for ATAPI in Linux that came up with the latest developer Linux kernels + (e.g. Linux-2.5.43). This interface allows to send SCSI commands directly + to ATAPI drives without using ide-scsi and sg, but it has several pitfalls. + + While Linux allows to use DMA when using ide-scsi and sg if the + sector size is 2048 and the transfer buffer starts page aligned, the new + direct interface never uses DMA (acording to Linus Torvalds). So if you + write audio CDs or data CDs in RAW mode, there is no difference. If you + write data CDs in TAO or DAO mode, using ide-scsi and sg allows much + higher write speed. Note that this may change in future.... + + Notes for use: + + - You need to specify something like dev=/dev/hdc + Note that this is unsupported by libscg. + + - As long as there is no safe way for libscg to find out early that + this new interface is used, libscg may hang a bit on open. + This is caused by the fact that libscg is forced to read + from the open filedscriptor to clean up old Linux sg driver + interfaces. This was never a problem with /dev/sg*, but + when doing the same thing, this causes libscg to read content + from /dev/hd* + + - There is (currently) no way for cdrecord to scan for ATAPI + devices when using this interface. + + As long as this is true, you may want to prefer to use + + cdrecord dev=ATAPI: -scanbus + and + cdrecord dev=ATAPI:0,0 ... + instead. + +- Fix scsi-unixware.c to allow multiple opens. + +- Fixed several typo's. + +- Avoid to read from the media (when using the new experimental + Linux ATAPI transport) while trying to clear old sg driver status. + +- Woraround for Linux kernel design bug: CDROM_SEND_PACKET sets errno + to EINVAL in case SCSI sense key is "Invalid command". + +/*--------------------------------------------------------------------------*/ + +Rscsi: + +- RSCSI now works if the target is a Win32 system. + This is not done by changing rscsi.c but by fixing a bug + in Cygwin! + + The fix to Cygwin's rshd is posted in + + http://sources.redhat.com/ml/cygwin-apps/2001-05/msg00000.html + + Thanks to egor duda + + NOTE that in a few weeks this patch will be integrated into Cygwin + and cdrecord/RSCSI will work out of the box on a recent Cygwin release. + +- Now prints user ID & user Name into DEBUG file + +- Now using signal safe read/write functions. + +- Code now checks for HAVE_NETDB_H (added by request of + "Thomas" to help with AmigaOS port) + This should indicate whether there is support for rcmd() + in the OS. + +- Make it compile on BeOS + +- changed because GNU Hurd has no MAXHOSTNAMELEN + +- Return "PIPE" for hostname comparison if called from e.g. 'sshd'. + +/*--------------------------------------------------------------------------*/ + +Cdrecord: + +- New option -overburn + + This option has been added as many people seem to be unabe to understand + that they are going to write more than the official disk capacity from + reading cdrecord's output. Oveburnung now is no more done by default! + + NOTE that there even are some drives that prevent you from writing + exactly the official size and stop several hundreds of sectors before. + +- Do not print a warning for writing more than 90 minutes if the media is + a DVD + +- Fix for a problem with setting high priority on Win32 systems. + Thanks to egor duda + +- Sony MMC drives now work in -multi session mode. + There was a bug in cdrecord that was accepted by all other drives. + The bug did cause a temporary bad setup to the drive. + +- I hope that the 90 minute CD capacity warning now will finally + disappear for DVD writers. + +- Old test code removed that prevented cdrecord from being able + to write manually configured indices. Note that the index lists + from the *.inf files with using the -useinfo option alway worked. + +- -force will force cdrecord to ingnore any failed forced OPC. + currently this is only done if the drive does not support + forced OPC. + +- Do forced OPC before blanking a CD-RW + +- Driveropts "burnproof" renamed to "burnfree". + This has been done as this technology now appears in the MMC standard. + +- Cdrecord now shows whether BURN-Free is active. This makes + sense as Ricoh's "Just-Link" is enabled by default. + Unfortunately, the way "Just-link" is implemented is not compliant + with the MMC standard. We will have to wait until I get the needed + information from Ricoh. + +- Support for MMC RAW mode writing. + + This allows to do disk at once recording on Philips drives that + do not support SAO. + + You may write audio tracks in RAW mode. There are some new + and most likely transient options: + + -raw16 Write 2352 Bytes sectors + P+Q Subchannel + + -raw96r Write 2352 Bytes sectors + P+W Subchannel (R-W in raw mode) + + -raw96p Write 2352 Bytes sectors + P+W Subchannel (R-W in packed mode) + + Indices are fully supported in RAW mode. + + MCN & ISRC are not yet suported in RAW mode, they are silently discarded. + + I know that cdrecord currently does not work in RAW/R96P mode. + It is not clear whether this is a bug in cdrecord or in the Plextor + firmware as I did not yet found another drive that claimes to support + RAW7R96P. + + If you find other problems in RAW mode or if you find + new bugs introduced in old write modes, please send a bug report. + +- Cdrecord now checks the properties of the writer. If a specific write + mode is not supported by the writer, cdrecord warns you and makes + a suggestion for a similar alternate write mode. + + With the curent structure of cdrecord, it is not possible to silently + e.g. change the write mode from -dao to -raw96r + +- MMC compliant drives are automatically scanned for supported write modes. + This should help to make cdrecord work without manual static configuration. + My hope is still to have no need to know all drive properties in + advance, so new drives will continue to work as long as they + are standard comliant enough for cdrecord. + + NOTE for GUI implementors: + + the line starting with the text: + + "Checking possible write modes:" + + will go away in the near future. + + The line starting with: + + "Supported modes:" + + will remain and should be checked for possible write modes. + +- Fixed a bug in the option checking that prevented to write + data CD's at all. + + Now only "RAW data" CD's are flagged as expected. + +- Fixed a bug in the Firmware bug recognition system. + This bug did prevent cdrecord to work with Philips drives + when writing in RAW mode. + +- New options -copy & -nocopy to allow to modify the 'copy' bit + in audio subchannel data. + +- -scms option added to the man page and online help. + +- New model to compute SCSI transfersizes + +- -xa1 -xa2 sector typedefinitions changed. + +- Debug messages while checking possible write modes of MMC + compliant made optional. + +- RAW writing scatter sector function made more general + +- New functions to convert between 2448 and 2368 byte sectors + + NOTE: Read README.raw + +- add a forgotten if (xdebug) in drv_mmc.c. + This caused a superfluous write mode debug message to be printed + +- do installation of exit handlers (to reset SCSI state) earlier + +- Cdrecord now does not exit with 0 anymore when interrupted with ^C + during the waittime before starting to write. + +- First CD-Text support (can only copy CD-Text information from master + disk) + + Writing of CD-Text is supported for all drives that support + CD-Text in SAO write mode and for all drives that support + to write in RAW/RAW96R mode (use -raw96r in this case). + + NOTE: Read README.cdtext + +- Circumvent a bug in the system include files from Linux that + makes printf() a macro and prevented compilation with GCC-3.0 + +- Added some #include to substitute missing printf() definitions + +- SAO/R16 mode removed from tests, it may never occur. + +- Changed some .min defines in structs to .pmin to avoid K&R complier + problems + +- better FIFO debug messages + +- New driver config table for Taiyo Yuden EW-50. + This dive is like a Philips CDD-521 but has been reported to + swab audio data. + +- rscsi client code now uses buffered read to speed up on Cygwin + +- rscsi client code now uses signal safe read/write functions + +- Cdrecod now does not open/close the tray anymore if the disk + is going to be erased. + +- modify -version output if Clone writing support is present + +- A new driver has been added that first checks the media if the drive + supports to write CD & DVD. + +- Behaviour of the function that reads fs= tsize= and similar + corrected. + +- Modified driver interface for better DVD support + +- FIFO Code now checks for HAVE_FORK (added by request of + "Thomas" to help with AmigaOS port) + +- Better messages when trying to write more than the amount of data + that fits on a DVD. + +- The DVD driver now reports a DVD media back to the high level code. + +- correctly use the buffer capacity code from the driver instead + of the MMC-2 read buffer cap code directly + +- Support for the unusual not ready error code of the CyberDrive CW038D + +- CD-Text Code now also accepts Text File without 4 byte Size header + +- CD-Text file read code now is able to do CRC error correction + Note that only songle bit errors per 18 byte pack. + +- CD-text Autoring support: + + CD-text may now be based on fields found in the *.inf files + created by cdda2wav. + + To create a CD with CD-Text based on information from freedb.org + call: + + 1) cdda2wav -B -v255 -L + 2) cdrecord {-dao!-raw96r} -v -useinfo -text *.wav + + CD-text TODO: + + - Check whether the *.inf files are all from the same CD + and clear some CD-text fields that are only valid if + they relate to one CD only. + + - Add some more fields (mainly a dficiency of cdda2wav) + + - Support multi language text + + - Support character coding other than ISO-9959-1 + + CD-text may be based on fields found in the *.inf files + created by cdda2wav. + + NOTE: Read README.cdtext + +- better messages for CD manufacturer codes that are not in the + latest free Orange forum table. + +- Default usage code is now only 6 lines so the error message + does no longer scroll out the screen. If yu like to get the old + long usage information, call cdrecord -help + +- move 'dd' like number conversion stuff into getnum.c + +- Allow the /etc/default/cdrecord parsing code to be used by + readcd too (as documented in the man page) + +- First support for Plextor's VariRec feature in the PX-W4012 + I am not sure about the final user interface. + For now, call e.g. cdrecord speed=4 driveropts=varirec=-1 + for all audio CDs. Allowed varirec parameters are -2, -1, 0, 1, 2 + VariRec only works at write speed 4. + +- Print the actual current write speed in verbose mode. + +- DVD-R code (undisclosed) now supports: + Vendor_info : 'MATSHITA' + Identifikation : 'DVD-RAM LF-D310 ' + Revision : 'A116' + +- Support for SCMS from *.inf files + Note that you need to use cdda2wav/cdrecord that have fitting versions + because of this change. Otherwise cdrecord may add SCMS copy + protection. + +- RAW mode now honors COPY bit and SCMS coding. + +- Avoid coredump with "cdrecord textfile= non/existant ..." + +- Corrected printf() formats for verbose printing to hold enough + space for media > 1 GB (DVD) + +- Corrected printf() formats to make the write speed non-jumping. + +- If called from a GUI, cdrecord now reads from "stderr" if + the CD-input-data is from "stdin". + If it turns out that stderr is not open for reading, cdrecord + waits to receive a SIGUSR1 + +- Better printouts for the DISC-ids covered by the orange forum embargo. + +- DVD structure structure definition enhanced to reflect + current standard. + +- new option gracetime= + +- Try to abort DAO recording with a flush_buffer() if ^C is hit. + +- Try to make cdrecord behave more polite for platforms (like Cygwin) + that don't support large files when the DVD data to be written + is read from stdin. + + mkisofs ... | cdrecord ... - + + will now work for DVDs on non large file OS + +- Call flush buffer in silent mode to avoid error messages with + cdrecord -toc called on a CD-ROM drive. + +- Avoid core dump is a single .inf file is missing and -text + option is used. + +- Data structures modified to allow new features in the future. + +- Fixed a bug that caused cdrecord to ignore escaped file type + args if they looked like a valid option (e.g.): + + cdrecord dev=0,0 -dao -v -- speed=8 + + "speed=8" should be handled as if it was a filename but was + skipped. + +- Print write mode when starting to write. + I hope that this helps me to understand incorrect "bug reports" + from lazy people who do not include their cdrecord command line. + +- Printing ATIP information is now caused by a separate (internal) flag + and not ny a hack. + +- Do not allow to write to ultra low speed RW media if the drive + is not able to write at 2x or 1x. This may be circumvented + with -force. + +- Do not allow to write to high speed RW media if the drive is not + a high speed RW drive. This may be circumvented with -force. + +- Data structures modified to allow new features in the future. + + Trying to make driver interface simpler and cleaner. This resulted + in a major rewrite of the driver interface. + + - please test if multi session with TEAC CDR-50/CDR-55 + still works. + + As a lot has been changed in the driver interface, please test + if bugs have been introduced! + +- New test that prevents to write CD-RW media too slow + +- Display of current DVD write speed now correct and no more based on + single speed CD but on single speed DVD. + +- Moving SAO/RAW start code from cdrecord.c into drv_mmc.c + allows clean DVD-R/RW driver interface code. + Now cdrecord -dao will work correctly (as expected) even for DVDs + +- speed= option no longer defaults to speed=1 + Each driver now includes a default speed and a maximum speed. + If the maximum speed in the driver is wrong, use -force to overwrite. + + Please send feedback if my assumptions on write speed are wrong: + + - No drive using the Philips CDD-521 command set is faster + or slower than 2x + + - No drive using the Yamaha CDR-100 driver is faster than 4x + No drive using the Yamaha CDR-100 driver is slower than 2x + + - The Tayo Yuden CW-50 is 2x + + - The Kodak PCD-600 is 6x + +- Abort when the last track # of a multi session disk would be > 99 + +- Data structures modified to allow new features in the future. + +- Better bessages for CD-RW where the speed ofthe media does not match + the properties of the writer. + +- Avoid to reload media in -dummy RAW mode. + +- Correctly abort if there was a problem when writing CD-Text in the LEAD-IN. + +- Again: Data structures modified to allow new features in the future. + + This release uses the new data structurec to allow to write ISRC/MCN + in RAW mode. + +- Fixed a bug that caused cdrecord to write a wrong relative time + into the subchannel data when writing audio CDs in RAW mode. + This affected the pregap sectors if pregap size was != 0. + +- Allow cdrecord to write ISRC & MCN even in RAW mode. + +- Allow Simulation driver cdr_simul and dvd_simul to simulate any write + mode. + +- Simulation driver cdr_simul and dvd_simul changed so no reload on the + real background drive occurs. + +- Since last release , the new data structures allow to write + ISRC/MCN in RAW mode. This now makes RAW mode fully usable for + audio CDs. NOTE: if you find any problems with CDs written in SAO + mode, first try to write the same CD in RAW mode if your + drive supports to write in RAW mode. Tere are a lot of drives + that have rotten firmware and create broken CDs in DAO mode. + +- Support for Yahama Audio Master Quality Recording. + + This support is switched on via driveropts=audiomaster + + I am sorry, but I had to do major changes in the MMC + driver in order to be able to support Audio Master. + This may have affected all other driveropts= + too. Please test and keep in mind that I like to have + the mext major release in a few weeks. + + When audiomaster has been specified, BURN-Free recording + is disabled and - as the visible size of the medium + decreases - a second disk size check is done after + Audio Master has been turned on. + +- man page enhanced according to new features + +- Short Usage funtion now includes a hint on how to + obtain the list of possible driveropts= parameters + +- Include the tags + + "VARIREC ", "AUDIOMASTER ", "FORCESPEED " + + In the "Driver flags" line that is visible with + + cdrecord -checkdrive. + +- cdrecord driveropts=help now includes + + "varirec=" and "audiomaster" + + +- Support for writing data sectors in RAW mode has been added + to the GPL#ed version of cdrecord. + Note that writing data sectors in RAW mode is a highly CPU + intense task. For this reason, cdrecord first checks whether + it would be possible to do the requested job reliably. + If it is questionable whether the job could be done in the + desired speed, cdrecord aborts with a related message. + + The max theoretical speed (not including the writing load) + is printed in a new line starting with: "Encoding speed :". + Cdrecord allows half of this speed. + +- Allow RAW writing of data sectors to work correctly without + the need of specifying -data + +- Allow spaces as delimiters between different tags in a single + line in the file /etc/default/cdrecord + +- Support for Ricoh (and others) Just Link + + This support is switched on via driveropts=burnfree + + Note that Just Link is by default swichted on in the drive + but as Just Link may create CDs that are no 100% OK, + cdrecord now by default switches it off. Now you definitely + need to specify driveropts=burnfree to switch Just Link on + again. + + If you call cdrecord dev=... -checkdrive you will see + the TAG "BURNFREE" as a hint that either Burn-Proof or + Just Link is supported. + +- "Turning .... " messages for drive special functiions are + now printed to stdout + +- Limited display (once every 1 MB) of the drives internal buffer + RAM fill ratio. + +- Display the minimal drive buffer fill ratio a the end of the write + process. + +- Display number of predicted drive buffer underruns based on the + fill ratio of the drive buffer (incremented if fill ratio is < 5%). + +- Display average write speed at the end of the write process. + In dao mode, this includes the time needed to write the lead in and + thus is not 100& correct (value is too low). + +- Display of the number of times the Buffer underrun protection + has been active for drives where the manufacturer send me the needed + information (Ricoh, Yamaha, Aopen). It may work for other drives too + but there is no guarantee. + +- Fixed a bug in the driveropts= parsing routine. + +- New driveropts= option "forcespeed". Use with extreme care as this + will force several drives ((Ricoh, Yamaha, Aopen, ...) to write with + the selected high speed although the mediaum is too bad for this + operation. + +- New driveropts= option "tattooinfo". Use together with -checkrive + to retrieve the information about the picture size that will fit. + + The result will be someting like: + + DiskT@2 inner r: 265 + DiskT@2 outer r: 583 + DiskT@2 image size: 3744 x 318 pixel. + +- New driveropts= option "tattoofile=". Use together with -checkrive + to write an image of the right size to disk. + + Read README.DiskT@2 + +- Rearrange the order of the new statistics printing + +- Allow several of the new statistics to be printed even if cdrecord + aborts due to an error. + +- Let the old Philips drive use the common CD media 'reload' function. + +- Try to find out if a drive is MMC, MMC-2 or MMC-3 compliant. + - see cdrecord -checkdrive + +- Suppress printing oof the average write speed if the size of the + tracks is not known prior to start CD writing + +- ATIP printing (cdrecord -atip) enhanced to support Ultra high speed + CD-RW media. + +- Check whether somebody likes to write a Ultra high speed CD-RW on + an improper writer + +- Print MMC conformance level of the drive based on content of + SCSI mode page 2A. + +- Print more information for MMC-2 & MMC-3 drives with cdrecord -prcap + +- The new true CAV Plexwriter 482448 is now supported. + + Please note that it is not easy to write at 48x. You definitely need + a correct DMA setup to optimal values. + + Also note switching on Burn-Proof will reduce the max speed to 40x + so it may be that you don't need Burn-Proof if you simply reduce speed + to 40x manually + +- make sure that using both -copy and -useinfo will not result in unclear state + Instead the content of the *.inf files will be used + +- Simulation driver (cdr_simul / dvd_simul) now uses correct speed ratio + for DVDs + +- Simulation driver now supports fake "Next writable address" function. + +- On Linux usleep() is very unacurate, meter the real sleep time + and cumulate a correction value. This allows the simulation driver + to simulate the correct write speed. + +- Added a note to Heiko Eißfeldt's libedc when printing RAW encoding speed + +- Limit gracetime to 999 seconds and make output correct even for + times > 9 seconds. + +- Corrected a bug in the MMC driver that caused cdrecord to use the + wrong place for current speed when doing MMC/MMC-3 dependant stuff + +- cdrecord -prcap will now use the same format for MMC & MMC-3 drives + rsulting in a better readability. + +- Don't print write time statistics if writing did not yet start + +- Try to handle drives that don't support to write at speed 1 but + will fail if you try to call cdrecord speed=1 ... + +- New option -immed tells cdrecord to set the SCSI "IMMED" flag in certain + commands. + + This option is not needed if your PC has been configured correctly. + However, ATAPI drives usually cannnot do disconnect/reconnect. + As a result, the PC may hang with long lasting commands if the CD-writer + has been connected to the same IDE cable as the harddisk. A correct + solution would be to set up a correct cabling but there seem to be + notebooks around that have been set up the wrong way by the manufacturer. + As it is impossible to fix this problem in notebooks, -immed has been + added. Use this option with care and do not expect cdrecord to work + correctly if it has been called with -immed. + +- -force will not completely removeany speed restrictions for writing in RAW + mode. Instead, only the speed that a single CPU allows will be permitted + by cdrecord. This still has a high potential for a buffer underrun. + By default cdrecord still is limited to half the encoding speed that + a single CPU allows. Even this may result in a buffer underrun on Linux + as Linux does not use DMA for IDE when the sector size is != 2048 bytes + which is true in RAW write mode. + +- If the environment variable "CDR_FORCERAWSPEED" is set, this will have + the same results for RAW speed as using -force. However, -force has more + general effects and should be avoided. + +- Fixed a bug in fifo.c introduced with the driver interface change. + Now cdrecord compiles again on VMS (without FIFO). + Thanks to Eberhard Heuser. + +- Allow cdrecord to compile without libedc + Thanks to Eberhard Heuser. + +- Run read buffer capacity in silent mode. + This is needed because drives with buggy firmware like the CW-7585 + did cause hundreds of "command sequence erorrs" to be emmited when + trying to read the current drive buffer fill ratio. + +- Fixed man page to correctly call SAO mode SAO and not DAO. + +- Encoding speed is contend dependant. Initalize test buffer + before doing a libedc speed test to make the result independant + from grabage on the stack. + +- Support for libscg help system + +- Warn to use cdrecord blank=all if a drive rejects cdrecord blank=fast + +- Fixed a bug that became obvious with Yamaha AudioMaster mode and CD-Text + The problem was caused by the fact that cdrecord did not allow to overwrite + the lead in start time in cdrecord's internal data structures. + +- Fixed a bug with recognition of complete disks that came up after cdrecord + did allow to deal with >= 90 minute CD's. + +- Changed Text "BURN-Free was not used" to "BURN-Free was never needed" because + people did believe that the old text means that Burn-Proof has been disabled. + +- Man page now includes a hint that padsize is always using 2048 as sector size. + +- Fixed a bug with padsize=xxx if sector size was not 2048 bytes. + Cdrecord in this case did just divide the number of pad bytes by the + number of bytes in an output sized sector (e.g. 2448 or 2352 bytes). + This did result in a too low number of padding sectors. + The fix caused a complete rewrite of the pad size handling. + +- Treat packet mode similar to normal writing: Print Drive buffer fill ratio + and current write speed. + +- Treat padding similar to normal writing: Print Drive buffer fill ratio and + current write speed. + +- Make verbose printing consistent and non-jumping + +- A new experimental feature of the -immed flag is to + tell cdrecord to try to wait short times wile writing + to the media. This is expected to free the IDE bus if + the CD/DVD writer and the data source are connected to + the same IDE cable. In this case, the CD/DVD writer + would otherwise usually block the IDE bus for nearly + all the time making it impossible to fetch data from + the source drive. + + As this is an experimental feature, I would like to get feedback. + + +- #ifdef _POSIX_MEMLOCK/_POSIX_PRIORITY_SCHEDULING Tests now + POSIX 2001 compliant + +- Do not try to close fd if running on an OS that does not use an fd + to mmap() chared memory from anonymous pages. + +- Print Orange Forum embargo warning only if ATIP minutes == 97 + because some DVD writer return junk with read ATIP + +- New option minbuf= to choose the mininum drive buffer fill ratio + for the ATAPI wait option that is intended to forcibly free the + IDE bus to avoid buffer underruns with bad HW configurations. + The permitted range is 25..95 for 25%..95% buffer fill ratio. + +- minbuf= may switch on the ATAPI wait option without enabling + the SCSI Immed option. + +- Forcibly switch on -v for now if the ATAPI wait option has been + selected. This is needed because due to a bug, this option will + not work without -v + +- Make FIFO code work on AmigaOS + + +For Yamaha Disk Tatoo features read README.DiskT@2 + +/*--------------------------------------------------------------------------*/ + +Cdda2wav (By Heiko Eißfeldt heiko@hexco.de): + +- Changes to make cdda2wav compile better on Alpha/True64 + +- Restructured to better use the schily makefile portability structures. + +- Changed handling of Table of contents. Now the more informative + methods of Read full toc are being used in favor to the old SCSI readtoc + command. For Sony methods, the fallback is the old method. + The new methods are available on MMC drives and modern drives with + Sony command sets. It should enhance access to very weird multi session + cds. + + ************** + NOTE: If your drive still has problems to copy such non-CD's, there + is a simple hack to allow the disk to be copied on all drives: + + Use a (black) whiteboard pen (non-permanent) and paint on the + space directly outside the visible ring that is in the middle + of the non-CD. This is the space where the broken TOC from the + second session is located. + + After doing the copy please return the disk to the dealer and + tell the dealer that this is broken goods. This is the only way + to stop the big groups to defraud the customers. + ************* + +- Temporary hack to fix a bug in the ISRC code that caused the ISRC + string to be shortened by one character. + +- fixed ioctl handling of toc entries + +- checked ISRC retrieval (MMC + Plextor) + +- more checking for weird CDs with wrong track types + +- bugfix in setuid.c + +- read full toc method extended to a data track in the second + session for cd-extra/enhanced cd recognition + +- if the tracks in the TOC are labelled as data, this is checked + and corrected if untrue + +- show cd text disc identification, if one exist + +- a new perl script to generate a binary cdtext file for use with + cdrecord. This is currently very simple, but it enables you to + create cd-text enriched copies from non cd-text originals. + For a hint how to use the new perl script see the CD-text usage + notes above. + + +- New option -L to ask freedb.freedb.org for CDDB information. + This alllows to automatically create CD-Text CDs. + +- correct TOC endianess for FreeBSD ioctl interface. + +- Fixed a bug that caused cdda2wav to dump core with certain + CD-Text data. + +- new option -L changed. Now a numerical parameter (0 or 1) + defines the handling of multiple cddbp entries. + 0 enters user interactive mode. + 1 take the first entry unconditionally. + I still need a reasonable way for gui interaction in this case! + Proposals are welcome. + +- made cddbp handling for mixed mode cds more robust. + It is unclear yet, if data tracks have to be included in the + query. Anybody knows the definitive answer? + +- Better TOC ADDR/CRTL (red book) handling + +- Better method to scan for indices. + +- Support for SCMS in *.inf files + +- Better SUID/SGID handling + +- new script cddda2ogg + +- bugfix deemphasizing (thanks to Klaus Wolterec) + +- bugfix rounding error (creation of info files) + +- added AlbumPerformer entry in info files + +- integration of Monty's libparanoia + +- switch to Jörgs getargs option handling + +- Fix some bugs with option parsing introduced with the new option + parsing using getargs() + +- New option -version to make cdrtools behave similar + +- New option paraopts=opts for paranoia options. + +- Print Paranoia statistics result at end of every track. + +- prepare for better recording of discs with illegal TOCs + +- prepare for non-english cd_text languages + +- rewrite of the TOC handling code (now multisession capable + and much more robust) + +- add a fallback method (shmat()) for failed mmap() + +- linux bug workaround: open() sound device does block when device is busy. + +- several code cleanups, some 64-bit portability bugfixes + +- Fixed shell script 'cdda2mp3.new' to correctly use "#!/bin/sh" + +- Fixed a bug (introduced while converting to getargs()) that caused + cdda2wav to dump core on OS that implement read only text + correctly like Solaris does) if compled with gcc or Sun CC COPTX=-xstrconst + +- Remove old unused getopt() code. + +- Check DMA residual count + +- FreeBSD cooked ioctl() Byte swapping now finally OK? + +- Fixed a bug that caused cdda2wav to return wrong byteorder + on Big endian machines if -paranoia has been specified + +- fix several CDDB query bugs +- support CDDBP protocol 5 + +- customizable CDDBP server and port settings. + +- Fixed a bug in the paranoia calling code that caused + cdda2wav to try to access one sector too far on the media + if in paranoia mode. + +- Allow again compilation on FreeBSD + +- bugfix for CD Extra, when copyright messages were present + +- patch from Kyle to make CD extra handling more robust + +- bugfix for wrong warning message 'no generation of info files' + due to incomplete length + +- new verbose suboptions. Strings will finally replace the + tedious binary masks. For script compatibility the special + form of -v255 will be recognized for some releases. + -vhelp will show the new strings. +- reworked the toc display code to make it more orthogonal. + +- changed option 'speed-select' to 'speed' for better interoperability + +- Temporary added -v for compatibility with old GUI programs. + Note: -v is outdated and will be removed soon. + +- Implement a temporary compatibility bug for the -v option. + +- Support for libscg help system + +- Man page fixed + +- Fix for an uninitialized variable + +- New exit codes for xcdroast + +- Fix for a CDDB bug: need to use lead out start for play time + +- Fix for a CDDB bug: Allow whitepsace in Genre + +- Fix for a CDDB bug: need to count data tracks too + +/*--------------------------------------------------------------------------*/ + +Readcd: + +- better error recovery with -noerror + +- error handling increased + +- Handle signals and other aborts by restoring old drive state + +- Set PF bit with mode select. + +- New option -quiet to suppress primary SCSI error messages + in read CD error handling + This are the messages that are printed before entering the + retry mode. + +- Secondary SCSI error messages are now suppressed by default, + they may be turned on again with -verbose + This are the messages that are printed in -noerror + retry mode. + +- Better handling of C2 scans on unreadable data disks. + +- use comerrno() instead of comerr() if the drive is not ready + as errno is not valid after that test. + +- Enhanced output for C2 error scan. + +- Now use /etc/default/cdrecord as documented in the man page. + +- Better behavior with extreme badly readable media. + +- List number of completely unreadable sectors in addition to + the C2 error count. + +- Man page updated to contain all options + +- New option speed= to allow reading at slower speed and avoid read error + caused by vibrations of the media. + +- added new option -overhead to meter SCSI command execution overhead. + +/*--------------------------------------------------------------------------*/ + +Scgcheck: + +- Fixed Makefile so scgcheck now compiles on FreeBSD + +/*--------------------------------------------------------------------------*/ + +Mkisofs (By Jörg Schilling and James Pearson j.pearson@ge.ucl.ac.uk): + +- Man page updated and corrected. + +- Try to avoid the C-compiler warnings for getopt.c that are caused + by the non-confirming way of hacking used by FSF people + +- isoinfo now corectly displays file with filesize > 1 GB + +- isoinfo now implements a new option -s that displays the size + of the files in multiples of the sector size (2048 Bytes) + +- libhfs_iso reworked to use timedefs.h from schily portability support. + +- Better error messages for ISO and Rock Ridge directory sort problems + +- Preserves HFS file dates for AppleDouble, AppleSingle and NetaTalk files + +- Fixed a problem from an uninitialized variable in desktop.c + that caused random effects in Apple CD's + +- better documentation for README.sort/README.hide from James Pearson + +- Fixed a bug in sort code that caused the compare function to behave + symmetric when called c(a,b) vs. c(b,a) + +- First UDF support via -udf option - thanks to Ben Rudiak-Gould. + + Note that the UDF support is not what you might indend. It is currently + wired to the Joliet tree which is a bad idea. It also does not yet + support Symbolic Links, user ID's and similar. + +- Write messages with more correct size names for the floppy eltorito + boot images + +- Added a missing prototype in getopt.c + +- isodump.c isoinfo.c isovfy.c: + Correctly handle symlinks + use offsetof(struct iso_directory_record, name[0]) instead of + sizeof(struct iso_directory_record) - sizeof(idr->name) + +- Fixed a check in the Apple HFS code that used strcmp for + data that could contain null bytes. + +- Introduced many casts to enhance portability. + This was needed for GNU fnmatch.c and the HFS support lib libhfs_iso + +- Use Protoyped function definitions for hash.c to allow old UNIX variants + where sizeof(dev_t) is < sizeof(int) + +- Fixed a check in the Apple HFS code that used strcmp for + data that could contain null bytes. + +- Introduced many casts to enhance portability. + This was needed for GNU fnmatch.c and the HFS support lib libhfs_iso + +- Use Protoyped function definitions for hash.c to allow old UNIX variants + where sizeof(dev_t) is < sizeof(int) + +- Support generic boot code if session does not start at sector 0. + +- Fixed a minor bug with HFS labels & multi-session + Thanks to James Pearson + +- Only print a short Usage if mkisofs detected a usage error. + +- -z option now working to create CDs in a format with Linux proprietary + Rock Ridge extensions for transparent compression. + + This is a patch from H.P. Anvin. It makes only sense with Linux-2.4.14 + or later. + +- New option -debug + +- Correctly use stat()/lstat() with graft points + +- Fixed a bug with escape character handling in graft point handling. + +- Make the graft point a directory if the file it should point to + is a directory. + +- Correctly handle non-canonical filenames with graft points. + + .////././///test=OBJ/sparc-sunos5-cc/ will now work correctly + and not result in a corrupted ISO-Filesystem. + +- Canonicalize graft points so commands like: + + mkisofs -graft-points /a/b/././//=some_dir + and + mkisofs -graft-points /a/b/../c/=some_dir + + will not cause broken ISO images anymore. + +- Avoid unwanted information in debug information on disk. + +- Allow the -sort option to work with the Eltorito Boot Catalogue + +- Allow '-' to be part of the ISO-9660 filename if -no-iso-translate + has been specified. + Thanks for this hint from Georgy Salnikov (sge@nmr.nioch.nsc.ru) + from Novosibirsk, Russia. + +- Try to avoid an integer overflow with the -C option and DVDs + +- Try to fix (very old) rotten code in various files that did cause + integer overflows for files > 2 GB - 2kB. + + Inconsistent use of (always diferent) hand crufted code using + 2048, 2047, ... instead of SECTOR_SIZE, ISO_ROUND_UP(), ... + + Note that this is not only of interest for DVDs as mkisofs could + believe that > 2 GB of data would fit on a CD. + +- New code to print file type names. + +- Some more changes to reduce the probability of integer overflows + in size computations. + +- Fixed a bug in the code that removes sensitive information from + the command line. + +- Add text strings with descritpive text to the output_fragment structures + +- verbose > 1 (use -v) writes debug info for output fragments. + This uses the new strings introduced with the last version. + +- isoinfo now uses getargs() and includes -version and -help + options. + +- isoinfo now is able to find out that Joliet information is + present if the disk contains illegal Joliet UNICODE escape code. + This seem to happen with disks written with Adaptecs programs. + +- isoinfo has new option -debug that prints more information + from the Primary volume descriptor. + +- Support for Apple HFS on Mac OS X Thanks to James Pearson. + +- Support for more then 65535 directories as only the parent entries + need to fit into the path tables. + +- Full DVD-Video support thanks to Olaf Beck - olaf_sc@yahoo.com + +- Avoid a C-compler warning caused by mkisofs.h + +- Fixed a bug in the DEBUG code from the DVD-Video enhancements + +- Allow symlink targets to be up to 1024 bytes + +- devdump/isodump/isovfy now use getallargs() and implement -help/-version + +- If UDF but no Joliet is used, UDF filenames may be 255 chars long. + Note that this is still hack. + +- From James: New option -joliet-long to allow 103 UNICODE characters with + Joliet. This is not Joliet compliant but several other programs + also create long Joliet names. + +- Fixed a minor C non-compliance in ifo_read.c + +- Allow symlink targets to be up to 1024 bytes + +- devdump/isodump/isovfy now use getallargs() and implement -help/-version + +- If UDF but no Joliet is used, UDF filenames may be 255 chars long. + Note that this is still hack. + +- From James: New option -joliet-long to allow 103 UNICODE characters with + Joliet. This is not Joliet compliant but several other programs + also create long Joliet names. + +- Correct a minor problem with K&R compilers for the programs + in mkisofs/diag/ + +- Make fire PATH_MAX is defined in isoinfo.c too. + +- Make sure UDF directory permissions include 'execute permission'. + +- A patch from James that make mkisofs able to create a HFS volume < 4 GB. + +- Support for MS code page 1250 (Slavic/Central Europe) added. + Thanks to Petr Balas petr@balas.cz + +- A patch from James that make mkisofs able to create a HFS volume > 4 GB. + +- A new option -hfs-parms for better HFS support for HFS volumes > 4 GB + from James Pearson + +- Fixed several typos in the man page and the source + +- Belly based speudo fix for a problem with mkisofs -f (follow) + and symlinks to directories where directory content was + missing with the old version. The new version is most likely better + and we (James and I) could not find problems with the new version. + +- Make "HFS_TYPE" and "HFS_CREATOR" work as documented in ~/.mkisofsrc + +- Fixed a small typo in isofinfo.c + +- As mkisofs -f has bugs that cannot be fixed for this release, I decided + to mark the '-f' Option as non-functional. People who use it will be warned + that it does not work correctly. + +- Sort VIDEO_TS.IFO to be the first entry in VIDEO_TS/ woth -dvd-video + +- Disable Joliet if -dvd-video has been specified. This needs to be done to + allow the change above. + +- Correctly handle files > 1GB on the UDF filesystem. + Thanks to Wei DING for the patch. + +- Add support for Code Page 1251 + +- Koi8-u added to libunls + +- Fix a nasty bug in the UDF handling part that caused mkisofs to + create completely broken filesystem images if directories have been + nested deeper than 8 and -D has not been specified. + +- Include a new piece of code that causes mkisofs to abort with an + error message if it turns out that the block numbers estimated + during the sizing phase do not match the block numbers in the + write phase. + +- Enabled a piece of code that has been introduced 2 years ago and that + causes mkisofs to prevent deep directory relocation if Rock Ridge + has not been spacified. + + If you like mkisofs not to omit the part of the directory tree that + is nested too deep, specify either -R, -r or -D. + + +TODO: + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volouteer for this task: + Peter Berendi announced that he likes + to be the volounteer for this task. + + Unfortunately, I did no hear again from him, but I got + a proposal from + "Krisztian Gede" + who also likes to do the job. + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - implement Yellow book compliant XA extended dir attributes + + - add libecc/edc for CDI and similar. + This may not be needed if we ise VCDimager and recent + cdrecord versions. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +ftp://ftp.berlios.de/pub/cdrecord/alpha ... + +NOTE: These tar archives are 100% ansi compatible. Solaris 2.x tar and GNU + tar may get some minor trouble. + +WARNING: Do not use 'mc' to extract the tar file! + All mc versions before 4.0.14 cannot extract symbolic links correctly. + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-2.01 b/AN-2.01 new file mode 100644 index 0000000..c967222 --- /dev/null +++ b/AN-2.01 @@ -0,0 +1,1496 @@ +Please have a look at the German open Source Center BerliOS at www.berlios.de +BerliOS will continue to support free hosting of cryptography projects even +when US laws change and don't allow to host cryptography projects in the USA. +Also look at sourcewell.berlios.de, the first Open Source announcement service +that itself is implemented as Open Source project. + +***************** Important news **************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +NEW features of cdrtools-2.01: + + +All: + +- Support for the ELF format in BSDi 4.x + +- Allow floating point printing on OS/2. This has been possible + since 11/2001 but OS/2 has been forgotten. + +- Correct OS/2 ranlib handling + +- New architecture 9000-831-hp + +- Include +DAportable in HP-UX cc options + +- README.hpux enhanced to include hints on how to compile 64 bit + binaries. + +- Support for NetBSD on PPC (macppc-netbsd-cc) + +- portable getdomainname() replacement now supports to get the domainname + from /etc/resolv.conf. This allows usage even on OS/2 + +- Typo in DEFAULTS files fixed + +- New generic target for symlinks + +- New file rename.c for portability part of libschily + +- Better Next STep support: + + - Some workarounds for broken unistd.h + + - -lkvm removed from Next Step config. + + - waitdefs.h fixed for very old BSD based systems (~ 1980) + like Next STep + + - strdup() moved into portability part of libschily + + - fixed typo in fctldefs.h R_RDONLY -> O_RDONLY + + - New file ttydefs.h includes portability phrases from ved and bsh. + + - Added an autoconf test for buggy termios.h in Next Step. + Next STep provides fully functional termios.h but tcgetattt(), ... + is missing in libc. + + - Test for clock_t changed to deal with a bug in Next STep. + Next Step illegally needs sys/time.h for clock_t + + +- Make recently introduced symlink install use relative symlinks instead + of absolute symlinks. + +- Change autoconf/statdefs.h to support nanosecond support for SCO + UnixWare and FreeBSD + +- Call conf/mkdep-sco.sh via sh to be independent from 'x' bit. + +- libschily/rename.c fixed for SCO Openserver fo avoid warning + for redefinition of MAXPATHNAME + +- libschily/usleep.c fixed to avoid SCO Openserver warning about + non matchin prototype in system include files + +- Better Portability for SCO UnixWare + + - New platforms i486, i586, Pentium III, Pentium Pro + + - Let strdefs.h also include strings.h for strcasecmp() + + - Support for missing struct sockaddr_storage + + - Support for broken wait3() (returns wrong timings) + + - Changed broken portability Prototype support in libfile + to use 'makefiles / prototype.h' based system + + - Changed fileopen() and filereopen() to avoid fdopen() + provlems (does not accept mode string that does not + match fd flags) + +- Catch the case where somebody tries to compile on Solaris with + /usr/ucb in PATH before /opt/SUNWspro/bin and when calling 'cc' + results in: + /usr/ucb/cc: language optional software package not installed + +- Trying to make the source get accepted by 'cstyle'. + +- Changes in the general topic 'Stack Scanning' and the software signal + system handlecond()/raisecond() that make the software signal system + now usable on all platforms. + +- Trying to support DOS with the DJGPP compilation environment + Thanks to Alex Kopylov for the first version + of the port and further helping. + + Note that in order to compile cdrtools on DOS/DJGPP you need smake-1.2a20 or newer. + GNU make does not seem to work for a DOS compilation. + +- New File README.msdos + +- New RULES for DOS/DJGPP + +- Make some vars in align_test.c static because Mac OS X creates unneeded + name space pollution. + +- DJGPP has no SIGBUS, use #ifdef in avoffset.c and align_test.c + +- Several changes with casting Null pointer constants to Null Pointers + if they are used as parameters in var arg lists (see below). + +- New gethostname() fallback emulation using uname(2). + +- Better rename(2) emulation for Platforms that don't have rename(). + +- niread()/niwrite()/nixread()/nixwrite() in libschily now resets errno + to the old value in case EINTR did occur. + +- README.msdos has been corrected according to a hint from Alex Kopylov + +- New macros to platform independently set up integers in little endian + format. This is needed to e.g. write PC disk labels from big endian + platforms. + +- Rules extended to support volume management libs + +- The install-sh script not takes care about UNIX variants like SCO UnixWare + and SCO OpenServer that allow to give away files via chown. + + If this works and /tmp has the sticky bit set, the root test was unable + to remove the test files later. For this reason, now a subdirectory + in /tmp is used. + + +- Support for the special .PHONY: target ---> needs smake-1.2a21 or newer + + This helps to deal with files like INSTALL operating systems + like Win32 and Mac OS that don't honor file name case and prevents + the file named INSTALL to get into trouble with 'make install' + + +- 'make install' now works on operating systems that require a '.exe' + suffix for executable binaries + +- Updated the file README.ATAPI + + Updated information for Linux, SCO-OpenServer, SCO-UnixWare, Win32 + and DOS + +- mconfig.h now supports make COPTX=-DNO_FORK & COPTX=-DNO_VFORK + +- snprintf() from libschily now correctly follows POSIX.1-2001 for maxlength == 0 + +- Workaround for a bug in the C-compiler from SCO-OpenServer. It + is not very probable that this causes problems with cdrecord. The + function getfp() did not return the correct Frame Pointer when called + as first function in another function as the compiler sdoes set up the + new stack frame after getfp() has been called. + +- New function filemopen(char *name, char *omode, mode_t mode) with additional + mode_t parameter. + +- update recent getargs() version from repository. This has been forgotten. + +- Add a workaround for a SCO OpenServer C-compiler bug. + The bug causes the first function in a function to be called + before the new stack frame has been established and did cause + scanning the stack frame to fail. + +- Make snprintf() POSIX compliant. + +- Many typos in the READMEs fixed, thanks to a hint from Stefano Allrath + +- New global method to handle PATH environment delimiters (":" on + POSIX systems and ";" on DOS). + +- New README.msdos reflecting new features of smake-1.2a23 on DOS/DJGPP + +- Some minor enhancements to the makefilesystem + +- Some minor changes for better compilation in SGI IRIX + +- Trying to start adding support for Win32/Mingw32 + +- New global #define NEED_O_BINARY to make using setmode() easier + +- New autoconf test for struct stat.st_fstype + +- New autoconf test for fnmatch() + +- New autoconf test for blksize_t/blkcnt_t + +- libscgily/stdio/io.h renamed to schilyio.h to avoid conflicts with + DOS. + +- Added a Note to README.linux: + + NOTE for all Linux 2.5.x versions and all Linux versions before 2.6.8: + + Linux did ship with defective kernel include files starting + with 2.5.x. These defective kernel include files did prevent + compilation. If you have problems compiling software and see + error messages related to include/scsi/scsi.h & include/scsi/sg.h + either upgrade to Linux-2.6.8 or newer or remove /usr/src/linux + +- Support added to the makefile system that allows compilation on + AMD x86_64 using non automake aware make programs like GNU make. + Note that smake ftp://ftp.berlios.de/pub/smake/alpha/ is able to compile + things even on unknown platforms as it includes auto make features. + + +Libparanoia (Ported by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +- Included a bug fix from the libparanoia Author. + Correctly allocate some arrays. Note: on 32 Bit machines, this patch does + not result in a different binary but the code is now really correct. + +- New indentation is better conforming to 'cstyle' + +- Fixed a bug in libparanoia that prevented the statistics to show up + the number of 'skips' (the number of exhausted read retries) when + SKIP verification has been turned off. + +- modified to avoid GCCs shadowed variable warnings. + +- Try to use page aligned transfer buffers if possible. + +- Avoid buffer size problems wit non page aligned transfers on FreeBSD. + +- Avoid freeing pointers that are not from malloc() by copying the data + to a second allocated chunk of free()able space. This has been a bug + introduced while trying to handle buffer size problems with non page aligned + transfers on FreeBSD. + + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + + +Libscg: + +- Reordered and restructured scsi-remote.c code to allow compilation on OS/2 + and hopefully other OS like BeOS + +- First attempt to support QNX. + Note that the sourcecode comes from QNX and it looks as if it + is buggy for commands that cause SCSI commands that result in + a Check Condition status. From looking at the source, the stack + gets overwritten in this case. + +- SCSI adaptation layer for SCO UnixWare rewritten to support + multiple opens and to better follow the libscg interface standard. + +- Second attempt to support QNX. + Make it compile + +- Check kernel level error return codes on SCO-UnixWare + +- Starting to support SCSI reset on SCO-UnixWare + +- Extensions to libscg related include files to support DVD+RW formatting + +- Make libscg work on SCO UnixWare if an application like cdrecord + has been installed suid root. + + Before, the called administration programs did not work if euid!=uid + +- Fixed a problem with possible garbage in the SCSI error string. + Thanks to Stefano Di Paola for reporting. + +- Fixed another printf buffer vulnerability in scsi-remote.c + +- New version of scsi-amigaos.c from Thomas Langer + +- Added a work around for a Solaris 9 x86 bug: + DKIOCINFO returns a max DMA size of 256 kB but only 68 kB will work. + Check max DMA size for a IDE disk to get a correct value.... + + For more information read the updated file README.solaris and the + new files README.solaris-x86-ata-DMA and README.solaris-x86-ATAPI-DMA + +- Changed scsi-os2.c to allow 'cdrecord -scanbus' to find targets with + target ids > 7. + +- Librscg now uses correct casting to a Null Pointer for execlp() as + NULL is a Null Pointer Constant but no Null Pointer. This could + make problems with some 64 bit architectures. + +- New driver scsi-dos.c acting as 16 bit DOS ASPI interface + Thanks to Alex Kopylov for the first version + of the driver. + + Check his Web Page: http://bootcd.narod.ru/index_e.htm + it contains precompiled DOS binaries. + +- The driver scsi-dos.c has already been verified with 'scgcheck'. + +- scsi-os2.c and scsi-wnt.c now correctly return 0 from scg_send() if + the target is not valid. + +- scsi-wnt.c does now support multiple SCSI opens. + +- scsi-wnt.c does now correctly return SCG_NO_ERROR in case a SCSI command + returned CHECK CONDITION. + +- scg__open() now prints a warning if it has not compiled with the results + from a certified autoconf environment. + +- Introduced a fix to avoid the need for a #define ident prod_ident + for SCSI Inquiry data. This #define did cause problems with the + latest Sun Studio 8, C compilers + +- First attempt to support running cdrecord while the volume management is + active. + +- Increased version number to 0.8 + +- First attempt to work around the problems for suid programs introduced by + Sun with Solaris 9. Programs that like to issue a USCSI ioctl() need to be + root or get EPERM. Cdrecord did does up root privilleges eraly to avoid + security problems. + + libscg now selectively runs the USCSI ioctl() as root if the program is installed + suid root. + +- Fixed a bug in scsi-mac-iokit.c in scgo_havebus() that caused pxupgrade not + to work on MacOS X. + +- First attempt to support the SPTI Ioctl interface on Windows NT. + see also http://www.ste-home.de/cdrtools-spti/ + Thanks to Richard Stemmer, Jay A. Key and thomas podkanski + + This allows to use cdrtools on NT without the need to install ASPI in case + you are administrator when yu run a program. + + Please note that the use of SPTI is default. If you like to force using + ASPI, use dev=ASPI:b,t,l or dev=ASPI (in the -scanbus case). + If you like to force STPI, use dev=SPTI:b,t,l or dev=SPTI. + + Currently, the interface does not yet fully matches the scg interface standard. + +- Try to support the half hearted and badly designed /dev/hd* interface + from Linux-2.6 in a more usable way. + + The only reason for adding this kind of support is that the Linux kernel + hackers reject to fix the known DMA bugs in the already existing SCSI + transport interfaces in the Linux kernel. Using /dev/hd* is unfortunately + the only way to get DMA with sector size being 2352, 2448 or similar. + + Use cdrecord -scanbus dev=ATA and + cdrecord dev=ATA:1,0,0 + + Note: The Bus mapping function inside the kernel for this interface is + a dummy. For this reason, we need to do the mapping ourselves. + Busnumber is ("/dev/hd*"[7] - 'a') / 2 + Target is ("/dev/hd*"[7] - 'a') % 2 + + Also note that creating this interface in the Linux kernel was a waste of + time. It did need a lot of effort to be created. Instead of first adding + a new interface with a new broken DMA implementation and later fixing + the DMA bugs, it would have been better to just fix the DMA bugs + in ide-scsi.c + + Adding SCSI transport to something like /dev/hd* on an OS that includes + a generic SCSI transport driver is disregarding SCSI protocol layering. + A clean way to implement ATAPI on Linux would be to rather introduce a + SCSI hostadaptor driver that sends the SCSI commands via the + ATA hardware. + + Linux users should think about buying a CD writer for Linus Torvalds. + Maybe this could help to get better SCSI support in the Linux. Currently + Linus doesn't know anything about the CD-writing problems on Linux and + his contributions to CD-writing related issues in discussions are just + guesses that are not related to own experiences and understanding for + the matter :-( + + It seems that the Linux way of dealing with bugs is to implement a new + incompatible interface instead of fixing the known bugs from + old interfaces :-( + +- Allow cdrecord -scanbus dev=ASPI and cdrecord -scanbus dev=SPTI to work + on win32. + +- Correct a bug in the Win32 version analyze function that is needed to + use the correct SPTI interface. Unfortunately, the interface did + change with a NT-4.0 service pack. It is unclear whether the currently + used interface type is correct for all possible NT-4.0 variants. + +- For Win32, default to STPI only if on NT-5.x as there is a bug in some + UDMA implementations that causes blue screens. + +- The Mac OS X SCSI low level transport now roughly meets the interface standard. + For this reason, the file scsi-mac-iokit.c now is marked with Author "schily" + +- Indented according to the cstyle standard. + +- For win32, dev=ASPI:1,0 and dev=SPTI:1,0 work again + +- Trying to add a workaround for the Linux problem with USB where the + kernel issues a request sense even when there was only a DMA underrun + and the drive replies as expected with no-sense. Our problem in this + case is that we needed to ad another workaround because sometimes + Linux clears the status byte and we did assume a CHECK CONDITION in case + sense[0] was != 0. + +- Enhanced max # of SCSI busses to 256 for the Linux sg driver. + This was needed because of the (compared to Solaris) suboptimal + way of dealing with instance numbers on Linuux. + + While Solaris keeps a data base with instance numbers, disconnecting and + reconnecting a USB drive results in the USB device getting the same + SCSI address as before. + + As Linux does not have such a data base, disconnecting/reconnecting + a USB device has the unfortunate side effect of assigning a new and + different SCSI address with every USB connect. This also creates problems + when software likes to manage access rights to devices for non-root + users. + +- Win32 SPTI interface now also supports controllers with more than one + SCSI Bus. Thanks to Richard Stemmer + +- Fixed a bug in the Win32 SPTI/ASPI interface introduced with 2.01a28 + that caused core dumps because it did try to access data behind the end of the + sense data array in the ASPI cmd structure. + +- Scan /dev/hda../dev/hdz instead of /dev/hda../dev/hdt for dev=ATAPI on Linux. + +- Trying to write a better warning message for the dev=ATAPI: interface + on Linux (the related kernel interface is unmaintained and does + not support DMA at all). + +- Fixed a bug in Win-NT Version string handling in scsi-wnt.c + Thanks to Alex Kopylov + This caused that libscg did not properly recognize NT-4.x with service pack 4 + to be equivalent to NT-5.0 (Win2k). + +- Trying to avoid using the WinNT-SPTI interface for NT-4.0 + +- Fixed a security bug in scsi-remote.c (the RSCSI client). + + +Rscsi: + +- Support for IPv6 + +- Workaround for missing struct sockaddr_storage on SCO UnixWare + +- Security update. Forbid to write arbitrary debug files, only allow + a debug file name that has been configured in /etc/default/rscsi. + Writing arbitrary files with a siud root program could be used to become + root on a local machine if you are already logged into that local machine. + +- README.rscsi typo's corrected. + + +Cdrecord: + +- Use correct set_mode_params() return value in deflt_writemodes_mmc() + +- Correct a debug printing to go to stderr instead of stdout. + +- Workaround for broken Firmware for LG (Lucky Goldstar) drives. + These drives have been unable to write Audio in TAO mode because + they have an illegal audio pause length default. + + Thanks to a hint from: Mark Vytlacil + +- Man page now correctly describes the data formats used with -xa1 & -xa2 + +- Use Prototypes for functions with enum parameter in fifo.c to avoid + warnings on SCO UnixWare + +- Trying to catch SIGHUP to avoid hung recorders after people + close X windows by accident (This in most cases happens because + some newer GUIs try try copy bad ideas from Microsoft like the 'x' + button on the top bar in the window. + +- Trying to print hints if the SCSI error core looks like a buffer + underrun occurred. + +- First (still mostly empty) driver for the Matsushita CW-7501 + +- First TAO writing support for the Matsushita CW-7501 + +- New option -setdropts to allow cdrecord to set driver specific + parameters and exit. + +- Added support to disable/enable the Plextor PowerRec feature. + Use driveropts=forcespeed + Be very careful as this will cause in badly readable disks. + The only senseful reason to use this feature is to run tests in + -dummy mode to check whether the system would be able to record + fast enough and to later buy High-Speed Media. + Note that documentation for the related SCSI command is not + oficially available and thus the information has been "guessed". + +- Added support to enable/disable the Plextor SpeedRead feature. + Use driveropts=speedread + to allow the drive to read CDs faster than 40x. + Be very careful as this may cause the media to break in the drive + while reading, resulting in a destroyed media and drive! + Note that documentation for the related SCSI command is not + oficially available and thus the information has been "guessed". + +- Added support to enable/disable the Plextor SingleSession feature. + Use driveropts=singlesession + This allows to read defective (illegal) media with extremely + non-standard additional TOC entries. You need to enable Single Session + mode before you insert the defective disk! + Note that documentation for the related SCSI command is not + oficially available and thus the information has been "guessed". + +- Added support to enable/disable the Plextor Hide CD-R feature. + Use driveropts=hidecdr + This allows to make CD-Rs look like CD-ROMs and applications believe + that the media in the drive is not a CD-R. + Note that documentation for the related SCSI command is not + oficially available and thus the information has been "guessed". + +- Added reading out "real" Burn-Proof counter for Plextor drives. + Note that documentation for the related SCSI command is not + oficially available and thus the information has been "guessed". + +- Try to do a more correct job when doing Buffer Underrun estimation + counts. + +- Make the explicit Buffer underrun error checking work for + Plextor drives too. + +- Fixed the command line parser for driveropts= parameters. + Before the fix, driveropts=noburnfree,hidecdr would result + in assuming: driveropts=noburnfree,nohidecdr + +- Now also supporting SAO/DAO write mode for the CW-7501 + +- New option -lock (similar to -load) that loads the media but leaves + the drive in locked status. + +- New driver interface to allow SAO recording for the CW-7501 + Simplified: "dummy" and "multi" Parameter information has been + moved into the track structure. + +- Removed the internal implication that -packet is a TAO write mode. + Please test! It may be that this did introduce bugs. + +- Try to avoid ANSI C arithmetic conformance change warnings from + SCO C-compiler by introducing proper casting. + +- Driver interface restructured to support aborting SAO recording + with the Sony CDU-948 + +- "Driver flags" printing corrected + +- Better behavior with CADDY drives and -load option + +- Fixed a bug that caused cdrecord not to abort if Tracks with unknown + length are present in RAW write mode. + +- Print extended Power Rec Speed information for Plextor drives. + +- CUE Sheet handling generalized to allow to implement SAO writing + for more drives. + +- Start supporting the Sony CDU-948 in SAO mode. Currently not yet working: + + - Multi-session + + - MCN/ISRC + +- Grace time handling restructured. The grate time waiting is now done + even before the forced blanking and it is made sure that the waiting + is done only once. + +- Several changes in the open source part are visible as a result of the + new DVD+RW / DVD+R support. + +- cdrecord-ProDVD now includes first DVD+RW and DVD+R support. + Check ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ + on Thursday 24.4.2002 for the first binaries + +- Do not try to lower the possible number of open files in raise_fdlim() + anymore. + +- Check return code of driver's init function. + +- Better error messages from main write loop. + +- Write a hint that a user may have used a "preformatted" CD-RW if + read_next_writable_address fails for the "invisible" track + and tell him to run cdrecord blank=.... + +- Fixed a bug that caused cdrecord to prevent a 3rd session on a + multi session disk. This bug was introduced with the driver + restructuring a few releases before. + +- Better driver text strings for the driver IDs in the CD MMC drivers. + +- Move Plextor PowerRec speed info completely to the statistics _past_ + the recording activities. + +- Allow more nonstandard Cue sheets to be accepted by the Sony CDU-924 + and CDU-948. + +- Implement MMC-3 DVD+ Drive/Media recognition to avoid that cdrecord starts + to treat a DVD+ as a CD-R because the DVD+ drive identifies as CD-R/RW + DVD-ROM + with "no DVD media installed" from a MMC-2 viewpoint. + +- Added a note to the cdrecord man page how to use mkisofs + to allow cdrecord to knoe about track sizes in SAO or RAW mode. + +- Fixed a multi session bug that has been introduced with the DVD+R/RW + restructuring with cdrecord-2.01a11. This bug caused cdrecord to be unable + to start a track from a sector number != 0 in TAO mode. + +- Fixed a problem with cdrecord -msinfo introduced with the the DVD+R/RW + restructuring with cdrecord-2.01a11. The unwanted verbose printing has been + removed with this version. + +- New option -xa to create CD-ROM XA mode 2 form 1 sectors with 2048 bytes + of user data + +- New option -xamix to create mixed CD-ROM XA mode 2 form 1/2 sectors + with 2332 bytes of user supplied data. + +- Restructured sector types to make them usable: + + -mode2 CD-ROM data mode 2 - 2336 bytes + -xa CD-ROM XA mode 2 form 1 - 2048 bytes + -xa1 CD-ROM XA mode 2 form 1 - 2056 bytes + -xa2 CD-ROM XA mode 2 form 2 - 2324 bytes + -xamix CD-ROM XA mode 2 form 1/2 - 2332 bytes + + To write conforming CD-ROM XA multisession disks use cdrecord -multi -xa1 + together with mkisofs -XA -sectype xa1 + +- -cdi is now implemented how it should be: as a flat to change + the TOC type of a CD and not as a sector mode. + +- Track parsing completely restructured to allow new features. + One of the features is to write audio CDs from a pipe, + other features will follow. + +- Cdrecord now resets euid to the uid of the caller (if called suid root) + before it opens data files. + +- Fixed a bug that caused cdrecord to insert two grace wait periods + if a disk was blanked and rewritten in one call. + +- Allow cdrecord to copy audio CDs from a pipe from cdda2wav + without using an intermediate file on disk. + + To copy an audio CD from a pipe (without intermediate + files), first run + + cdda2wav dev=1,0 -vall cddb=0 -info-only + + and then run + + cdda2wav dev=1,0 -no-infofile -B -Oraw - | \ + cdrecord dev=2,0 -v -dao -audio -useinfo -text *.inf + + This will get all information (including track size info) + from the *.inf files and then read the audio data from + stdin. + + If you like to write from stdin, make sure that cdrecord + is called with a large enough fifo size (e.g. fs=128m), + reduce the write speed to a value below the read speed of + the source drive (e.g. speed=12), and switch the burn- + free option for the recording drive on by adding + driveropts=burnfree. + +- New option -abort allows you to send a write abort sequence to a drive. + This may help if other software did leave the drive in an unusable + condition. + +- New 'xio' module allows to open a file virtually more than once to + support CDRWIN CUE sheets in cdrecord. + +- Run Plextor Speedinfo SCSI command in silent mode as old Plextor drives + do not support this command. + +- Workaround for a Plextor (Premium only???) firmware bug that may result + in a B0 pointer A5:A5:A5 instead of FF:FF:FF. + + This made it impossible to blank a freshly written CD-RW witout reloading + the media. Now cdrecord does not check the disk size anymore if the number + of tracks to be written is 0. + +- First CDRWIN CUE sheet support. + + Cdrecord currently supports what is in the CUE sheet description in + the CDRWIN documentation (with a few exceptions). Note that the + examples in the rest of the CDRWIN man page are mostly illegal + if you compare them against the CDRWIN CUE sheet syntax documentation. + + These exceptions are currently in effect: + + - Only one FILE Line per CUE sheet file (This is compliant to the + CUE shet format documentation although the examples show CUE + files with more than one FILE line). NOTE that the CUE syntax has + been ill defined so that it would not make sense to e.g. use + more than one FILE line for audio CDs. + + - The AIFF File type is not implemented (because I have no documentation + for this audio file format). + + - The MP3 File type is not yet implemented. + + - The CDG data type keyword will not yet work + + - The CDI data type keyword will not yet work + + - Only a sector size of 2048 will work with MODE1 + + - Sectors with sector size 2336 will not yet work + + - POSTGAP will not yet work. + + Note that the CDRWIN CUE documentation is bad and it is unclear how + formless (non XA) MODE 2 sectors should be made. + + CDI is not a sector/track property but a disk property. + + The File type BINARY vs. MOTOROLA is unclear. + + To use the cue sheet feature call: + + cdrecord dev=.... -v -dao cuefile=xx.cue + + The main reason for implementing CUE sheet support was to allow to + write VCD/SVCD with cdrecord. It has currently tested with the + test SVCD from ftp://ftp.vcdimager.org/pub/vcdimager/examples/test_svcd/ + + Cdrecord should allow to write audio type CUE sheet based CDs also. + + +- Modified the notes close to the Copyright printing code in cdrecord.c + to make clear that this note is not a deviation from the GPL but just + a memorandum on how to understand the GPL. + +- Fixed a bug in file descriptor handling that caused cdrecord not + to continue at offset xxx in the file after a new track did start. + +- Added a forgotten feature in the CUE Sheet parser so it will now know that + WAVE files use swapped (intel) byte order. + +- Restructured the main program of cdrecord so that cdrecord overall + behaves similar to before when cue sheets are used. + e.g. cdrecord -eject cuefile=xxx did only eject the disk instead of + first writing and then ejecting. + +- Added some hints to the man page to make speed= handling clearer + +- Fixed some typos in the man page + +- Added the -format option to the man page + +- CD-Text handling reworked: + + CD-Text from textfile= or from CUE CDTEXTFILE wins over CD-Text + from *.inf files and over CUE SONGRITER. + +- CD-Text from CUE file (either CDTEXTFILE or SONGRITER) now needs + -text in addition in order to be not ignored. + +- Fixed a bug in the recognition for cdda2wav | cdrecord *.inf + that caused a message + WARNING: Stdin is connected to a terminal. + if not writing from a pipe. + +- Small fix in auinfo.c to again allow compilation on K&R systems + +- Typo fixes for the cdrecord man page + +- The clone write code is now part of the GPL'd source + Note that this part of the code is now more than 2 years old but previously + has been excluded from the publically visible part of the source. + + To understand how to use the clone mode read README.clone + +- New option ts= to set the SCSI transfer buffer size + +- Man page corrected to correctly mention current format for /etc/default/cdrecord + +- call setmode(fileno, O_BINARY) for DOS/DJGPP also + +- Better check if we use the FIFO to avoid core dumps with too small FIFO sizes. + +- Switch off FIFO of fifo size is < 2 * SCSI transferbuffer + +- Fixed a small bug in the man page (..sp instead of .sp). Thanks to Eric Raymond + for reporting! + +- Work around for a problem in the Plextor 708 firmware (at least 1.01..1.02) + that caused cdrecord to be unable to recognize that a DVD medium is present instead + of a CD medium. + +- Changed the GPL clarifications text in a way so Debian people still + agree with me that cdrecord is free software. The clarifications are + needed in order to tell people/companies (like Mr. Rosenkranzer, + RedHat & SuSE) who create broken branches from cdrecord that they are + not legally publishing their branches because they violate the + GPL § 2 Paragraph c) and GPL Preamble Section 6). + + If would be better if the named persons/companies would rather stay + in contact to the Authors, discuss things and contribute to the + community instead of creating useless/broken changes and in case + of SuSE Linux even creating hacks that introduce security risks. + + Note that now, RedHat Linux (enterprise server) or the SuSE Linux + are even more expensive than e.g. Solaris x86, see: + + http://www.osnews.com/story.php?news_id=5416&page=5 + Small Correction to this web page: Solaris x86 is free again for + personal use. + +- Extended the man page to make it more clear that all CD/DVD-writers + ever made use only SCSI commands. + +- Another change to the man page according to a hint from + Eric Raimond in order to get better compliance for troff -> "*ml" + converters. + +- Allow people who cannot provide an e-mail address or who + don't like to support their modifications to modify cdrecord + +- Some CUE sheet modifications in drv_mmc.c now made it into + the official SCCS history file. + +- Several fixes to avoid the need for a #define ident prod_ident + for SCSI Inquiry data. This #define did cause problems with the + latest Sun Studio 8, C compilers + +- Hack to work around a POSIX real time priotity design bug that + causes us to become root again on e.g. Linux in order to be able + to lower the priority of the FIFO background process. + +- Better documentation and EXAMPLE for -setdropts driveropts= + in the man page. + +- print a help message to direct the user to use -raw96r in case + the drive does not accept the cue sheet with -dao. + +- Mark all drives that cannot be accessed because the volume management is + running and no media is in the drive with '?' instead of '*', so they + may be distinct from non existing drives. + + Read README.volmgt for more information + +- Now works again suid root on Solaris 9 + +- Fixed a bug introduced in 2.01alpha by a source consolidation. + cdrecord -toc did not work anymore for CD-ROM readers + +- Updated README.audio + +- Make the CUE Sheet handling search for a file name from a FILE statement + also in the directory where the CUE sheet is found (in case there is no + slash (/) in the file name from 'FILE'). + +- Avoid coredumps when cdrecord is called with -xd and there is no known + driver for the current drive. + +- New option -tao is now needed if you like to write in TAO mode. + Cdrecord now does no longer writes if no write mode has been specified. + +- New option -sao as alias for -dao. As the official name for the write mode + is SAO, -sao is more correct than -dao. + +- Fixes for minor typos in cdrecord.1 + +- Fixed a bug with pad=xxx and pad sizes > 2 GB. + +- Trying to fix a bug introduced lately with the check for specified + write mode options. As a result, only TAO mode writing did work. + +- Better man page & online help for the ts= option. + +- Fixed a typo in the man page. + +- Better error messages when audio size is < 300 Sectors or needs padding. + Thanks to a hint from Stefano Allrath + +- cdrecord -scanbus now checks for 256 SCSI busses + +- cdrecord -scanbus now checks for 256 SCSI busses + This has already been announced for 2.01a28 but forgotten to include + +- Some Man Page Fixes trying to avoid coding problems for non 7-bit ACSII + +- Several typos in the man page fixed + +- Man page enhanced to include a better documentation for the driver= + option. + +- Several other enhancements to the man page + +- modified to avoid GCCs shadowed variable warnings. + +- Cdrecord now tolerates the OPC "error code" "Power calibration area almost full" + to not a real error. + +- Fix for a bug that caused cdrecord to be unable + to reload the media for some drives. + The fix helps with the following problem: + + Trying to clear drive status. + cdrecord: Drive needs to reload the media to return to proper status. + cdrecord: Cannot load media with this drive! + cdrecord: Try to load media by hand. + cdrecord: Cannot load media. + +- man page enhanced + +- Print the "Make sure you are root" only if root privilleges are missing. + +- Avoid warning for not working nice() on DOS + Thanks to Alex Kopylov + +- -clone option documented in the man page. This has been forgotten before. + +- Several typos in the man page fixed + +- Do not try to call nice() on DOS/DJGPP + +- cdrecord now tries to check the DMA speed if the drive supports to read the + drive buffer. If the DMA speed is not sufficient, then cdrecord requires + that burnfree is activated. If the environment variable "CDR_FORCESPEED" + is set or -force has been specified, then cdrecord does not try to enforce + that the available DMA speed is 2x the expected write speed. + +- Make some symbols static to avoid problem with a badly designed libc on + OpenBSD that violates POSIX by pulluting the namespace with symbols + like 'pl'. + + +Cdda2wav (By Heiko Eißfeldt heiko@hexco.de): + +- fixed typo in cdda2ogg.1 + +- Do not use uname() but gethostname() for portability. + +- include unistd.h for abs() + +- old Toshiba's usable again + +- Multisession Non-CD-Extra disks now work again + Now also a lot more broken disks are readable again. + +- not using ioctl in signalhandler any more + +- trying to support sound on Win32 + +- Several changes (mostly OS/2 related) for more ask Heiko + +- bugfix add cdda2ogg manpage,and script and makefile install target + +- support BeOS shared memory and FIFO + +- support soundcard output under QNX + +- windows-users! Cygwin has fixed the bug introduced with 1.3.18. Please + upgrade to the new 1.5.3-1 release. + +- call setmode(fileno, O_BINARY) for DOS/DJGPP also + +- Now using the major() macro for some Linux duties. + + WARNING to creators of Linux distributions: + + It has _always_ been wrong to compile software only once for different + kernel versions (e.g. for compile Linux-2.4 and later install a + 2.2 kernel on the so created system). + + Now that Linux-2.6 introduces incompatible changes to kernel/user + interfaces, the resulting binaries will not work correctly anymore. + +- Made CD-Text handling reentrant to overcome a problem triggered by XCDRoast + +- Now works again suid root on Solaris 9 + +- Fix for a Bug that prevents paranoia statistics from being printed + because the paranoia statistics for the forked version has not been + inside the shared memory. + +- New paranoia sub option paraopts=overlap=xx + + This is mainly a bug fix for cdda2wav. Cdda2wav previously _always_ did + completely deactivate the dynamic overlapping from libparanoia. Instead, + it did set the overlapping to the statical value 0. + + If you omit paraopts=overlap=xx, cdda2wav will now use dynamic overlapping + with -paranoia. + + If you like the old behavior, use: paraopts=overlap=0 + +- New paranoia sub option paraopts=minoverlap=xx + This sets the minimum dynamic overlap + +- New paranoia sub option paraopts=maxoverlap=xx + This sets the maximum dynamic overlap + +- Better paranoia statistics output + +- Fixed a Problem with some Linux sound card drivers that caused cdda2wav to be + unable to output to the soundcard. + +- cdda2wav now checks /etc/default/cdrecord and accepts dev=plextor as + cdrecord does. + +- Trying to add verbose output that estimates the read quality with -paranoia + +- Trying to convert non-ascii characters in user & host names into '_' + for better cddb compatibility. + +- Some Man Page Fixes trying to avoid coding problems for non 7-bit ACSII + +- New option -scanbus + +- Removed some "historical junk" that caused cdda2wav to define a + compile time default input device. This conflicts with cdda2wav -scanbus + and is superfluous and contra productive since cdda2wav reads + /etc/default/cdrecord + +- cdda2wav has signed bitfields of size 1 :-( + +- Fixed a typo in cdda2ogg.1 + +- Bug fix from Heiko for index lists that contain offset values of -1 in the middle + +- Trying to handle interface setup more carefully if SCSI Generic is not + used. + +- Better Debug Code in setuid.c + +- Trying to fix a bug in UID handling on FreeBSD + Thanks to the bugs reports and help from Fabian Keil + +- Try to workaround a bug in GCC that caused incorrect warnings + for "strict-aliasing rules" + + +Readcd: + +- First (hacky) implementation of a way to meter the read speed + as a function of the disk location modeled after a idea from + Markus Plail + + Call: + readcd dev=b,t,l meshpoints=1000 > outfile + then + gnuplot + gnuplot> plot "outfile" w l + + or + + gnuplot> replot "outfile" w l + + if you like to overlay graphs. + +- New option fs=# (same syntax as with cdrecord fs=#) to allow the + user to set the maximum transfer size even in non-interactive mode. + This may help is the OS (as it has been the case for Solaris 9 x86) + reports a wrong maximum DMA size or there is a bug in libscg. + +- Speed printing with meshpoints=# now is based on 1000 bytes == 1 kb + as documented in the SCSI standard. + +- Stop reading if the OS replies with a DMA residual count != 0 + +- New option -factor will cause the read speed values to be printed + be based on the single speed of the current medium. This is only + possible if readcd is able to find out the current medium type. + +- The clone read code is now part of the GPL'd source + Note that this part of the code is now more than 2 years old but previously + has been excluded from the publically visible part of the source. + + Clone writing has been designed to allow to copy complex structured media + like e.g. SVCDs without the need to first do a sector by sector analysis + on the source media. + + To understand how to use the clone mode read README.clone + +- New option ts= to set the SCSI transfer buffer size + +- call setmode(fileno, O_BINARY) for DOS/DJGPP also + +- Now works again suid root on Solaris 9 + +- Better man page & online help for the ts= option. + +- New option -scanbus + +- Fixed a bug with -scanbus (did not work correctly if /etc/default/cdrecord + exists). + +- Added an allocated list of defective sectors, that is printed to the end of + a read operation. + + +Scgcheck: + +- Trying to check if multiple scg_open() requests result in + usable interfaces. + +- Send more outout to stdout instead of stderr. + +- More correct test for max sense count. + +- Eject CD _after_ asking for it. + +- Abor further DMA residual tests if a basic DMA residual test fails. + +- Second open test enhanced. + +- A small fix to prevent a core dump caused by a problem on Mac OS X. + + +Scgskeleton: + +- New Skeleton program as sample and template for programs that like to + use libscg. + + This template has been included to help people like the Author of the + BTC firmware flash program to write simple portable applications that + send arbitrary SCSI commands to arbitrary drives. + + +Mkisofs (By Jörg Schilling and James Pearson j.pearson@ge.ucl.ac.uk): + +- First attempt to support ISO-9660:1999 (Version 2) via -iso-level 4 + This allows 207 chars in filenames if Rock Ridge is not used + ans 197 207 chars in filenames if Rock Ridge is used. + + Note that this as an absolutely nontrivial change. Problems may + even occur when not using -iso-level 4. Please test and report + problems. + + It is not clear whether mkisofs should characters in the range + outside 7-Bit ASCII. Currently, mkisofs allows any 7-Bit ASCII + character except '\0' and '/'. + +- Second attempt to support ISO-9660:1999 (Version 2) via -iso-level 4 + This allows 207 chars in filenames if Rock Ridge is not used + and 197 207 chars in filenames if Rock Ridge is used. + + In version 2.01a01 the extended VD used the wrong signature 1. + This has been corrected. + +- isoinfo is now able to recognize ISO-9660:1999 + +- Enhanced the filename length for graft points to 2x PATH_MAX + +- Abort with a warning message if the total size of the image data + created by mkisofs would differ from the size printed by -print-size + +- udf.c indented according to hints from the program 'cstyle' + +- UDF now uses the same 'now' timestamp as the ISO-9660 part of the FS. + +- New Stream File feature and new options: + + -stream-file-name + -stream-media-size + + This feature has been implemented after an idea from M.H. Voase. + Mkisofs had to be heavily modified to allow this feature. + + A typical usage would look like this: + + star -c . | mkisofs -stream-media-size 333000 | cdrecord dev=b,t,l -dao tsize=333000s - + + The maximum size of the tar archive is 332800 sectors. + Note that only plain vanilla ISO-9660 is possible in this mode. + + +- The final padding that is added by default is now 150 sectors + which is the required size of the track post gap on a CD. + +- Inter partition padding is now only chosen to make the next partition + start on a sector number that is a multiple of 16. + +- isoinfo now also prints root directory extent # in debug mode + +- First step to allow mkisofs to support Kodak Photo CD and + Kodak Picture CD format: + + Try to correctly support associated files in multi-session mode. + + +- Diagnostic programs modified to use ttydefs.h and to have better + portability for the built in "stty" features. + +- isoinfo now prints the ISO-9660 directory flags. + +- Make mkhybrid a symlink to mkisofs instead of a hardlink + + +- getopt.h/fnmatch.h changed to use 'makefiles / prototype.h' based + system instead FSD junk system + +- Removed FSF junk from getopt.c that either created problems + with SCO Unixware or did not compile on AIX + +- Prototype for DVDOpenFile() to avoid warning on SCO UnixWare + related to enum function parameter + +- Fixed a bug with split symbolic links found by Klaus Kopper + with the new debug messages introduced with mkisofs-2.01a04 + +- Changed #if __STDC__ to #ifdef PROTOTYPES for better portability + +- Now using character code translation for 8 Bit characters that + are used with -iso-level 4 (ISO-9660-1999). + +- Fixed a typo in the on-line Usage information for isoinfo + +- New options -XA & -xa + + -XA Generate XA iso-directory attributes with original owner + and mode information. + + -xa Generate XA iso-directory attributes with rationalized owner + and mode information (user/group == 0). + + In the first phase of the implementation you need to specify -R in + addition. + +- Try to support files >= 2 GB. + Note that mkisofs is not yet written cleanly so there may be problems + if files >= are used. In such a case, please report. + +- Create XA "CD-XA001" signature in PVD with -XA or -xa + + In the first phase of the implementation you need to specify -R in + addition to -XA or -xa or no XA signatures will be written. + +- Removed a debug statement that has been introduced to implement + support for filees >= 2GB. + +- This version of mkisofs allows to create sectors with 2056 bytes if the + option -XA or -xa has been used together with -sectype xa1. + This is 2048 bytes + sub-header. + +- -apple does no longer include -R or -r. + If you like to use -apple, you need to use -R/-r or -XA/-xa in addition. + +- New option -sectype SECTYPE / -s SECTYPE + + Possible parameters are: + + data 2048 bytes per sector - the old and current default + + xa1 2056 bytes per sector - this is what you need for a conforming + CD-ROM XA multi session CD. Use -sectype xa1 together with -XA + +- Fixed a bug in the Rock Ridge symlink handling with Continuation records + triggered by '/../' filename components. + Thanks to jmmikkel@bbn.com (Joanne M Mikkelson) + for the fix. + +- man page corrected + +- Moved Eltorito PVD before ISO-9660:1999 enhanced PCD to allow + bootable CD with ISO-9660:1999 + +- -sort file handling fixed: mkisofs now looks for SPACE/TAB whatever + comes last (as documented in the man page). + +- Better error message in case of a stat(2) buffer overflow (too long + filename). This release now prints the file name that caused the problem. + +- call setmode(fileno, O_BINARY) for DOS/DJGPP also + +- Added a NOTE regarding the SILO boot program for Linux sparc to the + man page. + +- Added support for Solaris x86 boot CDs. + This includes the following new options: + + - -sunx86-boot to create a fdisk & SVr4 partition table + + - -sunx86-label to set the "disk label" name for the + SVr4 partition table. + +- New file README.sunx86boot + +- The file README.sunx86boot has been reworked to make it more correct + and contain less typos. + +- Fixed a Rock-Ridge length handling bug in update_nlink()/increment_nlink() (tree.c) + that may have caused an endless loop. + +- "Total extents including sparc boot" Message is now correctly + "Total extents including %s boot" sparc/sunx86 + +- mkisofs now checks /etc/default/cdrecord and allows e.g. + "mkisofs -C 0,1234 dev=plextor ...." as cdrecord does + +- Unclean message ....extents written (%d Mb) changed to + ....extents written (%d MB) to avoid "MegaBit" confusion. + +- Minor change for old UNIX versions like SCO OpenServer to get + smooth compilation on system where mode_t is a short. + +- Fix for a bug in RockRidge name handling for long file names + that need to be split into more than one sector. + Thanks to Patrick Ohly + +- Trying to fix a bug in the multi session time stamp comparing + functions. CE records have not been handled correctly here. + +- Support for PowerPC CHRP Boot added, thanks to + "Leigh Brown" + +- Support for -uid/-gid for UDF Filesystems added + +- isoinfo now is able to list ElTorito Boot information with -d + +- isoinfo now correctly shows long RR filenames from CE Extension records. + +- Fixed a bug in the PowerPC CHRP Boot, thanks to + "Leigh Brown" + +- New options -root & -old-root from Patrick Ohly + This allows mkisofs to be used for "incremental backups" where + each backup is put into a separate directory tree on the CD. + +- Default to System ID "UNIX" for unknown platforms instead of + uning LINUX. + +- Support System ID "SCO-OPENSERVER" and "SCO-UNIXWARE" + +- Better error message when a user tries to create a multi session image + out of a multi-volume image. + +- When doing malloc(), include Null Byte at end of TRANS_TBL data to + avoid memory size conflicts. + +- Fix for a core dump caused by a double free() when doing: + echo bar >/tmp/bar + echo foo/bar=/tmp/bar > /tmp/pathlist + env LD_PRELOAD=libumem.so.1 UMEM_DEBUG=default UMEM_LOGGING=transaction \ + mkisofs -hfs -graft-points -o /tmp/foo.raw -path-list=/tmp/pathlist + + Thanks to Jürgen Keil jk@tools.de + +- Fixed a typo in write.c "Padbock" -> "Padblock" + Thanks to Richard Dawe + +- Trying to fix a problem with comparing relaxed ISO-9660 file names + that contain a ';' which normally is a separator for the ISO-9660 + version number. The fix is in hash.c, please test! + +- Avoid GCCs shadowed variable warnings. + +- Added a comment is in hope to prevent silly people from + e.g. SuSE (who did not yet learn C but believe that + they need to patch other peoples code) from changing a + valid cast into an illegal lhs cast expression. + The cast in the unodified version of write.c is the correct way to + handle the problem. + + It would save a lot of time if people from companies like SuSE + would remember the Open Source software development model and + contact the Author for help rather than introducing proprietary + changes that result in worse and incompatible software variants. + + The way, companies like SuSE deal with Open Source software just + proves that Jonathan Schwartz from Sun is not wrong when he calls + SuSE and RedHat proprietary software companies. Users from Open Source + software expect that companies like SuSE and RedHat are in close + contact with the software developers but they unfortunately are not. + They prefer to create proprietary variants that are usually much + worse than the original software. The only explanation I have for this + behaviour is that SuSE likes to deviate from RedHat and RedHat likes + to deviate from SuSE in hope to get customer retention this way. + While the last 150 years did prove that this proprietary method to + tie up customers works for a limited time, it did always fail after + some time. + +- Removed verbose output for Eltorito boot method when called with -quiet + +- The Eltorito boot catalog and the Eltorito boot files are now by default + sorted to the beginning of the filesystem image as sime BIOS versions don't + boot from locations beyond 512 MB. + +- All programs from mkisofs/diag now support libscg so you may now + use e.g. isoinfo to list end extract from CDs directly on platforms + that do not support a usual driver interface (like on Win32). + +- Set default SYSID to "DOS" for DJGPP + Thanks to Alex Kopylov + +- devdump isodebug isodump isoinfo isovfy + now include libscg and allow to use SCSI devices as input + +- devdump isodebug isodump isoinfo isovfy + now implement a new option dev= to force to use the SCSI + interface from libscg. + +- isoinfo now correctly sets the filemode of stdout to O_BINARY + on DOS alike Platforms like Win32 & DJGPP + This affects the '-x pathname' option + Thanks to Alex Kopylov + +- The options -H/-L/-P from mkisofs have been marked "outdated" + as they are reserved by POSIX.1-2001 for other purposes. + + Mkisofs-2.02 will start to implement the POSIX.1-2001 semantics for + these options. + +- The max. length for the strings in the Primary volume descriptor + is now also documented in the options section of the man page. + +- Speed up by 30% in the case that a directory contains many (> 5000) + pathological file name entries (that _all_ do not differ in 8.3). + +- A minor speed up in devdump & isodump was made by no longer calling + strlen() in the end condition of a for loop (this still was old + code from Eric). + +- fixed a bug with -dvd-video + The bug caused mkisofs not to find the IFO file when VIDEO_TS was not + the first entry in the unsorted source directory. + Thanks to a hint from Johan Borg borg@morth.org + +- The option -volset-size does no longer accept numbers > 1 + + This change was needed because Eric Youngdale did completely + missunderstand the ISO-9660 standard with respect to Volume Set + Sizes. + + A Volume Set is not a numbered set of CDs but a set of CDs that + contains a coherent directory tree that would not fit on a single + volume. + +- Fixed a typo in the mkisofs man page + +- man page enhanced to make clear that the options + -no-split-symlink-fields & -no-split-symlink-components + are most likely not needed as they have been introduced by Eric Youngdale + when serious bugs have been in mkisofs. + +- Changelog updated + +- Try to workaround a bug in GCC that caused incorrect warnings + for "strict-aliasing rules" + +TODO: + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +ftp://ftp.berlios.de/pub/cdrecord/alpha ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + ftp://ftp.berlios.de/pub/star/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-3.00 b/AN-3.00 new file mode 100644 index 0000000..de357a1 --- /dev/null +++ b/AN-3.00 @@ -0,0 +1,3654 @@ +All: + +- Better lint make rules + +- Better autoconf rules for ACLs + +- Better support for Linux on IBM-390 + +- Better support for Linux on AMD x86-64 + +- Better conforming to lint warnings. + +- Now using "makefiles-1.6" + +- Compilation on OS/2 should work again (-Zexe -> -o xxx.$(EXEEXT) + +- The sleeptime to allow reading a GNU mmake related warning was reduced + to 2 seconds. + I am still waiting for GNU make to fix the bugs I did report in 1999. + +- Support for 'make DESTDIR=xxx install' added + +- Workaround for a Shell Bug on BSDi + +- Install workaround for the fact that BSDI has chown(1) in /usr/sbin/ + +- cc-config shell script reworked + +- Better configure tests for procfs include files + +- Configure tests for fchown, chmod, fchmod, lchmod, futimes, lutimes + +- Configure tests for fdopendir + +- Configure tests for broken ext2fs includes files in Linux kernel + +- Better SRCROOT search function in makefiles shell scripts + +- New autoconf tests for broken , & + on various Linux systems + +- astoull*() new in schily.h + +- utypes.h now has MAX_ and MIN_ value definitions for all basic + system types. + +- Support added to compile in 64 bit mode on Solaris Sparc. + Use: smake CCOM=cc64 + +- Support added to compile shared libraries with version + numbers for interface levels and make inofficial "interfaces" + static + +- Prevent gmake to go into an enless loop on Solaris + in case that /usr/ucb/tr is before /usr/bin/tr in PATH + +- Better autoconf error message in case that the expected + C-compiler could not be found. + +- Mac OS X now installs files as root:wheel + +- Supply linker mapfiles for all libraries. This allows cdrtools + to be compiled using shared libraries only and to properly + hide inofficial interfaces on Solaris (using ls) + Note that this feature is not yet available for GNU ld + +- Support for DragonFly BSD added, thanks to joerg@britannica.bec.de + +- Default Cygwin install uid/group adapted to use available ids. + +- New program btcflash added. Thanks to David Huang + +- + If you like all users to be able to call cdrecord root-less, you need + Solaris 10 or newer. + + Edit the file /etc/security/exec_attr and add: + + All:solaris:cmd:::/opt/schily/bin/cdrecord: privs=file_dac_read,sys_devices,proc_lock_memory,proc_priocntl,net_privaddr + All:solaris:cmd:::/opt/schily/bin/readcd: privs=file_dac_read,sys_devices,net_privaddr + All:solaris:cmd:::/opt/schily/bin/cdda2wav: privs=file_dac_read,sys_devices,proc_priocntl,net_privaddr + + If you like to allow only specific user to use cdrecord, + use something like: + + CD RW:solaris:cmd:::/opt/schily/bin/cdrecord: privs=file_dac_read,sys_devices,proc_lock_memory,proc_priocntl,net_privaddr + + instead and make the related users members of the profile "CD RW" + by adding a line like: + + joerg::::profiles=CD RW + + into /etc/user_attr + + Note that you either need to call cdrecord via "pfexec cdrecord ....." + or by using a profile aware shell (e.g. /usr/bin/pfksh) + +- Better support for BeOS/Zeta in the makefile system + +- Support for armv5teb-linux-cc was added to the makefile system + +- Autoconf script added to 'conf' directory + +- On May 15th 2006, I happily announced new features and the release of + the DVD-code into the OpenSource. After long discussions with various + people on OpenSource Licenses and their effects on interproject usage + and the effect on the authors themselves, I contacted the authors of + included parts in this software suite and got, in most cases their + support and grant on selecting the CDDL as the new license. Although + this took some time, it was worth reading the different OpenSource + licenses completely with some support of people working in that field. + + Now I know why it took Sun so much time to offer OpenSolaris under + an OpenSource license...if you take a license change seriously, it is + a real hard job. + +- The file "CONTRIBUTING" has been updated. + +- The makefile system has been completely rewritten to be more reusable + and to not replicate code. + +- The makefile system now supports to compile under "Services For Unix", + now called "Subsystem for UNIX-based Applications (SUA)", + a free POSIX add on from Microsoft (identifies as "Interix"). + Note that you need the latest 'smake' relase smake-1.2a36 or never + from ftp://ftp.berlios.de/pub/smake/alpha/ + Note that there is smake-1.2.1 available on + ftp://ftp.berlios.de/pub/smake/ + + Currently, cdrecord is not able to send SCSI commands from this + environment. I am looking for help from experienced users. + +- The makefile system now supports to compile using the Microsoft + C-Compiler "cl". + Note that you need the latest 'smake' relase smake-1.2a36 or never + from ftp://ftp.berlios.de/pub/smake/alpha/ + This compilation currently may only be cone from a "Cygwin" environment + using smake with the Environment variables set up in a way that allows + "cl" to work (find it's include files and libraries). + + Run "smake CCOM=cl" for this kind of compilation. + + Cdrecord has not yet been verified to compile in this environment. + + Note that I am interested in feedback for these new compile possibilities. + +- New function strlcpy() for better portability. + +- New function strncpy() for better portability. + +- Enhanced Makefile system for better MSVC support + +- Enhanced Makefile system for C++ support + +- Fixed some typos in dirdefs.h + +- New functions getvallargs()/getvargs()/getvfiles() + allow to have a vector based interface to the + advanced argument parsing library functions. + Currently used by mkisofs. + +- getargs.c is now at up to date again and libschily + from cdrtools is 100% complete and may be used + as a shared library to be used by e.g. star too. + +- Added a workaround for a core dump problem with + running avoffset.c on FreeBSD/sparc64 (gcc) + +- libschily now includes a fallback fnmatch() for better portability + This fnmatch() implementation has been taken from th BSD project. + +- Fixed a bug in getvargs() that caused mkisofs -joliet-long to be + declared as illegal option. + +- Several small format enhancements for getargs() + +- getavrgs() is now (like getargs()) able to correctly handle + combinations of single char boolean flags + +- include file system completely restructured to avoid future name conflicts. + The include files now have completely moved to include/schily/. + This also allows to make all include files available in /usr/include/schily/ + in the future. + +- fixed a type in include/schily/termios.h thanks to Steven M. Schweda for + reporting. + +- All libraries now include support for compiling the code as shared library. + The code has been tested on Solaris but should also work in *BSD and Linux. + + In order to compile with shared libraries, either call: + + make LINKMODE=dynamic + + or change the line + + DEFLINKMODE= static + + to + DEFLINKMODE= dynamic + + for your OS in DEFAULTS/Defaults. + + I am interested in feedback for various OS platforms........ + +- The order for compiling the libraries has been changed to make the + compile process insensitive against old static libraris in the + library search path. + +- New Schily autoconf test for gettext() and libintl + +- include/schily/nlsdefs.h now also checks for the existence of HAVE_GETTEXT + +- #undef SIZE_T_MAX in utypes.h for better FreeBSD support + +- make file system restructured: all Schily include files are now located + in ..../include/schily/ + +- Now using new definitions from Steven M. Schweda in + include/schily/xmconfig.h + VMS users: in future, you need to specify cc -DUSE_STATIC_CONF + in order to get the old static configuration. + +- new file schily/errno.h + +- Fixed some files that did include instead of + +- Trying to make the floating point printf() support functions work + on systems that implement C99 only with no fallback. + + As this change is a result from a report from a person that does not like + to cooperate, I was not able to test on the reported AIX-5.x platform. + Also note that this change may result in problems on other platforms. + Please test and report! + +- The Schily Makefilesystem now includes environment definitions + for the Microsoft Studio 8 compiler. If you like to edit these + definitions, check the DEFAULTS directory + +- Next step in supporting Microsoft C-compilers: build in environment + set up for the MS compilers. To compile with the MS C-Compiler, + set up a Cygwin environment and compile a Cygwin 'smake'. + Then use this smake to compile with the MS C-compiler by calling: + + smake CCOM=cl + + This defaults to VC7. If you like to use VC6, call: + + smake CCOM=cl VC=6 + + Note that smake itself (if compiled with "cl") will not work, as + MS does not implement a reliable way to pass a quoted arg vector + to a new program. + + Note that cdrtools do not yet completely compile with MSVC. This + is mostly caused by missing standard compliance in the MS C-compilers. + +- A small restructuring of the include file structure: + new file include/schily/xconfig.h + include/schily/xmconfig.h now only contains manual static configuration + for VMS + +- The Makefilesystem now includes links for sparc64 (Fujitsu-Siemens) + +- Schily includefiles are now installed with "make install". + +- Try to avoid a program exception with a call to access(".", E_OK|F_OK) + caused by a libc bug from the Microsoft C-compiler "cl". + +- The makefile system now supports the Winsock library + +- Correctly cast all open(name, oflag, 0666) calls to: + open(name, oflag, (mode_t)0666) as open is a vararg function. + +- "libvms" new from Steven M. Schweda sms@antinode.org + +- -I. removed from standard c-compiler include path + +- /usr/src/linux/include is no longer included if it contains + broken include files. + + Please send a bug report to the Linux Kernel maintainers in case + that the makefile system reports broken Linux kernel include files. + +- Support for WIN-NT-5.2 (MS-Windows 2003) added to the makefile system + +- No longer using -ztext linker option for creating shared libs with GCC + as GCC does not create 100% correct binaries and this would abort + the process of creating a shared library. + +- Better setup for the environment variables that are needed for the + Microsoft "cl" compiler. + + NOTE: The current setup is for "english" versions of MS-WIN. + You may need to edit the files DEFAULTS/vc6-setup or DEFAULTS/vc7-setup + depending on your locale version and the "c"-compiler version you + are using. + +- Prevent MSVC ("cl") from creating silly messages + like: "... Consider using strerror_s instead." + +- Prevent MSVC ("cl") from complaining about deprecated + option "-ofilename" + +- New autoconf tests for POSIX compliant time functions in libc + +- GCC Warning setup no longer includes -Wtraditional + +- Dynamic libraries are now supported for Mac OS X + +- smake CCOM=xx will now result in writing DEFCCOM=xx into incs/Dcc. + if this is done on the initial make run. + conf/cc-config.sh now has one additional parameter + +- Include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from + DEFAULTS/Defaults.cygwin32_nt already to allow the script + conf/cc-config.sh to detect that "cl" is working. + +- DEFAULTS/vc7-setup & DEFAULTS/vc6-setup now set + .NOWARN: := to tell smake-1.2a41 or newer not to warn + about a nonportable assignment (we do + not have a UNIX "make" in Cygwin). + +- smake COPTX=-DNO_LARGEFILES now allows to compile in non-largefile mode + +- New targets "html" and "htmlx" for Manual page makefiles + allows to convert man pages using "man2html" + +- New include file schily/wchar.h + +- New include file schily/schilyp.h + +- Typo in schily/param.h fixed + +- schily/jmpdefs.h now includes support for sigsetjmp() + +- configure now checks for ctime cftime ascftime strftime and + for libresolv and whether /bin/sh is bash + +- remove libxxx.so link before trying to create it + +- Allow a mixture of static and dynamic libraries to link against + a program + +- Now using cdrecord/version.h for the global version number + +- New autoconf test for struct timeval in sys/time.h + +- New autoconf test for struct timezone in sys/time.h + +- Changed include/schily/time.h to depend on the + new autoconf #defines HAVE_STRUCT_TIMEVAL and + HAVE_STRUCT_TIMEZONE + +- The Schily makefile system is now also passing OS + specific #defines to "configure". + +- New Schily makefile system Target "shell" allows to + call "make shell" in order to get a shell with exactly + the same environment as the compilers will see from + the makefile system. This helps testing. + +- New autoconf test checks whether we need to call + "xx.exe" on a platform. This is needed in order to + be able to call the Microsoft compiler from the + SFU (Services for UNIX) environment. + +- It is now possible to call the Microsoft compiler + from SFU. In order to do this, call "smake CCOM=cl" + + If this does not work, you may need to change the + file DEFAULTS/vc7-interix-setup + +- Trying to better deal with MS winsock2.h oddities in schily/time.h + +- #undef iswalnum ... in schily//wchar.h before defining non wchar fallbacks. + +- config.guess now knows about i386 Darwin (Mac OS X on Intel) + +- Schily makefilesystem enhanced to check for extended + fields in struct utsname as seen e.g. in MS SFU (Interix). + +- New predefined macro OSVERSION in the makefilesystem is needed + for SCO OpenServer 6.x support (because this uses a UnixWare + kernel + +- Trying to support Compilation on SCO OpenServer 6.x + +- New macro $(CC_OUTPUT_FILTER) allows to filter away the + unwanted file name echo from cl.exe. + +- Interix now uses uname -m instead of uname -p for $(OARCH) + +- Makefile support for pentium-4-unixware-cc.rul and + pentium-4-unixware-gcc.rul was added. + +- New autoconf test for libiconv + +- The Schily makefilesystem now by default searches in /usr/local/include + and /usr/local/lib if on FreeBSD. This is needed in order to find + libintl and libiconv. + +- make html and make htmlx now works even on the top level directory + and creates html versions of the man pages + +- fixed a typo in the autoconf test for C99 isinf/isnan + +- Support for SunStudio 12 on Linux was added. + Call "make CCOM=suncc", but note that you then + will not be able to compile Linux specific functions like + support for ext2 file flags. This does not work because the + related include files are not written in clean C. + + Note that nearly all programs from cdrtools depend on libscg + which uses platform specific code for every OS. As the Linux + kernel include files are not written in clean C, you cannot + compile libscg using Sun Studio. If someone from the Linux kernel + team would rewrite the Linux kernel include files to only use clean + C based constructs, cdrecord could be compiled with Sun Studio + compilers. + +- Added a workaround to config.guess to get correct + platform names from "configure" even though suncc + does not #define __ELF__ + +- Linux specific autoconf tests are now only executed on Linux + based platforms + +- Some make rule definitions for Cygwin restructured to allow + compilation with more Cygwin releases. The -D_WIN32_WINNT= + definitions are now only in effect if the selected compiler + is the Microsoft compiler. + +- New include file schily/ioctl.h + +- Added Support to create Blastwave SVr4 packages. + To create a Blastwave package, call: + + .clean + smake -f Mcsw + + You need the program "fakeroot" and will find the results + in packages/ + + Note that this source tree will allow you to create the package + CSWcdrtools but not the packages CSWschilybase and CSWschilyutils + on which CSWcdrtools depends. + + WARNING: libsiconv.a and it's character translation tables (located in + /opt/*/lib/siconv) are not part of CSWcdrtools but of CSWschilybase. + If you do not update CSWschilybase to include the character translation + tables used by libsiconv, mkisofs will not work correctly. + + NOTE: the SVr4 package specific rules are approx. 10 lines of make rules. + It should be simple to create rule definitions for other package systems + found on platforms other than Solaris. Volunteers who like to help + to develop support for other packaging systems are welcome! + +- Added a note to README.compile on how to work around a problem + in /usr/include/linux/types.h that prevents to compile cdrtools + on Linux using the Sun Studio compiler. + +- A workaround against non autoconf friendly code in Cygwin has been + fixed in include/schily/iconv.h (a typo). + +- Compilations with static configuration are now also possible on HP-UX + +- All profiles libraries now have the same name as the non-profiled variants. + To create a profiled version of a command, do something like this: + + cd cdrecord + smake clean + smake COPTX=-xpg LXOPTX=-xpg LINKMODE=profiled + + For GCC use: + + cd cdrecord + smake clean + smake COPTX=-pg LXOPTX=-pg LINKMODE=profiled + +- More locale related autoconf tests (see mkisofs) + +- Handling non-large file aware systems is now more correct + +- Autoconfiguration documentation changed to make clear that $(LIB_ACL_TEST) + is sufficient for "test only" acl applications. + +- New rules ip35-irix-cc.rul/ip35-irix-gcc.rul + +- New rules i586-linux-suncc64.rul x86_64-linux-suncc.rul x86_64-linux-suncc64.rul + +- New autoconf test HAVE_SYS_SIGLIST_DEF checks for sys_siglist[] + definition in signal.h Thanks to Tatjana Heuser for reporting + +- Possibly double #defines HAVE_ICONV HAVE_ICONV_OPEN HAVE_ICONV_CLOSE + in include/schily/iconv.h fixed. Thanks to Tatjana Heuser for reporting + +- The Schily Makefile system has been enhanced to install + the profiled version of the archives in a sub-directory "profiled". + This is done via a new macro SUBINSDIR= + +- New autoconf test checks sizeof(time_t) + +- New autoconf test for the existence of stack_t and siginfo_t in signal.h + +- In order to allow better dealing with Solaris linker Mapfiles, + a getfp() function (calling abort(3)) is created when it is not + possible to implement this function because of compiler constraints. + +- Many other enhancements of the autoconfiguration have been a result + of porting the Bourne Shell into the Schily Makefilesystem. + +- added a make rule to automatically create the directory + ./incs/ + +- A CSWscdrtools Blastwave package may be automatically + created from this source. Simply call: + + smake -f Mcsw + + and check the directory packages/ for the resulting package. + +- Several fixes for the Blastwave compile (smake -f Mcsw): + + - CSWcdrtools now depends on CSWpxupgrade, this allows + to either use a dummy (source) package for CSWpxupgrade + or the binary original package that is under NDA. + + - smake now compiles without /opt/csw/ string in the binary + this makes smake100% relocatable. + + - The sccs package is now a non-relocatable packet + because of /$INS_BASE/ccs/bin/* and because of + $INS_BASE/ccs/lib/locale/ + + - RULES/rules.csw now supports to create non-relocatable + packets by adding PKG_RELOC=no to the leaf Makefile + +- Added an autoconf test for SIZEOF_FLOAT & SIZEOF_DOUBLE to allow + to compile the Bourne shell in 64 bit mode. + +- several modification have been made to fix warning messages from + a "coverity" test run. + +- config.guess now supports the "free" Apple Darwin variants + +- New directory autoconf/ contains the complete Schily autoconf system. + It is based on GNU autoconf-2.13, the latest GNU autoconf that worked + correctly even on older systems. + +- Sources and makefilesystem restructured to allow all needed files to be + retrieved from the SCCS repository and to call "make" later. To achieve + this, all symlinks have been removed from the tarball. + +- The Schily Makefile System now includes rules to recreate the file + "configure" by calling "autoconf". This is needed in order to allow the + complete source tree to be extracted from the SCCS repository. + +- Added a workaround for a GNU make design bug that causes the rules + to create file "foo" to be evaluated _past_ the "include foo" + statement in a Makefile has been evaluated. Note that you still need + GNU make 3.81. GNU make 3.80 and before will still fail to compile + cdrtools because of other unfixed GNU make bugs. + + Note that the basic GNU make design bug has been reported to the + GNU make maintainers and accepted as bug by the GNU make maintainers + in 1998 already. It is still unfixed in GNU make although smake and + SunPro make verify that there is no problem to do it right. + +- New autoconf test AC_CHECK_DLIB() checks for lib members while using + specified include files. This is a workaround for the autoconf hostile + gettext() and iconv() implementations on Linux. + +- The gettext()/iconv() tests have been rewritten to use AC_CHECK_DLIB() + +- The autoconf test AC_FUNC_VFORK from Paul Eggert was not written in + clean C and thus failed on a ANSI-C compiler, assuming that vfork() + is not available in the ANSI case. + +- README.compile fixed to refer to READMEs/README.gmake instead of + README.gmake + +- Symlink support in RULES/MKLINKS added for ia64-hp-ux-cc.rul and + ia64-hp-ux-gcc.rul, thanks to a hint from Steven M. Schweda + +- DEFAULTS*/Defaults.dragonfly added + Thanks to a hint from Thomas Klausner + +- Added a workaround for a Sun make bug + +- Next attempt wo work around the non-autoconf friendly implementation + of GNU gettext and GNU libiconv. + +- A new autoconf test allows to check whether the installed system shell + (/bin/sh) properly aborts with failed commands in "sh -ce 'cmd'". + + If failed simple commands in "sh -ce 'cmd'" do not abort complex + commands, "make" will not stop on errors in the build process. + Note that this is a definite POSIX incompatibility. + + The most well known defective shell with respect to this problem is "bash" + but /bin/sh on HP-UX-10.x (a Korn Shell modification) does not work + correctly either. If your system (Linux, HP-HX, ...) suffers from this + problem, I recommend to fetch the Schily Source consolidation from + ftp://ftp.berlios.de/pub/schily/ + Use a version that has been published past September 1st 2008, compile + and install the contained Bourne Shell as "/bin/bosh". Then call + "./.clean" and compile again. The resulting "smake" will then + automatically call "/bin/bosh" instead of "/bin/sh" in order to + execute commands. + +- Several Makefiles have been modified to support not only "make all" + but also "make install" without calling "make all" before. This was needed + after the change that omits the symlinks from the tar archive. + Thanks to a report from Klaus Ditze + +- Extended the file COPYING to mention that the GPL used by the "mkisofs project" + requires to publish the full source for all parts of mkisofs in case that you + publish mkisofs binaries. + +- Added a new Changelog file for the changes since cdrtools-2.01 + +- RUlES/rules.prg no longer includes a line with SHELL=/bin/sh. + This is needed to allow to implement a workaround for various bash + bugs that affect makefiles in case that /bin/sh is linked to bash. + + If your platform installs bash in /bin/sh (Linux, ....) or in case + that your platform offers a broken variant of the Korn Shell in /bin/sh + (like HP-UX), fetch the "Schily source consolidation" from + ftp://ftp.berlios.de/pub/schily/, compile everything and install the + original Bourne Shell, that comes with this packet, into /bin/bosh. + If you then call ./.clean and re-compile everything, you get a "smake" + that calls /bin/bosh instead of the broken system shell. + +- Added an autoconf test for POSIX violations found in POSIX.1-2008. + + The official POSIX rule is not to define "new" interfaces that + are in conflict with older interfaces of the same name. + Our interfaces fexec*() have been defined and published in 1982. + The new POSIX interfaces define a different interface and the + new POSIX interfaces even use names that are not compatible with + POSIX rules. The new POSIX interfaces in question should be called + fdexec*() to follow the rules of other similar POSIX functions. + Similar problems exist with getline()/fgetline(). + + We try to automatically rename our functions in case that the functions + could be found in the local libc. + +- Config.sub now supports NetBSD on AMD64 + +- The email addresses in many files have been updated. + +- config.sub and config.guess now support ATARI MiNT + +- All needed definition files for ATARI MiNT are now in RULES/* + +- configure now checks whether shmget() works (needed for ATARI MiNT) + +- The GNU linker on Linux now seems to support -R to set the LD_RUN_PATH + Added support for -R + +- Added definitions to allow dynamic linking with the Sun Studio compiler + on Linux + +- Added a new #define (NO_ACL) that allowed to disable ACL support via + command line when compiling + +- include/schily/libport.h split into include/schily/libport.h and + include/schily/hostname.h to allow to avoid to include netdb.h for + applications that do not need gethostname() and getdomainname() + +- include/schily/prototype.h now includes the definitions for const... + +- new autoconf test to check whether the Sun Studio compiler needs + -xarch=generic64 or -m64 for 64 bit compilation. + +- Default install user changed from "bin" to "root". + +- The install-sh script now complains if an attept was made to install + a program suid or sticky and the install user has no root privileges + +- The makefile system has been modified to allow a separate set-up + for the install path of the configuration files to e.g. /etc/ + via the DEFAULTS variable INS_RBASE + +- New autoconf test to distinguish between the free of charge + "Bundled" cc on HP-UX and the commercial cc. Only the commercial cc + supports ANSI C and the Bundled cc complains when the ANSI Options + are used: + + (Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored. + (Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored. + + These warnings are no longer present. + +- schily/schily.h now auto-includes stdio.h in case that the platform + supports the new POSIX.1-2008 getline()/fgetline() functions that + violate against general POSIX rules and thus overlay our implementation + that exists since 1982. + +- schily/stkframe.h now uses Intptr_t for the fr_savp member to make it + work correctly on 64bit systems without OS supplied stkframe.h. + +- New autoconf test on whether unistd.h defines extern char ** environ. + +- New file schily/stdio.h to simplify layering. + +- New Make rules for Syllable. Syllable is a fork from AtheOS. + +- New make rules for Haiku + +- New include file schily/sysexits.h is needed for Haiku + +- New autoconf test for sysexits.h + +- Autoconf tests for os2.h and os2me.h moved from cdda2wav to + global + +- config.guess and config.sub now have support for Haiku + +- New rule support for linux on "sh3", "sh4" and "sh4a" platforms. + +- autoconf now acts more reliable and more orthogonal with AC_CHECK_TYPE() vs. + AC_CHECK_SIZEOF() and carefully includes include files separately based on + fine grained tests. + +- Changed schily/dirent.h to correctly set up NAME_MAX on ATARI MiNT + +- Changed schily/maxpath.h to correctly set up NAME_MAX on ATARI MiNT + +- Add -D_GNU_SOURCE to the standard include flags for Linux in order + to unhide needed extensions. + +- Trying to add support for compilation on WIN64 using cl and gcc + +- Adding support for NT-6.0 (Win Vista) and NT-6.1 (Win 7) + +- Several typo corrections + +- New include file include/schily/wctype.h + +- New autoconf test that checks for the differences between the original + iconv() implementation from Sun and the deviating POSIX standard. + This allows to avoid compiler warning messages for mkisofs. + +- Trying to work around nasty Linux distributions that try to fool autoconf + function tests and thus may result in incorrect results for the functions + fexecl fexecle fexecv fexecve fspawnv fspawnl fspawnv_nowait getline fgetline + +- New include files include/schily/dlfcn.h and include/schily/shcall.h + +- New autoconf tests for dlopen() and similar functions + +- Fixed a typo in include/schily/fnmatch.h that prevented compilation on BeOS + +- Fixed a typo in include/schily/libport.h that prevented compilation on BeOS + +- New makefile "Mocsw" allows to create packages for "opencsw" + +- RULES/rules.csw enhanced to allow to overwrite EMAIL= and HOTLINE= from + the make command line. + +- New autoconf test for getprogname()/setprogname() + +- Support for using Microsoft "cl" to compile 64 bit binaries from Cygwin now + has been finished + +- Support for 64 bit compilation on mac OS X was added. + Call make CCOM=cc64 as on other platforms. + +- $OLIBSDIR is no longer in the RUNPATH + +- New include file include/schily/limits.h + +- Make sure that all include files in include/schily/ include + include/schily/mconfig.h + +- wide character support new + +- New makefile "Mocsw" sets defaults for "opencsw" instead of Blastwave. + Mcsw for Blastwave of course continues to exist + +- New defaults directory DEFAULTS_CSW includes special defaults that + compile e.g. for Sparc-V8 in order to get working binaries for older + Sparc non 64 Bit hardware. + +- New autoconf test HAVE_SETBUF and HAVE_SETVBUF + +- Several modification in hope to better support MINGW + +- New include files include/schily/ctype.h, include/schily/pwd.h + and include/schily/grp.h + +- All programs are now using schily/stdio.h + for orthogonality. + +- Haiku default install dir is now /boot/opt/schily + +- New rules RULES/os-cygwin_nt-6.0-wow64.id and + RULES/os-cygwin_nt-6.1-wow64.id support Cygwin on 64bit + installations of Win Vista and "Win 7". + +- New rules for compiling 64 Bit binaries on cygwin_nt-wow64 + NOTE: You need to have a 64 bit aware gcc on Cygwin to use this! + +- TEMPLATES/temp-gcc.rul and TEMPLATES/temp-xcc.rul + now correctly include cc-gcc.rul and cc-dumb.rul and thus + make the automake feature working again for completely + unknown platforms. + +- Fixed RULES/rules.inc to make sure we install xx.h instead of + xx.h.exe + +- Workaround an infinite hang in an autoconf test on 64 Bit Vista + with Cygwin + +- Include limits.h in schily/hostname.h for Linux + +- Several "%s" formats have been introduced in order to make gcc-4 + happy even though the original strings have been pointer to constant + and well known strings + +- Change the option order in the autoconf test for calling the linker + in order to avoid problems with the microsoft linker. + +- include/schily/wait.h now includes process.h on DOS systems + +- include/schily/resource.h new include file + +- include/schily/select.h new include file + +- Now all sources use schily/systeminfo.h instead of sys/systeminfo.h + +- Now all sources use schily/assert.h instead of assert.h + +- Now all sources use schily/priv.h instead of priv.h + +- Now all sources use schily/procfs.h instead of profcs.h + +- Now all sources use schily/syslog.h instead of syslog.h + +- Now all sources use schily/float.h instead of float.h + +- Now all sources use schily/ipc.h instead of sys/ipc.h + +- Now all sources use schily/sem.h instead of sys/sem.h + +- Now all sources use schily/shm.h instead of sys/shm.h + +- New autoconf test for "#pragma weak" + +- The schily makefilesystem now by default sets all locale related environment + variables to "C" in order to avoid problems. + +- Make the makefile emulation mode for "non-automake aware" make programs + like SunPro Make and GNU make more immune against oddities in the tr(1) + program that are seen with a locale that differs from LC_ALL=C + Another step to prevent some tr(1) oddities was to replace the call to + tr(1) by a call to sed(1). + +- Added GMAKE_NOWARN=true to allow to disable the gmake warning with nested + make files + +- Enhanced include/schily/priv.h to distinct Solaris and AIX process privileges + +- New include file include/schily/math.h + +- Try to workaround a problem with GCC on newer AIX versions. It seems that + e.g. gcc on AIX is not C99 compliant and does not support isnan(). + + Note that the current solution may compile and run on newer AIX versions + but does not seem to be the optimal solution as it cannot check whether + a float is a number or not. + +- *BSD comes with a broken sed(1), so we need to go back to tr(1) based + code for GNU make in the Schily Makefilesystem. + +- Added support for amd64-netbsd-cc.rul to the Schily Makefilesystem + +- Added support for DragonFly BSD to config.guess and config.sub + +- Added support for 64 bit compilation on HP-HX using "cc". + Use make CCOM=cc64 as usual to switch to 64 bit compilation. + +- Prevent a compiler warning when compiling 64 bit binaries on HP-UX + using make CCOM=cc64 + +- Some files in include/schily/*.h have been enhanced to better support VMS + +- config.guess now knows about OpenVMS + +- Changed bash test to use --version instead of -version as bash on OpenVMS + is bash-1.x + +- include/schily/xmconfig.h (containing a "static" configuration for VMS + because "configure" does not work on VMS) was enhanced. + +- Trying to add support for OpenVMS to RULES/* + +- New autoconf tests for the type "long double" and a new "max size" type. + +- VMS rules for libraries not create an archive XXX.olb instead of libXXX.a + +- schily/utypes.h enhanced to allow to define maxint_t which is + missing on VMS + +- Better autoconf test for union wait vs. int for platforms that + define union wait but use int as wait() parameter. + +- schily/vfork.h now includes unistd.h as the related definitions + are there on Solaris + +- Fixed a configure bug with opendir() inherited from GNU autoconf + +- Enhanced the vfork() autoconf test to avoid a hang on VMS + +- Support for 64 Bit compilation was added for IRIX. + Call smake CCOM=cc64 or smake CCOM=gcc64 as usual. + +- C++ compilation support fior IRIX was added to the makefile system + +- Schily Makefile rules no longer contain Simple Suffix Rules. + All default rules are now based on Pattern Matching Rules. + This speeds up smake. + +- Added autoconf test to distinct Linux ACLs from IRIX ACLs + +- Added support for Hurd on i686 to the Schily Makefilesystem. + +- Modified conf/mkdir.sh to work around a deviation found in + /usr/xpg4/bin/sed on Solaris + +- Modified conf/src-get to include conf/src-get in PATH to make + recursive calls to src-get work. + +- include/schily/stat.h now supports nanosecond timestamps in struct stat on AIX. + +- New autoconf test for nanosecond time stamps on AIX. + +- conf/mkdir.sh + +- conf/mkdep-aix.sh was changed to avoid warnings for #pragma weak a = b + as the IBM C-compiler calls a non "#pragma weak" cpp when called with -E + +- Added support for DragonFly/x86_64 + +- Support for "pcc" on Solaris x86 was added as a first step. + The C-Compiler "pcc" http://pcc.ludd.ltu.se/ is based on the + Portable C-Compiler from AT&T from the late 1970s. It is + under BSDl and thus offers compilation with a really free + build environment. + + Note that due to a pcc bug, the autoconf results for + Large File support are incorrect. Unless you edit the file + incs/i386-sunos5-pcc/xconfig.h and manually correct the + file to contain this: + +#define _FILE_OFFSET_BITS 64 /* # of bits in off_t if settable */ + + You will not get working large file support. + + Support for more Operating system will follow after the issues + in the compiler have been resolved. + +- New autoconf test checks whether fnmatch() has a working FNM_IGNORECASE + +- New autoconf test for strlcat() wcslcat() strnlen() wcsnlen() + +- Trying to add support for 32 bit compilation on newer Mac OS X + version via smake CCOM=cc32 + This only works if 32 Bit development support is installed on Mac OS X. + +- Trying to add support for 32 bit compilation on newer Linux + version via smake CCOM=cc32 + This only works if 32 Bit development support is installed on Linux. + +- include/schily/wchar.h now includes support for the mbr*() multi-byte + character handling routines. + +- include/schily/regex.h added + +- include/schily/libgen.h added + +- New autoconf tests for basename() dirname() strndup() wcsndup() + mbsinit() mbrtowc() wcrtomb() + +- New autoconf tests for wctype_t mbstate_t + +- A new make macro STRIPFLAGS allows to install stripped binaries by calling + smake STRIPFLAGS=-s install + +- Conf-files in /etc/default are now installed 0644 by default + +- Man pages are now by default installed in $(INS_BASE)/share/man + The base directory "share" may be changed by calling + + smake DEFMANBASE=something + +- README.compile now mentions: + + INS_RBASE= Set different "root" install path + DEFMANBASE= Set different man base directory + STRIPFLAGS=-s Strip all binaries with "make install" + RUNPATH= Overwrite ELF RUNPATH + DEFUMASK= Set different default permissions for + creating directories + DEFINSUMASK= Set different default permissions for + creating directories in the install path + +Libschily: + +- Fixed a typo in fconv.c that caused problems on IBM AIX5. + +- mem.c moved from libfind/ to libschily/ + +- getnum()/getllnum() & gettnum()/getlltnum() have been moved to libschily + +- printf()/fprintf()/sprintf()/snprintf() have been removed from libschily + we now use js_*printf() instead via -DSCHILY_PRINT + +- Workaround for a Mac OS X linker bug + +- New set of functions: __jmalloc()/__jrealloc()/__jsavestr() + +- New set of functions: __fjmalloc()/__fjrealloc()/__fjsavestr() + +- New set of functions: fcomerr()/fcomerrno()/ferrmsg()/ferrmsgno() + +- getargs() now allows '+' to appear in strings like "longopt=" + +- __fjmalloc()/__jmalloc() now allow to specify JM_EXIT to exit() instead + of calling siglongjmp() + +- New function file_getraise() to get the current file "raise value". + +- getargs() enhanced to fully support POSIX Command line rules + +- snprintf() is again compiled into libschily in case that the function + is missing on the current platform. + +- Fixed a bug in checkerr.c that was caused by the fact that errflags() + did try to modify it's string argument. + +- The schily *printf routines now correctly support the %j format (intmax_t) + +- getargs now first checks whether an argument can be a combination of + several single char flags before starting to set values. + +- changed __malloc() -> ___malloc() for the ongoing ATARI Port +- changed __realloc() -> ___realloc() for the ongoing ATARI Port +- changed __savestr() -> ___savestr() for the ongoing ATARI Port + +- Added sleep.c and gettimeofday.c that emulate sleep() and gettimeofday() + when using MSVC + +- Try to rename ecvt()/fcgt()/gcvt() in case that one of these functions + does not work and the libc implementation does not allow to overwrite the + function. + +- New functions eaccess() and findinpath() + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- format() now supports %z for size_t and %t for ptrdiff_t + +- fexec now correctly works on Haiku and BeOS + +- Code in libschily/fexec.c cleaned up for better readability + +- libschily/checkerr.c now correctly handles the "WARN" directive. + +- wide character support new + +- several str*.c functions new for orthogonality with the new wcs* code. + +- Added a wide character patern matcher with: patwcompile(), patwmatch(), patwlmatch() + See files: + + libschily/matchw.c and libschily/matchwl.c + +- libschily/stdio/*.c fixed to use size_t as length parameter for + read*()/write*() operations. + +- libschily now is thread aware and uses the thread specific errno + value on Solaris, Linux and FreeBSD. + +- libschily/fconv.c reworked to deal with non-C99 compliant systems and to deal + with the constraints found in HP-UX-11.11. + +- libschily/*bytes.c now support 64 bit compilation and use a "ssize_t" + typed count parameter instead of "int". + +- libschily/spawn.c now uses vfork() + +- libschily/fexec.c now supports IO redirection on VMS + +- Removed some GCC warnings from libschily/getargs.c + +- Schily fnmatch() now supports FNM_IGNORECASE + +- New files strlcat.c wcslcat.c strnlen.c wcsnlen.c + +- fnmatch.c now supports multi byte characters. + +- New files basename.c and dirname.c + +- New files strndup.c and wcsndup.c + +- A new algorithm in + strncat.c strncmp.c strncpy.c strnlen.c wcsncat.c wcsncmp.c wcsncpy.c wcsnlen.c + makes the code faster and smaller. + +Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +- Changed from GPL to LGPL with permission from Monty. + +- paranoia_init() interface change to work around a deficit + in the Mac OS X linker. + +- "make install" now also installs the READMEs and other documentation to + ..../share/doc/libparanoia/ + +- Fixed some minor problems with K&R compilers + +- Set a useful default for the dynamic sector overlap start sector + in case that the dynamic sector overlap limits are manually changed + +- Plenty of new comments taken from cdparanoia-III-10.2 + This doubles the size of the code! + Thanks to Monty (xiphmont@mit.edu) + +- i_paranoia_overlap_r() does not longer increment beginA/beginB after the + match was found searching backwards. Taken from cdparanoia-III-10.2 + +- paranoia_free() now also frees p->cache and p->fragments taken from + cdparanoia-III-10.2 + +- Some numerical values used in paranoia.c have been replaced by + FLAG_* definitions. + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Some #define inline definitions removed as "inline" is already + handled by schily/mconfig.h + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- Changed from GPL to CDDL with permission from Heiko + +- New Reed Solomon decoder from Heiko allows to repair defective + CD-ROM sectors. Note that this code is from ~ Y2000 and note that + I did discuss OpenSource activities for the Reed Solomon Decoder + and the Cdrecord DVD support code with Heiko at that time. + We did agree in 2000 to make both OpenSource at the same time. + +- #define memmove() to movebytes for libedc_dec if memmove is missing. + +- Fixed array index overrun in L1 coder. Thanks to Heiko Eißfeldt. + The problem was reported by the coverity test. Note that the L1 coder + is not used by cdrtools. + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Avoid some GCC warnings + +Libcdrdeflt: + +- This is a new library that has been introduced as many programs like + to parse the content of /etc/default/cdrecord + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +Libdeflt: + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- lbdeflt needs to be compiled before libcdrdeflt when creating + dynamic libs + +Libfind: + +- The libfind code (developed as part of the sfind(1) command) has been added + in order to support "mkisofs -find ..." + +- libfind no longer uses static global data. This version of libfind + is the first real library version that even allows to implement + the find(1) program in less than 200 lines of code. + +- -perm now correctly recognises argument parsing errors by + dealing with the fact that mode_t is unsigned. + +- Is now quiet on NFSv4 ACLs (ZFS) although it still does not support them. + +- getnum()/getllnum() & gettnum()/getlltnum() have been moved to libschily + +- Using js_*printf() instead of *printf() via -DSCHILY_PRINT + +- Avoid a core dump caused by probably uninitialized data + when using -exec ... {} + + +- Workaround for a Mac OS X linker bug + +- find_parser() now does no longer call exit() on errors. + +- New funtion b_find(int argc, char ** argv, vound * dummy) + implements the ksh93 builtin function interface + +- b_find() sets the flag WALK_NOEXIT for treewalk to make sure that + the complete find implementation does not call exit() anymore. + +- new function walkinitstate() + +- Libfind is now close from the final state + +- Added README file to the directory libfind/ that help to learn how + to create a complete find(1) command, a "bsh" find builtin and a + ksh93 find builtin using libfind. + +- libfind has been restructured to allow it to be used as builtin function + inside shells like e.g. "bsh" and "ksh93". + +- libfind now allows I/O redirection (needed for shell builtins). + +- libfind now may be told to check for abort situations (needed for + shell builtins in order to check for abort on ^C). + +- New function find_free() + +- Libfind no longer leaks memory if called with a commandline with + syntax errors. + +- find_list.c now #ifdefs names like S_IFLNK + +- -size now understands things like -size +10m + +- the function getperm() has been moved to libschily + +- find_main() now supports to propagate a different environment + (e.g. with a different PATH) to fexec()) + +- libfind (used by sfind, bsh, star, mkisofs) fixed the -exec {} + + implementation. Before the fix, it could core dump if the built-in + xargs(1) would exactly fill up args to the size of ARG_MAX. + +- This is the final step to make libfind a "real" library + +- find.h walk.h fetchdir.h idcache.h moved to include/schily/ + +- A bug in libfind was fixed that causes + + find . -size -20k -ls + + to check for files smaller than 20480 Blocks instead of + looking for files smaller than 2084 characters. + +- & before some functions removed + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- libfind now correctly deals with ARG_MAX in case that + the bitness of the libfind executable differs from the bitness + of the executable called by -exec name {} + + +- Fixed a typo in idcache.c + +- let libfind deal with the differences between Linux ACLs and IRIX ACLs + +- Added $(LIB_ACL_TEST) to the libs for libfind to allow a shared libfind + with ACL support on Linux. + +- Fixed a bug in libfind/walk.c (calling strcatl() with last parameter 0 + instead of (char *)0) + +- New file libfind/find_tok.h to separate the token names from the rest of the implementation. + +- Moved token definitions from find.c to find_tok.h + +- The primary -perm now implements a new feature: + + -perm +mode will evaluate as true if any of the bits set in mode are set in the + permission bits fro a file. + +- New primary operators: + -amin deprecated - only for GNU find compatibility + -cmin deprecated - only for GNU find compatibility + -mmin deprecated - only for GNU find compatibility + -empty TRUE zero sized plain file or empty directory + -execdir program [argument ...] \\; + -fls file list files similar to 'ls -ilds' into 'file' (always TRUE) + -fprint file print file names line separated into 'file' (always TRUE) + -fprint0 file print file names nul separated into 'file' (always TRUE) + -fprintnnl file print file names space separated into 'file' (always TRUE) + -ilname glob TRUE if symlink name matches shell glob + -ilpat pattern TRUE if symlink name matches pattern + -iname glob TRUE if path component matches shell glob + -ipat pattern TRUE if path component matches pattern + -ipath glob TRUE if full path matches shell glob + -ippat pattern TRUE if full path matches pattern + -okdir program [argument ...] \\; + -print0 print file names nul separated to stdout (always TRUE) + -executable TRUE if file is executable by real user id of process + -readable TRUE if file is readable by real user id of process + -writable TRUE if file is writable by real user id of process + +- Libfind Version is now 1.5 + +Libfile: + +- Workaround for a Mac OS X linker bug + +- Using js_*printf() instead of *printf() via -DSCHILY_PRINT + +- Better portability for strerror() in file.h + +- The license has been changed from a license (similar to a BSDl 4 clause) + to a new BSDL 2 clause license with permission from all involved authors. + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Some changes for better VMS support + +Libhfs_iso: + +- Workaround for a Mac OS X linker bug + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Removed a warning from the HP-UX C-compiler about a possible endless loop + +Libsiconv: + +- New library libsiconv replaces libunls. + + The new concept for libsiconv saves ~ 130 kB of executable space in + mkisofs and allows to use iconv() if it is present on the current + platform. + +- sic_open() now allows to be called with a NULL pointer argument + +- sic_list() now returns the number of listed translations + +- Deactivate TAB_SIZE check for K&R compilers. They cannot + do complex math in cpp. + +- Changed sic_nls.c to allow compilation on SCO OpenServer-5.x and + other compilers that set __STDC__ to 0 and are not at least + fully C89 compliant. + +- libsiconv/sic_nls.c modified to allow compilation with older GCC + versions. + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Fixed a copy/paste error from libsiconv. Libsiconv now correctly + initializes duplicated data structures to prevent core dumps. + Thanks to Jörg Sonnenberger for reporting. + +- Fixed a problem in libsiconv in case that the the locale is specified as + "iconv:name". + +- Add the VMS C-compiler to the list of exceptions for not fully C99 compliant + compilers to allow compilation. + +- libsiconv now supports sic_close() + +Libscg: + +- Modified the remote SCSI library stuff that has been changed due + to a security problem on order to make it compile again on HP-UX. + +- Trying to introduce a workaround for broken & + on various Linux systems. + +- Trying to introduce a workaround for the changed SCSI generic Linux + Kernel interface from Linux-2.6.8.1 and newer. + + Be very careful with testing. The Linux adaption layer for libscg + is already full of workarounds for bugs, unstable interfaces and + unwillingness of the Linux Kernel maintainers to give access to the + needed information for libscg. I am not sure whether this workaround + will not have problems. It has been tested on a Pegasus PPC running + Linux-2.6.8.1 + +- Autoconf test for broken Linux sg.h headers added + +- if libscg is compiles on newer Solaris systems, the warning: + + "Warning: Volume management is running, medialess managed drives are invisible.\n" + + is no longer printed. + + Since Solaris 11 Build 21, vold no longer hides empty drives + that are under volume management. This now allows cdrecord to be even + used to close the tray while vold is running. + + The criteria used to decide whether Solaris is "recent enough" is + #ifndef SEEK_HOLE + The definition SEEK_HOLE has been added with Solaris 11 Build 14 + while the fixed vold appears in Solaris 11 Build 21. + +- Support for root-less cdrecord using fine-grained privileges. + Remote SCSI not tests for PRIV_NET_PRIVADDR instead of (geteuid() == 0) + + If you like all users to be able to call cdrecord root-less, you need + Solaris 10 or newer. + + Edit the file /etc/security/exec_attr and add: + + All:solaris:cmd:::/opt/schily/bin/cdrecord: privs=file_dac_read,sys_devices,proc_lock_memory,proc_priocntl,net_privaddr + All:solaris:cmd:::/opt/schily/bin/readcd: privs=file_dac_read,sys_devices,net_privaddr + All:solaris:cmd:::/opt/schily/bin/cdda2wav: privs=file_dac_read,sys_devices,net_privaddr + + If you like to allow only specific user to use cdrecord, + use something like: + + CD RW:solaris:cmd:::/opt/schily/bin/cdrecord: privs=file_dac_read,sys_devices,proc_lock_memory,proc_priocntl,net_privaddr + + instead and make the users members of the profile "CD RW" + by adding a line like: + + joerg::::profiles=CD RW + + into /etc/user_attr + + Note that you either need to call cdrecord via "pfexec cdrecord ....." + or by using a profile aware shell (e.g. /usr/bin/pfksh) + +- Support for root-less cdrecord using fine-grained privileges. + Remote SCSI not tests for PRIV_NET_PRIVADDR instead of (geteuid() == 0) + This is now active since the needed autoconf code is out. + +- BeOS/Zeta libscg low level adoption code fixed. + The code now is passing a "scgcheck" test. + +- Changed from GPL to CDDL + NOTE: The libscg code may only be used together with other + code that is under an approved OpenSource license, + see http://www.opensource.org/. + +- scsi-apollo.c & scsi-hpux.c indented properly to follow Cstyle + +- scsi-linux-ata.c cast added to avoid strange warning from GCC + caused by bad coding style in the Linux kernel. + +- scsi-linux-ata.c trying again to add workarounds for new Linux + Kernel self-incompatibilities: Adding the same uid workaround + as for scsi-linux-sg.c. Note that I am not sure if this is the + only incompatibility that has been added with Linux-2.6.16, it may + be that they did also break the behavior of seteuid(). + Please help me with further testing and debugging. + +- Warn Linux users to prefer dev=ATA: over dev=ATAPI: + +- Print correct error message (using the right errno) in case that + libscg tries to open more than one file on Solaris. + +- Bumped libscg version to 0.9 + +- Trying to support FreeBSD Kernel under non-FreeBSD (GNU) userland + +- New interface function scg_numbus() returns the number of SCSI busses. + +- Trying to work around a Linux design problem that has been introduced + about 3 years ago when Linux stopped to support an orthogonal SCSI + Kernel transport for all SCSI devices. Since then, ATAPI drives are + handled different from other SCSI devices. The problem is that + the linux maintainers intentionally reduce the information that + is available in the kernel and this way prevent to allow libscg to + only show only unique drives. + + libscg now tries to map ATAPI drives to SCSI bus numbers >= 1000. + cdrecord -scanbus should now show even ATAPI drives. This allows + cdrecord/readcd/cdda2wav to implement the auto-target feature even + on Linux. + +- Try to deal with broken Linux distributions that do not provide a "HZ" macro + in /usr/include/sys/param.h + +- Use USER_HZ in favor of HZ (if available) for computing SCSI timeout values. + +- Disable automatic ATA (dev(hd*) integration and scan on pre-Linux-2.6 systems. + +- Try to skip non-POSIX compliant EROFS error codes when opening /dev/hd* + +- Trying to implement a workaround for a Linux USB DMA size problem by implementing + support for a new ioctl proposal from Alan Stern + + UPDATE: It seems that the final fix in the Linux kernel will take some time + and will be incompatible to the current patch. For this reason, I decided to + make the intermediate patch available at: + ftp://ftp.berlios.de/pub/cdrecord/alpha/Linux-USB-DMA-Size.patch + +- Using js_*printf() instead of *printf() via -DSCHILY_PRINT + +- add the new scg_numbus() to the Solaris linker map file + to allow again dynamic linking + +- scg_numbus() function for FreeBSD corrected to make cdrtools work again. + Thanks to a hint from Joseph Terner + +- Better help message for Mac OS X with dev=help + +- Detect & correctly handle SCSI send permission problems with USCSI and Solaris + +- scg/scgcmd.h upgraded to be sharable with the "scg" Solaris kernel driver + +- scg/scgio.h upgraded to be sharable with the "scg" Solaris kernel driver + +- Allow libscg to correctly compile in 64 bit mode on amd64 Solaris + platforms + +- "make install" now installs the libscg include files into $(INS_BASE)/include/scg/ + +- aspi-win32.h and spti-wnt.h now in SCCS + +- Included a patch for the CAM interface from the FreeBSD people. + The patch sets up the CAM data structures in a way that allows + SCSI bus and target scanning. + +- Unneeded code from libscg/scsierrs.c removed + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Avoid some GCC warnings + +- New SCSI low level transport for ATARI FreeMiNT has been added. + Thanks to Yvan Doyeux + +- A first version of the SCSI adaptation layer for Syllable has been added. + Thanks to Kristian Van Der Vliet for the first + implementation. + +- Haiku is a BeOS clone and thus uses scsi-beos.c as SCSI adaptation layer. + + IMPORTANT NOTICE: if you like to compile libscg with some Haiku releases + you may first need to copy a file: + + cd /boot/develop/headers/os + cp device/CAM.h drivers/CAM.h + + CAM.h was at /boot/develop/headers/os/drivers/CAM.h in BeOS and as CAM + has no own hardware, it seems to belong into /boot/develop/headers/os/drivers/ + +- Added a workaround for the type disaster in the Appls IOKit include files + in order to support 64 bit binaries + +- Raised the SCSI Bus-number limit from 256 to 500 for Linux as a workaround + for a resource leak bug in the linux kernel. The workaround lets the problem + happen much later but cannot completely avoid it. If you are hit by the Linux + kernel resource leak bug, you need to reboot. + +- The low level SCSI transport code for Mac OS X has been reworked. + + The code now supports cdrecord -scanbus + + The code now supports cdrecord's autotarget mode + + The code now supports to communicate with BluRay drives + + The code now prints a longer help text that instructs what to do in order + to work against the "diskarbitrationd" program on Mac OS that tries to + steal us our hardware. + + If someone is able and willing to help, please send mail! + + I like to be able to tell "diskarbitrationd" to give up specific drives + and to set up shared access. + +- Added a hack to liscg to allow cdrecord -scanbus to work on NetBSD + +- Added a hack to liscg to allow cdrecord -scanbus to work on OpenBSD + + libscg now supports -scanbus and cdrecord's autotarget feature on the + following platforms: + + SunOS (SunOS-3.x & SunOS-4.x) + Solaris (SunOS-5.x) + AmigaOS + ATARI MiNT + BeOS + FreeBSD + NetBSD + OpenBSD + DragonFlyBSD + Cygwin on win32 + Cygwin on win64 + Max OS X + Haiku + HP-UX + IRIX + Linux + NextSTep + OSF-1 (Digital UNIX) + OS/2 + SCO OpenServer + SCO UnixWare + VMS + Zeta + +- Make libscg deal with the new error code from HP-UX that + is returned for a non-existing ATAPI slave. + +- Some minor changes in libscg to make scgcheck report less problems + with HP-UX + +- changed a include path in libscg/scsi-mac-iokit.c to allow + compilation on "Snow Leopard" + +- Removed some GCC warnings from libscg/scsi-sgi.c + +- Retry to send SCSI commands for the FreeBSD CAM subsystem in case that + (ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQUEUE_REQ) + +Libscgcmd: + +- This is a new SCSI command library + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +Libmdigest: + +- New library + +Rscsi: + +- Changed from GPL to CDDL + +- New interface function scg_numbus() returns the number of SCSI busses. + This is implemented via the new emote function "N". + +- "make install" now also installs the READMEs and other documentation to + ..../share/doc/rscsi/ + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Raise the SCSI bus nubmer limit to 1024 to allow the new Linux ATA mapping. + +- the configuration file "rscsi" is now by default installed into + /etc/default/rscsi + +- First complete version of a man page for rscsi. + +- Makefile.dfl now detects whether /etc/default/rscsi already exists + +Cdrecord: + +- Support for the Plextor GigaRec feature. + Use driveropts=gigarec=1.2 to increase CD capacity by 20%. + +- Allow the -shorttrack option for RAW mode, thanks to a report + from Sebastian Trueg + +- Enhance the minimal grace time from 2 to 3 seconds to make sure + that cdrecord will not get out of sync with locks from the + Volume management system. + +- Better checks and better error messages for /etc/default/cdrecord + +- Correct verbose print mode for old pre-MMC TEAC drives. + +- Added support for Ultra speed+ CD-RW media recognition and a check + whether the drive supports Ultra speed+ CD-RW media. + (Thanks to Alexander Noé). + +- Correctly evaluate the write speeds for Ultra speed+ CD-RW media. + This prevents wrong warnings that the "drive does not support Ultra speed+" + +- Fixed a typo in the driveropts=help messages + +- Trying to work around a noncompliance (modified interface) present on newer + Linux kernels that causes cdrecord to be unable to allocate a SCSI transfer + buffer. + + Newer Linux kernels do not honor a contract from mlockall(MCL_FUTURE) + after cdrecord turned off euid == 0 from a suid root installation. + Instead of honoring mlockall(MCL_FUTURE), Linux checks each mmap() + and compares against getrlimit(RLIMIT_MEMLOCK + +- Explicit fine grained privileges support for Solaris. + Cdrecord now switches off all privs that are no longer needed. + +- Adjust some timeouts to prevent that the drive buffer of + newer Pioneer DVD writers empties when writing high speed DVD + media. + +- Support for BeOS/Zeta shared memory was added + +- New tag CDR_MAXFIFOSIZE= in /etc/default/cdrecord allows to + limit the size of the FIFO cdrecord is using. This helps the + sysadmin to prevent other people from locking up the system. + +- Fixed a bug caused by an uninitalized variable when handling + CDR_MAXFIFOSIZE= and no file /etc/default/cdrecord exists + +- Changed from GPL to CDDL + +- Moved the DVD support code to the OpenSource part. + + Note that this has been planned in 1998 already. The plan + was to make the DVD support code OpenSource at the time when + the successor of the DVD becomes ready. + + In case you do not know the reason why the DVD support + code has not been OpenSourced before....Cdrecord is the 3rd + program that did start supporting DVD-R. This was in February 1998. + A company from the MS-WIN area did steal my libscg code + in a way that made it hard if not impossible to sue them. + This company did implement DVD support very late (not much + more than a year ago) and I did not like to "help" them again. + +- Fixed a typo in defaults.c & scsimmc.h + +- Introduced a better DMA speed test that now hopefully notices + all cases when the SCSI read buffer command does not work. + +- Print the physical drive buffer size in addition to the logical + drive buffer size when both differ. + +- Added a workaround for a NEC DVD firmwarebug that caused cdrecord + to use the CD write speed instead of the DVD write speed. + +- Added a workaround for the fact that some NEC writers return a too + small size for half written DVD+RW (use end_lba from GET PERFORMANCE + in this case). + +- Better error messages in case of no track options that are called + together with file type arguments. + +- Added new Mt.Fuji6 profile texts for HD-DVD and Blu ray writers. + +- Avoid a GCC warning in the code that works around a Linux DMA residual bug. + +- Replace nice(-20) by nice(-NZERO) + +- cdrecord now supports to set the layer break for DVD+R/DL. + This reduces the write time but as there is currently no way + to specify the layer break by hand, dual layer DVD-Video does + not yet work. + +- cdrecord -atip now also prints the rzone info for DVD+ media + +- cdrecord -atip now prints more information for DVD-R/DL media + +- cdrecord now also supports to write to DVD-RAM + +- New test for DVD-R/DL layer jump write capability + +- Starting to implement a new default write mode that is not always TAO + but fits best to the current writer and medium. + +- New option driveropts=layerbreak switches DVD-R/DL into layer jump mode + +- New option driveropts=layerbreak=value sets manual layer break + +- cdrecord -prcap now also prints the MMC4 profile list and the feature list + +- SCSI MMC4 print feature codes enhanced + +- SCSI MMC4 print feature now knows more recent feature numbers + +- "gconf" debug code removed - no longer needed + +- print formated capacity values with cdrecord -atip + +- Renamed getdelim() to getworddelim() to avoid a name clash in Cygwin. + + Note that there is still a name clash on Cygwin with getline(). As this + is a hard POSIX violation caused by Cygwin, you need to edit Cygwin's + /usr/include/stdio.h and remove the non-conforming Cygwin getline() + if you like to compile cdrtools. Please also make a bug report against + Cygwin. Tell the Cygwin people that libschily's getline() is compliant + to a commercial interface published since 1982. Cygwin needs to use a + different name if they don't like to follow the official getline() + prototype. + +- Cdrecod now default to the write mode "-sao" in case that no write mode + has been specified. Cdrecord -multi continues to default to -tao. + If your drive does not support -sao, or if cdrecord does not support -sao + for your drive, you should now call cdrecord -tao.# + +- If no dev= option has been specified or of dev= only contains a SCSI transport + specifyer but no address, cdrecord now searches the SCSI address space and + if exactly one CD-ROM drive is found, this drive is used. + + Note that this will not work on user unfriendly platforms that do not allow + SCSI address scanning or that do not allow to scan for SCSI drives in a single + address space (like Linux) this new feature does not work. + +The two modifications from above now allow dummies to call "cdrecord iso-image" +in case they are on a user-friendly OS that allows "cdrecord -scanbus" without +any further parameters to find all CD-ROM drives. + +- Calling "cdrecord file file" now works. + +- The atip information now includes enhanced rzone information + with dual layer values. + +- struct rzone_info now includes the DVD/DL enhancements from MMC + +- print_diskinfo() enhanced for DVD support + +- New option -minfo/-media-info to print Media information/status + +- prdiskstatus() which is supporting cdrecord -minfo is now a globally implemented + function. + +- cdrecord -minfo extended to print TOC related media info. + The new option -minfo is now almost complete. + +- cdrecord -scanbus now defaults to scan 1024 SCSI busses in case that the "numbus" + function is not yet available on a remote RSCSI server. + +- Make cdrecord -msinfo print the right values for "multi-session" (multi-border) + DVD-R and DVD+R. + +- cdrecord -atip output for DVD media enhanced and updated for DVD+R/DL & HD-DVD + +- Enhanced CUE sheet parser to allow writing the new Zeta CD from + http://www.zeta-os.com/cms/custom/lcd/indexe.php + +- Supporting -raw/-raw16/-raw96r in CUE sheet mode (with cuefile=). + Please test and report as I am not able to test all possible cases. + + As it seems that this new mode works now properly, it it possible + to write SVCDs on Pioneer writers that refuse to write SVCDs in -sao mode + because Pioneer implements a silly internal memory management that + reserves memory for 99 tracks with not more than 2 indices each. + + In RAW mode, cdrecord takes care of subchannel data and is able to work + around this deficit in Pioneer drives. + +- Correctly reset CDRWIN CUE sheet state at the beginning of a new track + +- Added some small changes to help compiling on VMS + +- getnum -> libschily + +- Using js_*printf() instead of *printf() via -DSCHILY_PRINT + +- Some %d -> %u changes in printf() formats. + +- Fixed MMC-4 Profile 0x14 name to "DVD-RW sequential recording" + +- A typo in the man page has been fixed (mkisofs does not have a -q but + a -quiet option). + +- A debug message in the DVD+ driver hav been updated to make cdrecord + again compile in -DDEBUG mode. + +- Trying to work around a Pioneer firmware bug that causes cdrecord to write + DVDs at lowest speed. + +- Reset SCSI silent mode after cdrecord did use the auto-mode (no dev= parameter) + to find the drive. This again gives visible error messages. + +- Let cdrecord check the available transfer size for more SCSI + commands. + +- "make install" now also installs the READMEs and other documentation to + ..../share/doc/cdrecord/ + +- New function verify() in high level code. + +- Some small typo fixes in the man page + +- Speed values are now also displayed as multiple of Blu Ray 1x + +- First support for Blu Ray media. + +- The read disk structure command has been enhanced to support the + media type field for Blu ray. + +- Speed values are now also displayed as multiple of Blu Ray 1x + +- Cdrecord now aborts with DVD+R if -dummy has been specified as there is + no -dummy mode for DVD+R. This has been forgotten for years.... + +- cdrecord -pad cue=file now works as people expect. + Thanks to to Bernd Eggink for reporting + +- Workaround for new Solaris behavior for Console users if hald + is active. Give error message and abort instead of useless messages. + +- Print Linux 2.6.8 warnings only if there really was a problem. + +- Blu Ray driver now supports "cdrecord -atip" to read manufacturer IDs. + +- Several MMC-3+ Text strings for profiles and media codes have been added. + +- New code to better print speed performance values + with cdrecord -prcap + Note: The 'MATSHITA' 'BD-MLT SW-5582 ' seems for unknown + reason not to support to retrieve the current read/write speed + values via get_performance. + +- cdrecord -minfo now prints "Mounted media class" and + "Mounted media type" name. + +- Added support to unlock the free firmware for the Plextor 755 and 760 + drives. Thanks to a hint from Alexander Noé. + This makes the following features available again: + + GIGAREC SINGLESESSION HIDECDR + + Note: You need to install free firmware in the drive first to make this + work. + + If you like, you may turn the feature off using "driveropts=plexdisable" + +- Added support for enhanced gigarec found in newer Plextor drives. + The gigarec values 0.9 anf 1.1 are now supported. Cdrecord now supports: + + 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4 + + Note that not all values are supported by all drives. + +- Added support for Yamaha AudioMaster in the Plextor Premium 2. + Thanks to a hint from Paolo Saggese. Original Yamaha audiomaster + is like gigarec 0.85, Plextor implemented 0.8666 which still looks + like a useful additional intermediate value. + +- Make the man page more obvious that gigarec with values < 1.0 is _very_ + similar to audiomaster except for pit sizes. + +- Code restructured from a CD/DVD only program to a program that + writes multiple different similar media. + +- New simulation driver "bd_simul" + +- Trying to make the text in cdrecord.c that forbids incompatible changes + to be published under the name "cdrecord" more user friendly. + +- Better code structure for dvd/bd driver recognition. + +- Allow to disable all speed limitations by setting the environment variable + CDR_FORCESPEED to "any". This is needed to allow full write speed on drives + with defective firmware (like e.g. the Plextor PXW-716) that do not enable + DMA with the "read buffer" command. + +- Changed the drive buffer size recognition so that cdrecord now shows + correct size values even for the LG GSA-H55N + +- Take more care with calling SCSI read buffer while trying to find the + DMA speed of the drive + +- Allow to blank DVD-RW/DL. There are no known drives yet, but it seems that + the media is already sold. + +- Add a format-type value column to the formatted capacity table to allow + for better identification of the various entries. + +- New wording for some comment to make clear that the name "cdrecord" cannot be + used after specific parts of the code have been changed. + +- Cdrecord now correctly recognizes unformatted BD-RE media. + +- cdrecord man page now mentions the "lofi" driver for Solaris + +- Cdrecord now re-checks the media after a "blank" or "format" + operation has been issued. This prevents problems with incorrect + media size assumptions. + +- cdrecord now implements a simulated "blank" feature for media that + itself does not support blanking: currently DVD-RAM + DVD+RW + +- cdrecord/readcd/cdda2wav now support an enhanced /etc/default/cdrecord file + with an additional parameter to specify the max. transfer size for a device. + +- CDR_FORCESPEED=any now works for cdrecord to switch off DMA speed test results + +- Make cdrecord compile again with a K&R compiler + +- Add a "blank emulation" layer to the BluRay driver too. + +- Reduced the minimal write speed of a ultraspeed CD-RW capable drive + from 16x to 10x. + +- cdrecord now correctly writes DVD+R/DL media with all drives. + Before, there have been problems at the layer break with some + drives. + +- The cdrecord DVD multi-border code from May 2007 has been made OpenSource. + Multi-Border is the DVD multi-session equivalent. It allows to write + up to 1024 sessions on a single DVD. + + The code currently covers the most important case of writing to DVD-R/DVD-RW + media. + + You need to specify -multi for every session. + +- The cdrecord man page now mentions -multi with respect to DVD multi-border. + +- Make sure that the DVD and BluRay drivers do not lower the default timeout. + cdrecord timeout=# now always allows to raise the default timeout to a larger + value. + +- Added a workaround to prevent the Lite-ON BD B LH-2B1S/AL09 + from hanging up when trying to write a BluRay Medium. + +- Cdrecord now by default tries to set up a DMA Size of 126 kB. + If non-MMC drives are found, we fall back to the old value of 63 kB + +- Converted to use libcdrdeflt + +- Converted to use libscgcmd + +- Man page now includes many small modifications that mention BluRay media. + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- New driver "mmc_bdrom" is used for profile 0x40 and allows to + retrieve the ADIP data for BD-R media that is reported as BD-ROM + by some drives. + +- Added a workaround for a firmware bug in the drive + 'HL-DT-ST' 'DVD-RAM GH22NP20' + that reports DVD-R media as media with zero size. + +- Added a workaround for a firmware bug in many 'HL-DT-ST' drives + (e.g. 'HL-DT-ST' 'DVD-RAM GSA-H55N') that return unreliable data + with READ BUFFER and makes it impossible to get the drive DMA + transfer speed. + +- Added a workaround for frequent kernel/driver bugs in FreeBSD and Solaris + that prevent the DMA residual count to work. + +- Try to call scg_close() before exiting cdrecord. + +- Default Transfer Size reverted from 126 kB to 63 kB. + Sorry FreeBSD guys - it seems that FreeBSD is the only OS that + correctly deals with larger DMA sizes. + + FreeBSD people may add a line with CDR_TRANSFERSIZE=126k + in /etc/default/cdrecord to raise the default. + + The current problems are: + + - On Solaris 10 Sparc fs=126k causes a kernel panic + + - On Solaris 11 the drivers partially return incorrect + max DMA sizes that may cause cdrecord to fail. + + - On Linux with USB fs=126k may not work at all + + - On Linux with other interfaces, fs=126k may reduce + the DMA speed to a value that always causes buffer + underruns. + + I hope to find a better solution in the next development cycle + after the current code has been release as stable version. + Expect the next stable release to appear very soon. + +- Cdrecord is now by default installed suid root in case that the caller + of make install has root privileges + +- the configuration file "cdrecord" is now by default installed into + /etc/default/cdrecord + +- Some unused variables and functions have been commented out + +- Avoid some GCC warnings + +- Some small typos in error messages have been fixed. + +- Workaround for 'TSSTcorp' 'CDDVDW SE-S224Q ' 'TS01' firmware bug. + The drives does not return SES_UNDEF for unformatted DVD+RW media. + +- Do not install by overwriting /etc/default/cdrecord in case an earlier file + exists. + + Please give feedback on what you like to see in future. + + Do you like to see a sample file installed? + +- README.cdplus has been renewed + +- Fixed a minor typo in cdrecord + +- Some better warnings with cdrecord in case that the environment variables + 'CDR_FORCERAWSPEED=' or 'CDR_FORCSPEED=' have been specified. + +- Better error messages when the media size is unknown + +- Try to work around a firmware bug in the drive: + 'HL-DT-ST' 'DVD-RAM GH22NP20' '1.02' + that is in effect with DVD+R media. + + ***** ATTENTION ***** + + The algorithm to fetch the size information from a DVD+R/RW medium was changed with this + release. Please check for and report problems. + +- cdtext.c now checks for empty CD-Text files to prevent a later endless loop in cdrecord + while writing the TOC. Thanks to Sebastian Trüg for reporting. + +- Man page corrected some problems from hyphen -> minus + +- Cdrecord now calls read_format_capacities() in silent mode in order to + check whether the current drive supports this SCSI command. + +- Correctly abort the FIFO in cdrecord on BeOS and Haiku + in case that the clone ara cannot be made shared. + +- Correctly abort the FIFO in cdrecord on BeOS and Haiku + in case that the clone ara cannot be made shared. + +- The cdrecord man page now mentions that the -clone mode is a bad idea to copy + audio CDs. + +- Better man page with repect to dev= + +- The cdrecord man page has been restructured. + +- Fixed a bug in the workaround code for a firmware bug for DVD+R + media in HL-DT-ST drives. + +- Added a workaround for a firmware oddity with DVD+RW on + '_NEC ' 'DVD_RW ND-3500AG' with media written from other drives. + +- Work around a bug in the firmware from drives + developed by PIONEER in November 2009. This affects + drives labelled "Pioneer", "Plextor" and "TEAC". + Do no longer call cdr_buffer_cap() before the drive + buffer was not at least filled once to avoid that + the the drive throughs away all data. + +- Man page reworked + +- Cdrecord now defaults to -sao in case that cuefile=something was specified + +- man page restructured + +- Cdrecord now is able to use -isosize even in case that the image data + is read from stdin. This makes it easier to use "mkisofs | cdrecord". + +- The CDRWIN cue sheet parser has been enhanced to give better error messages: + + - There are now hints on what is missing in the CUE file + + - The error message now also contains the column where the problem was detected + +- Allow cdrecord to compile again on a pre-C99 compiler (there was a variable declaration + past a statement in a function. + +- A description for the *.inf file fomat was added to the cdrecord man page + +- New (previously missing) CD-Text tags have been added to auinfo.c (*.inf file parser): + + Albumsongwriter= + Albumcomposer= + Albumarranger= + Albummessage= + Albumclosed_info= + + Note that these tags do not appear in the CDDB database. + +- The *.inf file parser now supports a new tag "Track=" that + is intended to carry the absolute track number from the original disk. + +- Cdrecord now supports to copy CDs with hidden track if there are *.inf files + created by cdda2wav. In order to copy a CD with hidden Track with optimal + quality, call: + + cdda2wav -vall -B -paranoia paraports=proof cddb=0 + cdrecord -v -sao -useinfo -text *.wav + +- cdwrite@lists.debian.org removed from man page + please use the official mailing lists for cdrecord that exist since 10 years: + http://developer.berlios.de/mail/?group_id=5 + +- Hidden Track support is now complete: + +- Added support for writing Hidden Audio Tracks before Track #1 + in the Mtsushita CW-7501 device driver. + +- Added support for writing Hidden Audio Tracks before Track #1 + in the Sony CDU-924 / CDU-948 device driver. + +- Added support for writing Hidden Audio Tracks in RAW mode. + +- Added support for Track #1 having a different number than 1 into + the CUE file parser. + +- The CUE file parser now prints much better error messages in case that + a keyword is seen out of the permitted order. + +- The CUE file parser now supports hidden tracks. + +- Fixed a bug in the CUE file parser that caused "pregap size 0" (missing + INDEX 00) to be replaced by the default pregap size of 150 sectors. + +- Added a workaround for a firmware bug in the drive: + 'HL-DT-ST' 'BD-RE BH10LS30 ' '1.00' + That causes the drive to return zero media size for BluRay media. + +- cdrecord now aborts if the cuefile= option was specified with a non-CD + media in the drive. + +- CDRWIN CUE files now may refer to several data files where each data file + contains less than the whole disk but more than a single track. + +- The CUE parser now correctly sets the sector size information for the + lead-in area. + +- The CUE parser now by default only accepts CDRWIN CUE compliant files + but may be switched into an enhanced mode by introducing a special comment + "REM CDRTOOLS" + +- The CUE parser now supports a FILE command between INDEX 00 and INDEX 01. + This is needed in order to write CUE sheets from Exact Audio Copy. + Note that cdrecord needs to be switched into the enhanced CUE parser mode + by either specifying "REM CDRTOOLS" or by specifying: + REM COMMENT "ExactAudioCopy v0.99pb5" + + Also note that cdrecord currently does not support more than one FILE + command per TRACK. For this reason, hidden audio tracks only work if + the hidden audio data is in the same file that also contains data for + track 1. + +- New commands "ARRANGER", "COMPOSER" and "MESSAGE" for adding CD-Text information + in CUE files. Note that these commands are cdrecord specific extensions that + re unknown by CDRWIN and thus need "REM CDRTOOLS" to be enabled. + +- The CUE file format is now documented in the cdrecord man page. + +- Fixed a bug with INDEX 00 support for CUE files from + ExactAudioCopy + +- Cdrecord no longer tries to close a session on a BD-RE media. + This is not supported in the recent MMC Standard and most drives + return a SCSI error when attempting to close such a session. + +- Cdrecord now auto-formats unformatted (maiden) BD-RE media. + Unformatted BD-RE media is rare but it exists. This function + completes the BluRay support in cdrecord. + +- Cdrecord now prints progress messages when formatting DVD+RW media + and called with -v. + +- Many small typo changes in the cdrecord man page + +- The EXAMPLES section in the cdrecord man page has been improved by reordering + abd by creating sub-headlines. Thanks to Lucas Levrel. + + +Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- Added a workaround for the _POSIX_PRIORITY_SCHEDULING behavior + on MacosX: defined but not supported + Thanks to: Emanuele Giaquinta + +- Bugfix: cdda2wav did previously chose to ignore the result of realloc(3) + This prevents core-dumps. + +- Explicit fine grained privileges support for Solaris. + Cdda2wav now switches off all privs that are no longer needed. + +- Write correct error info in case that BeOS/Zeta *_area() calls + fail. + +- As Heiko did not work on cdda2wav since September 2004, + Heiko did hand over the SCCS history for cdda2wav in February 2006 + +- Autoconf test for added (FreeBSD) + +- Added some missing FreeBSD related changes from Heiko done in 2004 + + IMPORTANT: I need testers for FreeBSD and DragonFly BSD as + a result of the merge with the complex changes + from Heiko. + +- Started to make cdda2wav Cstyle compliant. + +- Avoid to shutdown the whole system when kill(getppid(), SKGINT) + would result in kill -INT 1 because the parent cdda2wav is + dead and the child is orphaned and cdda2wav has been called by root. + +- __FreeBSD_version >= 600021 have devmajor == 0 for all devices. + Thanks to Marius Strobl for reporting. + +- General #ifdef structure related to FreeBSD in mycdrom.h now + corrected, thanks to Marius Strobl. + +- Try to fix some FreeBSD/DragonFly related problems that have been + introduced with a06 when Heiko's changes from 2004 have been integrated + + IMPORTANT: I need testers for FreeBSD and DragonFly BSD as + a result of the merge with the complex changes + from Heiko. + +- Changed from GPL to CDDL with permission from Heiko + +- Code now has been completely reindented to follow the "Cstyle" + rules. As this did result in touching more than 50% of the + code, and as some of the code is platform specific I cannot grant + that I did not introduce bugs. Please test, in special on + platforms other than Solaris. + +- Some modifications needed because of the restructured makefiles. + +- Replace nice(-20) by nice(-NZERO) + +- Renamed Inquiry() by ScsiInquiry() for better VMS support + +- Fixed an unsigned comparison with zero in resample.c + +- Fixed a printf format string with short argument. + +- Fixed a typo in scsi_cmds.c thanks to Steven M. Schweda for reporting. + +- New Option ts= # similar to cdrecord's and readcd's options. + This allows to work around a Linux kernel bug that prevents + cdda2wav to be usable with USB drives. To work around this + Linux bug try cdda2wav ts=128k or less. + +- If no dev= option has been specified or of dev= only contains a SCSI transport + specifyer but no address, cdda2wav now searches the SCSI address space and + if exactly one CD-ROM drive is found, this drive is used. + + Note that this will not work on user unfriendly platforms that do not allow + SCSI address scanning or that do not allow to scan for SCSI drives in a single + address space (like Linux) this new feature does not work. + +- Trying to support FreeBSD Kernel under non-FreeBSD (GNU) userland + +- The messages for the auto-target function are now printed on stderr + to avoid problems with merged output from stdout. + +- cdda2wav -scanbus now defaults to scan 1024 SCSI busses in case that the "numbus" + function is not yet available on a remote RSCSI server. + +- Added some small changes to help compiling on VMS + +- getnum -> libschily + +- Using js_*printf() instead of *printf() via -DSCHILY_PRINT + +- Use the new paranoia_init() interface + +- Let cdda2wav print the -version output to stdout and in a similar form + as other cdrtools programs do. + +- "make install" now also installs the READMEs and other documentation to + ..../share/doc/cdda2wav/ + +- Added some casts to interface.c and ioctl.c in order to prevent warnings + from the Sun Studio 12 compiler. + +- The man page has been restructured to correctly use bold and italic + with option descriptions. + +- Workaround for new Solaris behavior for Console users if hald + is active. Give error message and abort instead of useless messages. + +- cdda2wav now includes a copyright message and a year number + with the -version output. + +- Add a workaround for a definition in on SunOS-4.x + +- Fixed some minor problems with K&R compilers + +- Fixed a +- 1 problem in realloc() for TOC handling. + Thanks to a report from Joshua Reuben Roys + +- New option start-sector=sector allows to set an absolute sector number + where to start audio extraction. + + This option has been added as a first step to allow to write a + wrapper for cdda2wav to create a "GStreamer plugin". This helps + to: + + - avoid license problems in libcdio + + - allows to call a privileged programs like cdda2wav from a GUI + to grant full audio extraction quality that needs generic SCSI + commands. + +- Cstyle indentation changes + +- Man page now includes some forgotten options + +- Man page now describes the paraopts= sub option list + +- Man page now describes the statistic output from the paranoia code + +- New option out-fd=descriptor allows to set redirect informational output + to a different file descriptor than stderr. + +- New option audio-fd=descriptor allows to set redirect audio ("-") output + to a different file descriptor than stdout. + + This option has been added as a further step to allow to write a + wrapper for cdda2wav to create a "GStreamer plugin". This helps + to: + + - avoid license problems in libcdio + + - allows to call a privileged programs like cdda2wav from a GUI + to grant full audio extraction quality that needs generic SCSI + commands. + +- Explain that libparanoia is not a different Media access method but a filter + between the lower and the upper layers of cdda2wav. + +- Fixed a typo in the man page according to OpenSolaris bug ID 6489402 + +- cdrecord/readcd/cdda2wav now support an enhanced /etc/default/cdrecord file + with an additional parameter to specify the max. transfer size for a device. + +- New option -no-fork tells cdda2wav to run in unbuffered mode. + +- New option -interactive + + The first test implementation supports the following interactive commands: + + stop stop reading + + If you like to empty the internal buffers, + send "stop" read everything you get from the output pipe + repeat this until no further data is available. + + cont continue reading + + read trasks Start reading from new trackno + + read sectors Start reading from new sector number + + exit + quit exit cdda2wav + + This new option is a result from a collaboration with the GNOME + developers to make "sound-juicer" legal. Sound-juicer suffers from + license problems from libcdio which is usually loaded as a + "gstreamer" plugin. + + The option -interactive together with the related new libgstcdda2wavsrc + gives better quality of the extracted audio-data and does not cause license + violations. + +- Interactive mode for corrected to allow new tests + for replacing libcdio in GStreamer. + +- child_pid variable moved into global var structure. + +- The new -interactive option has now been stabilized for a first integration that + allows to replace libcdio for sound-juicer to come to an implementation without + license violations. + +- The MD5 implementation (although currently unused) has been + changed from the RSA variant (that requires advertizing for RSA) + to a "public domain" implementation from Colin Plumb used + in OpenBSD. + +- The new MD5 implementation has been made portable. + +- Converted to use libcdrdeflt + +- Converted to use libscgcmd + +- The -M/-md5 option now finally works. + Cdda2wav now computes MD5-sums for the audio data and writes the result + into the *.inf files. + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Suppress some incorrect warnings from GCC by doing a double cast. + +- Allow longer path names for *.inf files. + +- SCSI *scgp is now a clean parameter to all SCSI transport functions. + +- toc.c changed to support the new schily/hostname.h + +- Cdda2wav is now by default installed suid root in case that the caller + of make install has root privileges + +- Some unused variables and functions have been commented out + +- struct tocdesc has been restructured to prevent struct tail padding on MC-680x0 systems. + Thanks to Yvan Doyeux for reporting this for the ATARI port. + +- The drive 'HP ' 'CD-Writer+ 9600 ' '1.0a' does not like to read SCSI FULL TOC + with a too long transfer lenght. First retrieve the available data count. + +- New options -debug -debug-scsi -kdebug -kdebug-scsi -kd to set SCSI low level + debugging in libscg + +- The option -v not also supports "!" and "not" to invert the list + of "verbose" options (e.g. -v!indices for everything but indices). + +- Avoid some GCC warnings specific to HP-UX + +- Added a workaround for gmake < version 3.81. + Older gmake versions evaluate dependencies in the wrong order. + +- Prevent a core dump from hitting ^C while cdda2wav tries to call + scg_open() to open the SCSI devices. + +- A buggy address computation that caused problems with 64 bit binaries + has been fixed. + +- Cdda2wav now correctly deals with longer CD-Text information. + Thanks to Yvan Doyeux for creating a related test CD... + +- Cdda2wav now uses an autoconf test to decide whether BEOS clone areas + can be used. This gives Haiku compatibility. + +- Fixed a bug introduced with introducing support for MD5 Sums. + Cdda2wav now disables the MD5 sum output in case -no-infofile has been specified + +- Autoconf tests for os2.h and os2me.h moved from cdda2wav to + global + +- cdda2wav now supports new parameters for the -output-endianess option. + "host" or "machine" represent the actual byte order of the host CPU in the current OS. + +- Fixed a man page bug that did hide some text from the visible result. Thanks + to Michael Prokop + +- Man page corrected some problems from hyphen -> minus + +- Removed some Copyright hints to people who did never really enter code into mkisofs + +- Removed a Copyright hint for RSA that is no longer valid. + +- cdda2wav now gives better readable text with cdda2wav -help + +- BeOS has a /boot/develop/headers/be/support/ByteOrder.h that also defines + _BYTEORDER_H and thus interferes with our cdda2wav/byteorder.h + +- The -interactive option is now mentioned in the -help output and the man page. + +- Call unit_ready() before retrieving the TOC data in order to work around a Solaris + scsa2usb (SCSA to USB Driver) bug. + +- Cdda2wav is now using the sha1 implementation from libmdigest + +- Try to avoid an endless loop while parsing ISO-9660 directories + from rotten CD+ sessions. + +- Better man page with repect to dev= + +- The cdda2wav man page has been restructured. + +- cdda2wav now correctly deals with the case when no sound device + was specified. Thanks to Robert Grimm + for reporting. + +- Man page reworked + +- Removed some (int) casts before the SNDCTL_DSP_* ioctl()s + +- The default outout format is now .wav for all platforms. + Before, the default for Solaris was .au. + +- man page restructured + +- New arg "all" to -t option. + + cdda2wav -B extracts all audio tacks into separate files + cdda2wav -tall extracts all audio tacks into a single files + +- cdda2wav now by default writes a file "xxx.cdtext" with raw binary + CD-Text data in case cdda2wav was told to retrieve CD-Text. + +- A new option -no-textfile allows to disable the creation of the file "audio.cdtext" + This version of cdda2wav creates a file "audio.cdtext" or similar (depending on + the set up file name base) in case that there is CD-Text on the medium and that + the drives supports to read the CD-Text data with MMC SCSI commands. + +- Fixed a bug in cdda2wav that caused cdda2wav to set up the file name base too late. + This results in the files "audio.cdindex" and "audio.cddb" always to have this name + while the *.inf files use the name base from the cdda2wav arguments. Now all + files created by cdda2wav honor the file name base. + +- Cdda2wav by default fills empty track specific CD-Text data with the Disk global + value (if present). A new option -no-textdefaults allows to disable this fallback + and leaves the related fields empty if they are empty on the master CD. + +- Fixed a problem with cdda2wav -interactive (used by GNOME GSTREAMER CD-DAE plugin) + that could cause cdda2wav to dump core in case that there is a data + session past the last audio track. + +- New (previously missing) CD-Text tags have been added to the *.inf files: + + Albumsongwriter= + Songwriter= + Albumcomposer= + Composer= + Albumarranger= + Arranger= + Albummessage= + Message= + Albumclosed_info= + Closed_info= + + Note that these tags do not appear in the CDDB database. + +- Cdda2wav now permits to use "max" for the endtrack number. This + allows to specify e.g. -t2+max for a list of tracks from track #2 + to the last audio track on the disk. + +- New option -cuefile allows to tell cdda2wav to create a CDRWIN CUE + file. This currently only works together with wither -tall, or with + -t0+max or -t1+max. + + Note that due to a misconception in the CDRWIN CUE file definition, + it is impossible to create 100% correct CD-audio copy by 100% + following the CDRWIN CUE file definition and having separate audio + files for each track at the same time. For this reason, it is currently + impossible to create CDRWIN CUE files while using cdda2wav -B. + +- Cdda2wav now only writes a binary *.cdtext file in case that this + file would contain more data than a header that tells that there + is no further content. + +- Cdda2wav no longer removes the Index0 entry from a longer Index list + if Index0 is -1. + +- Cdda2wav now automatically scans for hidden audio tracks. This is a + complex task as there are drives that do not allow to read the + hidden data before track 1. + +- New option -no-hidden-track allows to prevent cdda2wav from scanning + for a hidden audio track. + +- Cdda2wav now writes the new tag "Track=" into the *.inf files that + is intended to carry the absolute track number from the original disk. + +- A shortcut for paraopts=sectors-per-track-1,retries=200 was introduced. + The name of the shortcut is "proof", so just use "paraopts=proof" for + selecting the most stringent paranoia mode. + +- Cdda2wav now automatically selects paranoia mode in case that the + paraopts= option was used. + +- Cdda2wav now again works in suid root mode on Solaris 11. It seems that + the development versions from Solaris 11 did change the behavior with + fine grained privileges in a way that was incompatible with the way + cdda2wav did try to handle both suid root and fine grained privileges. + +- Fixed a small bug that made cdda2wav with hidden track support not fully + compatible to earlier versions. In case that only one track is to be extracted, + this is again always track #1 regardless whether the CD has a hidden track. + +- Fixed a bug with CDRWIN CUE file support. Cdda2wav used the tag "WAV" instead + of "WAVE" for the data type specifier in the FILE tag. + +- cdwrite@lists.debian.org removed from man page + please use the official mailing lists for cdrecord that exist since 10 years: + http://developer.berlios.de/mail/?group_id=5 + +- Hidden Track support is now complete: + +- Fixed a bug in the cdda2wav track loop control that caused cdda2wav + not to write the *.inf file for the last track in case of an audio CD + with a hidden track. + +- Introduced an alias "isrc" and "ISRC" for -vtrackid + +- Introduced an alias "mcn" and "MCN" for -vcatalog + +- cdda2wav now emits a "PREGAP" keyword in the CUE file for a CD without + hidden track if it starts with a sector number > 0. + +- New cdda2wav option -vaudio-tracks + +- Make cdda2wav -q silent again (even with CDs with hidden track) to + make it compatible again with scripts. + +- cdda2ogg and cdda2ogg.1 added to standard install + The script cdda2ogg was enhanced to work seamlessly. + +- cdda2mp3 and cdda2mp3.1 added to standard install + The script cdda2mp3 was enhanced to work seamlessly. + +- the scripts cdda2ogg and cdda2mp3 now allow to forward options to + cdda2wav. + + In order to enable "paranoia mode", call: + + cdda2ogg -paranoia + + In order to enable the most proof "paranoia mode", call: + + cdda2ogg -paraopts=proof + +- The cdda2ogg man page was completely reworked + +- The SYSvr4 pkg definition now includes cdda2ogg and cdda2mp3 + +- Added a workaround for a broken ASPI that hangs with + odd transfer counts. + +- Makefile.dfl now detects whether /etc/default/cdrecord already exists + +Readcd: + +- Allow readcd to work correctly in -scanbus mode + Thanks to Fabian Keil for reporting. + +- Explicit fine grained privileges support for Solaris. + readcd now switches off all privs that are no longer needed. + +- Support for BeOS/Zeta shared memory was added + +- -scanbus behavior corrected + +- Changed from GPL to CDDL + +- New experimental option -edc-corr. + +- readcd meshpoints=# -factor now prints correct CD speed factors + as it now correctly computes sector size. + +- If no dev= option has been specified or of dev= only contains a SCSI transport + specifyer but no address, readcd now searches the SCSI address space and + if exactly one CD-ROM drive is found, this drive is used. + + Note that this will not work on user unfriendly platforms that do not allow + SCSI address scanning or that do not allow to scan for SCSI drives in a single + address space (like Linux) this new feature does not work. + +- The messages for the auto-target function are now printed on stderr + to avoid problems with merged output from stdout. + +- readcd -scanbus now defaults to scan 1024 SCSI busses in case that the "numbus" + function is not yet available on a remote RSCSI server. + +- Using js_*printf() instead of *printf() via -DSCHILY_PRINT + +- Speed values are now also displayed as multiple of Blu Ray 1x + +- readcd -factor meshpoints=100 now also displays the speed as multiple + of Blu Ray speed if the medium is a BD + +- Added support to read C1/C2/CU errors from Plextor and NEC/Optiarc drives. + Thanks to Alexander Noé for the code. + + If you run the test with: + + readcd -cxscan + + you will only see summary output. If you add one -v, you see the error + information for every second that does include errors. If you add -vv, + you see information for every second in the data range. + + Note that the output format will change in future to support GNU plot. + I am looking for suggestions for a useful output format. + +- Added support for pisum8 tests for DVDs on drives made by Plextor + + If you run the test with: + + readcd -pi8scan + +- Added support for pif tests for DVDs on drives made by Plextor + + If you run the test with: + + readcd -pifscan + + Fall all three new options, you will only see summary output. If you + add one -v, you see the error information for every second (CD) + 8 * 32 KB (pisum8) or 32 KB (pif) that does include errors. If you add + -vv, you see information for every interval in the data range. + + Note that the output format may change in future, + I am looking for suggestions for a useful output format. + +- New option -plot allows to modify the outputformat for the options + -cxscan, -pi8scan, -pifscan + + To plot a list of pisum8 and pif errors, call: + + readcd -pi8scan -plot > pisum8 + readcd -pifscan -plot > pif + gnuplot + gnuplot> plot "pisum8" w l + gnuplot> replot "pif" w l + + To plot a list of C1/C2/CU errors call: + + readcd -cxscan > cx + awk '{ print $1 " " $2 }' < cx > c1errs + awk '{ print $1 " " $3 }' < cx > c2errs + awk '{ print $1 " " $4 }' < cx > cuerrs + gnuplot + gnuplot> plot "c1errs" w l + gnuplot> replot "c2errs" w l + gnuplot> replot "cuerrs" w l + +- Man page now mentions -edc-corr + +- cdrecord/readcd/cdda2wav now support an enhanced /etc/default/cdrecord file + with an additional parameter to specify the max. transfer size for a device. + +- Converted to use libcdrdeflt + +- Converted to use libscgcmd + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Readcd is now by default installed suid root in case that the caller + of make install has root privileges + +- Try to exit(excode) instead of exit(0) in case that siginificant + problems occurred. + +- Prevent readcd from dumping core via raisecond("file_write_err")->abort() + in case that the target filesystem fills up. + +- Added a workaround for gmake < version 3.81. + Older gmake versions evaluate dependencies in the wrong order. + +- Man page corrected some problems from hyphen -> minus + +- "readcd" no longer dumps core if the C2Scan function is selected from the + interactive interface. + +- Fixed a problem in the man page. Some nroff versions abort under + some conditions if "Heiko Eißfeldt" is correctly written with "ß". + +- The readcd man page now mentions that the -clone mode is a bad idea to copy + audio CDs. + +- readcd now only send the Plextor specific SCSI commands for the -cxscan + option in case that the drive identifies as Plextor. + +- Better man page with repect to dev= + +- Man page reworked + +- man page restructured + +- cdwrite@lists.debian.org removed from man page + please use the official mailing lists for cdrecord that exist since 10 years: + http://developer.berlios.de/mail/?group_id=5 + +- Added a workaround for a broken ASPI that hangs with + odd transfer counts. + +Scgcheck: + +- Fixed DMA overrun test. BeOS/Zeta did pass the test but + scgcheck did complain before. + +- Changed from GPL to CDDL + +- Using js_*printf() instead of *printf() via -DSCHILY_PRINT + +- Fixed a typo in the -version output + +- Make clear that "scgcheck" has been written to verify the interface + for libscg. The name "scgcheck" cannot be used if the code has been + changed. + +- New option -auto for fully automated tests + +- Restructured for better results + +- Converted to use libcdrdeflt + +- Converted to use libscgcmd + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Avoid some GCC warnings + +- Added a workaround for gmake < version 3.81. + Older gmake versions evaluate dependencies in the wrong order. + +- Man page corrected some problems from hyphen -> minus + +- Better man page with repect to dev= + +- Man page reworked + +- cdwrite@lists.debian.org removed from man page + please use the official mailing lists for cdrecord that exist since 10 years: + http://developer.berlios.de/mail/?group_id=5 + +Scgskeleton: + +- Allow readcd to work correctly in -scanbus mode + Thanks to Fabian Keil for reporting. + +- Explicit fine grained privileges support for Solaris. + Scgskeleton now switches off all privs that are no longer needed. + +- -scanbus behavior corrected + +- Changed from GPL to CDDL + +- Using js_*printf() instead of *printf() via -DSCHILY_PRINT + +- New merged code from the "sformat" and "cdrecord" consolidation. + +- Bumped to version 1.2 + +- Converted to use libcdrdeflt + +- Converted to use libscgcmd + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Added a workaround for gmake < version 3.81. + Older gmake versions evaluate dependencies in the wrong order. + +- Better support for large files (using ftello()/fseeko()) + +- A man page was created for scgskeleton. + +Btcflash: + +- -scanbus behavior corrected + +- man page added + +- Changed from GPL to CDDL + +- Using js_*printf() instead of *printf() via -DSCHILY_PRINT + +- Make btcflash compile on K&R compilers (like on HP-UX) + +- Workaround for new Solaris behavior for Console users if hald + is active. Give error message and abort instead of useless messages. + +- Converted to use libcdrdeflt + +- Converted to use libscgcmd + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Added a workaround for gmake < version 3.81. + Older gmake versions evaluate dependencies in the wrong order. + +- Better support for large files (using ftello()/fseeko()) + +- Better man page with repect to dev= + +- Man page reworked + +- cdwrite@lists.debian.org removed from man page + please use the official mailing lists for cdrecord that exist since 10 years: + http://developer.berlios.de/mail/?group_id=5 + +Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale): + +- Better error messages with wrong Eltorito boot options + +- Man page is now more explicit about requirements for DVD-video + directory trees. + +- Better warning text for missing Rock Ridge in multi.c + +- Bugs in README.sunx86boot corrected + +- Multi Volume code for reading old image now gives different + error messages on read errors and short reads. + +- Diagnostic programs isodump, isoinfo, ... no longer dump core + when called with dev= parameters. + +- mkisofs now detects if a file grows or shrinks while being + read by mkisofs. + +- try to work around a GCC trigraph problem + +- man pages for diag commands added + +- Replaced GNU getopt_long() by getargs(). This has been done for + several reasons: + + - Get rid of the annoying oddities/bugs of GNU getopt_long() + + - Use a unique option parser for all programs from cdrtools. + + - Find a way to better deal with historic badly planned + options. These problems are caused by the fact that + several options that take arguments start the same way. + With GNU getopt_long, there is no clean way to deal with + the resulting problems. getargs() allows to specify + whether an option needs to have a space between the option + name and the argument or not. + + - Make the code easier to understand and to maintain. + + - Segregation of option parsing and option conflict checking. + + - Code size reduction. + + Note that the intention is that all options still behave as documented + in the man page. If you have problems with scripts, first check whether + your usage is aligned with the the documentation or whether you did + depend from a side effect from GNU getopt_long before sending a bug + report. + +- Fixed an Eltorito Boot bug that happens together with + ISO-9660:1999 + +- Added some patches for better VMS portability from Steven M. Schweda + sms@antinode.org + +- mkisofs now includes libfind and allows to use the find(1) command line + syntax to be used. + + The new -find option acts as a option separator. To the right of the + -find option, find(1) syntax is used. No other mkisofs option may + appear anymore. + + Files are considered to be taken into the .ISO image in case that the + find(1) expression used on the command line yields TRUE. + + In addition to the find(1) utility, libfind allows to modify the stat(2) + data for each file before it is included in the .ISO. The following + find(1) primaries are implemented for this feature: + + -chmod mode/onum Modify the permissions for a file using the + chmod(1) syntax. + This primary always yields TRUE + + -chown uname/uid Modify the owner for a file. + This primary always yields TRUE + + -chgrp gname/gid Modify the group for a file. + This primary always yields TRUE + + The command line: "mkisofs -o image.iso -R -J somedir" + may be written as: "mkisofs -o image.iso -R -J -find somedir" + to give the same results as before. + + The command line: + + mkisofs -o image.iso -R -J -find somedir -chmod a+r -chown root -chgrp 0 + + will ensure that all files will have at least read permission for all users + and set the user/group to 0. + + The command line: + + mkisofs -o image.iso -R -J -find somedir ( -type d -chown root ) -o -true + + will change the owner of all directories to root, leaving other file + types untouched. + +- removed fnmatch.c + mkisofs now uses the fnmatch() implementation from the OS if present + and the fallback version from libschily if fnmatch() is missing in the OS. + +- man page extended to include a description for the -find + option. + +- Added $(LIB_ACL) tp the mkisofs Makefile to allow the code from + libfind to link properly on all OS. + +- Fixed several small problems with option parsing caused by the + change from GNU getopt_long to getvargs() + Thanks to İsmail Dönmez & scdbackup@gmx.net & Sebastian Trüg + +- Changed '%' option format specifier to '%0' to reflect a small + enhancement in libschily. + +- Better checks and better error messages for mkisofs -dvd-video + Mkisofs now correctly checks for the existence of a directory + "VIDEO_TS" in the root directory of the media. + +- mkisofs -find now allows to use -graft-points + +- mkisofs -find now allows to use -path-list + +- Fixed a buggy error message (a result from the option parser + rewrite, thanks to Steven M. Schweda for reporting. + +- Makefile now uses $(LIB_INTL) because of gettext() in libfind + +- Fixed some typos, thanks to Vitezslav Samel + +- Cstyle fixes + +- Abort writing in case the function xfwrite() gets called with size 0. + +- isodebug now finds debug descriptor even when the medium includes a + UDF Filesystem. + +- Fixed a bug that could cause mkisofs to core-dump in multi session + mode. Thanks to Fukuhara Kazuhiko <00kazuhiko@bb.excite.co.jp> + for reporting the bug. + +- Implement a new "correct inode number" algorithm for zero length files. + +- Implement a fingerprint that allows to check whether a ISO-9660 file + system image has been created by a new mkisofs and implements the + new "correct inode number" algorithm. + +- Implementing the new Rock Ridge (rrip) protocol version 1.12 from 1994. + Mkisofs before implemented the old rrip version 1.10 from 1993. + +- New option -rrip110 to disable the "new" 1994 Rock Ridge version. + + This option may be needed if you know of a system that does not deal with + RRip V-1.12. Currently no such system is known. + +- Using better (more portable) values for some special "inode" numbers. + +- Implement correct hard link counts for directories and files with Rock Ridge + +- Mkisofs cannot live without libschily anymore. For this reason, the + #ifdef USE_LIBSCHILY code has been removed. + +- Better & faster hashing: + + - Better hash function in hash.c for more balanced hash tree + + - Number of hash root entries enhanced from 1024 to 16*1024 + + - Avoid string compare in find_file_hash() + +- Corrected check algorithm, for non-zero-length files that are assigned + to a zero extent + +- Avoid uncached entries to clash with real inode numbers. + +- Print correct number of written extents in multi session mode. + +- All ISO-9660 numbers now correctly use the type UInt32_t + +- Convert type of all extent number related variables to UInt32_t + +- Use inode caching by default on newer Cygwin releases that use + 64 bit inode numbers. + +- Deep directory abortion now happens from the right place, so + mkisofs will allow files but no sub-dirs inside the last + permitted directory nesting level. + +- Mkisofs will now correctly ignore deep directory nesting + in no Rock Ridge mode with mkisofs -find + +- mkisofs -find dir will now correctly deal with Rock Ridge deep + directory relocation. + +- Some small compile problems on Cygwin (caused by a unsigned int + vs. UInt32_t clash) have been fixed. Thanks to Uwe Büdel for reporting. + +- Symlinks now work in mkisofs -find mode too. + +- ".." directory in rr_moved now gets the correct mode + +- graft dirs now work even if they cause Rock Ridge deep + directory relocation. + +- Print "correct inode" info on stderr in order to avoid problems + from mkisofs | cdrecord in multi session mode. Thanks to a report + from Oliver Valencia. + +- Hide /rr_moved by default. + +- Do not count /rr_moved for the link count of / + +- Trying to support FreeBSD Kernel under non-FreeBSD (GNU) userland + +- Now correctly default to "mac-roman" coding with Apple HFS. + +- Trying to better handle overlapping directory names. + Thanks to a hint from Thomas Flock + +- New options -posix-H/-posix-L/-posix-P implement the -H/-L/-P options + defined by POSIX.1-2001 for descending commands like ls/chmod/chown/find/pax/... + + Future versions of mkisofs will implement these options under their original + names -H/-L/-P. The current version of mkisofs cannot implement them as + previous versions did implement different functionality with -H and -P. + +- mkisofs called without any parameters or called with an illegal option + now prints a short overview of the most important options in 80x24 chars. + +- The option -stream-file-name has been implemented to allow + setting a user defined file name with -stream-media-size + When using -stream-file-name, mkisofs always uses "-iso-level 4" + +- A bug has been fixed, that caused mkisofs to archive a wrong + time zone offset in case that it was used on a timezone east + to GMT and the local time was already in e.g. Y-2007 while + GMT was still at Y-2006. + +- Several printf format changes from %d -> %u to reflect the changes + that recently made the blocknumber related variables unsigned. + +- Some small typo corrections in the man page + +- getnum()/getllnum() & gettnum()/getlltnum() have been moved to libschily + +- Using js_*printf() instead of *printf() via -DSCHILY_PRINT + +- added a better error message from Helios in volume.c + +- mkisofs -J no longer implies -l as done incorrectly after + converting from GNU getopt_long() to getargs() + +- "make install" now also installs the READMEs and other documentation to + ..../share/doc/mkisofs/ + +- The change from libunls to libsiconv fixes a lot of bugs in the + character translation tables. libsiconv now uses the official tables + from Unicode.org. Any other "single char" -> UNICODE table from + Unicode.org may be taken unmodified and copied to /opt/schily/lib/libsiconv + to become usable by libsiconv. + + If you use the same character set names as with old mkisofs, you get + the character translations from the tables in /opt/schily/lib/libsiconv, + if you use ICONV based locale names and iconv() is available on your + platform, then mkisofs used iconv() to translate the character encodings. + + If you like to force to use the iconv() code, use something like: + + mkisofs -input-charset iconv:8859-1 + + ****** IMPORTANT ******** + + You need to install the table files from libsiconv to make mkisofs + behave correctly. + +- Thanks to the new libsiconv, mkisofs now supports to run in a UTF-8 locale. + As long as no automatic locale support is present, call + + mkisofs -input-charset UTF-8 + +- Completed the Symlink implementation for UDF. The code was 20% ready + from Helios.de from the includes from the Helios variant of mkisofs. + +- New option -no-udfsymlinks to turn off support for UDF symlinks. + The UDF standards requires any OS to implement symlink support, but + you never know... + +- New option -UDF implements non-anonymous UDF support. + The relation between -UDF vs. -udf is the same as with -R vs. -r + +- Integrated a larger code drop from Helios.de, thanks to Helmut Tschemernjak + from helios.de. We did integrate the following new features from Helios.de: + + - Support for UID/GID in the UDF file meta data + + - Support for permissions in the UDF file meta data + + - Support for Mac OS X "/..namedfork/rsrc" + + - Avoid Mac OS X syslog entries when "/rsrc" is used. + + - Support for UDF based Mac OS extensions (type/creator and + resource forks). + + - New option -no-hfs allows to turn off creating a ISO9660/HFS hybrid + when UDF based Mac OS extensions are used. + + - Do not cache resorce fork files in the inode cache anymore. + + We did not include the following code from the Helios.de code drop: + + - Helios UNICODE unification (always tries to create "complete" + characters if e.g. a 'ö' is written as 'o'+'"', this is translated + into a 'ö'. + + The reason for not integrating this code is that it did violate + constraints from mkisofs. The translation was done based on UTF-8 + regardless of the current locale of the user. It could only work + in a UTF-8 based locale but mkisofs did not yet support UTF-8 an + based locale. The correct implementation would be in most cases + based on UCS-2 characters as used by Joliet and UDF. + + - Helios code that did prevent mkisofs to abort on certain kind of + read errors. + + The reason for not integrating this code is that it did not work + as expected for all possible cases and that such code should use + a similar mechanism as "star"s error control feature. + + - The Helios option -nolimit-pathtables has not been included as the + implementation did cause the PATH table to contain random data in + case that a PATH table overflow was allowed. + + - The Helios code drop did modify the libfind callback function to + implement Mac OS extensions. This is not correct as all the Mac OS + related stuff should already in the functions that are called + by the unmodified libfind callback. + + Another problem with this code is that it would introduce an + otherwise non-existent path length limitation with "mkisofs -find " + + - Helios did remove the artificial limit for UDF files > 2 GB. + This is currently not done for consistency between ISO-9660 and + UDF. Mkisofs will implement multi-extent files soon and then + the UDF file size limitation will be removed. + +- Avoid a core dump with mkisofs -new-dir-mode XXXX caused by a bad + getargs() option format string. Thanks to Thomas Flock + for reporting. + +- Some small typo fixes in the man page + +- Fix mkisofs to no longer dump core in case that a non-existing locale + is used. Thanks to Dirk Paehl for reporting. + +- mkisofs now warns in case that /opt/schily/libsiconv/ is missing + or not populated. + +- mkisofs no longer requires the Mac OS extension related locale + translations to be present in case that no Mac extensions are requested. + +- diag/isoinfo also has been fixed to correctly use iconv. + Thanks to Kai Raphahn for reporting. + +- mkisofs now sets up -input-charset to the locale read from the + environment in case that no -input-charset has been specified. + To disable this automatic set up, use -input-charset "". + +- more than 65535 parent directories. Note that this makes the filesystem + violating ISO9660 and the filesystem will not be usable on DOS. + +- New option errctl=name or errctl=control-spec similar as in star. + + This option allows e.g. to tell mkisofs not to abort if a file + did grow or shrink while mkisofs was reading it. + + Currently only OPEN, READ, GROW, SHRINK are implemented more to come + later... + +- mkisofs now includes a copyright message and a year number + with the -version output. + +- New option -no-limit-pathtables allows to create filesystems with + more than 65535 parent directories. Note that this makes the filesystem + violating ISO9660 and the filesystem will not be usable on DOS. + +- Support for ISO-9660 multi extent files added, thanks to + Frederick Bruckman for sending some experimental sample code + that helped to find the right ideas for a final implementation. + + This allows mkisofs to support files > 4 GB. + + - If you only use ISO-9660 (that may include Rock Ridge) or Joliet, + mkisofs is able to support single files up to a size of 8 TB. + + - If UDF is included, files > 190 GB will not appear in the UDF + file tree. + + IMPORTANT: You need to specify mkisofs -iso-level 3 or + mkisofs -iso-level 4 to allow mkisofs to archive + files > 4 GB. Also note that if you specify -hfs, + mkisofs will not archive fiiles larger than 2 GB. + + NOTE: + + Linux currently does not allow to read the complete content of + multi-extent files and will return EIO at some offset. + + Solaris currently does not allow you to read multi-extent files at all. + It will return EINVAL and print a kernel message + +- New options -hide-udf and -hide-udf-list allow to selectively exclude + files from the UDF tree. Note that mkisofs currently still binds the + UDF tree to the Joliet tree. All files that have been excluded from + the Joliet tree currently are also excluded from the UDF tree. + +- Always hide the Trans table (from mkisofs -T) files from the UDF tree. + +- Avoid warnings when compiling tree.c with some compilers. + +- Do no longer warn about violating ISO-9660 if -iso-level 4 has been specified. + +- Fixed a double free problem caused by multi-extent files + +- New function e_strdup() checks return code from strdup() for all calls. + +- Makefile changes from $(LIB_ACL) to $(LIB_ACL_TEST) as mkisofs only tests + for ACLs on files. + +- Make apple_driver.c compile again. Thanks to a hint from Dieter Jurzitza. + +- Avoid a core dump in the joliet code caused by the new Apple UDF extensions. + +- Avoid a core dump in the Apple code caused by the new Apple UDF extensions. + +- Write the warning: + + Warning: cannot support large files with -hfs + + only if -iso-level 3 or higher has been selected. + +- isoinfo now allows to check the contents of the Joliet Volume descriptor + by calling: + isoinfo -dJ + +- mkisofs bug fix for multi extent files, make UDF part from multi extent + files working again. Thanks to a hint from + Pav Lucistnik + +- Fixed a typo "unides" -> "inodes" + +- Mkisofs now gives better warning for files > 4 GB in hope it + will no direct people to read the documentation. + +- superfluous definition for memmove() on memmove()-less platforms removed + +- Some code in main() has been reordered to allow mkisofs to recognize that + the installation at /opt/schily/lib/siconv is missing even if the --ethershare + option has ben used. Before, mkisofs did dump core in this case, now it + mentions to install libsiconv. + +- mkisofs now prints more explicit error messages if the strings (like + e.g. the volume name) inside the PVD do not fit. This should help + people that use e.g. UTF-8 based locales and don't understand + that the strings may use up more octett space than the number of + characters in the string. + +- mkisofs now supports to import multi-extent files (> 4 GB) from old + sessions. + +- Fixed a bug in the graft -root code from Patrik Ohly thanks to + Ben Korvemaker FreeBSD for reporting. + +- Added a workaround for some Linux filesystems that do not deliver "." and ".." + first with readdir() + +- Fixed -x pattern not to exclude "." and ".." also + +- Always "." and ".." first to the dir content. + +NOTE that all these problems have not been present with "mkisofs .. -find " + +- Try to avoid inconsistencies with USE_ARGEFILES with multi-extent files + +- Corrected the iso directory record size computation in stream-file mode + +- Mkisofs no longer tries to write 8 TB of data in case that -stream-media-size + was too small. + +- Mkisofs now correctly limits filenames with non-ISO-8859-1 characters + to 127 chars max. + +- Mkisofs now correctly sets the permissions for "invented" unreal + directories in UDF instead of using mode 000. + +- Mkisofs now correctly mixes multi-extent-File directory entries from + old sessions made by mkisofs. This is only related to multi-session + with files >= 4 GB. + +- isoinfo now extracts files using 10 sectors at a time to speed up + operation + +- First step of changes intended to allow to remove Mac OS 9 "hfs" support + from mkisofs. Mac OS X supports UDF extensions and "hfs" does not support + large files. For this reason, "hfs" support is an anachronism. + +- mkisofs -UDF now does not longer replace controlchars in case that -J has not + been specified at the same time. This is a workaround for the fact that + mkisofs still shares the file name management code between UDF and Joliet. + +- Converted to use libcdrdeflt + +- Converted to use libscgcmd + +- Workaround for a GCC warning with make DEFAULTSDIR=DEFAULTS_ENG + warning: 'sccsid' defined but not used added + +- Raising PATH_MAX to be at least 1024 for all platforms as Cygwin + defines PATH_MAX to 260 which is too small for Cygwin. + +- Implemented a better error message in case that the boot image + could not be found inside the target tree. + +- A description for the -s/-sector option was added to the man page. + This option is used to allow to create conforming multi-session + images for e.g. the Kodak Photo CD or the Kodak Picture CD. + +- A description forr the -XA and -xa option was added to the man page. + +- Mkisofs now writes a better error message in case that it cannot + sort a directory because more than on directory content was merged + into the ISO image. + +- isoinfo -d now prints the checksum for the Eltorito validation header + +- Some casts have been added to increase the 64 bit compilation support + +- mkisofs and the tools isodump, isovfy and isoinfo now completely + support the SUSP termination signature "ST". + +- Do no longer flag the absence of a "RR" signature as an error in + isodump, isovfy and isoinfo as newer Rock Ridge standard versions removed RR. + +- Fixed a minor problem with a debug print output and 64 bit compile mode. + +- Avoid some GCC warnings + +- Minor typo fix in the mkisofs man page + +- Mkisofs now reports "Haiku" for the OS platform if on Haiku. + +- The isoinfo man page now includes the -debug option + +- Automated support for System ID + + Haiku, Syllable, AMIGA-OS, ATARI-MiNT + +- Fixed some Rock Ridge bugs that have been identified when investigating + in the OpenSolaris bug 6807009 + http://defect.opensolaris.org/bz/show_bug.cgi?id=5385 + +- Man page description for -abstract -biblio -copyright is now better + to understand + +- Better error messages in case that a specific charset translation is not + available. + +- Now using HAVE_ICONV_CONST to avoid iconv() related compiler warnings + +- libschily/checkerr.c (used by mkisofs) now correctly handles the "WARN" directive. + +- Fixed a typo bug in the mkisofs man page that caused the two synopsis lines + to appear as one line when using GNU troff. + +- isoinfo now prints "???" in case that an illegal month is in a ISO-9660 + filesystem. + +- Fixed a potential malloc problem in mkisofs + +- Avoid signed chars ad parameter to toupper + +- mkisofs man page reworked + +- isoinfo man page reworked + +- New file mkisofs/rock.h + +- isodump now prints more information about Rock Ridge attributes to + help debugging non-compliant Rock Ridge ISO images. + +- isoinfo now correctly identifies ISO images made with the Mac OS X + program "hdiutil" by e.g. calling: + + hdiutil makehybrid -iso -hfs -verbose -o xxx.iso some_dir + + As filesystems that violate the Rock Ridge standard. + + Check e.g. by "isoinfo -i xxx.iso -d" + + Interpreting Rock Ridge on such images can be enforced by calling: + + "isoinfo -i xxx.iso -lR -debug" + +- mkisofs now ignores the broken Rock Ridge attributes that have been + created by the Mac OS X program "hdiutil". + +- Make "isovfy" CD-ROM-XA aware + +- Make "isodump" CD-ROM-XA aware + +- "isoinfo" now supports iconv() based locales for Joliet. + +- Various Cstyle changes + +- Fixed a bug with file descriptor handling in mkisofs/apple.c + +- The man page for mkisofs was enhanced in order to better mention + that mkisofs always writes ISO-9660 and that other file systems are + thus always added as a hybrid file system. + +- cdwrite@lists.debian.org removed from man page + please use the official mailing lists for cdrecord that exist since 10 years: + http://developer.berlios.de/mail/?group_id=5 + +- Do no longer archive the output file if it is part of the archives directory + tree. + +- New option -data-change-warn allows to prevent mkisofs from aborting when + a file changes size. + + -data-change-warn is implemented via errctl="WARN|GROW|SHRINK *" + +- Print a hint to the option -data-change-warn if a shrunk/grown file is detected. + +- Print a hint to the option -no-limit-pathtables in case that there are more + than 65535 parent directories in the target filesystem. + +- Print hints on using -joliet-long or on avoiding -J in case that there are + file names that do not fit into 64 chars. + +- Prevent mkisofs from aborting with "... -hide large-file". Thanks for + the bug report from Udo Büdel. + + + HELIOS TODO: + + - Add the HELIOS UNICODE mapping code. This needs to be done + at UCS-2 level for Joliet and UDF (instead of UTF-8) and only + for Rock Ridge (in case of a UTF-8 based target locale) using + UTF-8 based translations. + + - Make the Apple extensions work again with "mkisofs -find" + + +TODO: + - Support correct inode numbers for UDF hardlinks + + - Support sockets, pipes, char/blk-dev specials with UDF + + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +ftp://ftp.berlios.de/pub/cdrecord/ ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + ftp://ftp.berlios.de/pub/star/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-3.01 b/AN-3.01 new file mode 100644 index 0000000..ddda87f --- /dev/null +++ b/AN-3.01 @@ -0,0 +1,2173 @@ +***************** Important news **************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +NEW features of cdrtools-3.01: + +This is the first localization step for cdrtools. All programs now (hopefully) +call gettext() for all strings that need localization. + +- The next step will include dgettext() calls for the libraries. + +- The following step will include the extracted strings + +- The last step will include German translations and install support + for the resulting binary message object files. + +----------> Please test and report compilation problems! <--------- + +***** NOTE: As mentioned since 2004, frontends to cdrtools should ***** +***** call all programs from cdrtools in the "C" locale ***** +***** by e.g. calling: LC_ALL=C cdrecord .... ***** +***** unless these frontends support localized strings ***** +***** used by the cdrtools with NLS support. ***** + +This version compiles on Win-DOS using the Microsoft compiler cl.exe but +warning: due to missing POSIX compliance with basic features (e.g. stat() +does not return inode numbers), there are many problems with the resulting +code and thus it is recommended to better use a POSIX layer on top of +WIN-DOS. + + *** WARNING *** + *** Need new smake *** + + *** Due to the fact that schily-2014-04-03 introduced to use new macro + *** expansions and a related bug fix in smake, you need a new smake + *** to compile this source. To ensure this, get a recent "schily" + *** tarball from http://sourceforge.net/projects/schilytools/files/ + *** and call: + + cd ./psmake + ./MAKE-all + cd .. + psmake/smake + psmake/smake install + + The new smake version mentioned above is smake-1.2.4. + Note that smake-1.2.5 exists and is preferrable. + + Now you have a new smake that is able to compile this source. + + Note that the major makefile restructuring introduced in + schily-2014-04-03 is now more than one month ago and thus seems + to work without problems. + + WARNING: the new version of the isoinfo program makes use of the + *at() series of functions that have been introduced by Sun + in August 2001 and added to POSIX.1-2008. For older platforms, + libschily now includes emulations for these functions but + these emulations have not yet been tested thoroughly. + Please report problems! + + +All: + +- The macros XARCH_GEN & XARCH_OPT are now in RULES/cc-sunpro*.rul + +- The include file include/schily/ccomdefs.h now allows to disable + the printf() format checks for GCC with -DNO_PRINTFLIKE + This is needed in order to allow star to compile in the Solaris ON + consolidation as GCC id too dumb for the printf() extensions. + +- All include files (even those created by autoconf) are now protected + against multiple inclusion. + +- New autoconf test for pathconf() and fpathconf() + +- New autoconf test for /dev/stdin, /dev/stdout, /dev/stderr, + /dev/fd/0, /dev/fd/1, /dev/fd2 + +- New autoconf tests for: qecvt() qfcvt() qgcvt() + _ldecvt() _ldfcvt() _ldgcvt() _ldecvt_r() _ldfcvt_r() _ldgcvt_r() + qeconvert() qfconvert() qgconvert() + needed for long double support. + +- New autoconf test for _qecvt() _qfcvt() _qgcvt() + and _qecvt_r() _qfcvt_r() _qgcvt_r() on AIX + +- All linker map files have been modified to allow platform + dependent #ifdef's + +- include/schily/wchar.h now includes a workaround for platforms + that do not have wcwidth(). + +- Make NLS the default (i.e. gettext() is called in case that schily/nlsdefs.h + was included) + +- include/schily/nlsdefs.h now includes macros _(s) and __(s) to support + gettext() and xgettext(1) + +- The makefile system now by default disables smake Simple Suffix Rules + and the POSIX Suffix Rules in order to speed up inference rule search. + +- A new rule RULES/profiled.lnk allows to call: + + smake COPTX=-pg LDOPTX=-pg LINKMODE=profiled + + to create binaries that use gprof. + +- The Makefile System is now able to switch gmake-3.82 into a more POSIX + compliant mode to tell the shell to report problems back to gmake. + +- New autoconf tests on whether printf supoorts %lld and %jd + +- Fixed the vc9-setup files to make VC9 work. + +- Newer Cygwin "tail" versions do no longer support UNIX syntax. + change tail +2 to tail -n +2 in RULES/cc-mcs.rul to allow to use + the Microsoft compiler again + +- A new environment variable MKLINKS_COPY allows to tell all + MKLINKS scripts to generate file copies rather than symlinks. + Call: + MKLINKS_COPY=true + export MKLINKS_COPY + to enable this feature + +- Run an additional test -h command in MKLINKS to verify whether mingw + supports symlinks + +- MKLINKS now creates copies instead of symlinks when we use MSC + as MSC does not support to read symlink files + +- Fixed a typo in include/schily/libport.h (group functions have been + defined to return struct passwd* instead of struct group* + +- Fixed wrong bracketing for C++ in include/schily/stdlib.h + +- Fixed wrong bracketing for C++ in include/schily/utypes.h + +- Added a workaround for MSC to include/schily/utypes.h + MSC believes that a 32 bit int and a 32 bit long are incompatible + and cannot even be casted, so we need to make uint32_t a n unsigned long + +- Let include/schily/archdefs.h define the standard processor #defines + when compiling with MSC. + +- New include file include/schily/windows.h works around the oddities + from the MSC include file windows.h + +- include/schily/stdio.h now defines popen()/pclose() to _popen()/_pclose() + if on WIN-DOS + +- include/schily/limits.h now defines PIPE_BUF + +- include/schily/utsname.h now defines struct utsname for our MSC uname() + emulation. + +- The setup for the PATHs needed by Visual Studio 9 has been + corrected. + +- autoconf has been modified to avoid optimizing away code that + is intended for testing. This help to work against a problem + with detecting mbrtowc() on MinGW + +- autoconf now tests for mbtowc() and wctomb() + +- RULES/i*86-mingw32_nt-gcc.rul now link against -lmingw32 instead + of -lmgw32. + +- include/schily/stat.h now defines S_IREAD/S_IWRITE/S_IEXEC + These macros are available on typical UNIX systems but not + on Android. The definition comes from UNIX V7 and is not in + POSIX. Needed by SCCS and the Bourne Shell + +- include/schily/wait.h now defines WIFCONTINUED() if needed + +- include/schily/wchar.h now defines mbtowc() to mbrtowc() if + needed (e.g. on Android) + +- include/schily/ccomdefs.h now correctly knows about the GCC + release that introduced __attribute__ (used). + +- Android is not POSIX (by not defining various functions as functions + in libc as required by POSIX) because it tries to define many + functions that are part of the standard as inline macros in + include files only. This breaks autoconf, so we needed to rewrite + some tests (e.g for getpagesize, tcgetpgrp, tcsetpgrp) + +- The Schily autoconf system has been enhanced to support cross + compilation. Schily autoconf is based on GNU autoconf and + GNU autoconf does not support cross compilation because it needs + to run scripts on the target system for some of the tests. + + The "configure" script that is delivered with the Schily makefile + system runs 718 tests and 68 of them need to be run on the target + system. + + The Schily autoconf system now supports a method to run these 68 + tests natively on a target system. You either need a machine with + remote login features or you need an emulator with a method to + copy files into the emulated system and to run binaries on the + emulated system as e.g. the Android emulator. + + We currently deliver three scripts for "remote" execution of + programs on the target system: + + runrmt_ssh runs the commands remove via ssh + runrmt_rsh runs the commands remove via rsh + runrmt_android runs the commands remove via the debug bridge + + If you need to remotely run programs on a system that is not + supported by one of there three scripts, you need to modify one + of them to match your needs. + + To enable Cross Compilation use the following environment variables: + + CONFIG_RMTCALL= Set up to point to a script that does + the remote execution, e.g.: + + CONFIG_RMTCALL=`pwd`/conf/runrmt_ssh + + CONFIG_RMTHOST= Set up to point to your remote host, e.g.: + + CONFIG_RMTHOST=hostname + or + CONFIG_RMTHOST=user@hostname + + use a dummy if you like to use something + like to the Android emulator. + + CONFIG_RMTDEBUG= Set to something non-null in order to + let the remote execution script mark + remote commands. This will result in + configure messages like: + + checking bits in minor device number... REMOTE 8 + + Note that smake includes automake features that automatically + retrieve system ID information. For this reason, you need to overwrite + related macros from the command line if you like to do a + cross compilation. + + Related make macros: + + K_ARCH= # (sun4v) Kernel ARCH filled from uname -m / arch -k + M_ARCH= # (sun4) Machine filled from arch + P_ARCH= # (sparc) CPU ARCH filled from uname -p / mach + OSNAME= # sunos, linux, .... + OSREL= # 5.11 + OSVERSION= # snv_130 + CCOM= # generic compiler name (e.g. "gcc") + CC_COM= # compiler to call (name + basic args) + + ARCH= overwrites M_ARCH and P_ARCH + + It is usually sufficient to set ARCH and OSNAME. + + In order to use a cross compiler environment instead of a native compiler, + set the make macro CC_COM to something different than "cc". + + If you are on Linux and like to compile for Android, do the following: + + 1) set up CC acording to the instructions from the cross compiler + tool chain + + 2) set environment variables CONFIG_RMTCALL / CONFIG_RMTHOST, e.g.: + setenv CONFIG_RMTCALL `pwd`/conf/runrmt_android + setenv CONFIG_RMTHOST NONE + + 3) call smake: + + smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC_COM=$CC" + + +- Several programs no longer test for HAVE_DEV_* but for HAVE__DEV_* + as we did switch from hand written tests for /dev/tty, /dev/null + and similar to AC_CHECK_FILES(/dev/tty /dev/null /dev/zero) + +- The Makefile system now links dynamic libraries on Mac OS X against + libgcc_s.1 instead of libgcc. + + +- The file COPYING has been reworded to be more obvious with + explaining work limits. + +- A workaround for a bug in llvm-gcc-4.2 has been introduced in + inc/avoffset.c. The llvm-gcc-4.2 bug caused an endless loop at an + unexpected place. + +- New target "htmlxn" to only rebuild html versions of man pages + only in case there was a change + +- The CSW packaging definitions in the schily makefilesystem was + enhanced to permit referencing files in the package definition directory + +- include/schily/sigset.h added new macros: blocked_sigs(), + block_sigs() + +- include/schily/fcntl.h now includes O_SEARCH for POSIX.1-2008 compliance. + +- Schily autoconf now tests for the size of mode_t, uid_t, gid_t, pid_t, + dev_t, major_t, minor_t + +- Schily autoconf now defines a promoted type for mode_t that can be + used together with varargs. This is needed as mode_t is smaller than + int on some systems. + +- New autoconf tests for getdelim() and strncasecmp() + +- Added a workaround for a auto-dependency creation bug in the HP-UX + c-compiler that resulted in wrong dependency files for all files + in libshcily/stdio/ and for these files prevented an automated + recompilation in case that an include file was changed. + +- Added links for: + + amd64-freebsd-cc.rul + amd64-freebsd-gcc.rul + + amd64-openbsd-cc.rul + amd64-openbsd-gcc.rul + + x86_64-darwin-cc.rul + x86_64-darwin-gcc.rul + x86_64-darwin-cc64.rul + x86_64-darwin-gcc64.rul + x86_64-darwin-cc32.rul + x86_64-darwin-gcc32.rul + +- RULES/rules.loc now makes $(PTARGET) depend on $(ARCHDIR) to + support make -j 2 + +- New include files include/schily/inttypes.h and include/schily/stdint.h + +- The script conf/makeinc is no longer confused by OpenBSD + that has man.7 and mandoc.7 and both match on man* + + + +- conf/runrmt_android has been enhanced to better deal with the + "runrmt -r file-to-test" calling variant. + +- configure now ignores a stramge directory that is created on Mac OS X + when compiling with cc -g and that is in conflict with other rules. + +- Introduce a dependency for man page subdiretories to allow syncing + parallel make calls. + +- Try to support Debian with FreeBSD kernel + +- Better support for Win32 sockets when using cl.exe + +- Avoid problems with the non-standard prototypes for link() unlink() + read() and write() from cl.exe + +- Support for Pyro (a Syllable clone) was added. + Thanks to Flemming H. Sørensen + +- Add support for semi-static (preconfigured) include files for Android: + include/schily/armv5tejl-linux-gcc/xconfig.h + +- New include files include/schily/err_*.h are used to encapsulate + #error CPP statements that would otherwise always prevent compilation + with K&R compilers. + +- The make program specific configuration files for the Schily Makefilesystem + RULES/mk-.id (for SunPro make), RULES/mk-smake.id RULES/mk-gmake.id + now include definitions for the macros: + + SPACE A single space character (' ') + NUMBER_SIGN The ASCII number sing ('#') + + Note that the POSIX standard otherwise requires the make program + to be unable to have the '#' appear in non-comment sections of + Makefiles. + +- Try to work around an imprudent change in the file windef.h from + Cygwin-1.7.17 (Autumn 2012) related to the type BOOL that makes + windefs.h from the recent Cygwin no longer compatible to the + original file from Microsoft. The fix is in include/schily/windows.h + + Thanks to Alain Hoang, Thomas Plank and others for reporting and + help with getting a fix for the problem named above + + + +- The Schily makefilesystem now supports CC++_COM for all platforms to + allow to overwrite the low level command for the C++-compiler. + + +- include/schily/stat.h now contains macros to set the nanoseconds + in timestamps in a OS-independent way + + +- Fixed a typo in include/schily/stat.h related to nanosecond + handling for NetBSD and OpenBSD + +- New autoconf tests for sys/capability.h and cap_*() functions + from Linux -lcap + + WARNING: If you do not see this: + + checking for cap_get_proc in -lcap... yes + checking for cap_get_proc... yes + checking for cap_set_proc... yes + checking for cap_set_flag... yes + checking for cap_clear_flag... yes + + your Linux installation is insecure in case you ever use the + command "setcap" to set up file capabilities for executable commands. + + Note that cdrtools (as any other command) need to be capabylity-aware + in order to avoid security leaks with enhanced privileges. In most + cases, privileges are only needed for a very limited set of operations. + If cdrtools (cdrecord, cdda2wav, readcd) are installed suid-root, the + functions to control privileges are in the basic set of supported + functions and thus there is no problem for any program to control it's + privileges - if they have been obtained via suid root, you are on a + secure system. + + If you are however on an incomplete installation, that supports to + raise privileges via fcaps but that does not include developer support + for caps, the programs get the privileges without being able to know + about the additional privileges and thus keep them because they cannot + control them. + + WARNING: If you are on a Linux system that includes support for + fcaps (this is seems to be true for all newer systems with + Linux >= 2.6.24) and there is no development support for capabilities + in the base system, you are on an inherently insecure system that allows + to compile and set up programs with enhanced privileges that cannot + control them. + + In such a case, try to educate the security manager for the related + Linux distribution. Note that you may turn your private installation + into a secure installation by installing development support for libcap. + + +- The autofconf tests for broken Linux kernel headers now avoid to + warn for /usr/src/linux/include if this directory is missing. + +- include/schily/priv.h now includes sys/capabilitiy.h if available. + + +- Due to an incorrect message from last release, here is corrected + information on when a Linux installation is potentially dangerous: + + New autoconf tests for sys/capability.h and cap_*() functions + from Linux -lcap + + WARNING: If you do not see this: + + checking for sys/capability.h... yes + + ... + + checking for cap_get_proc in -lcap... yes + checking for cap_get_proc... yes + checking for cap_set_proc... yes + checking for cap_set_flag... yes + checking for cap_clear_flag... yes + + your Linux installation is insecure in case you ever use the + command "setcap" to set up file capabilities for executable commands. + + Note that cdrtools (as any other command) need to be capabylity-aware + in order to avoid security leaks with enhanced privileges. In most + cases, privileges are only needed for a very limited set of operations. + If cdrtools (cdrecord, cdda2wav, readcd) are installed suid-root, the + functions to control privileges are in the basic set of supported + functions and thus there is no problem for any program to control it's + privileges - if they have been obtained via suid root, you are on a + secure system. + + If you are however on an incomplete installation, that supports to + raise privileges via fcaps but that does not include developer support + for caps, the programs get the privileges without being able to know + about the additional privileges and thus keep them because they cannot + control them. + + WARNING: If you are on a Linux system that includes support for + fcaps (this is seems to be true for all newer systems with + Linux >= 2.6.24) and there is no development support for capabilities + in the base system, you are on an inherently insecure system that allows + to compile and set up programs with enhanced privileges that cannot + control them. + + In such a case, try to educate the security manager for the related + Linux distribution. Note that you may turn your private installation + into a secure installation by installing development support for libcap. + +- WARNING: the include structure of include/schily/*.h and several sources + has been restructured to cause less warnings with older OS platforms. + If you see any new problem on your personal platform, please report. + +- New includefiles: + + schily/poll.h Support poll() + schily/stdarg.h An alias to schily/varargs.h (but using the std name) + schily/sunos4_proto.h Missing prototypes for SunOS-4.x to make gcc quiet + schily/timeb.h Needed for users of ftime() + +- Many minor bug-fixes for the files include/schily/*.h + +- include/schily/archconf.h now defines __SUNOS5 for easier coding + +- include/schily/priv.h now defines platform-independent fine-grained privileges + +- Updated README.compile: + + Some typo patches from Jan Engelhardt + + Documented the "LINKMODE=" macro to explain how to create dynamically + linked bynaries. + + +- The SCCS keyword expansion for "Mocsw" has been limited to + prevent expansion of date '+%Y%m%d%H%M%S' + +- Mocsw now sets link mode to -Bdirect for recent OpenCSW rules + +- pkgdefs/OCSW/*/checkpkg_override modified to match current OpenCSW + rules. + +- Make sure that all schily include files except the primary wrappers + include schily/*.h instead of including the system include files directly. + +- Allow a "static" compilation (a compilation without using dynamic -I + Paths) on Linux x86 by adding static #includes for Linux x86 in: + + include/schily//align.h + include/schily//archdefs.h + include/schily//avoffset.h + include/schily//xconfig.h + + This is needed if you like to install the schily include files + to /usr/include/schily and allow users to "manually" compile + programs that use e.g libparanoia. + + To allow this, the autoconf results need to be installed as: + + + and + + + + +- The Schily Makefilesystem no longer uses CC= for internal tasks. + People who now set $CC to a different value will fail in a similar + way as they would fail with other build systems. + +- Added automatic support for ARMv5 and ARMv6. This makes compilation + on the RaspberryPI also possible with the non automake-aware gmake. + +- Allow "static" compilation (a compilation that does not use the + dynamic defines from the Schily Makefilesystem) on Linux ARMv6 (which + is used by RaspberryPI). + +- Allow a "static" compilation (a compilation without using dynamic -I + Paths) on Linux on ARMv5 and ARMv6 by adding static #includes for + Linux ARM in: + + include/schily//align.h + include/schily//archdefs.h + include/schily//avoffset.h + include/schily//xconfig.h + + This is needed if you like to install the schily include files + to /usr/include/schily and allow users to "manually" compile + programs that use e.g libparanoia. + + To allow this, the autoconf results need to be installed as: + + + and + + + +- Many sources have been modified to deal __CYGWIN32__ like __CYGWIN__ + This is neded as newer Cygwin versions that run in 64 Bit mode + do no longer define __CYGWIN32__ but __CYGWIN__ + +- Added rules for non-automake enabled make programs (like gmake) + for: ppc64-linux-cc.rul and ppc64-linux-gcc.rul + +- Added new OS version ID rules for various WIN-DOS versions: + + os-interix-nt-6.0.id + os-interix-nt-6.1.id + os-cygwin_nt-6.2-wow64.id + os-cygwin_nt-6.2.id + os-cygwin_nt-6.3-wow64.id + os-cygwin_nt-6.3.id + +- New autoconf test in whether struct timespec is defined. + + +- New autoconf tests for: + + - NFSv4 ACL support + + - issetugid() + + - lpathconf() + + - utimens() + - futimens() + - lutimens() + + +- The rules in the Schily Makefilesystem have been restructured in order + to allow to avoid problems on platforms like FreeBSD and Mac OS X: + + FreeBSD and Mac OS X banned the not-free-enough (because GPLd) + software to /usr/local, forcing us to add -I/usr/local/include + and -L/usr/local/lib. Unfortunately, /usr/local/include frequently + carries a _very_ outdated and thus wrong copy of "cdda_paranoia.h" + which is more than 10 years old and definitely incompatible with + dynamic linking on Mac OS X. This defective copy was first in the + search path and prevented compilation. + + We now have a new macro: DEFOSINCDIRS= that grants to add include + directories to the end of the search PATH to allow us to find the + correct "cdda_paranoia.h" first. + + Please test and report in case of problems. + +- gmake and SunPro make include COMPILE.c with wrong content in their + built-in rules. We now clear this macro in RULES/rules.top. It is + still possible to provide a modified version from command line + or from the environment. + +- include/schily/stdio.h was reordered, as it prevented compilation + of the "bsh" on Linux. This was a problem recently introduced, + when we added #ifndef NO_SCHILY_STDIO_H + +- Fixed autoconf typo HAVE_MKNODKAT -> HAVE_MKNODAT + +- include/schily/intcvt.h is now self contained. + +- include/schily/windows.h now includes the same type workaround + for MINGW32 as for the Microsoft C compiler, as there are the same + autoconf detection problems. + +- Added missing include/schily/err_type.h + +- New file include/schily/shedit.h + + +- New Schily Makefiles rules for armv7l-linux + +- autoconf/xconfig.h.in now treats MinGW32 the same as when compiling + with cl.exe + + +- Define DEV_NULL in include/schily/mconfig.h to address the missing + /dev/null on DOS + +- New autoconf tests for: + getc_unlocked getchar_unlocked putc_unlocked putchar_unlocked + flockfile funlockfile ftrylockfile + +- Symlinks for + armv4tl-linux-cc.rul s390x-linux-cc.rul armv5tel-linux-cc.rul + new, to support non automake-aware make programs such as gmake. + + +- Do not define a gethostname() prototype in schily/hostname.h + for MinGW, as MinGW as a wrong prototype is in the non-standard + file winsock.h + +- include/schily/stdio.h now implements code that partially unhides + the FILE * data structures from the 64 bit Solaris libc. + This allows to implement a getc_unlocked() macro even for 64 bit + Solaris as done by libc, so libschily is able to achieve similar + stdio I/O performance, which is needed to be able to implement + a printf() in libschily that is faster than printf() from libc. + + +- include/schily/varargs.h now includes a new type va_lists_t + that is a structure that covers va_list. + +- include/schily/getargs.h now has comments for the arguments and + return code of the getargs() callback functions. + +- The schily makefilesystem now includes a new symlink + ppc64le-linux-cc.rul for non automake-aware make implementations + such as gmake. + +- New autoconf tests for strspn() strcspn() wcsspn() wcscspn() + +- Typo fix in README.compile for the mail address. + Thanks to Dennis Clarke for the catch! + +- Fixed the autoconf test for #pragma weak, so it will not + believe that "clang" supports #pragma weak in a compatible way. + This is needed in order to compile libmdigest/sha2.c using clang. + +- New autoconf tests added for: + + libexpat + libpcsclite / winscard.lib + libcrypto / libeay32.lib + libssl / ssleay32.lib + +- New autoconf test for expat.h + +- The makefile system added the INVERSE_SUBARCHDIR= to allow local + autoconfiguration for shared libraries. + +- RULES/rules.top now also calls MKLINKS in the directory TEMPLATES + +- New compiler configuration files: + + RULES/cc-clang.rul + RULES/cc-clang32.rul + RULES/cc-clang64.rul + +- The Mac OS X related rules now support a new macro: + + LDFRAMEWORKS= + + that allows to add Apple specific libraries. + +- Added a new WIN32_LIBS= macro for Win-DOS specific libraries. + These libraries have to be specified in the portable -lfoo + format for "libfoo" and also work when compiling for MinGW32. + When cl.exe is used, -lfoo is converted to foo.lib. + +- New configuration files: + + RULES/i386-darwin-clang.rul + RULES/i386-darwin-clang32.rul + RULES/i386-darwin-clang64.rul + +- New configuration files: + + RULES/i386-freebsd-clang.rul + RULES/i586-linux-clang.rul + RULES/x86_64-linux-clang.rul + RULES/i86pc-sunos5-clang.rul + RULES/sun4-sunos5-clang.rul + + Note that these files have not been tested yet. + +- RULES/cc-sunpro.rul now also includes rules for + RULES/cc-sunpro32.rul and + RULES/cc-sunpro64.rul + +- RULES/cc-gcc.rul now also includes rules for + RULES/cc-gcc32.rul and + RULES/cc-gcc64.rul + +- RULES/cc-sunpro32.rul added for orthogonality + +- RULES/cc-sunpro32.rul and + RULES/cc-sunpro64.rul are symlinks to RULES/cc-sunpro.rul + and RULES/cc-sunpro.rul uses a macro to include + cc-sunpro.rul + cc-sunpro32.rul + cc-sunpro64.rul + as needed + +- RULES/i86pc-sunos5-cc.rul now also includes rules for + RULES/i86pc-sunos5-cc32.rul and + RULES/i86pc-sunos5-cc64.rul + +- RULES/i86pc-sunos5-gcc.rul now also includes rules for + RULES/i86pc-sunos5-gcc32.rul and + RULES/i86pc-sunos5-gcc64.rul + +- RULES/sun4-sunos5-cc.rul now also includes rules for + RULES/sun4-sunos5-cc32.rul and + RULES/sun4-sunos5-cc64.rul + +- RULES/sun4-sunos5-gcc.rul now also includes rules for + RULES/sun4-sunos5-gcc32.rul and + RULES/sun4-sunos5-gcc64.rul + +- RULES/i586-linux-suncc.rul now also includes rules for + RULES/i586-linux-suncc32.rul and + RULES/i586-linux-suncc64.rul + +- RULES/9000-725-hp-ux-cc.rul now also includes rules for + RULES/9000-725-hp-ux-cc32.rul and + RULES/9000-725-hp-ux-cc64.rul + +- RULES/i486-cygwin32_nt-cc.rul now also includes rules for + RULES/i486-cygwin32_nt-cc32.rul and + RULES/i486-cygwin32_nt-cc64.rul + +- RULES/i486-cygwin32_nt-gcc.rul now also includes rules for + RULES/i486-cygwin32_nt-gcc32.rul and + RULES/i486-cygwin32_nt-gcc64.rul + +- RULES/ip22-irix-cc.rul now also includes rules for + RULES/ip22-irix-cc64.rul + +- RULES/ip22-irix-gcc.rul now also includes rules for + RULES/ip22-irix-gcc64.rul + +- RULES/power-macintosh-darwin-cc.rul now also includes rules for + RULES/power-macintosh-darwin-cc32.rul and + RULES/power-macintosh-darwin-cc64.rul + +- RULES/power-macintosh-darwin-gcc.rul now also includes rules for + RULES/power-macintosh-darwin-gcc32.rul and + RULES/power-macintosh-darwin-gcc64.rul + +- conf/makeinc now knows that a compiler name may not follow + the "cc*" text rule. This helps to support "clang". + +- conf/cc-config.sh has been enhanced to detect whether + "cc" or "gcc" are emulated via "clang". + +- New files in TEMPLATES/ related to "clang" + +- TEMPLATES/ now includes config files for gcc32 and gcc64 + +- TEMPLATES/ now includes config files for clang, clang32 and clang64 + +- Add comment to DEFAULTS_CSW/sparc-cc.defs + +- config.guess now understands Mac OS X on 64 bit Intel + + +- Fixed a typo in autoconf/xconfig.h.in that caused the Win-DOS function + LoadLibrary() not to be recognised correctly. + +- Added compile support for: amd64-freebsd-clang*.rul + +- include/schily/unistd.h now extends some exceptions to work around + problems with the MS C-compiler to MinGW32. + + +- Various README's, scripts and man pages have been revised to replace + berlios.de by sourceforge.net + + Note that some files have not yet been completely updated for that + change as there is no easy way to deal with a site like sourceforge + that does not support ftp: + + ./conf/src-get + ./conf/setup.sh + + Because we now assume that any UNIX distro includes a ftp(1) program, + but we cannot assume that there is wget. + +- include/schily/dlfcn.h now includes a #define HAVE_LOADABLE_LIBS + in case we compile on a system that implements runtime loadable + libraries and that libschily implements an adoption for this + local method to the POSIX dlopen()/dlsym()/dlclose(). This is currently + true for Solaris (and similar) that implement dlopen()/dlsym()/dlclose() + natively and for HP-UX and Win-DOS. + +- The makefile rules for installing man pages have been changed so that + OBJ//man/ is no longer a direct dependency of the man page. + This results in repeated "make install" calls not to reinstall + up-to-date man pages again. + +- The makefile rules for installing localized scripts have been changed so + that OBJ// is no longer a direct dependency of the man page. + This results in repeated "make install" calls not to reinstall + up-to-date scripts again. + +- New autoconf test checks whether printf() supports %z + +- Some documentation now mentions sourceforge instead of BerliOS + +- README.compile now mentions how to use instrumented compilers with + the Schily Makefilesystem. + +- Support for ARM-64 (aarch64) was added + +- rules.dep (r-make.dep, r-smake.dep, r-gmake.dep) now create + $(ARCHDIR)/man together with $(ARCHDIR) to make sure this + directory exists before someone calls "*make install" as root. + +- rules.dep (r-make.dep, r-smake.dep, r-gmake.dep) now make sure + that $(ARCHDIR)/Dnull will not be touched in case it already + exists. This prevents some unneeded file rebuilds if the make + program is changed between two builds. + + Note that echo > $(ARCHDIR)/Dnull already enforces a shell (because + the command contains a ">") and the use of an if statement thus + does not cause extra costs. + +- $(ARCHDIR)/Dnull no longer depends on $(ARCHDIR), this prevents + attempts to re-create $(ARCHDIR)/Dnull after an update in $(ARCHDIR) + +- it is now ensured that $(SRCROOT)/incs/Dnull will not be touched + in case it already exists. + +- TEMPLATES/MKLINKS now creates a dummy link to allow it to recognise + whether the links already exist. + +- include/schily/sysexits.h adopts to the recent changes on Haiku that + prevent usual autoconf tests as #include works but symbols + are only defined with #define _BSD_SOURCE + +- include/schily/wait.h now knows about the Haiku specific macro + WIFCORED() and #defines WCOREDUMP() to WIFCORED(). + +- Support for x86_64-haiku-cc.rul and x86_64-haiku-gcc.rul was added + to the makefile system. + +- The file RULES/r-gmake.dep was modified to make sure that the + dependency files (*.d) depend on the include files as well. + Previous versions included xxx.d instead of $(ARCHDIR)/xxx.d + +- Makefile system: two new targets have been added: + + man creates localized versions of the man pages in the + OBJ directory + + installman installs only the manual pages + +- include/schily/signal.h now includes siginfo.h to make sure it + compiles even on very old Solaris versions where signal.h did not + yet include siginfo.h. + +- include/schily/wait.h add a missing closing bracket for Haiku + +- include/schily/wait.h added CLD_* macros and the enum idtype_t in case + they are missing. This allows to implement a waitid() emulation. + +- include/schily/wait.h now includes schily/signal.h in case that + the local /usrinclude/sys/wait.h is non-POSIX and does not + define siginfo_t. This is e.g. the case on FreeBSD. + +- The configure tests now includes a test that correctly identifies + Mac OS X as non-POSIX with respect to waitid(). This prevents + potential users ofwaitid() from the unusable implementation on + Mac OS X. + + The rule for accepting an existing waitid() is the following: + + - si.si_pid is set to be equal to the awaited pid + + - si.si_code == CLD_EXITED for a chilt terminated by exit(2) + + - si.si_status contains at least 16 bits from the exit(2) + code. This is still not POSIX but better than what we would + get from a historical wait*() call. + +- The configure tests now check for the new FreeBSD wait6() and for + idtype_t. + +- A new symlink for x86_64-cygwin32_nt-gcc.rul was added + +- Added support for cygwin32_wow (not the already present cygwin32_wow64). + +- The makefile system now allows to use: + + COPTX=-DNO_PRAGMA_WEAK + + to disable the use of #pragma weak. This may help to debug some + oddities of the GNU linker. + +- The makefile system now includes a new test that needs constraints + that are not really supported by autoconf: it checks whether the + linker supports to link against external weak symbols in another + file. For this reason, a handcrafted conftest was written. + This (currently) should fail on Cygwin due to a Cygwin bug. + A platform that allows to link against weak symbols defines + HAVE_LINK_WEAK. This permits the system to automatically detect + usability once e.g. linking on Cygwin will be fixed. + + Thanks to Thomas Plank for reporting the known #pragma weak problem + in a new source file (libschily/error.c). Note that error() is a + UNIX (UNOS) libc function that exists since 1980 but some libc + implementors do not follow the rule not to introduce incompatible + interfaces for existing names. So we need to find a workaround + on these platforms. + +- autoconf now checks for the type rlim_t in sys/resource.h + +- README.compile now includes an example on how to cross compile + on Linux for Android. + +- include/schily/find.h modified to avoid a GCC warning from + using libfind in the Bourne Shell. + +- include/schily/dlfcn.h modified to avoid a GCC warning from + the new builtin management code in the Bourne Shell. + +- Support for Win-10 when compiling with no automake-aware + make implementations like "gmake" was added. + +- include/schily/mconfig.h fixed a typo: "-DDBD_MALLOC" + +- include/schily/resource.h better comment + +- include/schily/stat.h fixed a typo S_ISCNT -> S_ISCTG and + S_IFCNT -> S_IFCTG + +- include/schily/stat.h now includes #define lstat stat in case lstat() + does not exist on the current platform. + +- include/schily/dbgmalloc.h: Added a workaround for source files + that first #include and thus have no viable + BOOL defintion while is included. This now permits + to compile the whole libschily with + + smake COPTX=-DDBG_MALLOC LDOPTX=-ldbgmalloc + + in order to debug malloc()/free() calls. + +Libschily: + +- libschily/?eterrno.c no longer overwrite the _TS_ERRNO definition + in order to pass the compile constraints in the Solaris ON consoliation. + +- Several new global symbols in the mapfile for libschily/libschily-mapvers + +- libschily/wcsndup.c had forgotten code and still did internaly implement + strndup() + +- libschily now by default renames getline(), fgetline() and + fexec*() into js_getline(), js_fgetline() and js_fexec*(). + This was needed because the POSIX standard commitee ignored + POSIX basic rules not to define functions that are in conflict + with existing published functions. The functions from libschily + have been in the public since more than 25 years and the + functions defined by POSIX.1-2008 even violate POSIX naming rules. + The POSIX fexec*() functions would e.g. have to be correctly called + fdexec*(). + + Existing programs can keep the official names getline(), fgetline() + and fexec*() as they are by default #defined to the new js_*() names. + To disable this convenience, add: + + #define NO_SCHILY_GETLINE To disable schily getline(), fgetline() + #define NO_SCHILY_FEXEC To disable schily fexec*() + #define NO_SCHILY_FSPAWN To disable schily fspawn*() + +- Libschily now has new "long double" support functions: + qftoes() and qftofs() + +- Libschily now supports a locale dependend decimal point for printing + floating point numbers. + +- Libschily now supports to print long double numbers using the + format() based portable printf() implementation. If this does not + work for your platform or if this does not work correctly for + your platform, please report. This was needed for our new "od" + implementation. + +- The option parsing implementation getargs()/getfiles() from + libschily now supports to combine single character boolean + flags even in case the option string mentions to call a callback + function if a valid option was found. This was needed for our new + "od" implementation. + +- filereopen() from libschily no longer calls open() internally + as long as there is no need to create or truncate the file. + +- libschily's findinpath() now includes a new path parameter + to allow to use the function from bsh. + +- fnmatch is now always available as js_fnmatch() + +- New autoconf test for _qecvt() _qfcvt() _qgcvt() + and _qecvt_r() _qfcvt_r() _qgcvt_r() on AIX + +- smake's searchfileinpath() moved into libschily to allow it + to be generally used for searching for program resources. + +- New functions mkgmtime() mklgmtime() and timegm() + +- New function permtostr() in libschily allows to convert a + mode_t like stat.st_mode into a chmod compliant string like: + + u=rw,g=r,o=r + + that is accepted by libschily::getperm() to allow a conversion + back to a mode_t variable. + +- libschily::rename() now uses mktemp() to temorarily save the + rename target file. + +- comerr() now maps exit codes that would fold to '0' to EX_CLASH + which is -64 + +- New functions zerobytes() and cmpmbytes() added to libschily. + +- New functions strstr() and wcsstr() added to libschily. + +- libschily/fexec.c moved the workaround against the Mac OS X linker + for "environ" upwards to cover the new code also. + +- Fixed libschily/gettimeofday.c to compile with MSC + +- Fixed libschily/sleep.c to compile with MSC + +- Fixed libschily/usleep.c to be empty with MSC as sleep.c includes + a working usleep() + +- libschily/gethostname.c enhanced to support Win-DOS with cl.exe + +- libschily/uname.c New function to support Win-DOS with cl.exe + +- libschily/dirent.c New functions: opendir()/closedir()/readdir() + to support Win-DOS with cl.exe + +- libschily/kill.c New function to support Win-DOS with cl.exe + +- libschily/stdio/fgetline.c 64 bit speedup by calling fgets() in + case that getc() is not a macro. + +- libschily/stdio/fgetstr.c 64 bit speedup by calling fgets() in + case that getc() is not a macro. + +- libschily/chown.c new to support Win-DOS with cl.exe + +- New functions strstr() and wcsstr() + +- New libschily::fgetaline() and libschily::getaline() implement the + functionality of the POSIX violating "getline()" from POSIX.1-2008. + +- New file libschily/abspath.c + +- New file libschily/resolvepath.c + +- New file libschily/mkdirs.c + +- An openat() emulation was added to libschily for platforms that + miss openat(). + +- An fchdir() emulation was added to libschily for platforms that + miss fchdir() + +- libschily/at-defs.h new support file for internals from the *at() + emulation + +- libschily/lxchdir.c new file to support chdir() to long + path names + +- libschily/procnameat.c new file to support *at() functions in case + that a newer /proc file system implementation is available + +- libschily/savewd.c new file to support to save the current working + directory regardless of whether fchdir() is present or not. + +- libschily/wdabort.c new file with abort functions that are needed + in libschily for the case that no system fchdir is available and + an attempt to emulate *at() functions fails + +- New functions strcasecmp() and strncasecmp() for libschily. + +- New functions diropen() dirrdopen() dirclose() for libschily. + These functions are needed in order to emulate fchdir() on platforms + that do not support fchdir(). + +- file_raise(NULL, FALSE) now also affects files that have been + opened before the file_raise() call. + +- getperm.c now correctly supports umask +w + +- Libschily is now linked against $(LIB_INTL) when a shared libschily + is created. + +- Avoid warnings from cl.exe for libschily/gettimeofday.c + +- Better comment in comerr.c to help to understand exit() code folding + to 8 bits and how it may be avoided. + +- libschily::fexecv() now allows to use the parameter "ac" with the + value -1 to indicate that the arg count is to be determined by the + NULL pointer at the end of the arg list. + +- Added #include to libschily/fnmatch.c + +- Various Cstyle changes in the include/schily directory. + +- New include file: include/schily/shedit.h + +- Make sure that include/schily/time.h always includes a struct timespec + definition. + +- new functions getnstimeofday() and setnstimeofday() + +- New files for libschily: + + at-base.c generic implementation for *at() functions. + fchownat.c fchownat() + fdopendir.c fdopendir() + fstatat.c fstatat() + futimens.c futimens() + futimesat.c futimesat() Solaris specific old for utimensat() + lutimens.c lutimens() + linkat.c linkat() + mkdirat.c mkdirat() + mkfifo.c mkfifo() + mkfifoat.c mkfifoat() + mknodat.c mknodat() + readlinkat.c readlinkat() + renameat.c renameat() + symlinkat.c symlinkat() + unlinkat.c unlinkat() + utimens.c utimens() + utimensat.c utimensat() + at-base.c The base code for all single fd *at() functions. + at-base2.c The base code for all double fd *at() functions. + + contain emulations for system interfaces introduced in summer 2001 by Sun + and with POSIX.1-2008. + +- New functions in libschily: + + absfpath() + resolvefpath() + + allow to better control the behavior using flags. + +- The linker map file for libschily now adds some forgotten functions. + +- libschily/strstr.c and libschily/wcsstr.c now include a + CDDL License hint + +- libschily::format.c (printf) now supports length modifiers + like h hh l ll t z for the %n format. + +- libschily::format.c has been restructured for parsing the + field width parameters in a way that would allow to later + introduce support for %n$ + +- Try to take care about the fact that MinGW32 does not support + a standard compliant mkdir() function with two parameters. + This applies top libschily/mkdirat.c and libschily/mkdirs.c + +- Corrected a typo in libschily/mkfifoat.c that called mkdir() + instead of mkfifo() + +- libschily/getdtablesize.c needs the same treatment for MinGW32 as for + cl.exe + +- New functions xcomerr(), xcomerrno(), fxcomerr(), fxcomerrno() + in libschily allow error message and exit with an exit value + that differs from errno. + +- a bug in libschily/format.c that caused %.*s to be printed + incorrectly has been fixed. + +- libschily/format.c has been redesigned to allow the code to be + reused for fprformat() via #include. + +- libschily/fprformat.c + New function fprformat() in libschily is implementing the same + direct interface as doprnt() from libc and thus allows to implement + printf() faster than the printf() from libc on Solaris. + +- libschily/jsprintf.c + For Solaris, jsprintf() now is implemented based on fprformat(). + This allows printf() from libschily to be aprox. 33% faster than + printf() from libc on Solaris and aprox. 2x as fast as jsprintf() + in libschily has been before. This gives another performance boost + for printf() bound programs like hdump/od that is used as a OSS + replacement for the closed source od(1) on OpenSolaris. This + now makes the OSS od(1) on OpenSolaris typically 5x faster then + the closed source version. + +- libschily/getdtablesize.c now treats MinGW the same as when compiling + on Win-DOS using cl.exe. + +- libschily/mkdirat.c and libschily/mkdirs.c now take care of the fact + that MinGW has a non standard compliant mkdir() + +- libschily/mkfifoat.c fixed a type from, cut/paste the file from mkdirat.c + +- libschily now implements strspn() strcspn() wcsspn() wcscspn() + +- libschily/format.c (the low level printf() implementation) now + implements support for %n$ argument repositioning for the + case that "n" is 1..30, or if larger points to an int type arg. + +- libschily/fprformat.c fixed a bug that would prevent to use + stdio macros with newer OpenSolaris versions, making printf() + not as fast as expected. + +- libschily/sleep.c and libschily/usleep.c have been modified to work + with MinGW. + +- libschily/format.c fixed to compile again with K&R C that does + not support "long double". + +- No longer use fgets() for fgetaline(), fgetline() and fgetstr() + as fgets() cannot deal with embedded '\0' chars before the '\n'. + +- libschily/fstream.c now supports local flags (for the caller) + and pushable streams to keep blocks of pushed text atomically. + +- libschily/fchmodat.c was added, it has been forgotten when + the emulations for the *at() functions have been introduced. + It is needed for the new enhanced isoinfo command. + +- libschily/mknodat.c now correctly provides a mknodat() function even + when there is no mknod() command. + +- libschily/futimens.c now is more Sun specific when trying to implement + futimens() via utimensat(), as only Solaris supports a f*() interface + in case that the path name is a NULL pointer. + +- libschily/faccessat.c with a faccessat() was added. This has been forgotten + when the *at() functions have been implemented. + +- libschily/eaccess.c no longer calls access() in case that the OS does not + implement eaccess() but rather first checks whether uid == euid and gid == egid. + +- libschily/eaccess.c compiles again in HP-UX using the HP C-compiler + +- libschily/dlfcn.c new file to emulate dlopen() and friends on Win-DOS + and HP-UX + +- libschily/lchmod.c was added + +- libschily/fchmodat.c no longer contains lchmod() + +- The linker mapfile libschily/libschily-mapvers now correctly + makes the entry faccessat() depend on HAVE_FACCESSAT + +- strlcatl() wcslcatl(): new functions + +- libschily::linkat.c now manually null-terminates the result from + resolvepath() as the Solaris syscall implementation does not + null-terminate it in all cases. + +- libschily::resolvepath.c comment added to remind on the fact that + in contrary to our implementation the Solaris resolvepath() syscall + does not null-terminate the buffer. + + +- New function j_error() works where error() is too generic. + +- make strlcatl() and wcslcatl() work with K&R compilers + +- libschily/getargs.c now is more careful with calling va_arg() + and only calls it as many times as a related format is found in the + format string. + +- libschily now contains a getdelim() implementation and always uses + getdelim() to implement the fgetaline() function. + +- libschily: the *mem.c implementations now include new *mexval() + functions to set the exit code on failure to a static value instead + of the default "errno" value for the failure. + +- libschily: the linker map file now also lists the forgotten new entries: + strlcatl() and wcslcatl() + +- libschily/spawn.c:wait_chld() no longer returns 0 if the child process + was killed by a signal. + +- libschily now adds some of the existing (old) man pages for various + functions from libschily. + +- libschily/comerr.c and libschily/fcomerr.c now have better + comment. + +- libschily now uses the test: + + #if defined(HAVE_PRAGMA_WEAK) && defined(HAVE_LINK_WEAK) + + to prevent assuming that is sufficient when the compiler supports + #pragma weak. We also need to have a linker that links against + weak symbols in libraries. HAVE_LINK_WEAK is e.g. not defined + on Cygwin... + +- libschily/resolvepath.c now #define's lstat stat if lstat() + is missing. + +- libschily/error.c now allows to be compiled without weak + symbols by using -DNO_WEAK_SYMBOLS + + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- Some cstyle changes + +- Added #include + + +Libcdrdeflt: + +Libdeflt: + +- The function defltcntl() in libdeflt is now working and allows to + select a case insensitive mode. + +- New function defltsect() in libdeflt allows to create sub-sections + in configuration files. These subsections need to be named: + "[section-name]" and the '[' must be at the beginning of a line. + +- Added #include + +- Added defltsect() to the list of exported functions for the + shared library version + + +Libfile: + +Libfind: + +- New functions: find_hasprint() and find_hasexec() + +- New flag WALK_STRIPLDOT to strip leading "./" like star does + +- libfind no longer aborts with a lack of memory but writes an error + message + +- libfind now correctly frees memory that has been allocated internaly + from treewalk() + + +- libfind/find.c disables -exec in case there is no fork(). + This is in order to support MINGW + +- libfind/walk.c now uses O_SEARCH to open directories + +- dirname -> dir_name to avoid a gcc warning + +- Fixed a filedesrciptor leak in libfind that hits when using + -empty on empty directories. + +- Libfind now allows to check for -type P (Solaris event port). + A missing "case 'P':" was added to the parser. + +- libfind/idcache.c now saves uname/gname as long as possible and uses + strlcpy() instead of strncpy(). + +- libfind: the forgotten entries find_hasexec() and find_hasprint() + have been added to the linker map file + +- Workaround a problem with vfork() on Linux caused by missing vfork() + definitions in the system include files that cause a coredump from + free() when using find -exec + + +Libhfs_iso: + +- Rename variable "utime" to "uxtime" to avoid a compiler warning + +Libmdigest: + +- Cygwin is broken, when using #pragma weak, so we cannot create + weak symbols on Cygwin for sha2.c + +- Some cstyle changes + +- CSTYLED comment added + +- libmdigest now uses the test: + + #if defined(HAVE_PRAGMA_WEAK) && defined(HAVE_LINK_WEAK) + + to prevent assuming that is sufficuent when the compiler supports + #pragma weak. We also need to have a linker that links against + weak symbols in libraries. HAVE_LINK_WEAK is e.g. not defined + on Cygwin... + +Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +- memset() call in i_silence_match() now uses the correct size + instead of sizeof (avec). + Thanks to a hint from Andrew Dudman + +- Use dynamic arrays instead of alloca()/malloc() if available. + +- libparanoia now implements the first stage in C2 error pointer + support: it now is able to deal with input data that contains + C2 pointers and it implements new callbacks to report C2 + statistics back to the caller. + +- libparanoia now supports to control the size of the read-ahead buffer. + This allows libparanoia to be adapted to the current constraints. + + +Libsiconv: + +- new function sic_base() returns the dynamically retrieved install base + for the siconv database. + +- sic_open() no longer tries to open all characterset names as files in + the current directory but only if the name contains a slash. + Thanks to a report from Vladimir Marek + +- libsiconv: the forgotten sic_base() was added to the linker map file + + +Libscg: + +- libscg/scg/aspi-dos.h now uses void instead of VOID to allow a compilation + with gcc. + +- libscg/scsi-wnt.c (MS-WIN) now supports 64 SCSI busses + +- libscg/scsi-bsd.c tries to better support the SCSI sense data + length in the recently upgrades in FreeBSDs ATAPI/CAM module. + +- try to keep SCSI status and error codes when doing a manual GET SENSE + on AIX, UnixWare, VMS, Linux Parallel Port, Apollo Domain + +- libscg::scsi-aix.c was updated with some experimental code to support + two new SCSI kernel interfaces on AIX. + +- Allow to disable the SCSI low level transport adoption layer + from libscg by adding -DNO_SCSI_IMPL + +- libscg/scsihack.c now supports the MSC compiler + +- Several small changes to work around oddoties fount in MS include files + +- Trying to better support AIX again. + +- struct scsi_inquiry is now using a union around the vendor ID strings in + order to avoid incorrect buffer overflow warnings from GCC-4.x + +- Some cstyle changes + +- For newer Cygwin versions, we need an own PACKED definition in + libscg/scg/aspi-win32.h + +- Trying to support suid-root-less installation of librscg users on Linux. + librscg now understands that a non-root program may be able to + create sockets for a privileged port. + +- Repositioned #ifdefs to avoid unused variable definitions in + libscg/scsi-sun.c + +- libscg/scsi-linux-ata.c now aborts early if errno == EPERM. This now + makes it behave like libscg/scsi-linux-sg.c + +- A new scg flag SCGF_PERM_PRINT tells libscg to print a more verbose error + in case that a SCSI command was aborted with errno == EPERM. + +- Sources have been modified to deal __CYGWIN32__ like __CYGWIN__ + This is neded as newer Cygwin versions that run in 64 Bit mode + do no longer define __CYGWIN32__ but __CYGWIN__ + +- Some cstyle changes + +- For newer Cygwin versions, we need an own PACKED definition in + libscg/scg/aspi-win32.h + +- Trying to support suid-root-less installation of librscg users on Linux. + librscg now understands that a non-root program may be able to + create sockets for a privileged port. + +- Repositioned #ifdefs to avoid unused variable definitions in + libscg/scsi-sun.c + +- libscg/scsi-linux-ata.c now aborts early if errno == EPERM. This now + makes it behave like libscg/scsi-linux-sg.c + +- A new scg flag SCGF_PERM_PRINT tells libscg to print a more verbose error + in case that a SCSI command was aborted with errno == EPERM. + +- Sources have been modified to deal __CYGWIN32__ like __CYGWIN__ + This is neded as newer Cygwin versions that run in 64 Bit mode + do no longer define __CYGWIN32__ but __CYGWIN__ + + +Libscgcmd: + +Libsiconv: + +- sic_open() no longer tries to open all characterset names as files in + the current directory but only if the name contains a slash. + Thanks to a report from Vladimir Marek + +Rscsi: + +Cdrecord: + +- A typo in cdrecord.c was corrected. + +- cdrecord/cue.c now uses a correct byte order for RAW audio data in + Intel byte-order + +- Cdrecord now uses gettext() to translate texts. + There are currently not yet translated texts. The cdrtools project needs help + with translating the texts. + +- cdrecord now warns and aborts if someone tries to write more CD-Text + for a single language than permitted by the standard. + +- cdrecord now warns about the correct max. CD-Text size + for a single language that is permitted by the standard. + +- Several changes to support mingw and MSC + +- cdrecord man page corrected some small typos in the EXAMPLES section. + +- cdrecord has been converted to be able to run completely root-less + and suid-root-less and with no script that calls pfexec(1). This + works on OpenSolaris ONNV_140 or later because the functionality + of pfexec(1) has been integrated into the kernel. + + To enable this feature. edit the file /etc/security/exec_attr and add: + + Basic Solaris User:solaris:cmd:::/usr/bin/cdrecord:privs=file_dac_read,sys_devices,proc_lock_memory,proc_priocntl,net_privaddr + or + Basic Solaris User:solaris:cmd:::/opt/schily/bin/cdrecord:privs=file_dac_read,sys_devices,proc_lock_memory,proc_priocntl,net_privaddr + + depending on where you install cdrecord. + No special shell is needed anymore. + +- struct scsi_inquiry is now using a union around the vendor ID strings in + order to avoid incorrect buffer overflow warnings from GCC-4.x + +- Trying to support suid-root-less installation of cdrecord on Linux. + NOTE: You need "file caps" support built into your Linux installation. + + Call: + + setcap cap_sys_resource,cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_ipc_lock,cap_sys_rawio+ep /opt/schily/bin/cdrecord + To set up the capabilities on Linux. + + +- Allow to compile without Linux libcap using "smake COPTX=-DNO_LINUX_CAPS LIB_CAP=" + +- Cdrecord now checks whether there are sufficient fine-grained privileges. + +- Cdrecord now uses the new flag SCGF_PERM_PRINT to get better warnings if the + permissions granted by the OS are not sufficient. + +- Sources have been modified to deal __CYGWIN32__ like __CYGWIN__ + This is neded as newer Cygwin versions that run in 64 Bit mode + do no longer define __CYGWIN32__ but __CYGWIN__ + +- Typo correction in a comment + +- Trying to avoid to confuse users + on Solaris and Linux where a fine-grained privilege implementation + exists. Before, fine-grained privileges have been given up after + initializing the program and this may result in a root user that + is treated as a normal user that cannot write into directories + without global write permission. The named programs now no longer + give up privileges in case they have been called with the needed + privileges already and thus the programs cannot be used for + privilege escalations anymore. + +- Fixed some typos in cdrecord + +- Better comment about cdrecord specific enhancements in CUE files. + +- cdrecord/cue.c now has a better comment related to cdrtools specific + CUE enhancements. + +- Fixed a typo in cdrecord.dfl + +- The timediff function now in addition prints the time diff in + hours : minutes : seconds . thausands of a second. + + Thanks to a hint from Donald R Laster Jr from Slackware. + +- The programs cdrecord adopts to the recent Haiku + changes with a randomized address space and now use B_EXACT_ADDRESS + instead of B_ANY_ADDRESS for the clone_area() call to get shared memory + for a FIFO. + + +Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- Fixed a typo in cdda2wav/cdda2ogg.1 (man page) + +- Cdda2wav now uses gettext() to translate texts. + There are currently not yet translated texts. The cdrtools project needs help + with translating the texts. + +- many typo fixes to the cdda2wav.1 man page, thanks to John Bradshaw + +- Several changes to support mingw and MSC + +- cdda2wav has been converted to be able to run completely root-less + and suid-root-less and with no script that calls pfexec(1). This + works on OpenSolaris ONNV_140 or later because the functionality + of pfexec(1) has been integrated into the kernel. + + To enable this feature. edit the file /etc/security/exec_attr and add: + + Basic Solaris User:solaris:cmd:::/usr/bin/cdda2wav:privs=file_dac_read,sys_devices,proc_priocntl,net_privaddr + or + Basic Solaris User:solaris:cmd:::/opt/schily/bin/cdda2wav:privs=file_dac_read,sys_devices,proc_priocntl,net_privaddr + + depending on where you install cdda2wav. + No special shell is needed anymore. + +- Better handling of CLONE AREAs on newer Haiku versions. + +- Some cstyle changes + +- cdda2wav now only prints "load cdrom please and press enter" once + per line and does not repeat the text for garbage characters that + have been in stdin. Thanks to Phi Tran from Oracle for reporting. + +- Trying to support suid-root-less installation of cdda2wav on Linux. + NOTE: You need "file caps" support built into your Linux installation. + + Call: + + setcap cap_dac_override,cap_sys_admin,cap_sys_nice,cap_net_bind_service,cap_sys_rawio+ep /opt/schily/bin/cdda2wav + To set up the capabilities on Linux. + + +- Include file reordering to avoid warnings on older platforms + +- Allow to compile without Linux libcap using "smake COPTX=-DNO_LINUX_CAPS LIB_CAP=" + +- Repositioned #ifdefs to avoid unused variable definitions in + cdda2wav/sndconfig.c + +- Cdda2wav now checks whether there are sufficient fine-grained privileges. + +- Work around a bug in sys/param.h FreeBSD-9.1, that #define's __FreeBSD_kernel__ + instead of #define __FreeBSD_kernel__ 9 that would be needed for Debian + k-FreeBSD compatibility. + The bug affects cdda2wav/mycdrom.h + +- Sources have been modified to deal __CYGWIN32__ like __CYGWIN__ + This is neded as newer Cygwin versions that run in 64 Bit mode + do no longer define __CYGWIN32__ but __CYGWIN__ + +- Typo correction in a comment + +- Fixed fine-grained privilege handling for Linux. + Thanks for Daniel Pielmeier from Gentoo for reporting and testing. + +- Trying to avoid to confuse users + on Solaris and Linux where a fine-grained privilege implementation + exists. Before, fine-grained privileges have been given up after + initializing the program and this may result in a root user that + is treated as a normal user that cannot write into directories + without global write permission. The named programs now no longer + give up privileges in case they have been called with the needed + privileges already and thus the programs cannot be used for + privilege escalations anymore. + +- Cddda2wav now flushes stderr before asking for a specific cddb + entry index. It seems that on Linux stderr may not be unbuffered + as expected. + +- Cdda2wav moved the option parsing code into a separate function + gargs(). + +- cdda2wav now prints the number of read operations per track when + in paranoia mode + +- cdda2wav now prints the read overhead (in percent) per track when + in paranoia mode + +- cdda2wav adds a new paraopts= mode: "c2check" to run libparanoia + in C2 mode. + +- cdda2wav did get a major overhoul for libparanoia that may + make the extract quality better up to a factor of 100x: + + A new suboption "readahead=" for paraopts= allows to modify + the read-ahead buffer size to make it large ebough for the amount + of RAM in modern drives. + + The interpratation of "problem sectors" was changed to better deal + with the fact that in case of bad areas, the libparanoia code + tends to do repeated reads in those bad areas. The computation + of the percentage of bad sectors now takes care of re-read sectors. + Repeated reads still increase the value but no longer in a + quadratical way. + +- Better documentation for the libparanoia interface in cdda2wav + allows to better understand how it works and how modifying + parameters could influence the extract quality. + +- Add another instance of #undef interface in hope to help with + compiling using MinGW32 + +- Avoid a redefined xxx warning for cdda2wav/exitcodes.h + +- Added a #undef interface to cdda2wav/interface.h to make sure that + the #define interface from windows.h does not cause problems even + when using MinGW + +- Cdda2wav no longer includes the new paranoia mode "c2check" in the macro + "proof". This has been done because of a report from Géraud Meyer + that gives hints that the drive: + Type: ROM, Vendor 'TSSTcorp' Model 'CDDVDW SH-222AB ' Revision 'SB00' MMC+CDDA + does not handle hidden tracks when "c2check" is active. + +- Flush stderr before a question in cdda2wav. This is a workaround + for a Linux libc bug (stderr must be unbuffered acording to the + standard). + +- The programs cdda2wav adopts to the recent Haiku + changes with a randomized address space and now use B_EXACT_ADDRESS + instead of B_ANY_ADDRESS for the clone_area() call to get shared memory + for a FIFO. + + +Readcd: + + +- Readcd now uses gettext() to translate texts. + There are currently not yet translated texts. The cdrtools project needs help + with translating the texts. + +- Better algorithm for -edc-corr + +- readcd has been converted to be able to run completely root-less + and suid-root-less and with no script that calls pfexec(1). This + works on OpenSolaris ONNV_140 or later because the functionality + of pfexec(1) has been integrated into the kernel. + + To enable this feature. edit the file /etc/security/exec_attr and add: + + Basic Solaris User:solaris:cmd:::/usr/bin/readcd:privs=file_dac_read,sys_devices,net_privaddr + or + Basic Solaris User:solaris:cmd:::/opt/schily/bin/readcd:privs=file_dac_read,sys_devices,net_privaddr + + depending on where you install readcd. + No special shell is needed anymore. + +- Cygwin is broken, when using #pragma weak, so we cannot create + weak symbols on Cygwin for sha2.c + +- avoid a GCC warning when compiling readcd.c + +- Trying to support suid-root-less installation of readcd on Linux. + NOTE: You need "file caps" support built into your Linux installation. + + Call: + + setcap cap_dac_override,cap_sys_admin,cap_net_bind_service,cap_sys_rawio+ep /opt/schily/bin/readcd + To set up the capabilities on Linux. + + +- Allow to compile without Linux libcap using "smake COPTX=-DNO_LINUX_CAPS LIB_CAP=" + +- Readcd now checks whether there are sufficient fine-grained privileges. + +- Typo correction in a comment + +- Trying to avoid to confuse users + on Solaris and Linux where a fine-grained privilege implementation + exists. Before, fine-grained privileges have been given up after + initializing the program and this may result in a root user that + is treated as a normal user that cannot write into directories + without global write permission. The named programs now no longer + give up privileges in case they have been called with the needed + privileges already and thus the programs cannot be used for + privilege escalations anymore. + +- readcd -c2scan now also prints the percentage of sectors with C2 errors. + +Scgcheck: + +- Scgcheck now uses gettext() to translate texts. + There are currently not yet translated texts. The cdrtools project needs help + with translating the texts. + +- Several changes to support mingw and MSC + +- Link now against $(LIB_CAP) also as librscg needs it on Linux + + +Scgskeleton: + +- Scgskeleton now uses gettext() to translate texts. + There are currently not yet translated texts. The cdrtools project needs help + with translating the texts. + +- Link now against $(LIB_CAP) also as librscg needs it on Linux + + +Btcflash: + +- Btcflash now uses gettext() to translate texts. + There are currently not yet translated texts. The cdrtools project needs help + with translating the texts. + +- Link now against $(LIB_CAP) also as librscg needs it on Linux + +Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale): + +- Added a hint that the option -b needs a boot image argument that is + located inside the ISO image tree. + +- Added an additional hint on changed files in case that mkisofs encounteres + a file that did grow or shrink. + +- Removed a superfluous second #include from isoinfo.c + +- Typo corrections in mkisofs/mkisofs.8 man page + +- A bug was fixed with -sort and files > 4 GB. Mkisofs now correctly sorts the + disk addresses of the file content is such a case. + +- New options -long-rr-time -no-long-rr-time -short-rr-time allow to control + the time format used for files with Rock Ridge extensions. + + - The short time format supports year 1900..2155 with a one second + granularity + + - The long time format supports year 0..9999 with a 10ms granularity. + + Note that the Linux kernel only implements partial Rock Ridge support and + unfortunately does not support the long time format. It is planned to + make the long time stamp format the default in the future, so I encourage + the Linux kernel folks to add support for this time format. + +- isoinfo now supports the new option -find (via libfind) and allows to use + find expressions on ISO-9660 images. If the find expression neither contains + -print nor -ls and isoinfo is called: + + isoinfo -i xxx.iso -l -find ..... + + the ISO-9660 listing function from isoinfo is called whenever the find expression + returns TRUE. If there is a print or list primary in the find expression, then + the ISO-9660 listing is never called. + + +- Mkisofs and the diagnostic programs now use gettext() to translate texts. + There are currently not yet translated texts. The cdrtools project needs help + with translating the texts. + +- Add several forgotten options to the mkisofs man page. + +- Fixed several typos in the mkisofs man page and in mkisofs + +- Mkisofs now correctly supports El Torito multi boot entries by introducing + a Boot Section Header before a list of alternate boot entries. + +- New option -eltorito-platform allows to set the El Torito platform id + for a boot entry or for a list of boot entries. Supported values for the + parameter are: + + - x86 the standard value vor x86 based PCs + + - PPC the Power PC platform + + - Mac The Apple Mac platform + + - efi EFI based boot for PCs + + - # an arbitrary numerical value + +- New option -modification-date allows to specify a predictable UUID for grub. + + The syntax is: YYYY[MM[DD[HH[MM[SS]]]]][.hh][+-GHGM] and is forgiving + enought to accept the pupular POSIX date format created by: + + date "+%Y-%m-%d %H:%M:%S %z" + +- The mkisofs diagnostic tools now support MSC that does not support + POSIX terminal handling. + +- While introducing the new option -modification-date, we did accidently remove the + code to set up the creation date in te PVD. Now creation date again contains + correct data. + +- Avoid to access illegal memory from dvd_file.c::uniq() + +- Avoid a 32 bit integer overflow while computing sector addresses for + Rock Ridge CE entries. + +- A compile bug with QNX was corrected + +- A new option -ignore-error alows to continue on some errors. + +- Revert a change to dvd_file.c::uniq() that was made because of a "valgrind" + warning that claims illegal memory access. With the change from 3.01a09, mkisofs + however does not deal correctly with DVD-Video padding, so the valgrind warning is + wrong. + +- mkisofs now reserves more space for the file names to avoid a + path buffer overrun + +- Fixed a bug that caused to put more than one UDF direcory entry for a file + in case that the file is a ISO-0660 multi-segment file. + +- Fixed a bug that caused the wrong start sector address to be used for UDF + in case that the file is a ISO-9660 multi-segment file and the -sort option + was used. + +- mkisofs now identifies itdelf by default (inside the APPID string) + as being UDF capable. + +- mkisofs now sets link count and "unique id" == inode number for files. + Note that this may still not result in useful hardlinked files on all + platforms as e.g. Solaris and Linux ignore the UDF unique ID and rather + use the location of the file_entry as inode number. This will never + return the same number for different filenames that point to the + same file data and thus prevents hard linked files from being visible. + + This is however not a Solaris problem, the problem is rather in the + UDF standard that does not require the unique id to be in a 32 bit + range as long as the media size is = 8 TB. Note that 32 bit UNIX + programs cannot access files with an inode number that cannot be + expressed as 32 bit number, so inode numbers that do not fit into + 32 bits may cause problems. Ths only way to work around this problem + would be to enance the Solaris and Linux UDF filesystem module to + recognize whether a filesystem has been created by mkisofs that grants + useful inode numbers. The same is already done for ISO-9660. + +- mkisofs now supports additional file types with UDF: + + - named pipes + - sockets + - character devices + - block devices + +- mkisofs now supports all three UNIX times with microsecond granularity in UDF + +- mkisofs now sets correct user/group/permission for symlinks in UDF + +- mkisofs now supports S_ISUID, S_ISGID, S_ISVTX (set uid, set gid, sticky) in UDF + +- -new-dir-mode now just superseeds the effect of -dir-mode on + directories that have been "invented" by mkisofs. + This is a more intuitive behavior. + +- Link now against $(LIB_CAP) also as librscg needs it on Linux + +- Make mkisofs compile without -DUDF and without -DDVD_VIDEO + Thanks to a hint from rmd4work@mail.ru + +- Fixed a typo in the mkisofs man page (had \-max\-ISO-9660\-filenames + instead of \-max\-iso9660\-filenames) + +- mkisofs/mkisofs.8 fixed illegal troff sequence "\\" to "\e" + +- Try to avoid a direct string "/dev/null" in mkisofs.c to allow + it to work on Win-DOS without POSIX layer. + +- Better error messages in mkisofs/apple.c + +- mkisofs now inplements a new option -legacy that allows to get back the + options -H/-L/-P that have been deprecated in 2002 and disabled in 2006 + in the definition from the 1990s. + If you like to use this feature, write a wrapper shell script that calls: + + mkisofs -legacy "$@" + + Note that -H/-L/-P have been disabled in 2006 and mkisofs will soon + introduce -H/-L/-P with a POSIX compatible definition as announced since + 2002. So take care to convert your scripts to call: + + -map for the old definition of -H + (valid between 2000 and 2002) + -allow-leading-dots for the old definition of -L + (valid between 1995 and 2002) + -publisher for the old definition of -P + (valid between 1993 and 2002) + +- The mkisofs now correctly documents the new behavior from libsiconv + +- mkisofs was slightly modified to reduce CPU time requirements. + It now reads/writes in 64kBytes chunks instead of stdio buffer + size which is typically 8 kB. + +- Fixed a typo in the mkisofs man page. + Thanks to a hint from Donald R Laster Jr from Slackware. + +- Mkisofs now in addition prints "-iso-level 3 or more required" + in case that a large file was skipped because of the current mkisofs settings. + + Thanks to a hint from Donald R Laster Jr from Slackware. + +- A problem in isoinfo has been fixed. + This problem caused "isoinfo -R -find -ls" to print Jan 1 1970 timestamps + in case that Rock Ridge was not present. + + WARNING: the new version of the isoinfo program makes use of the + *at() series of functions that have been introduced by Sun + in August 2001 and added to POSIX.1-2008. For older platforms, + libschily now includes emulations for these functions but + these emulations have not yet been tested thouroughly. + Please report problems! + +- The man page isoinfo.8 was enhanced by mentioning the option -s (print + file sizes in multiple if 2048 byte sectors) and by documenting the + list format that is used with -l. + +- isoinfo now evaluates the Rock Ridge "PN" signature and thus supports + to display and use the major/minor device numbers. + +- isoinfo now extracts time stamps with sub second granularity in + order to be able to set fine-grained file timestamps, see -X option + below. + +- isoinfo now knows how to find out whether a ISO-9660 filesystem was + created by a newer mkisofs and thus includes useful inode numbers + in ISO-9660. These ISO-9660 based inode numbers are used in case that + there is no Rock Ridge-1.12 that includes inode numbers in the "PX" + signature. + +- isoinfo now has a new option -X that extracts all files (in case that + -find is not used) or files selected by a -find expression. Note that + -find expressions may include -chown, -chgrp and -chmod to modify the + meta data of files. + +- Fixed a bug in mkisofs: -eltorito-platform Mac no longer uses the + constant EL_TORITO_ARCH_PPC but EL_TORITO_ARCH_MAC as expected. + Thanks to Ady for reporting. + +- Fixed an option parsing bug in mkisofs that was a result from + option names that are beginning substrings of others. Mkisofs did + try to fix this in 2006, but it seems that one option was missed + in 2006. Now -hide-hfs was fixed, thanks to: Valery Ushakov + +- The mkisofs program isoinfo no longer tries to print Rock Ridge + attribute data for ISO images that do not have correct RR data. + +- The mkisofs program isovfy no longer tries to print Rock Ridge + attribute data for ISO images that do not have correct RR data. + +- The mkisofs program isodump no longer tries to print Rock Ridge + attribute data for ISO images that do not have correct RR data. + + This is a result from trying to use these programs on the + plan9 CD image. + + +- mkisofs: isodump did not compile on non c99 compilers. + +- mkisofs/diag/isoinfo.c now test for HAVE_MKNOD in order to avoid + calling mknod() on MINGW32. + +- mkisofs has also been corrected to use + S_IFCTG and S_ISCTG instead of the S_IFCNT and S_ISCNT + + +HELIOS TODO: + + - Add the HELIOS UNICODE mapping code. This needs to be done + at UCS-2 level for Joliet and UDF (instead of UTF-8) and only + for Rock Ridge (in case of a UTF-8 based target locale) using + UTF-8 based translations. + + - Make the Apple extensions work again with "mkisofs -find" + +TODO: + + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +http://sourceforge.net/projects/cdrtools/files/alpha/ ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + http://sourceforge.net/projects/s-tar/files/ of from the schily-* + tarball at: http://sourceforge.net/projects/schilytools/files/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-3.02a01 b/AN-3.02a01 new file mode 100644 index 0000000..277c45a --- /dev/null +++ b/AN-3.02a01 @@ -0,0 +1,218 @@ +***************** Important news **************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +NEW features of cdrtools-3.02a01: + +This is the first localization step for cdrtools. All programs now (hopefully) +call gettext() for all strings that need localization. + +- The next step will include dgettext() calls for the libraries. + +- The following step will include the extracted strings + +- The last step will include German translations and install support + for the resulting binary message object files. + +----------> Please test and report compilation problems! <--------- + +***** NOTE: As mentioned since 2004, frontends to cdrtools should ***** +***** call all programs from cdrtools in the "C" locale ***** +***** by e.g. calling: LC_ALL=C cdrecord .... ***** +***** unless these frontends support localized strings ***** +***** used by the cdrtools with NLS support. ***** + +This version compiles on Win-DOS using the Microsoft compiler cl.exe but +warning: due to missing POSIX compliance with basic features (e.g. stat() +does not return inode numbers), there are many problems with the resulting +code and thus it is recommended to better use a POSIX layer on top of +WIN-DOS. + + *** WARNING *** + *** Need new smake *** + + *** Due to the fact that schily-2014-04-03 introduced to use new macro + *** expansions and a related bug fix in smake, you need a new smake + *** to compile this source. To ensure this, get a recent "schily" + *** tarball from http://sourceforge.net/projects/schilytools/files/ + *** and call: + + cd ./psmake + ./MAKE-all + cd .. + psmake/smake + psmake/smake install + + The new smake version mentioned above is smake-1.2.4. + Note that smake-1.2.5 exists and is preferrable. + + Now you have a new smake that is able to compile this source. + + Note that the major makefile restructuring introduced in + schily-2014-04-03 is now more than one month ago and thus seems + to work without problems. + + WARNING: the new version of the isoinfo program makes use of the + *at() series of functions that have been introduced by Sun + in August 2001 and added to POSIX.1-2008. For older platforms, + libschily now includes emulations for these functions but + these emulations have not yet been tested thoroughly. + Please report problems! + + +All: + +- As the defective typedef for idtype_t is already in NetBSD-5, + we added a workaround based on a new related autoconf test. + Thanks to Heiko Eißfeldt for reporting. + +- Added support to compile on "Bitrig", an OpenBSD fork for non + automake aware make implementations like gmake. + Thanks to Heiko Eißfeldt for reporting. + +- Added an autoconf test for tcgetsid() + +Libschily: + +Libcdrdeflt: + +Libdeflt: + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +Libfile: + +Libfind: + +- libfind: a final workaround for the problems with vfork() in the linux + system include files has been introduced and a variable has been declared + volatile. + +- libfind no longer uses gettext() but dgettext() and thus no longer + destroys the message binding from the Bourne Shell + +- libfind: find -mtime +2s -mtime +20s now works, as file timestamps + are now compared to the current time. Before, the current time +60s + was used - a timestamp that is needed for switching between both + time stamp variants for -ls. + +Libhfs_iso: + +Libmdigest: + +Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +- libparanoia: Make abs() a self defined macro as ISO-C defines abs() + to be a function with int parameter. + Thanks to Heiko Eißfeldt for reporting. + +- libparanoia: work around a bug that resulted from uninitalized + statistics data for C2 checks in case that C2 checking was disabled. + Thanks to Heiko Eißfeldt for reporting. + +Libscg: + +- libscg: added a new error code to make search for the right + device node work again with newer OpenBSD versions. + Thanks to Heiko Eißfeldt. + +Libscgcmd: + +Libsiconv: + +Rscsi: + +Cdrecord: + +- The man page now mentions that root-less operation is possible with + Solaris fine grained privileges or Linux capabilties. + +- The man page now mentions the SCSI CAM standard for dev= + +Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- cdda2wav: Comparison of function name with NULL replaced with + comparison of function pointer with NULL. + Thanks to Heiko Eißfeldt for reporting. + +- cdda2wav: Do no longer initialize the sound card from the main process + as pulseaudio does not follow UNIX rules for forked processes. + Thanks to Heiko Eißfeldt. + +- cdda2wav: Fixed a bug in the DMA residual computation for the C2 read + functions where a wrong divisor (2353 instead of 2646) was used. + Thanks to Heiko Eißfeldt for reporting. + +- cdda2wav: Heiko make the audio output work on OpenBSD + +- cdda2wav: Heiko added code for pulseaudio support in Linux + +- cdda2wav: Fixed a typo ("KHz" -> "kHz") + +- cdda2wav: fixed a problem related to position differences between + the CD extract part and the filesystemwrite part. + +- cdda2wav: We now include "c2check" in the paranoia mode "proof" + again and fallback to a non-C2 mode in case the drive does not + support C2checks. + +- The man page now mentions the SCSI CAM standard for dev= + +Readcd: + +- The man page now mentions the SCSI CAM standard for dev= + +Scgcheck: + +Scgskeleton: + +Btcflash: + +Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale): + +- mkisofs: HFS creation: fixed comparison of array with 0 to become + comparison of array value with 0. + +HELIOS TODO: + + - Add the HELIOS UNICODE mapping code. This needs to be done + at UCS-2 level for Joliet and UDF (instead of UTF-8) and only + for Rock Ridge (in case of a UTF-8 based target locale) using + UTF-8 based translations. + + - Make the Apple extensions work again with "mkisofs -find" + +TODO: + + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +http://sourceforge.net/projects/cdrtools/files/alpha/ ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + http://sourceforge.net/projects/s-tar/files/ of from the schily-* + tarball at: http://sourceforge.net/projects/schilytools/files/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-3.02a02 b/AN-3.02a02 new file mode 100644 index 0000000..20a96f5 --- /dev/null +++ b/AN-3.02a02 @@ -0,0 +1,199 @@ +***************** Important news ****************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +NEW features of cdrtools-3.02a02: + +This is the first localization step for cdrtools. All programs now (hopefully) +call gettext() for all strings that need localization. + +- The next step will include dgettext() calls for the libraries. + +- The following step will include the extracted strings + +- The last step will include German translations and install support + for the resulting binary message object files. + +----------> Please test and report compilation problems! <--------- + +***** NOTE: As mentioned since 2004, frontends to cdrtools should ***** +***** call all programs from cdrtools in the "C" locale ***** +***** by e.g. calling: LC_ALL=C cdrecord .... ***** +***** unless these frontends support localized strings ***** +***** used by the cdrtools with NLS support. ***** + +This version compiles on Win-DOS using the Microsoft compiler cl.exe but +warning: due to missing POSIX compliance with basic features (e.g. stat() +does not return inode numbers), there are many problems with the resulting +code and thus it is recommended to better use a POSIX layer on top of +WIN-DOS. + + *** WARNING *** + *** Need new smake *** + + *** Due to the fact that schily-2014-04-03 introduced to use new macro + *** expansions and a related bug fix in smake, you need a new smake + *** to compile this source. To ensure this, get a recent "schily" + *** tarball from http://sourceforge.net/projects/schilytools/files/ + *** and call: + + cd ./psmake + ./MAKE-all + cd .. + psmake/smake + psmake/smake install + + The new smake version mentioned above is smake-1.2.4. + Note that smake-1.2.5 exists and is preferrable. + + Now you have a new smake that is able to compile this source. + + Note that the major makefile restructuring introduced in + schily-2014-04-03 is now more than one month ago and thus seems + to work without problems. + + WARNING: the new version of the isoinfo program makes use of the + *at() series of functions that have been introduced by Sun + in August 2001 and added to POSIX.1-2008. For older platforms, + libschily now includes emulations for these functions but + these emulations have not yet been tested thoroughly. + Please report problems! + + +All: + +- Makefile system: the rules for running "configure" have been changed so + that an updated autoconf/configure file only results in a single + "configure" run as now, the two resulting files are both removed before + "configure" is called. + +- Trying to support "Minix" and "Bitrig" in config.guess and config.sub. + +- Added support for Minix 3 in the makefile rules. + Thanks to Heiko Eißfeldt for reporting. + + Note that there is no SCSI pass through driver support for Minix. + +- Minix and Bitrig seem to have tsort, lorder and ranlib. + +Libschily: + +- libschily/renameat.c now includes stdio.h as POSIX requires + stdio.h to be included for rename() + +Libcdrdeflt: + +Libdeflt: + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +Libfile: + +Libfind: + +Libhfs_iso: + +Libmdigest: + +Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +- libparanoia: Avoid GCC uninitialized warning even though the main + problem was fixed some time ago already. + Thanks to Heiko Eißfeldt for reporting. + +Libscg: + +Libscgcmd: + +Libsiconv: + +Rscsi: + +Cdrecord: + +- cdrecord & cdda2wav: POSIX real time scheduling is no longer + used in case that sched_setscheduler() is missing. Minix comes + with miss-configured system include files that announce the + presence of sched_setscheduler() but the functions are not + implemented. + Thanks to Heiko Eißfeldt for reporting. + +Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- cdda2wav: man page now mentions that Heiko modified source code + in 2015 + +Readcd: + +Scgcheck: + +Scgskeleton: + +Btcflash: + +Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale): + +- mkisofs -> isoinfo: Implement a workaround for filesystem images that + have been created with "mkisofs -r" and add directory write permission + for the owner if not run by root. + +- mkisofs -> isoinfo: Call chmod() after chown() to avoid a reset + of the suid and sgid bits. + +- mkisofs -> isoinfo: Skip the "rr_moved" directory in Rock Ridge mode. + +- mkisofs -> isoinfo: Support for following relocated Rock Ridge + directories was added. + +- mkisofs/diag/isoinfo.c: removed an unused variable. + +- mkisofs/diag/isoinfo.c: The "todo" directory list handling was + rewritten to speed up things by not looping over the whole + list anymore everytime a new directory is added. + +- mkisofs/diag/isoinfo.c: Abort with error message when malloc() + returns NULL. + +HELIOS TODO: + + - Add the HELIOS UNICODE mapping code. This needs to be done + at UCS-2 level for Joliet and UDF (instead of UTF-8) and only + for Rock Ridge (in case of a UTF-8 based target locale) using + UTF-8 based translations. + + - Make the Apple extensions work again with "mkisofs -find" + +TODO: + + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +http://sourceforge.net/projects/cdrtools/files/alpha/ ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + http://sourceforge.net/projects/s-tar/files/ of from the schily-* + tarball at: http://sourceforge.net/projects/schilytools/files/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-3.02a03 b/AN-3.02a03 new file mode 100644 index 0000000..3c3fced --- /dev/null +++ b/AN-3.02a03 @@ -0,0 +1,193 @@ +***************** Important news ****************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +NEW features of cdrtools-3.02a03: + +This is the first localization step for cdrtools. All programs now (hopefully) +call gettext() for all strings that need localization. + +- The next step will include dgettext() calls for the libraries. + +- The following step will include the extracted strings + +- The last step will include German translations and install support + for the resulting binary message object files. + +----------> Please test and report compilation problems! <--------- + +***** NOTE: As mentioned since 2004, frontends to cdrtools should ***** +***** call all programs from cdrtools in the "C" locale ***** +***** by e.g. calling: LC_ALL=C cdrecord .... ***** +***** unless these frontends support localized strings ***** +***** used by the cdrtools with NLS support. ***** + +This version compiles on Win-DOS using the Microsoft compiler cl.exe but +warning: due to missing POSIX compliance with basic features (e.g. stat() +does not return inode numbers), there are many problems with the resulting +code and thus it is recommended to better use a POSIX layer on top of +WIN-DOS. + + *** WARNING *** + *** Need new smake *** + + *** Due to the fact that schily-2014-04-03 introduced to use new macro + *** expansions and a related bug fix in smake, you need a new smake + *** to compile this source. To ensure this, get a recent "schily" + *** tarball from http://sourceforge.net/projects/schilytools/files/ + *** and call: + + cd ./psmake + ./MAKE-all + cd .. + psmake/smake + psmake/smake install + + The new smake version mentioned above is smake-1.2.4. + Note that smake-1.2.5 exists and is preferrable. + + Now you have a new smake that is able to compile this source. + + Note that the major makefile restructuring introduced in + schily-2014-04-03 is now more than one month ago and thus seems + to work without problems. + + WARNING: the new version of the isoinfo program makes use of the + *at() series of functions that have been introduced by Sun + in August 2001 and added to POSIX.1-2008. For older platforms, + libschily now includes emulations for these functions but + these emulations have not yet been tested thoroughly. + Please report problems! + + +All: + +- An autoconf test was added for the include file posix/malloc.h from Haiku + +- An autoconf test was added to check whether waitpid() supports the flag + WNOWAIT. This flag was added by AT&T/Sun for SVr4 in 1989 for both + waitid() and waitpid() but it seems to be unimplemented on various platforms. + Thanks to Heiko Eißfeldt for reporting. + +- New autoconf test for AIX arpa/aixrcmds.h + +- include/schily/netdb.h now may #include + +- inc/align_test.c avoids some warnings with GCC-4.8.3 + +- Make rs6000-aix-gcc.rul aware of 64 bit support and create links: + rs6000-aix-gcc32.rul rs6000-aix-gcc64.rul + +- Trying to make rs6000-aix-cc.rul aware of 64 bit support and + create links: + rs6000-aix-cc32.rul rs6000-aix-cc64.rul + + Note that this code could not yet be tested because of the lack of a + compiler + +- Trying to add support for CCOM=gcc64 on IRIX + +Libschily: + +Libcdrdeflt: + +Libdeflt: + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +Libfile: + +Libfind: + +Libhfs_iso: + +Libmdigest: + +- libmdigest: sha3 support was added + +Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +Libscg: + +Libscgcmd: + +Libsiconv: + +Rscsi: + +Cdrecord: + +Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +Readcd: + +Scgcheck: + +Scgskeleton: + +Btcflash: + +Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale): + +- mkisofs: some structure part copies have been rewritten to avoid compiler + warnigs about virtual variable overrun. + Thanks to Heiko Eißfeldt for reporting. + +- mkisofs: Both UDF volume descriptors need to have the same ID that is + derived from the time. Thanks to a report and patch from: + "Ganssauge, Gottfried" + +- mkisofs/diag all diagnostic helper programs had a typo in the usage() + -inore-errs instead of -ignore-errs + Thanks to Heiko Eißfeldt for reporting + +- mkisofs/diag/isoinfo.c: add a directory loop regognition to avoid + endless loops that eat up all memory with file system images that + contain loops. + Thanks to Heiko Eißfeldt for doing some handcrafted + tests based on iso images created by "american fuzzy lop". + + +HELIOS TODO: + + - Add the HELIOS UNICODE mapping code. This needs to be done + at UCS-2 level for Joliet and UDF (instead of UTF-8) and only + for Rock Ridge (in case of a UTF-8 based target locale) using + UTF-8 based translations. + + - Make the Apple extensions work again with "mkisofs -find" + +TODO: + + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +http://sourceforge.net/projects/cdrtools/files/alpha/ ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + http://sourceforge.net/projects/s-tar/files/ of from the schily-* + tarball at: http://sourceforge.net/projects/schilytools/files/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-3.02a04 b/AN-3.02a04 new file mode 100644 index 0000000..90e1e6b --- /dev/null +++ b/AN-3.02a04 @@ -0,0 +1,204 @@ +***************** Important news ****************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +NEW features of cdrtools-3.02a04: + +This is the first localization step for cdrtools. All programs now (hopefully) +call gettext() for all strings that need localization. + +- The next step will include dgettext() calls for the libraries. + +- The following step will include the extracted strings + +- The last step will include German translations and install support + for the resulting binary message object files. + +----------> Please test and report compilation problems! <--------- + +***** NOTE: As mentioned since 2004, frontends to cdrtools should ***** +***** call all programs from cdrtools in the "C" locale ***** +***** by e.g. calling: LC_ALL=C cdrecord .... ***** +***** unless these frontends support localized strings ***** +***** used by the cdrtools with NLS support. ***** + +This version compiles on Win-DOS using the Microsoft compiler cl.exe but +warning: due to missing POSIX compliance with basic features (e.g. stat() +does not return inode numbers), there are many problems with the resulting +code and thus it is recommended to better use a POSIX layer on top of +WIN-DOS. + + *** WARNING *** + *** Need new smake *** + + *** Due to the fact that schily-2014-04-03 introduced to use new macro + *** expansions and a related bug fix in smake, you need a new smake + *** to compile this source. To ensure this, get a recent "schily" + *** tarball from http://sourceforge.net/projects/schilytools/files/ + *** and call: + + cd ./psmake + ./MAKE-all + cd .. + psmake/smake + psmake/smake install + + The new smake version mentioned above is smake-1.2.4. + Note that smake-1.2.5 exists and is preferrable. + + Now you have a new smake that is able to compile this source. + + Note that the major makefile restructuring introduced in + schily-2014-04-03 is now more than one month ago and thus seems + to work without problems. + + WARNING: the new version of the isoinfo program makes use of the + *at() series of functions that have been introduced by Sun + in August 2001 and added to POSIX.1-2008. For older platforms, + libschily now includes emulations for these functions but + these emulations have not yet been tested thoroughly. + Please report problems! + + +All: + +- Added new files RULES/os-mingw32_nt-6.*.id + +- include/schily/stdint.h Better comment on how to set up an unsigned + with the positive value of TYPE_MINVAL(type). + + +Libschily: + +- libschily: New file astoul.c + +- libschily: astoi.c now supports ERANGE and parsing TYPE_MINVAL(long) + +- libschily: astoll.c now supports ERANGE and parsing TYPE_MINVAL(long long) + +Libcdrdeflt: + +Libdeflt: + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +Libfile: + +Libfind: + +Libhfs_iso: + +Libmdigest: + +Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +Libscg: + +Libscgcmd: + +Libsiconv: + +Rscsi: + +Cdrecord: + +Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- cdda2wav: A new local autoconfiguration from Heiko Eißfeldt that + is indended to better deal with incomplete Linux installations + +Readcd: + +Scgcheck: + +Scgskeleton: + +Btcflash: + +Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale): + +- mkisofs/diag/isoinfo.c: fixed directory loop recognition. + +- mkisofs/diag/isoinfo.c: now adds write permission to directories only + temporarily. + +- mkisofs/diag/isovfy.c add a directory loop recognition to avoid + endless loops that eat up all memory with file system images that + contain loops. + +- mkisofs: make sure that the stream media filename honors the + -omit-version-number option + +- mkisofs: use the correct directory size for the stream media filename. + mkisofs did write 1 Byte too few data in case of an odd file name length. + +- mkisofs/diag all diagnostic helper programs had a typo in the usage() + speficied instead of specified + +- mkisofs + diag all diagnostic helper programs have been vulnerable + to endless loops when a defective iso image with Rock Ridge was read. + Thanks to Heiko Eißfeldt for running related automated tests. + +- mkisofs: avoid an endless loop in multi session mode and with certain + defective ISO filesystem images. + +- mkisofs now includes DVD-Audio support. To impelemt this, the automated + sort routine for DVD/audio/video has been replaced. If there are any + problems, please recompile with "smake COPTX=-DOLD_DVD_WEIGHTS" test + and report. + + IMPORTANT: This modification may affect the rare but exitent problem + with DVD-Video that aborts with: + + "Implementation botch. Video pad for file %s is %d\n" + + because of a negative patch value. It may be that the old weighting + algorith let some files slip through the mesh and did not sort them + so such a file could appear on a wrong position on the medium. Please + test and report. + + + +HELIOS TODO: + + - Add the HELIOS UNICODE mapping code. This needs to be done + at UCS-2 level for Joliet and UDF (instead of UTF-8) and only + for Rock Ridge (in case of a UTF-8 based target locale) using + UTF-8 based translations. + + - Make the Apple extensions work again with "mkisofs -find" + +TODO: + + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +http://sourceforge.net/projects/cdrtools/files/alpha/ ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + http://sourceforge.net/projects/s-tar/files/ of from the schily-* + tarball at: http://sourceforge.net/projects/schilytools/files/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-3.02a05 b/AN-3.02a05 new file mode 100644 index 0000000..5f6a682 --- /dev/null +++ b/AN-3.02a05 @@ -0,0 +1,187 @@ +***************** Important news ****************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +NEW features of cdrtools-3.02a05: + +This is the first localization step for cdrtools. All programs now (hopefully) +call gettext() for all strings that need localization. + +- The next step will include dgettext() calls for the libraries. + +- The following step will include the extracted strings + +- The last step will include German translations and install support + for the resulting binary message object files. + +----------> Please test and report compilation problems! <--------- + +***** NOTE: As mentioned since 2004, frontends to cdrtools should ***** +***** call all programs from cdrtools in the "C" locale ***** +***** by e.g. calling: LC_ALL=C cdrecord .... ***** +***** unless these frontends support localized strings ***** +***** used by the cdrtools with NLS support. ***** + +This version compiles on Win-DOS using the Microsoft compiler cl.exe but +warning: due to missing POSIX compliance with basic features (e.g. stat() +does not return inode numbers), there are many problems with the resulting +code and thus it is recommended to better use a POSIX layer on top of +WIN-DOS. + + *** WARNING *** + *** Need new smake *** + + *** Due to the fact that schily-2014-04-03 introduced to use new macro + *** expansions and a related bug fix in smake, you need a new smake + *** to compile this source. To ensure this, get a recent "schily" + *** tarball from http://sourceforge.net/projects/schilytools/files/ + *** and call: + + cd ./psmake + ./MAKE-all + cd .. + psmake/smake + psmake/smake install + + The new smake version mentioned above is smake-1.2.4. + Note that smake-1.2.5 exists and is preferrable. + + Now you have a new smake that is able to compile this source. + + Note that the major makefile restructuring introduced in + schily-2014-04-03 is now more than one month ago and thus seems + to work without problems. + + WARNING: the new version of the isoinfo program makes use of the + *at() series of functions that have been introduced by Sun + in August 2001 and added to POSIX.1-2008. For older platforms, + libschily now includes emulations for these functions but + these emulations have not yet been tested thoroughly. + Please report problems! + + +All: + +- include/schily/prototyp.h now defines ALERT to abstract from + the K&R C vs. ANSI C and the missing support for \a in K&R C + +Libschily: + +- libschily/getfp.c Try to disable the address sanitizer for getfp() + to avoid unhelpful messages. + Thanks to a hint from Heiko Eißfeldt. + +- libschily/searchinpath.c Avoid a memory leak on platforms that do not + support getexecname() + Thanks to a hint from Heiko Eißfeldt. + +Libcdrdeflt: + +Libdeflt: + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +Libfile: + +Libfind: + +Libhfs_iso: + +Libmdigest: + +- libmdigest: sha3 entry function names changed to match + other digest functions. + +- libmdigest: the shared library mapfile now includes the sha3 functions + +Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +Libscg: + +Libscgcmd: + +Libsiconv: + +Rscsi: + +Cdrecord: + +Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +Readcd: + +Scgcheck: + +Scgskeleton: + +Btcflash: + +Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale): + +- mkisofs: Avoid coredumps from dereferencing NULL pointers with some + kind of rotten iso images when in multi session mode. + Thanks for Heiko Eißfeldt for reporting this problem based on a test + using "The American fuzzy lop". + +- mkisofs: Avoid coredumps from dereferencing NULL pointers with some + kind of rotten iso images when in multi session mode and other incorrect + length computations. This in special means multi.c + Thanks for Heiko Eißfeldt for reporting and for doing a code review. + +- mkisofs: Avoid to address wrong memory when scanning old ISO images. + Thanks for Heiko Eißfeldt for reporting and for doing a code review. + +- mkisofs/joliet.c: convert_to_unicode() no longer tries to access the + input string past the null byte. + Thanks to a hint from Heiko Eißfeldt. + +- mkisofs/write.c: mkisofs -sort with multi extent files (files > 4 GB) + no longer computes the size of the file twice while computing the + start sectors for files. + Thanks to a report from Arpad Biro + + + +HELIOS TODO: + + - Add the HELIOS UNICODE mapping code. This needs to be done + at UCS-2 level for Joliet and UDF (instead of UTF-8) and only + for Rock Ridge (in case of a UTF-8 based target locale) using + UTF-8 based translations. + + - Make the Apple extensions work again with "mkisofs -find" + +TODO: + + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +http://sourceforge.net/projects/cdrtools/files/alpha/ ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + http://sourceforge.net/projects/s-tar/files/ of from the schily-* + tarball at: http://sourceforge.net/projects/schilytools/files/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-3.02a06 b/AN-3.02a06 new file mode 100644 index 0000000..61fd418 --- /dev/null +++ b/AN-3.02a06 @@ -0,0 +1,204 @@ +***************** Important news ****************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +NEW features of cdrtools-3.02a06: + +This is the first localization step for cdrtools. All programs now (hopefully) +call gettext() for all strings that need localization. + +- The next step will include dgettext() calls for the libraries. + +- The following step will include the extracted strings + +- The last step will include German translations and install support + for the resulting binary message object files. + +----------> Please test and report compilation problems! <--------- + +***** NOTE: As mentioned since 2004, frontends to cdrtools should ***** +***** call all programs from cdrtools in the "C" locale ***** +***** by e.g. calling: LC_ALL=C cdrecord .... ***** +***** unless these frontends support localized strings ***** +***** used by the cdrtools with NLS support. ***** + +This version compiles on Win-DOS using the Microsoft compiler cl.exe but +warning: due to missing POSIX compliance with basic features (e.g. stat() +does not return inode numbers), there are many problems with the resulting +code and thus it is recommended to better use a POSIX layer on top of +WIN-DOS. + + *** WARNING *** + *** Need new smake *** + + *** Due to the fact that schily-2014-04-03 introduced to use new macro + *** expansions and a related bug fix in smake, you need a new smake + *** to compile this source. To ensure this, get a recent "schily" + *** tarball from http://sourceforge.net/projects/schilytools/files/ + *** and call: + + cd ./psmake + ./MAKE-all + cd .. + psmake/smake + psmake/smake install + + The new smake version mentioned above is smake-1.2.4. + Note that smake-1.2.5 exists and is preferrable. + + Now you have a new smake that is able to compile this source. + + Note that the major makefile restructuring introduced in + schily-2014-04-03 is now more than one month ago and thus seems + to work without problems. + + WARNING: the new version of the isoinfo program makes use of the + *at() series of functions that have been introduced by Sun + in August 2001 and added to POSIX.1-2008. For older platforms, + libschily now includes emulations for these functions but + these emulations have not yet been tested thoroughly. + Please report problems! + + +All: + +Libschily: + +- libschily: fprformat.c now compiles with format.c in a way that is useful + on all possible targets by implementing a double buffered macro based + internal method for fprfprmat(). + + This is aprox. 10% slower than the previous single buffered solution for + Solaris (based on the putc_unlocked() macro) but it works anywhere and + it does not have the problems with unbuffered streams (like stderr) + that have been seen on Solaris since fprformat() was introduced in 2013. + +- libschily: js_printf() and js_fprintf() now by default uses fprfprmat() + on all platforms. This reduces the performance on Solaris by 10% but it + enhances the performance on all other platforms. Our "od" implementation + via "hdump" is now 70% faster than "gnu od" on Linux instead of + being 50% faster before that change. It seems to be a good idea to get + a fast and POSIX compliant "od" implementation on Linux. + +- Some typos in some manpages have been fixed. + +Libcdrdeflt: + +Libdeflt: + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +Libfile: + +Libfind: + +Libhfs_iso: + +Libmdigest: + +Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +Libscg: + +- libscg: fix a comparison with the timeout value that was wrong + because of a wrong copy/paste action. This code fragment is + used when the Linux kernel returns unspecific SCSI error codes + and previously caused cdrecord to incorrectly assume a timeout + that than incorrectly stopped the write operation. + +- libscg: added a debug message (in non-silent mode) that prints + the sg_io.host_status value in case of unknown states. + +- libscg: A new interface function "scg_opts()" has been introduced to parse + and set op generic SCSI options. The only new implemented general option + for now is: "ignore-resid". This option was introduced in order to be able + to work around a Linux kernel bug that results in a DMA residual count + != 0 even though all data was transferred. + +Libscgcmd: + +Libsiconv: + +Rscsi: + +Cdrecord: + +- cdrecord: A new option scgopts=list has been introduced. Call + "cdrecord scgopts=ignore-resid ..." in order to work around the mentioned + Linus kernel bug. + +- cdrecord: The man page now also mentions scgopts=ignore-resid + +Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- cdda2wav: A new option scgopts=list has been introduced. + +Readcd: + +- readcd: A new option scgopts=list has been introduced. + +Scgcheck: + +- scgcheck: A new option scgopts=list has been introduced. + +Scgskeleton: + +- scgskeleton: A new option scgopts=list has been introduced. + +Btcflash: + +- btcflash: A new option scgopts=list has been introduced. + +Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale): + +- mkisofs call free(mroot) in main to quiet the address sanitzier. + Thanks to Heiko Eißfeldt for reporting. + +- mkisofs: better error messages for rotten ISO-9660 directories + that are encountered in multi-session mode. + Thanks to Heiko Eißfeldt for reporting. + + +HELIOS TODO: + + - Add the HELIOS UNICODE mapping code. This needs to be done + at UCS-2 level for Joliet and UDF (instead of UTF-8) and only + for Rock Ridge (in case of a UTF-8 based target locale) using + UTF-8 based translations. + + - Make the Apple extensions work again with "mkisofs -find" + +TODO: + + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +http://sourceforge.net/projects/cdrtools/files/alpha/ ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + http://sourceforge.net/projects/s-tar/files/ of from the schily-* + tarball at: http://sourceforge.net/projects/schilytools/files/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-3.02a07 b/AN-3.02a07 new file mode 100644 index 0000000..6b4462b --- /dev/null +++ b/AN-3.02a07 @@ -0,0 +1,258 @@ +***************** Important news ****************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +NEW features of cdrtools-3.02a07: + +This is the first localization step for cdrtools. All programs now (hopefully) +call gettext() for all strings that need localization. + +- The next step will include dgettext() calls for the libraries. + +- The following step will include the extracted strings + +- The last step will include German translations and install support + for the resulting binary message object files. + +----------> Please test and report compilation problems! <--------- + +***** NOTE: As mentioned since 2004, frontends to cdrtools should ***** +***** call all programs from cdrtools in the "C" locale ***** +***** by e.g. calling: LC_ALL=C cdrecord .... ***** +***** unless these frontends support localized strings ***** +***** used by the cdrtools with NLS support. ***** + +This version compiles on Win-DOS using the Microsoft compiler cl.exe but +warning: due to missing POSIX compliance with basic features (e.g. stat() +does not return inode numbers), there are many problems with the resulting +code and thus it is recommended to better use a POSIX layer on top of +WIN-DOS. + + *** WARNING *** + *** Need new smake *** + + *** Due to the fact that schily-2014-04-03 introduced to use new macro + *** expansions and a related bug fix in smake, you need a new smake + *** to compile this source. To ensure this, get a recent "schily" + *** tarball from http://sourceforge.net/projects/schilytools/files/ + *** and call: + + cd ./psmake + ./MAKE-all + cd .. + psmake/smake + psmake/smake install + + The new smake version mentioned above is smake-1.2.4. + Note that smake-1.2.5 exists and is preferrable. + + Now you have a new smake that is able to compile this source. + + Note that the major makefile restructuring introduced in + schily-2014-04-03 is now more than one month ago and thus seems + to work without problems. + + WARNING: the new version of the isoinfo program makes use of the + *at() series of functions that have been introduced by Sun + in August 2001 and added to POSIX.1-2008. For older platforms, + libschily now includes emulations for these functions but + these emulations have not yet been tested thoroughly. + Please report problems! + + +All: + +- REAME.compile: added documentation on how to compile with clang + +- README.SCCS has been enhanced and now documents compile time and + installation options. + +- "cstyle", "installman" and other new targets have been added to the makefile + system + +- Rules for the automated testing "make tests" added to the makefile system + +- include/schily/wait.h reworked + +- include/schily/stdio.h enhanced to include speed up code got getc() with + Solaris 64 bit compilations. + +- New autoconf test for haiku posix/malloc.h + +- New autoconf test for arpa/aixrcmds.h + +- New autoconf test for tcgetsid() + +- New autoconf test whether waitpid() supports NOWAIT + +- New autoconf test whether we have d_type in struct dirent + +Libschily: + +- libschily/jsdprintf.c added + +- libschily/movecbytes.c added + +- libschily/astoi.c and libschily/astoll.c now check for overflows + and report ERANGE + +- libschily/*printf.c now support a locale dependent decimal separator + +- libschily/format.c (the printf worker code) has been enhanced to + be faster with STDIO on most platforms. + +- libschily: getargs, getallargs and getfiles man pages have been reworked + +- libschily/getargs.c: combined single char boolean flags now work + with callback type formats. + +- libschily/searchinpath.c added a new flag SIP_NO_STRIPBIN + +- libschily/stdio/fgetline.c now includes a speedup for AT&T stdio using + the new movecbytes() + +- libschily/stdio/fgetstr.c now includes a speedup for AT&T stdio using + the new movecbytes() + +- libschily/stdio/getdelim.c now includes a speedup for AT&T stdio using + the new movecbytes() + +Libcdrdeflt: + +Libdeflt: + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- libedc_ecc_dec: Avoid an array out of bound subscription. Thanks to + Heiko Eißfeldt for cheking the code after a compiler warning. + +Libfile: + +Libfind: + +- libfind: the code now supports the *BSD enhancement "d_ino" in struct dirent. + This speeds up stat()less jobs. + +Libhfs_iso: + +Libmdigest: + +Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +Libscg: + +Libscgcmd: + +Libsiconv: + +Rscsi: + +Cdrecord: + +Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- cdda2wav: Many small rewrites from Heiko Eißfeldt, mainly to reduce the + scope of variables and to correctly use the "%u" printf format for + unsigned variables. + +Readcd: + +Scgcheck: + +Scgskeleton: + +Btcflash: + +Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale): + +- mkisofs/mac_label.c: fixed a file descriptor leak + Thanks to heiko Eißfeldt for reporting. + +- mkisofs: Allow to compile the code again when USE_FIND APPLE_HFS_HYB + APPLE_HYB UDF DVD_AUD_VID are not #define'd Thanks to a hint from + Colin Finck + +- mkisofs: mkisofs -version now mentions James Pearson and HELIOS GMBH + +- mkisofs: the getvargs() call now honors the parameter order change in + libschily::getvargs(). + +- mkisofs: when stripping off "./" and "//" from graft points, mkisofs + now uses ovstrcpy() that supports to copy overlapping strings as Mac OS + has a strlcpy() that fails with overlapping strings. + Thanks to a hint from Colin Finck + +- mkisofs: the function prototype readsecs() is now available even when + USE_SCG is not defined. + Thanks to a hint from Colin Finck + +- mkisofs: The option -no-cache-inodes is available again in all compile + versions. + +- mkisofs: Some unused variables have been removed. + +- mkisofs: New option -isort behaves like -sort but ignores the case of + filenames in the sort file. + +- mkisofs: new option -hide-ignorecase allows to ignore case with the + -hide* options and with -exclude-list + +- mkisofs: New option -no-allow-lowercase allows to revert the effect to + -allow-lowercase from macro options like -untranslated-filenames or + -iso-level 4 + +- mkisofs: New option -duplicates-once to hard link identical files even + on non POSIX platforms. + The code was modeled similar to the code from + Alex Kopylov cdrtools@bootcd.ru but better fits into the idea of + current versions of mkisofs + +- mkisofs: defaults.h no longer sets the system to "UNIX" if it was + compiles by MSVC. + Thanks to Collin Finck colin@reactos.org for reporting + + + +HELIOS TODO: + + - Add the HELIOS UNICODE mapping code. This needs to be done + at UCS-2 level for Joliet and UDF (instead of UTF-8) and only + for Rock Ridge (in case of a UTF-8 based target locale) using + UTF-8 based translations. + + - Make the Apple extensions work again with "mkisofs -find" + +TODO: + + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +http://sourceforge.net/projects/cdrtools/files/alpha/ ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + http://sourceforge.net/projects/s-tar/files/ of from the schily-* + tarball at: http://sourceforge.net/projects/schilytools/files/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-3.02a08 b/AN-3.02a08 new file mode 100644 index 0000000..f59d962 --- /dev/null +++ b/AN-3.02a08 @@ -0,0 +1,218 @@ +***************** Important news ****************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +NEW features of cdrtools-3.02a08: + +WARNING: cdrtools-3.02a08 only has been distributed as part of "schilytools". +See http://sourceforge.net/projects/schilytools/files/schily-2017-03-30.tar.bz2 + +This is the first localization step for cdrtools. All programs now (hopefully) +call gettext() for all strings that need localization. + +- The next step will include dgettext() calls for the libraries. + +- The following step will include the extracted strings + +- The last step will include German translations and install support + for the resulting binary message object files. + +----------> Please test and report compilation problems! <--------- + +***** NOTE: As mentioned since 2004, frontends to cdrtools should ***** +***** call all programs from cdrtools in the "C" locale ***** +***** by e.g. calling: LC_ALL=C cdrecord .... ***** +***** unless these frontends support localized strings ***** +***** used by the cdrtools with NLS support. ***** + +This version compiles on Win-DOS using the Microsoft compiler cl.exe but +warning: due to missing POSIX compliance with basic features (e.g. stat() +does not return inode numbers), there are many problems with the resulting +code and thus it is recommended to better use a POSIX layer on top of +WIN-DOS. + + *** WARNING *** + *** Need new smake *** + + *** Due to the fact that schily-2014-04-03 introduced to use new macro + *** expansions and a related bug fix in smake, you need a new smake + *** to compile this source. To ensure this, get a recent "schily" + *** tarball from http://sourceforge.net/projects/schilytools/files/ + *** and call: + + cd ./psmake + ./MAKE-all + cd .. + psmake/smake + psmake/smake install + + The new smake version mentioned above is smake-1.2.4. + Note that smake-1.2.5 exists and is preferrable. + + Now you have a new smake that is able to compile this source. + + Note that the major makefile restructuring introduced in + schily-2014-04-03 is now more than one month ago and thus seems + to work without problems. + + WARNING: the new version of the isoinfo program makes use of the + *at() series of functions that have been introduced by Sun + in August 2001 and added to POSIX.1-2008. For older platforms, + libschily now includes emulations for these functions but + these emulations have not yet been tested thoroughly. + Please report problems! + + +All: + +- README.compile was updated and made more readable. + +- The file README.compile now explains how to compile with the + gcc address sanitizer and with afl-gcc (American Fuzzy Lop). + Thanks to a hint from Heiko Eißfeldt. + +- A typo in the autoconf file xconfig.h.in has been fixed + +- The auto configuration code now avoids to #define HAVE_SUN_ACL + when HAVE_POSIX_ACL has already been #defined. + This is needed in order to make everything compile again under + recent Cygwin versions. + + NOTE: Cygwin used to implement the Sun UFS ACL interface but recently + changed to the POSIX draft that has been withdrawn in 1997. + + Thanks to a hint from Thomas Plank + +- include/schily/schily.h: better comment + + +Libschily: + +- libschily: added a missing null-byte to the filename in the + opendir() emulation for Win-DOS. + + Thanks to Collin Finck colin@reactos.org for reporting + +- libschily: The movebytes() man page now mentions other *bytes() + functions. + +- libschily: cmpbytes() new man page + +- libschily:comexit() the memory allocated via on_comerr() is now + freed with comexit(). + Thanks to a hint from Heiko Eißfeldt. + + +Libcdrdeflt: + +Libdeflt: + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +Libfile: + +Libfind: + +Libhfs_iso: + +Libmdigest: + +Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +Libscg: + +Libscgcmd: + +Libsiconv: + +Rscsi: + +Cdrecord: + +Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- Cdda2wav: changed the variable userverbose from "int" to "long". + This is needed as getargs() always uses a long * argument for a + function for a callback option. The result of this bug was that + "cdda2wav -vall" did set the output fd to 0 and as a result, + error messages have been printed to stdin instead of stderr. + This of course created problems with GUI frontends if the + cdda2wav binary was a 64-bit binary. + + Thanks to a hint from Thomas Niederreiter + +- Cdda2wav: cdda2wav out-fd=2 no longer delays the output because the + output is buffered. + + Thanks to a hint from Thomas Niederreiter + +- Cdda2wav: modified the man page to make it obvious that the new cdda2wav + auto-detects whether a drive supports to read C2-error lists. + + Thanks to a hint from Thomas Niederreiter + +- Cdda2wav: added a workaround for a problem caused by a Linux stdio bug + that causes "stderr" to be buffered even though POSIX requires it + to be unbuffered. + + Thanks to a hint from Thomas Niederreiter + + +Readcd: + +Scgcheck: + +Scgskeleton: + +Btcflash: + +Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale): + +- mkisofs no longer needs -no-cache-inodes to make -duplicates-once + work on UNIX. + + + +HELIOS TODO: + + - Add the HELIOS UNICODE mapping code. This needs to be done + at UCS-2 level for Joliet and UDF (instead of UTF-8) and only + for Rock Ridge (in case of a UTF-8 based target locale) using + UTF-8 based translations. + + - Make the Apple extensions work again with "mkisofs -find" + +TODO: + + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +http://sourceforge.net/projects/cdrtools/files/alpha/ ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + http://sourceforge.net/projects/s-tar/files/ of from the schily-* + tarball at: http://sourceforge.net/projects/schilytools/files/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/AN-3.02a09 b/AN-3.02a09 new file mode 100644 index 0000000..88bda47 --- /dev/null +++ b/AN-3.02a09 @@ -0,0 +1,514 @@ +***************** Important news ****************************** + +For the 'Slottable Source Plugin Module' SSPM Features read README.SSPM + +***************** Please Test ********************************* + +NEW features of cdrtools-3.02a09: + +This is the first localization step for cdrtools. All programs now (hopefully) +call gettext() for all strings that need localization. + +- The next step will include dgettext() calls for the libraries. + +- The following step will include the extracted strings + +- The last step will include German translations and install support + for the resulting binary message object files. + +----------> Please test and report compilation problems! <--------- + +***** NOTE: As mentioned since 2004, frontends to cdrtools should ***** +***** call all programs from cdrtools in the "C" locale ***** +***** by e.g. calling: LC_ALL=C cdrecord .... ***** +***** unless these frontends support localized strings ***** +***** used by the cdrtools with NLS support. ***** + +This version compiles on Win-DOS using the Microsoft compiler cl.exe but +warning: due to missing POSIX compliance with basic features (e.g. stat() +does not return inode numbers), there are many problems with the resulting +code and thus it is recommended to better use a POSIX layer on top of +WIN-DOS. + + *** WARNING *** + *** Need new smake *** + + *** Due to the fact that schily-2014-04-03 introduced to use new macro + *** expansions and a related bug fix in smake, you need a new smake + *** to compile this source. To ensure this, get a recent "schily" + *** tarball from http://sourceforge.net/projects/schilytools/files/ + *** and call: + + cd ./psmake + ./MAKE-all + cd .. + psmake/smake + psmake/smake install + + The new smake version mentioned above is smake-1.2.4. + Note that smake-1.2.5 exists and is preferrable. + + Now you have a new smake that is able to compile this source. + + Note that the major makefile restructuring introduced in + schily-2014-04-03 is now more than one month ago and thus seems + to work without problems. + + WARNING: the new version of the isoinfo program makes use of the + *at() series of functions that have been introduced by Sun + in August 2001 and added to POSIX.1-2008. For older platforms, + libschily now includes emulations for these functions but + these emulations have not yet been tested thoroughly. + Please report problems! + + +All: + +- RULES/cc-*.rul: The compiler files without C++ support no longer + have a tab after $(NUMBER_SIGN) as this prevents the intended use case. + +- RULES/9000-725-hp-ux-gcc.rul and RULES/cc-hp.rul now support creating + shared libraries by using "ld -b" instead of using the compiler to + link. + +- RULES/*haiku-*.rul The rules for shared libraries now work + + Thanks to a report from Heiko Eißfeldt + +- RULES/cc-*.rul: added a LIB_C=-lc to prepare compilation on Haiku + +- RULES/bepc-haiku-cc.rul and RULES/bepc-haiku-gcc.rul: Added LIB_C= + to clean the name of libc on Haiku that does not have libc. + We need to link all shared libraries against -lc in case they use + system interfaces but are not allowed to do the same on Haiku. + + Thanks to a report from Heiko Eißfeldt + +- Schily Makefilesystem: Use the correct rules to create shared libraries + on Cygwin. Before this release, shared libraries with Cygwin have not + been tested and the old rules have been guessed. + +- RULES/rules.ins: fixed a typo in the symlink install rule + +- RULES/rules.top: we now clear the macro COMPILE.cc= from SunPro make + as well, in order to get our definition from the Schily Makefilesystem. + Before, when using SunPro Make, C++ code was compiled without enabling + the optimizer, as the SunPro Make default rule definition was used. + +- RULES/: Since SunPro Make from Schilytools now supports multiple + includes with a single include directive, we added a new configuration + for a SunPro Make that itself identifies now as "sunpro" via MAKE_NAME. + +- DEFAULTS/Defaults.cygwin*: We no longer read the Microsoft configuration + for cl.exe except when the makeprogram in use is "smake". This is needed + as neither GNU make nor SunPro make support spaces in filenames and + SunPro make aborts in case ".NO_WARN: :=" from DEFAULTS/vc7-cygwin-setup + is seen. + + Thanks to Heiko Eißfeldt for reporting + +- autoconf: now checks for the existence of "tsort" and "lorder" + in order to help to compile on the new platform "aarch64" for Solaris. + This platform is currently still missing many of the ELF tools and + thus "lorder" + + +- Schily Makefilesystem: Changed $(MAKE) -> "$(MAKE)" + + Thanks to Heiko Eißfeldt for reporting + +- Schily Makefilesystem: added a new target "uninstall" that removes + all non-directory type files that previously may have been installed via + the "install" target. + + Thanks to a report from Michael Siegel + +- Schily Makefilesystem: RULES/rules.loc and RULES/rules.man have been + made safe against a parallel make program like SunPro Make. + + Thanks to a report from Heiko Eißfeldt + +- The Schily Makefilesystem now uses .PHONY again (and no longer "FRC") + unless the make program was identified as an old unfixed "SunPro Make" + from Sun or Oracle. + +- README.compile now better explains that CCOM= does not just set the + C-compiler but the compiler family that includes a C++ compiler. + +- New include file include/schily/strar.h + +- include/schily/device.h: XDEV_T is now Ullong. This file was forgotten + to distribute with schilytools-2017-10-10. The change is however needed + for a bugfix in "star". + +- include/schily/archdefs.h: With Sun Studio-12.4 on Oracle Solaris-11.2, + we had a problem with __SUNPRO_C and needed to change it to __IS_SUNPRO_C + + Thanks to Jens Elkner for reporting. + +- include/schily/maxpath.h now supports MAXNAMELEN to help with SunPro Make + +- include/schily/unistd.h extern char **environ is now in the + cplusplus guard + +- include/schily/libport.h no longer uses a formal parameter named "new" in + order to avoid problems with C++ + +- configure: Added tests for isblank() and iswblank() that have not + been available in historix UNIX. + +- autoconf/config.sub now groks ppc64 on Linux. + +- autoconf: new tests for ar.h and rpc/rpc.h + +- autoconf: new test for semaphore.h + +- autoconf now checks for "libelf" and "libelf.h". This is needed for + libmakestate that is part of SunPro Make. Libmakestate is based on the + standard libelf that is not part of all platforms. + +- autoconf now first checks whether the pthread*() functions are in libc + before checking for -lpthread. This helps to avoid to link against + libpthread on Solaris. + +- autoconf/config.sub now knows the architecture "aarch64". This + helps to deal with Solaris and Linux on the Raspberry Pi3 and the + Odroid C2. + +- autoconf/config.guess now knows the architecture "aarch64" for Solaris. + This helps to deal with Solaris on the Raspberry Pi3 and the Odroid C2. + +- autoconf: now checks for the existence of "tsort" and "lorder" + in order to help to compile on the new platform "aarch64" for Solaris. + This platform is currently still missing many of the ELF tools and + thus "lorder" + +- RULES/MKLINKS: New links for RULES/aarch64-sunos5-gcc*.rul and + RULES/aarch64-sunos5-clang*.rul have been added. + +- RULES/rules.ins: before installing symlinks or hardlinks, the + directory the links are in is made. + +- RULES: Added a new method that allows to skip building C++ based code + in case we are on a platform that does not support a C++ compiler. + This is needed for SunPro Make that was written on C++. + Note that if you are e.g. on SunOS-4.x where the system does not include + a C++ compiler, compiling with CCOM=cc will skip SunPro Make, but + using CCOM=gcc on the same platform will compile SunPro Make. + +- DEFAULTS_CSW/Defaults.sunos5 now uses the same enhanced optiomization + for C++ as used for C. This helps to compile the new SunPro Make + sources. + +- README.compile: The documentation for using the Address Sanitizer was + enhanced. + +- README.compile now better explains that CCOM= does not just set the + C-compiler but the compiler family that includes a C++ compiler. + +- configure: The tests for -lsocket and for -lnsl/-lnetwork + have been better separated to correctly recognize -lnetwork + on Haiku. + + Thanks to a report from Heiko Eißfeldt + +- configure: the vfork() test has been enhanced to check whether + a modification in the data segment of the child affects the + parent as well. This feature is used (needed) by the Bourne Shell + to signal a ENOEXEC case for shell scripts to the parent and in + general to report the reason for a failed execve() call back + to the parent. + + Note that vfork() in Haiku does not share data and thus canot + be used by the Bourne Shell. + +- configure: a new test AC_STAT_FILES has been written to replace + AC_CHECK_FILES. AC_CHECK_FILES does not work on Haiku due to + a bug in "bash" that makes "test -r /dev/stdin" to report an exit + code of 0 even though the file /dev/stdin does not exist. + +- conf/oarch.sh: Fixed a typo that caused oarch to output e.g. + + i686-cygwin_nt-5.1-cc + + instead of + + i686-cygwin32_nt-cc + + Thanks to Heiko Eißfeldt for reporting + +- inc/avoffset.c: added a workaround for a clang bug with FreeBSD on ARM64. + clang creates incorrect code for a while loop that results in an endless + loop. The last line in that while loop is never executed. It turned + out that adding + read(-1, "", 0); + at the beginning of the while loop works around the clang bug. + + Thanks to Robert Clausecker for reporting. + +- inc/avoffset.c: added a workaround for a problem with clang that causes + the function stack_direction() to be inlined even though this was never + requested. + + + +Libschily: + +- libschily::getargs.c: Added a new flag that allows to implement POSIX + option rule #5: + + One or more options without option-arguments, followed by + at most one option that takes an option-argument, should be + accepted when grouped behind one '-' delimiter. + + This new mode is needed to implement spax with a POSIX compliant CLI. + +- libschily: The environment "COMERR_EXCODE" now directs the comerr() + group of functions not to map exit codes to -64 in case they are + ambiguous to callers of the historic wait() call. + + If you like to get the unmodified exit code, use the "new" (since 1989) + POSIX waitid() call and add the "COMERR_EXCODE" before creating + the child process. + +- libschily: Addd a implementation for the functions: + + wctype() and iswctype() to allow porting to older platforms. + +- libschily: New pattern matcher functions + + patmbmatch() and patmblmatch() + + support multi byte strings with a wchar_t * pattern. The pattern is + a wide char string for performance reasons. + +- libschily::match.c Added support for '[:alpha:]' and similar. + This is needed to make patmatch() POSIX compliant. + We still miss support for '[=char=]' and '[.char.]'. + +- libschily: added a missing null-byte to the filename in the + opendir() emulation for Win-DOS. + + Thanks to Colin Finck colin@reactos.org for reporting + +- libschily: The movebytes() man page now mentions other *bytes() + functions. + +- libschily: cmpbytes() new man page + +- libschily::fnmatch.c The code was rewritten to avoid recursion + using the recent code from FreeBSD. + +- libschily::fnmatch.c The behavior with a pattern that ends in + a single escape character ('\') was modified to match the + current POSIX text and the implementation from Sun/IBM/HP, see + http://austingroupbugs.net/view.php?id=806 + +- libschily::fnmatch.c Added support for '[:alpha:]' and similar. + This is needed to make fnmatch() POSIX compliant. + We still miss support for '[=char=]' and '[.char.]'. + +- libschily::fnmatch(): The POSIX specifiers [:upper:] and [:lower:] now + work together with FNM_CASEFOLD. + +- libschily::format.c: a former "long" parameter in the format() routine + has been changed to be now "void *". This is needed as sizeof(long) + is less than sizeof(void *) on Win-DOS-64. This caused the printf() + implementation from libschily to fail on Win64. + + Thanks to Colin Finck from the ReactOS team for reporting. + +- libschily: format() (the printf worker) now supports the floating + point formats: 'E', 'F', 'G'. + +- libschily/fstream.c: fsgetc() now allows to return more expeptional + return values from the transfer callback function. Before, only + 0 and EOF have been supported, now other negative values are OK as well. + +- libschily: added a va_end() call after a va_copy() + call in getargs.c + + Thanks to Heiko Eißfeldt for reporting + +Libcdrdeflt: + +Libdeflt: + +- libdefault: Avoid a possible double fclose() call. + + Thanks to Heiko Eißfeldt for reporting + +Libedc (Optimized by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- libedc: avoid a free()less malloc() in the speedtest + program. + + Thanks to Heiko Eißfeldt for reporting + +Libfile: + +- libfile: better realloc() handling in case of a failure. + + Thanks to Heiko Eißfeldt for reporting + +Libfind: + +- libfind: use $(LIB_INTL) to support Cygwin when creating a shared library + +- libfind: As libfind uses fnmatch(), it now supports + [[:alpha:]] with "-name" and "-path" in case the schily version of + fnmatch() is used. + +Libhfs_iso: + +- libhsf: removed a superfluous "*/" in DEBUG code. + + Thanks to a report from Heiko Eißfeldt + +Libmdigest: + +Libparanoia (Ported/enhanced by Jörg Schilling, originated by Monty xiphmont@mit.edu): + +Libscg: + +- libscg::scsi-vms.c: abort scg__open() in case that "busno" + has an illegal value. This avoids using uninitialized data + as index in an array. + + Thanks to Heiko Eißfeldt for reporting + +- libscg: scsi-wnt.c corrected the DMA size for the WIN drive type inquiry. + +Libscgcmd: + +Libsiconv: + +Rscsi: + +Cdrecord: + +- cdrecord: man page now mentions the exit code + +- cdrecord: updated the man page to list the names of the drives that support + the defpregap= option. + +- cdrecord::subchan.c changed #ifdef sss -> #if 0 to calm down a + static code analyzer. + + Thanks to Heiko Eißfeldt for reporting + +- cdrecord: the man page now comes with an enhanced section + "EXIT STATUS" + + Thanks to a report from Mathias + + +Cdda2wav (Maintained/enhanced by Jörg Schilling, originated by Heiko Eißfeldt heiko@hexco.de): + +- cdda2wav: a patch from Heiko Eißfeldt results in only trying + to read the ISRC values for the tracks that should be extracted + later. + +- cdda2wav man page: The man page now mentions that c2check should always be + used with "proof" in case the drive supports it. + +- cdda2wav: The output is now unbuffered in case it has been redirected using + the out-fd=# option. + + Thanks to a report from Mathias + +- Cdda2wav: changed the variable userverbose from "int" to "long". + This is needed as getargs() always uses a long * argument for a + function for a callback option. The result of this bug was that + "cdda2wav -vall" did set the output fd to 0 and as a result, + error messages have been printed to stdin instead of stderr. + This of course created problems with GUI frontends if the + cdda2wav binary was a 64-bit binary. + + Thanks to a hint from Thomas Niederreiter + +- Cdda2wav: modified the man page to make it obvious that the new cdda2wav + auto-detects whether a drive supports to read C2-error lists. + + Thanks to a hint from Thomas Niederreiter + +- Cdda2wav: added a workaround for a problem caused by a Linux stdio bug + that causes "stderr" to be buffered even though POSIX requires it + to be unbuffered. + + Thanks to a hint from Thomas Niederreiter + +Readcd: + +- readcd: man page now mentions the exit code + + +Scgcheck: + +Scgskeleton: + +Btcflash: + +- btcflash: added a missing (but not really needed) free() + and fclose() call. + + Thanks to Heiko Eißfeldt for reporting + +Mkisofs (Maintained/enhanced by Jörg Schilling since 1997, originated by Eric Youngdale): + +- mkisofs::apple_drive.c added a missing fclose(fp); + + Thanks to Heiko Eißfeldt for reporting + +- mkisofs::vms.c corrected a typo and now call ISO_ROUND_UP(use) instead + of ROUND_UP(use) + + Thanks to Heiko Eißfeldt for reporting + +- A better documentation for -D was added to the man page. + + + + + +HELIOS TODO: + + - Add the HELIOS UNICODE mapping code. This needs to be done + at UCS-2 level for Joliet and UDF (instead of UTF-8) and only + for Rock Ridge (in case of a UTF-8 based target locale) using + UTF-8 based translations. + + - Make the Apple extensions work again with "mkisofs -find" + +TODO: + + - read Joliet filenames with multi-session if no TRANS.TBL + or RR is present. I am looking for a volunteer for this task! + + Note that this can never be 100% correct as there is no relation + between the names on the master (UNIX) filesystem, the ISO-9660 + names and the Joliet names. Only the Rock Ridge names are + untranslated with respect to the original files on the + master (UNIX) filesystem. + + - add libecc/edc for CDI and similar. + + +CYGWIN NT-4.0 NOTES: + +To compile on Cygwin32, get Cygwin and install it. +For more information read README.win32 + +The files are located on: + +http://sourceforge.net/projects/cdrtools/files/alpha/ ... + +NOTE: These tar archives are 100% POSIX compatible. GNU tar may get some + minor trouble. If you like a 100% POSIX compliant tar, get star from + http://sourceforge.net/projects/s-tar/files/ of from the schily-* + tarball at: http://sourceforge.net/projects/schilytools/files/ + +WARNING: Do not use 'winzip' to extract the tar file! + Winzip cannot extract symbolic links correctly. + +Joerg diff --git a/BUILD b/BUILD new file mode 100644 index 0000000..8de1994 --- /dev/null +++ b/BUILD @@ -0,0 +1,764 @@ +# @(#)README.compile 1.35 17/11/28 Copyright 1997-2017 J. Schilling + +Short overview for those who don't read manuals: + + Calling configure manually is outdated because this is a task of the + makefile system. + + There is no 'configure', simply call 'make' on the top level + directory. + + ***** If this does not work for you, read the rest if this file ***** + ***** If you have any problem, also first read the topic specific ***** + ***** README.* files (e.g. README.linux for Linux problems). ***** + + All results in general will be placed into a directory named + OBJ// in the current projects leaf directory. + + You **need** either the Schily "smake" program, the SunPRO make + from /usr/bin/make (SunOS 4.x) or /usr/ccs/bin/make (SunOS 5.x) + or GNU make to compile this program. Read READMEs/README.gmake for + more information on gmake and a list of the most annoying bugs in gmake. + + All other make programs are either not smart enough or have bugs. + + My "smake" source is at: + + https://sourceforge.net/projects/s-make/files/ + + It is easy to compile and doesn't need a working make program + on your machine. If you don't have a working "make" program on the + machine where you like to compile "smake" read the file "BOOTSTRAP". + + If you have the choice between all three make programs, the + preference would be + + 1) smake (preferred) + 2) SunPRO make + 3) GNU make (this is the last resort) + + Important notice: "smake" that comes with SGI/IRIX will not work!!! + This is not the Schily "smake" but a dumb make program from SGI. + + ***** If you are on a platform that is not yet known by the ***** + ***** Schily makefilesystem you cannot use GNU make. ***** + ***** In this case, the automake features of smake are required. ***** + + Note that GNU make has major bugs on various platforms and thus cannot + be used at all on VMS and OS/2. GNU make on Cygwin causes problems + because it does not deal with spaces and newlines correctly. + + Please read the README's for your operating system too. + + WARNING + Do not use 'mc' to extract the tar file! + All mc versions before 4.0.14 cannot extract symbolic links correctly. + + The versions of WinZip that support tar archives cannot be used either. + The reason is that they don't support symbolic links. + Star and Gnutar do support symbolic links even on win32 systems. + To support symbolic links on win32, you need to link with the + Cygwin32 POSIX library. + + To unpack an archive, use: + + gzip -d < some-arch.tar.gz | tar xpf - + + Replace 'some-arch.tar.gz' by the actual archive name. + + If your platform does not support hard links or symbolic links, you + first need to compile "star" and then call: + + star -xp -copy-links < some-arch.tar.gz + + If your platform does not support hard links but supports + symbolic links, you only need to call the command above once. + If your platform does not support symbolic links, you need to call + the command twice because a symbolic link may occur in the archive + before the file it points to. + + + +Here comes the long form: + + +PREFACE: + + Calling configure manually is outdated because this is a task of the + makefile system. + + You don't have to call configure with this make file system. + + Calling 'make' or 'make all' on the top level directory will create + all needed targets. Calling 'make install' will install all needed + files. + + This program uses a new makefilesystem, introduced in 1993. This + makefilesystem uses techniques and ideas from the 1980s and 1990s, + is designed in a modular way and allows sources to be combined in a + modular way. For mor information on the modular features read + README.SSPM. + + The makefilesystem is optimized for a program called 'smake' + Copyright 1985 by Jörg Schilling, but SunPro make (the make program + that comes with SunOS >= 4.0 and Solaris) as well as newer versions + of GNU make will work also. BSDmake could be made working, if it + supports pattern matching rules correctly. + + The makefile system allows simultaneous compilation on a wide + variety of target systems if the source tree is accessible via NFS. + + +Finding Compilation Results: + + To allow simultaneous compilations, all binaries and results of a + 'compilation' in any form are placed in sub-directories. This includes + automatically generated include files. Results will in general be + placed into a directory named OBJ// in the current project's + leaf directory, libraries will be placed into a directory called + libs// that is located in the source tree root directory. + + will be something like 'sparc-sunos5-cc' + + This is the main reason why simultaneous compilation is possible on + all supported platforms if the source is mounted via NFS. + + +How to compile: + + To compile a system or sub-system, simply enter 'smake', 'make' or + 'Gmake'. Compilation may be initialized at any point of the source + tree of a system. + + WARNING: If compilation is started in a sub tree, only all objects + in that sub tree will be made. This usually excludes needed libraries. + + +How to install results: + + To install the product of a compilation in your system, call: + + smake install + + at top level. The binaries will usually be installed in + /opt/schily/bin. The directory /opt// has been agreed + on by all major UNIX vendors in 1989. Unfortunately, still not all + vendors follow this agreement. + + If you want to change the default installation directory, edit the + appropriate (system dependent) files in the DEFAULTS directory + (e.g. DEFAULTS/Defaults.sunos5). + + ***** If "smake install" doesn't do anything, you are on a broken ***** + ***** File System. Remove the file INSTALL in this case (the FS ***** + ***** does not handle upper/lower case characters correctly). ***** + ***** This is true for all DOS based filesystems and for Apple's ***** + ***** HFS+ filesystem. ***** + + +Using a different installation directory: + + If your system does not yet use the standard installation path in + + /opt/ + + or if you don't like this installation directory, you can easily + change the installation directory. You may edit the DEFAULTS file + for your system and modify the macro INS_BASE. + + You may use a different installation directory without editing the + DEFAULTS files. If you like to install everything in the deprecated path + /usr/local, the next paragraph describes the procedure. + + If your make program supports to propagate make macros to sub make programs + which is the case for recent smake releases as well as for a recent gnumake: + + smake INS_BASE=/usr/local install + or + gmake INS_BASE=/usr/local install + + If your make program doesn't propagate make macros (e.g. SunPRO make), + call: + + env INS_BASE=/usr/local make -e install + + Note that INS_BASE=/usr/local needs to be specified for every operation + that compiles or links programs, as the path may be stored inside the + binaries. + + The location for the root specific configuratin files is controlled + via the INS_RBASE= make macro. The default vaulue for this macro is "/". + If you like to install global default configuration files into + /usr/local/etc instead of /etc, you need to spefify INS_RBASE=/usr/local + + Note that some binaries have $(INS_BASE) and $(INS_RBASE) compiled into. + If you like to like to modify the compiled-in path values, call: + + smake clean + smake INS_BASE=/usr/local INS_RBASE=/usr/local + + +Setting up a different Link mode: + + The following link modes are available: + + static statical linking as in historical UNIX + + dynamic dynamic linking as introduced by SunOS + in 1987, Microsoft's DLLs, ... + The knowledge on how to achieve this for + a particular platform is hidden in the + makefile system. + + profiled Linking against profiled libraries. + Profiled libraries are prepared for the + use with "gprof" (introduced by BSD in the + late 1970s). + + The makefile system sets up a default linkmode in the patform + related defaults file (typically in the file DEFAULTS/Defaults.) + in the projects root directory. This is done with the entry: + + DEFLINKMODE= + + A different linkmode may be selected at compile/link time by e.g. calling: + + smake LINKMODE=dynamic + + If there are already existing binaries, call: + + smake relink LINKMODE=dynamic + + instead. + + +Compiling a different ELF RUNPATH into the binaries: + + In order to allow binaries to work correctly even if the shared + libraries are not in the default search path of the runtime linker, + a RUNPATH needs to be set. + + The ELF RUNPATH is by default derived from $(INS_BASE). If you like to + set INS_BASE=/usr and create binaries that do not include a RUNPATH at all, + call: + + smake relink RUNPATH= + + +Using a different man path prefix: + + Manual pages are by default installed under: + + $(INS_BASE)/$(MANBASE)/man + and MANBASE=share + + If you like a different prefix for man pages, call: + + smake DEFMANBASE=something install + + to install man pages into $(INS_BASE)/something/man/* + + If you like to install man pages under $(INS_BASE)/man/*, call + + smake DEFMANBASE=. install + +Installing stripped binaries: + + If you like to install stripped binaries via "smake install", call: + + smake STRIPFLAGS=-s install + + This calls "strip" on every final install path for all executable + binaries. + +Installing to a prototype directory to implement package creation staging: + + If you like to create a prototype directory tree that is used as an + intermediate store for package creation, use the DESTDIR macro: + + smake INS_BASE=/usr/local DESTDIR=/tmp install + + This will compile in "/usr/local" as prefix into all related binaries + and then create a usr/local tree below /tmp (i.e. /tmp/usr/local). + + Note that you need to call "smake clean" before in case that the code + was previously compiled with different defaults with regards to INS_BASE + +Setting different default directory permissions for install directories: + + All directories that are created by the Schily makefile system in the + target directory path when + + smake install + + is called system use a special default 022 that is in DEFINSUMASK= + This causes all directories in the target install path to be created + with 0755 permissions. + + All other directories that are created by the Schily makefile system + use a single global default 002 that is in DEFUMASK= + + If you like to create install directories with e.g. 0775 permissions, + call: + + smake DEFINSUMASK=002 install + +Using a different C compiler: + + The *compiler family* is configured via the CCOM= make macro. This + selects a whole set of related macros that are needed to support a + specific compiler family. + + The *compiler family* usually defines a C compiler and a related + C++ compiler. + + If the configured default compiler family is not present on the current + machine, the makefilesystem will try an automatic fallback to GCC. For + this reason, in most cases, you will not need to manually select a + compiler. + + The default compiler family can be modified in the files in the + DEFAULT directory. If you want to have a different compiler family + for one compilation, call: + + make CCOM=gcc + or + make CCOM=cc + + This works even when your make program doesn't propagate make macros. + + +Creating 64 bit executables on Solaris: + + Simply call: + + make CCOM=gcc64 + or + make CCOM=cc64 + + It is not clear if GCC already supports other platforms in 64 bit mode. + As all GCC versions before 3.1 did emit hundreds of compilation + warnings related to 64 bit bugs when compiling itself, so there may be + other platforms are not supported in 64 bit mode. + +Creating executables using the Sun Studio compiler on Linux: + + Simply call: + + make CCOM=suncc + + If the compilation does not work, try: + + mkdir /opt/sunstudio12/prod/include/cc/linux + cp /usr/include/linux/types.h /opt/sunstudio12/prod/include/cc/linux + + Then edit /opt/sunstudio12/prod/include/cc/linux/types.h and remove all + lines like: "#if defined(__GNUC__) && !defined(__STRICT_ANSI__)" + as well as the related #endif. + +Creating executables using the clang compiler: + + Simply call: + + make CCOM=clang + + And in order to intentionally create 32 bit or 64 bit binaries, call: + + make CCOM=clang64 + or + make CCOM=clang64 + + +Using a different compiler binary name: + + Call: + + make CC=/opt/instrumented/bin/cc + + Note that all knowledge about the options of a compiler is derived + from the CCOM= variable, so if you like to use an instrumented gcc + variant, you may like to call: + + make CCOM=gcc CC=fluffy-gcc + + You may use CC="fluffy-gcc fluffy-gcc-specific options" if you like + to enforce specific options with the compiler. See hints on cross + compilation below. + + +Getting help from the make file system: + + For a list of targets call: + + make .help + + .help is a special target that prints help for the makefile system. + + +Getting more information on the make file system: + + The man page makefiles.4 located in man/man4/makefiles.4 contains + the documentation on general use and for leaf makefiles. + + The man page makerules.4 located in man/man4/makerules.4 contains + the documentation for system programmers who want to modify + the make rules of the makefile system. + + For further information read + + http://sf.net/projects/schilytools/files/makefiles/PortableSoftware.ps.gz + + +Hints for compilation: + + The makefile system is optimized for 'smake'. Smake will give the + fastest processing and best debugging output. + + SunPro make will work as is. GNU make need some special preparation. + + Read READMEs/README.gmake for more information on gmake. + + To use GNU make create a file called 'Gmake' in your search path + that contains: + + #!/bin/sh + MAKEPROG=gmake + export MAKEPROG + exec gmake "$@" + + and call 'Gmake' instead of gmake. On Linux, there is no gmake, the + program installed as 'make' on Linux is really a gmake. + + 'Gmake' and 'Gmake.linux' are part of this distribution. + + Some versions of gmake are very buggy. There are e.g. versions of gmake + on some architectures that will not correctly recognize the default + target. In this case, call 'make all' or '../Gmake all'. + + Note that pseudo error messages from gmake similar to: + + gmake[1]: Entering directory `cdrtools-1.10/conf' + ../RULES/rules.cnf:58: ../incs/sparc-sunos5-cc/Inull: No such file or directory + ../RULES/rules.cnf:59: ../incs/sparc-sunos5-cc/rules.cnf: No such file or directory + + are a result of a bug in GNU make. The make file system itself is + correct (as you could prove by using smake). + If your gmake version still has this bug, send a bug report to: + + "Paul D. Smith" + + He is the current GNU make maintainer. + + If you like to use 'smake', please always compile it from source. + The packages are located on: + + https://sourceforge.net/projects/s-make/files/alpha/ + + Smake has a -D flag to see the actual makefile source used + and a -d flag that gives easy to read debugging info. Use smake -xM + to get a makefile dependency list. Try smake -help + + +Compiling the project using engineering defaults: + + The defaults found in the directory DEFAULTS are configured to + give minimum warnings. This is made because many people will + be irritated by warning messages and because the GNU C compiler + will give warnings for perfectly correct and portable C code. + + If you want to port code to new platforms or do engineering + on the code, you should use the alternate set of defaults found + in the directory DEFAULTS_ENG. + You may do this permanently by renaming the directories or + for one compilation by calling: + + make DEFAULTSDIR=DEFAULTS_ENG + + Note however, that some GCC versions print a lot of wrong warnings + in this mode. Well known problems with GCC warnings are: + + - The recursive printf format "%r" that is in use since ~ 1980 + is not supported and causes a lot of incorrect warnings as + GCC does not know that "%r" takes 2 parameters. + + - The standard C construct "(void) read(fd, buf, sizeof (buf))" + is flagged by some versions of GCC even though the void cast + is a clear expression of the fact that the return code from read + is intentionally ignored. This may cause many useless warnings + for last resort error messages used in programs. + + +Compiling the project to allow debugging with dbx/gdb: + + If you like to compile with debugging information for dbx or gdb, + call: + + make clean + make COPTX=-g LDOPTX=-g + + If your debugger does not like optimized binaries, call something + like: + + make "COPTX=-g -xO0" LDOPTX=-g + or + make "COPTX=-g -O0" LDOPTX=-g + + depending on the option system used by your C compiler. + + +Compiling the project to allow performance monitoring with gprof from BSD: + + If you like to compile for performance monitoriing with gprof, + call: + + make clean + make COPTX=-xpg LDOPTX=-xpg LINKMODE=profiled + + or + make COPTX=-pg LDOPTX=-pg LINKMODE=profiled + + depending on the option system used by your C compiler. + + +Creating Blastwave packages: + + Call: + .clean + smake -f Mcsw + + You need the program "fakeroot" and will find the results + in packages/. + + Note that a single program source tree will allow you to create + packages like CSWstar but not the packages CSWschilybase and + CSWschilyutils on which CSWstar depends. + + + + + If you want to see an example, please have a look at the "star" + source. It may be found on: + + http://sourceforge.net/projects/s-tar/files/ + + Have a look at the manual page, it is included in the distribution. + Install the manual page with + + make install first and include /opt/schily/man in your MANPATH + + Note that some systems (e.g. Solaris 2.x) require you either to call + /usr/lib/makewhatis /opt/schily/man or to call + + man -F + + +Compiling in a cross compilation environment: + + The Schily autoconf system has been enhanced to support cross + compilation. Schily autoconf is based on GNU autoconf-2.13 and + GNU autoconf does not support cross compilation because it needs + to run scripts on the target system for some of the tests. + + The "configure" script that is delivered with the Schily makefile + system runs more than 770 tests and aprox 70 of them need to be + run on the target system. + + The Schily autoconf system now supports a method to run these ~70 + tests natively on a target system. You either need a target machine + with remote login features or you need an emulator with a method to + copy files into the emulated system and to run binaries on the + emulated system as e.g. the Android emulator. + + We currently deliver three scripts for "remote" execution of + programs on the target system: + + runrmt_ssh runs the commands remove via ssh + runrmt_rsh runs the commands remove via rsh + runrmt_android runs the commands remove via the debug bridge + + If you need to remotely run programs on a system that is not + supported by one of there three scripts, you need to modify one + of them to match your needs. + + To enable Cross Compilation use the following environment variables: + + CONFIG_RMTCALL= Set up to point to a script that does + the remote execution, e.g.: + + CONFIG_RMTCALL=`pwd`/conf/runrmt_ssh + + CONFIG_RMTHOST= Set up to point to your remote host, e.g.: + + CONFIG_RMTHOST=hostname + or + CONFIG_RMTHOST=user@hostname + + use a dummy if you like to use something + like the Android emulator. + + CONFIG_RMTDEBUG= Set to something non-null in order to + let the remote execution script mark + remote comands. This will result in + configure messages like: + + checking bits in minor device number... REMOTE 8 + + If you cannot run commands on the target + platform, you may set: + + CONFIG_RMTDEBUG=true + CONFIG_RMTCALL=: + + carefully watch for the "REMOTE" flagged test + output and later manually edit the file: + + incs//xconfig.h + + Do not forget to manually edit the files: + + incs//align.h + and + incs//avoffset.h + + Note that smake includes automake features that automatically + retrieve system ID information. For this reason, you need to overwrite + related macros from the command line if you like to do a + cross compilation. + + Related make macros: + + K_ARCH= # (sun4v) Kernel ARCH filled from uname -m / arch -k + M_ARCH= # (sun4) Machine filled from arch + P_ARCH= # (sparc) CPU ARCH filled from uname -p / mach + OSNAME= # sunos, linux, .... + OSREL= # 5.11 + OSVERSION= # snv_130 + CCOM= # generic compiler name (e.g. "gcc") + CC= # compiler to call (name for binary) + CC_COM= # compiler to call (name + basic args) + + ARCH= overwrites M_ARCH and P_ARCH + + It is usually suffucient to set ARCH and OSNAME. + + In order to use a cross compiler environment instead of a native compiler, + set the make macro CC_COM or CC to something different than "cc". + + If you are on Linux and like to compile for Android, do the following: + + 1) set up CC acording to the instructions from the cross compiler + tool chain. Important: you need to read the information for your + tool chain. A working setup may look similar to: + + NDK=/home/joerg/android-ndk-r7 + SYSROOT=\$NDK/platforms/android-14/arch-arm + CC="\$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=\$SYSROOT" + export NDK + export SYSROOT + export CC + + + 2) set environment variables CONFIG_RMTCALL / CONFIG_RMTHOST, e.g.: + setenv CONFIG_RMTCALL `pwd`/conf/runrmt_android + setenv CONFIG_RMTHOST NONE + + 3) call smake: + + smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC_COM=$CC" + + or + + smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC=$CC" + + +Compiling with the address sanitizer: + + Be careful with a compiler enhancement called "addess sanitizer". + + First a note: the address sanitizer needs a lot of memory when in + 64-bit mode. For this reason, it is recommended to run the tests + in 32-bit mode as it may be impossible to provdie a sufficient amount + of memory for the 64-bit mode. + + 1) The address sanitizer may cause autoconf to behave incorrectly in + case that the compiler options used by the "configure" run include the + address sanitizer. It seems that in addition, the address sanitizer + adds more libraries to the link list and as a result prevents + the correct autoconf decision on whether a specific library from + a "configure" test is needed by some binaries. + + If you are not sure about the current state of the source tree, start + with calling: + + ./.clean + + in the top level source directory. This makes the source tree to behave + as if if was recently unpacked from the tar archive. + + Then run run e.g.: + + cd inc/ + smake CCOM=gcc32 + cd .. + + to prepare the auto-configuration without using the address sanitizer. + This special treatment is needed as the assumptions in the address + sanitizer would not allow us to run the autoconfiguration code + correctly. + + 2) The address sanitizer by default ignores installed SIGSEGV handlers + and thus ignores the intention of the author of the code. + + The correct behavior may be switched on via setting the environment + variable: + + ASAN_OPTIONS=allow_user_segv_handler=true + + As a redult, the command line to compile the code after the + auto-configuration has been done as mentioned above is: + + ASAN_OPTIONS=allow_user_segv_handler=true smake CCOM=gcc32 COPTX="-g -O0 -fsanitize=address" LDOPTX="-g -fsanitize=address" + + 3) If you are on Linux, do not forget to call "ulimit -c unlimited", + before calling the binary. This is needed as the default on Linux is + not to create a core file. + + 4) Set the environment ASAN_OPTIONS= for the execution of the binary + to control the behavior of the Address Sanitizer while the binary + is run. + + If you like to disable the memory leak detection because your program + is a short running program that intentionally does not free() resources + before calling exit(), use: + + ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0 + + If you also like to get a core dump on error to debug, you may like + to use: + + ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0:abort_on_error=1 + + Note that the Address Sanitizer disables the creation of a core file + for 64 bit binaries as the tables used by the Address Sanitizer may + cause the core file to have a size of 16 TB. + + +Compiling with the "Americal fuzzy lop": + + Follow the instruction from above for the address sanitizer, but + use this command line to call the compiler: + + ASAN_OPTIONS=allow_user_segv_handler=true AFL_HARDEN=1 AFL_USE_ASAN=1 smake CC=afl-gcc CCOM=gcc32 + + +Author: + +Joerg Schilling +Seestr. 110 +D-13353 Berlin +Germany + +Email: joerg@schily.isdn.cs.tu-berlin.de, js@cs.tu-berlin.de + joerg.schilling@fokus.fraunhofer.de + +Please mail bugs and suggestions to me. diff --git a/CDDL.Schily.txt b/CDDL.Schily.txt new file mode 100644 index 0000000..08aa128 --- /dev/null +++ b/CDDL.Schily.txt @@ -0,0 +1,376 @@ +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE Version 1.0 + +1. Definitions. + + 1.1. "Contributor" means each individual or entity that creates + or contributes to the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Software, prior Modifications used by a Contributor (if any), + and the Modifications made by that particular Contributor. + + 1.3. "Covered Software" means (a) the Original Software, or (b) + Modifications, or (c) the combination of files containing + Original Software with files containing Modifications, in + each case including portions thereof. + + 1.4. "Executable" means the Covered Software in any form other + than Source Code. + + 1.5. "Initial Developer" means the individual or entity that first + makes Original Software available under this License. + + 1.6. "Larger Work" means a work which combines Covered Software or + portions thereof with code not governed by the terms of this + License. + + 1.7. "License" means this document. + + 1.8. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed + herein. + + 1.9. "Modifications" means the Source Code and Executable form of + any of the following: + + A. Any file that results from an addition to, deletion from or + modification of the contents of a file containing Original + Software or previous Modifications; + + B. Any new file that contains any part of the Original + Software or previous Modifications; or + + C. Any new file that is contributed or otherwise made + available under the terms of this License. + + 1.10. "Original Software" means the Source Code and Executable + form of computer software code that is originally released + under this License. + + 1.11. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, + process, and apparatus claims, in any patent Licensable by + grantor. + + 1.12. "Source Code" means (a) the common form of computer software + code in which modifications are made and (b) associated + documentation included in or with such code. + + 1.13. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms + of, this License. For legal entities, "You" includes any + entity which controls, is controlled by, or is under common + control with You. For purposes of this definition, + "control" means (a) the power, direct or indirect, to cause + the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty + percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants. + + 2.1. The Initial Developer Grant. + + Conditioned upon Your compliance with Section 3.1 below and + subject to third party intellectual property claims, the Initial + Developer hereby grants You a world-wide, royalty-free, + non-exclusive license: + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer, to use, + reproduce, modify, display, perform, sublicense and + distribute the Original Software (or portions thereof), + with or without Modifications, and/or as part of a Larger + Work; and + + (b) under Patent Claims infringed by the making, using or + selling of Original Software, to make, have made, use, + practice, sell, and offer for sale, and/or otherwise + dispose of the Original Software (or portions thereof). + + (c) The licenses granted in Sections 2.1(a) and (b) are + effective on the date Initial Developer first distributes + or otherwise makes the Original Software available to a + third party under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: (1) for code that You delete from the Original + Software, or (2) for infringements caused by: (i) the + modification of the Original Software, or (ii) the + combination of the Original Software with other software + or devices. + + 2.2. Contributor Grant. + + Conditioned upon Your compliance with Section 3.1 below and + subject to third party intellectual property claims, each + Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor to use, reproduce, + modify, display, perform, sublicense and distribute the + Modifications created by such Contributor (or portions + thereof), either on an unmodified basis, with other + Modifications, as Covered Software and/or as part of a + Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either + alone and/or in combination with its Contributor Version + (or portions of such combination), to make, use, sell, + offer for sale, have made, and/or otherwise dispose of: + (1) Modifications made by that Contributor (or portions + thereof); and (2) the combination of Modifications made by + that Contributor with its Contributor Version (or portions + of such combination). + + (c) The licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first distributes or + otherwise makes the Modifications available to a third + party. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: (1) for any code that Contributor has deleted + from the Contributor Version; (2) for infringements caused + by: (i) third party modifications of Contributor Version, + or (ii) the combination of Modifications made by that + Contributor with other software (except as part of the + Contributor Version) or other devices; or (3) under Patent + Claims infringed by Covered Software in the absence of + Modifications made by that Contributor. + +3. Distribution Obligations. + + 3.1. Availability of Source Code. + + Any Covered Software that You distribute or otherwise make + available in Executable form must also be made available in Source + Code form and that Source Code form must be distributed only under + the terms of this License. You must include a copy of this + License with every copy of the Source Code form of the Covered + Software You distribute or otherwise make available. You must + inform recipients of any such Covered Software in Executable form + as to how they can obtain such Covered Software in Source Code + form in a reasonable manner on or through a medium customarily + used for software exchange. + + 3.2. Modifications. + + The Modifications that You create or to which You contribute are + governed by the terms of this License. You represent that You + believe Your Modifications are Your original creation(s) and/or + You have sufficient rights to grant the rights conveyed by this + License. + + 3.3. Required Notices. + + You must include a notice in each of Your Modifications that + identifies You as the Contributor of the Modification. You may + not remove or alter any copyright, patent or trademark notices + contained within the Covered Software, or any notices of licensing + or any descriptive text giving attribution to any Contributor or + the Initial Developer. + + 3.4. Application of Additional Terms. + + You may not offer or impose any terms on any Covered Software in + Source Code form that alters or restricts the applicable version + of this License or the recipients' rights hereunder. You may + choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of + Covered Software. However, you may do so only on Your own behalf, + and not on behalf of the Initial Developer or any Contributor. + You must make it absolutely clear that any such warranty, support, + indemnity or liability obligation is offered by You alone, and You + hereby agree to indemnify the Initial Developer and every + Contributor for any liability incurred by the Initial Developer or + such Contributor as a result of warranty, support, indemnity or + liability terms You offer. + + 3.5. Distribution of Executable Versions. + + You may distribute the Executable form of the Covered Software + under the terms of this License or under the terms of a license of + Your choice, which may contain terms different from this License, + provided that You are in compliance with the terms of this License + and that the license for the Executable form does not attempt to + limit or alter the recipient's rights in the Source Code form from + the rights set forth in this License. If You distribute the + Covered Software in Executable form under a different license, You + must make it absolutely clear that any terms which differ from + this License are offered by You alone, not by the Initial + Developer or Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred + by the Initial Developer or such Contributor as a result of any + such terms You offer. + + 3.6. Larger Works. + + You may create a Larger Work by combining Covered Software with + other code not governed by the terms of this License and + distribute the Larger Work as a single product. In such a case, + You must make sure the requirements of this License are fulfilled + for the Covered Software. + +4. Versions of the License. + + 4.1. New Versions. + + Sun Microsystems, Inc. is the initial license steward and may + publish revised and/or new versions of this License from time to + time. Each version will be given a distinguishing version number. + Except as provided in Section 4.3, no one other than the license + steward has the right to modify this License. + + 4.2. Effect of New Versions. + + You may always continue to use, distribute or otherwise make the + Covered Software available under the terms of the version of the + License under which You originally received the Covered Software. + If the Initial Developer includes a notice in the Original + Software prohibiting it from being distributed or otherwise made + available under any subsequent version of the License, You must + distribute and make the Covered Software available under the terms + of the version of the License under which You originally received + the Covered Software. Otherwise, You may also choose to use, + distribute or otherwise make the Covered Software available under + the terms of any subsequent version of the License published by + the license steward. + + 4.3. Modified Versions. + + When You are an Initial Developer and You want to create a new + license for Your Original Software, You may create and use a + modified version of this License if You: (a) rename the license + and remove any references to the name of the license steward + (except to note that the license differs from this License); and + (b) otherwise make it clear that the license contains terms which + differ from this License. + +5. DISCLAIMER OF WARRANTY. + + COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" + BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, + INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED + SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR + PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND + PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY + COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE + INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY + NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF + WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS + DISCLAIMER. + +6. TERMINATION. + + 6.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to + cure such breach within 30 days of becoming aware of the breach. + Provisions which, by their nature, must remain in effect beyond + the termination of this License shall survive. + + 6.2. If You assert a patent infringement claim (excluding + declaratory judgment actions) against Initial Developer or a + Contributor (the Initial Developer or Contributor against whom You + assert such claim is referred to as "Participant") alleging that + the Participant Software (meaning the Contributor Version where + the Participant is a Contributor or the Original Software where + the Participant is the Initial Developer) directly or indirectly + infringes any patent, then any and all rights granted directly or + indirectly to You by such Participant, the Initial Developer (if + the Initial Developer is not the Participant) and all Contributors + under Sections 2.1 and/or 2.2 of this License shall, upon 60 days + notice from Participant terminate prospectively and automatically + at the expiration of such 60 day notice period, unless if within + such 60 day period You withdraw Your claim with respect to the + Participant Software against such Participant either unilaterally + or pursuant to a written agreement with Participant. + + 6.3. In the event of termination under Sections 6.1 or 6.2 above, + all end user licenses that have been validly granted by You or any + distributor hereunder prior to termination (excluding licenses + granted to You by any distributor) shall survive termination. + +7. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE + INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF + COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE + LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR + CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT + LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK + STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL + INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT + APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO + NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR + CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT + APPLY TO YOU. + +8. U.S. GOVERNMENT END USERS. + + The Covered Software is a "commercial item," as that term is + defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial + computer software" (as that term is defined at 48 + C.F.R. 252.227-7014(a)(1)) and "commercial computer software + documentation" as such terms are used in 48 C.F.R. 12.212 + (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 + C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all + U.S. Government End Users acquire Covered Software with only those + rights set forth herein. This U.S. Government Rights clause is in + lieu of, and supersedes, any other FAR, DFAR, or other clause or + provision that addresses Government rights in computer software + under this License. + +9. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed + by the law of the jurisdiction specified in a notice contained + within the Original Software (except to the extent applicable law, + if any, provides otherwise), excluding such jurisdiction's + conflict-of-law provisions. Any litigation relating to this + License shall be subject to the jurisdiction of the courts located + in the jurisdiction and venue specified in a notice contained + within the Original Software, with the losing party responsible + for costs, including, without limitation, court costs and + reasonable attorneys' fees and expenses. The application of the + United Nations Convention on Contracts for the International Sale + of Goods is expressly excluded. Any law or regulation which + provides that the language of a contract shall be construed + against the drafter shall not apply to this License. You agree + that You alone are responsible for compliance with the United + States export administration regulations (and the export control + laws and regulation of any other countries) when You use, + distribute or otherwise make available any Covered Software. + +10. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or + indirectly, out of its utilization of rights under this License + and You agree to work with Initial Developer and Contributors to + distribute such responsibility on an equitable basis. Nothing + herein is intended or shall be deemed to constitute any admission + of liability. + +-------------------------------------------------------------------- + +NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND +DISTRIBUTION LICENSE (CDDL) + +For Covered Software in this distribution, this License shall +be governed by the laws of Germany (excluding conflict-of-law +provisions). + +Any litigation relating to this License shall be subject to the +jurisdiction and the courts of Berlin Germany, with venue lying +in Berlin Germany. diff --git a/COMPILE b/COMPILE new file mode 100644 index 0000000..8de1994 --- /dev/null +++ b/COMPILE @@ -0,0 +1,764 @@ +# @(#)README.compile 1.35 17/11/28 Copyright 1997-2017 J. Schilling + +Short overview for those who don't read manuals: + + Calling configure manually is outdated because this is a task of the + makefile system. + + There is no 'configure', simply call 'make' on the top level + directory. + + ***** If this does not work for you, read the rest if this file ***** + ***** If you have any problem, also first read the topic specific ***** + ***** README.* files (e.g. README.linux for Linux problems). ***** + + All results in general will be placed into a directory named + OBJ// in the current projects leaf directory. + + You **need** either the Schily "smake" program, the SunPRO make + from /usr/bin/make (SunOS 4.x) or /usr/ccs/bin/make (SunOS 5.x) + or GNU make to compile this program. Read READMEs/README.gmake for + more information on gmake and a list of the most annoying bugs in gmake. + + All other make programs are either not smart enough or have bugs. + + My "smake" source is at: + + https://sourceforge.net/projects/s-make/files/ + + It is easy to compile and doesn't need a working make program + on your machine. If you don't have a working "make" program on the + machine where you like to compile "smake" read the file "BOOTSTRAP". + + If you have the choice between all three make programs, the + preference would be + + 1) smake (preferred) + 2) SunPRO make + 3) GNU make (this is the last resort) + + Important notice: "smake" that comes with SGI/IRIX will not work!!! + This is not the Schily "smake" but a dumb make program from SGI. + + ***** If you are on a platform that is not yet known by the ***** + ***** Schily makefilesystem you cannot use GNU make. ***** + ***** In this case, the automake features of smake are required. ***** + + Note that GNU make has major bugs on various platforms and thus cannot + be used at all on VMS and OS/2. GNU make on Cygwin causes problems + because it does not deal with spaces and newlines correctly. + + Please read the README's for your operating system too. + + WARNING + Do not use 'mc' to extract the tar file! + All mc versions before 4.0.14 cannot extract symbolic links correctly. + + The versions of WinZip that support tar archives cannot be used either. + The reason is that they don't support symbolic links. + Star and Gnutar do support symbolic links even on win32 systems. + To support symbolic links on win32, you need to link with the + Cygwin32 POSIX library. + + To unpack an archive, use: + + gzip -d < some-arch.tar.gz | tar xpf - + + Replace 'some-arch.tar.gz' by the actual archive name. + + If your platform does not support hard links or symbolic links, you + first need to compile "star" and then call: + + star -xp -copy-links < some-arch.tar.gz + + If your platform does not support hard links but supports + symbolic links, you only need to call the command above once. + If your platform does not support symbolic links, you need to call + the command twice because a symbolic link may occur in the archive + before the file it points to. + + + +Here comes the long form: + + +PREFACE: + + Calling configure manually is outdated because this is a task of the + makefile system. + + You don't have to call configure with this make file system. + + Calling 'make' or 'make all' on the top level directory will create + all needed targets. Calling 'make install' will install all needed + files. + + This program uses a new makefilesystem, introduced in 1993. This + makefilesystem uses techniques and ideas from the 1980s and 1990s, + is designed in a modular way and allows sources to be combined in a + modular way. For mor information on the modular features read + README.SSPM. + + The makefilesystem is optimized for a program called 'smake' + Copyright 1985 by Jörg Schilling, but SunPro make (the make program + that comes with SunOS >= 4.0 and Solaris) as well as newer versions + of GNU make will work also. BSDmake could be made working, if it + supports pattern matching rules correctly. + + The makefile system allows simultaneous compilation on a wide + variety of target systems if the source tree is accessible via NFS. + + +Finding Compilation Results: + + To allow simultaneous compilations, all binaries and results of a + 'compilation' in any form are placed in sub-directories. This includes + automatically generated include files. Results will in general be + placed into a directory named OBJ// in the current project's + leaf directory, libraries will be placed into a directory called + libs// that is located in the source tree root directory. + + will be something like 'sparc-sunos5-cc' + + This is the main reason why simultaneous compilation is possible on + all supported platforms if the source is mounted via NFS. + + +How to compile: + + To compile a system or sub-system, simply enter 'smake', 'make' or + 'Gmake'. Compilation may be initialized at any point of the source + tree of a system. + + WARNING: If compilation is started in a sub tree, only all objects + in that sub tree will be made. This usually excludes needed libraries. + + +How to install results: + + To install the product of a compilation in your system, call: + + smake install + + at top level. The binaries will usually be installed in + /opt/schily/bin. The directory /opt// has been agreed + on by all major UNIX vendors in 1989. Unfortunately, still not all + vendors follow this agreement. + + If you want to change the default installation directory, edit the + appropriate (system dependent) files in the DEFAULTS directory + (e.g. DEFAULTS/Defaults.sunos5). + + ***** If "smake install" doesn't do anything, you are on a broken ***** + ***** File System. Remove the file INSTALL in this case (the FS ***** + ***** does not handle upper/lower case characters correctly). ***** + ***** This is true for all DOS based filesystems and for Apple's ***** + ***** HFS+ filesystem. ***** + + +Using a different installation directory: + + If your system does not yet use the standard installation path in + + /opt/ + + or if you don't like this installation directory, you can easily + change the installation directory. You may edit the DEFAULTS file + for your system and modify the macro INS_BASE. + + You may use a different installation directory without editing the + DEFAULTS files. If you like to install everything in the deprecated path + /usr/local, the next paragraph describes the procedure. + + If your make program supports to propagate make macros to sub make programs + which is the case for recent smake releases as well as for a recent gnumake: + + smake INS_BASE=/usr/local install + or + gmake INS_BASE=/usr/local install + + If your make program doesn't propagate make macros (e.g. SunPRO make), + call: + + env INS_BASE=/usr/local make -e install + + Note that INS_BASE=/usr/local needs to be specified for every operation + that compiles or links programs, as the path may be stored inside the + binaries. + + The location for the root specific configuratin files is controlled + via the INS_RBASE= make macro. The default vaulue for this macro is "/". + If you like to install global default configuration files into + /usr/local/etc instead of /etc, you need to spefify INS_RBASE=/usr/local + + Note that some binaries have $(INS_BASE) and $(INS_RBASE) compiled into. + If you like to like to modify the compiled-in path values, call: + + smake clean + smake INS_BASE=/usr/local INS_RBASE=/usr/local + + +Setting up a different Link mode: + + The following link modes are available: + + static statical linking as in historical UNIX + + dynamic dynamic linking as introduced by SunOS + in 1987, Microsoft's DLLs, ... + The knowledge on how to achieve this for + a particular platform is hidden in the + makefile system. + + profiled Linking against profiled libraries. + Profiled libraries are prepared for the + use with "gprof" (introduced by BSD in the + late 1970s). + + The makefile system sets up a default linkmode in the patform + related defaults file (typically in the file DEFAULTS/Defaults.) + in the projects root directory. This is done with the entry: + + DEFLINKMODE= + + A different linkmode may be selected at compile/link time by e.g. calling: + + smake LINKMODE=dynamic + + If there are already existing binaries, call: + + smake relink LINKMODE=dynamic + + instead. + + +Compiling a different ELF RUNPATH into the binaries: + + In order to allow binaries to work correctly even if the shared + libraries are not in the default search path of the runtime linker, + a RUNPATH needs to be set. + + The ELF RUNPATH is by default derived from $(INS_BASE). If you like to + set INS_BASE=/usr and create binaries that do not include a RUNPATH at all, + call: + + smake relink RUNPATH= + + +Using a different man path prefix: + + Manual pages are by default installed under: + + $(INS_BASE)/$(MANBASE)/man + and MANBASE=share + + If you like a different prefix for man pages, call: + + smake DEFMANBASE=something install + + to install man pages into $(INS_BASE)/something/man/* + + If you like to install man pages under $(INS_BASE)/man/*, call + + smake DEFMANBASE=. install + +Installing stripped binaries: + + If you like to install stripped binaries via "smake install", call: + + smake STRIPFLAGS=-s install + + This calls "strip" on every final install path for all executable + binaries. + +Installing to a prototype directory to implement package creation staging: + + If you like to create a prototype directory tree that is used as an + intermediate store for package creation, use the DESTDIR macro: + + smake INS_BASE=/usr/local DESTDIR=/tmp install + + This will compile in "/usr/local" as prefix into all related binaries + and then create a usr/local tree below /tmp (i.e. /tmp/usr/local). + + Note that you need to call "smake clean" before in case that the code + was previously compiled with different defaults with regards to INS_BASE + +Setting different default directory permissions for install directories: + + All directories that are created by the Schily makefile system in the + target directory path when + + smake install + + is called system use a special default 022 that is in DEFINSUMASK= + This causes all directories in the target install path to be created + with 0755 permissions. + + All other directories that are created by the Schily makefile system + use a single global default 002 that is in DEFUMASK= + + If you like to create install directories with e.g. 0775 permissions, + call: + + smake DEFINSUMASK=002 install + +Using a different C compiler: + + The *compiler family* is configured via the CCOM= make macro. This + selects a whole set of related macros that are needed to support a + specific compiler family. + + The *compiler family* usually defines a C compiler and a related + C++ compiler. + + If the configured default compiler family is not present on the current + machine, the makefilesystem will try an automatic fallback to GCC. For + this reason, in most cases, you will not need to manually select a + compiler. + + The default compiler family can be modified in the files in the + DEFAULT directory. If you want to have a different compiler family + for one compilation, call: + + make CCOM=gcc + or + make CCOM=cc + + This works even when your make program doesn't propagate make macros. + + +Creating 64 bit executables on Solaris: + + Simply call: + + make CCOM=gcc64 + or + make CCOM=cc64 + + It is not clear if GCC already supports other platforms in 64 bit mode. + As all GCC versions before 3.1 did emit hundreds of compilation + warnings related to 64 bit bugs when compiling itself, so there may be + other platforms are not supported in 64 bit mode. + +Creating executables using the Sun Studio compiler on Linux: + + Simply call: + + make CCOM=suncc + + If the compilation does not work, try: + + mkdir /opt/sunstudio12/prod/include/cc/linux + cp /usr/include/linux/types.h /opt/sunstudio12/prod/include/cc/linux + + Then edit /opt/sunstudio12/prod/include/cc/linux/types.h and remove all + lines like: "#if defined(__GNUC__) && !defined(__STRICT_ANSI__)" + as well as the related #endif. + +Creating executables using the clang compiler: + + Simply call: + + make CCOM=clang + + And in order to intentionally create 32 bit or 64 bit binaries, call: + + make CCOM=clang64 + or + make CCOM=clang64 + + +Using a different compiler binary name: + + Call: + + make CC=/opt/instrumented/bin/cc + + Note that all knowledge about the options of a compiler is derived + from the CCOM= variable, so if you like to use an instrumented gcc + variant, you may like to call: + + make CCOM=gcc CC=fluffy-gcc + + You may use CC="fluffy-gcc fluffy-gcc-specific options" if you like + to enforce specific options with the compiler. See hints on cross + compilation below. + + +Getting help from the make file system: + + For a list of targets call: + + make .help + + .help is a special target that prints help for the makefile system. + + +Getting more information on the make file system: + + The man page makefiles.4 located in man/man4/makefiles.4 contains + the documentation on general use and for leaf makefiles. + + The man page makerules.4 located in man/man4/makerules.4 contains + the documentation for system programmers who want to modify + the make rules of the makefile system. + + For further information read + + http://sf.net/projects/schilytools/files/makefiles/PortableSoftware.ps.gz + + +Hints for compilation: + + The makefile system is optimized for 'smake'. Smake will give the + fastest processing and best debugging output. + + SunPro make will work as is. GNU make need some special preparation. + + Read READMEs/README.gmake for more information on gmake. + + To use GNU make create a file called 'Gmake' in your search path + that contains: + + #!/bin/sh + MAKEPROG=gmake + export MAKEPROG + exec gmake "$@" + + and call 'Gmake' instead of gmake. On Linux, there is no gmake, the + program installed as 'make' on Linux is really a gmake. + + 'Gmake' and 'Gmake.linux' are part of this distribution. + + Some versions of gmake are very buggy. There are e.g. versions of gmake + on some architectures that will not correctly recognize the default + target. In this case, call 'make all' or '../Gmake all'. + + Note that pseudo error messages from gmake similar to: + + gmake[1]: Entering directory `cdrtools-1.10/conf' + ../RULES/rules.cnf:58: ../incs/sparc-sunos5-cc/Inull: No such file or directory + ../RULES/rules.cnf:59: ../incs/sparc-sunos5-cc/rules.cnf: No such file or directory + + are a result of a bug in GNU make. The make file system itself is + correct (as you could prove by using smake). + If your gmake version still has this bug, send a bug report to: + + "Paul D. Smith" + + He is the current GNU make maintainer. + + If you like to use 'smake', please always compile it from source. + The packages are located on: + + https://sourceforge.net/projects/s-make/files/alpha/ + + Smake has a -D flag to see the actual makefile source used + and a -d flag that gives easy to read debugging info. Use smake -xM + to get a makefile dependency list. Try smake -help + + +Compiling the project using engineering defaults: + + The defaults found in the directory DEFAULTS are configured to + give minimum warnings. This is made because many people will + be irritated by warning messages and because the GNU C compiler + will give warnings for perfectly correct and portable C code. + + If you want to port code to new platforms or do engineering + on the code, you should use the alternate set of defaults found + in the directory DEFAULTS_ENG. + You may do this permanently by renaming the directories or + for one compilation by calling: + + make DEFAULTSDIR=DEFAULTS_ENG + + Note however, that some GCC versions print a lot of wrong warnings + in this mode. Well known problems with GCC warnings are: + + - The recursive printf format "%r" that is in use since ~ 1980 + is not supported and causes a lot of incorrect warnings as + GCC does not know that "%r" takes 2 parameters. + + - The standard C construct "(void) read(fd, buf, sizeof (buf))" + is flagged by some versions of GCC even though the void cast + is a clear expression of the fact that the return code from read + is intentionally ignored. This may cause many useless warnings + for last resort error messages used in programs. + + +Compiling the project to allow debugging with dbx/gdb: + + If you like to compile with debugging information for dbx or gdb, + call: + + make clean + make COPTX=-g LDOPTX=-g + + If your debugger does not like optimized binaries, call something + like: + + make "COPTX=-g -xO0" LDOPTX=-g + or + make "COPTX=-g -O0" LDOPTX=-g + + depending on the option system used by your C compiler. + + +Compiling the project to allow performance monitoring with gprof from BSD: + + If you like to compile for performance monitoriing with gprof, + call: + + make clean + make COPTX=-xpg LDOPTX=-xpg LINKMODE=profiled + + or + make COPTX=-pg LDOPTX=-pg LINKMODE=profiled + + depending on the option system used by your C compiler. + + +Creating Blastwave packages: + + Call: + .clean + smake -f Mcsw + + You need the program "fakeroot" and will find the results + in packages/. + + Note that a single program source tree will allow you to create + packages like CSWstar but not the packages CSWschilybase and + CSWschilyutils on which CSWstar depends. + + + + + If you want to see an example, please have a look at the "star" + source. It may be found on: + + http://sourceforge.net/projects/s-tar/files/ + + Have a look at the manual page, it is included in the distribution. + Install the manual page with + + make install first and include /opt/schily/man in your MANPATH + + Note that some systems (e.g. Solaris 2.x) require you either to call + /usr/lib/makewhatis /opt/schily/man or to call + + man -F + + +Compiling in a cross compilation environment: + + The Schily autoconf system has been enhanced to support cross + compilation. Schily autoconf is based on GNU autoconf-2.13 and + GNU autoconf does not support cross compilation because it needs + to run scripts on the target system for some of the tests. + + The "configure" script that is delivered with the Schily makefile + system runs more than 770 tests and aprox 70 of them need to be + run on the target system. + + The Schily autoconf system now supports a method to run these ~70 + tests natively on a target system. You either need a target machine + with remote login features or you need an emulator with a method to + copy files into the emulated system and to run binaries on the + emulated system as e.g. the Android emulator. + + We currently deliver three scripts for "remote" execution of + programs on the target system: + + runrmt_ssh runs the commands remove via ssh + runrmt_rsh runs the commands remove via rsh + runrmt_android runs the commands remove via the debug bridge + + If you need to remotely run programs on a system that is not + supported by one of there three scripts, you need to modify one + of them to match your needs. + + To enable Cross Compilation use the following environment variables: + + CONFIG_RMTCALL= Set up to point to a script that does + the remote execution, e.g.: + + CONFIG_RMTCALL=`pwd`/conf/runrmt_ssh + + CONFIG_RMTHOST= Set up to point to your remote host, e.g.: + + CONFIG_RMTHOST=hostname + or + CONFIG_RMTHOST=user@hostname + + use a dummy if you like to use something + like the Android emulator. + + CONFIG_RMTDEBUG= Set to something non-null in order to + let the remote execution script mark + remote comands. This will result in + configure messages like: + + checking bits in minor device number... REMOTE 8 + + If you cannot run commands on the target + platform, you may set: + + CONFIG_RMTDEBUG=true + CONFIG_RMTCALL=: + + carefully watch for the "REMOTE" flagged test + output and later manually edit the file: + + incs//xconfig.h + + Do not forget to manually edit the files: + + incs//align.h + and + incs//avoffset.h + + Note that smake includes automake features that automatically + retrieve system ID information. For this reason, you need to overwrite + related macros from the command line if you like to do a + cross compilation. + + Related make macros: + + K_ARCH= # (sun4v) Kernel ARCH filled from uname -m / arch -k + M_ARCH= # (sun4) Machine filled from arch + P_ARCH= # (sparc) CPU ARCH filled from uname -p / mach + OSNAME= # sunos, linux, .... + OSREL= # 5.11 + OSVERSION= # snv_130 + CCOM= # generic compiler name (e.g. "gcc") + CC= # compiler to call (name for binary) + CC_COM= # compiler to call (name + basic args) + + ARCH= overwrites M_ARCH and P_ARCH + + It is usually suffucient to set ARCH and OSNAME. + + In order to use a cross compiler environment instead of a native compiler, + set the make macro CC_COM or CC to something different than "cc". + + If you are on Linux and like to compile for Android, do the following: + + 1) set up CC acording to the instructions from the cross compiler + tool chain. Important: you need to read the information for your + tool chain. A working setup may look similar to: + + NDK=/home/joerg/android-ndk-r7 + SYSROOT=\$NDK/platforms/android-14/arch-arm + CC="\$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=\$SYSROOT" + export NDK + export SYSROOT + export CC + + + 2) set environment variables CONFIG_RMTCALL / CONFIG_RMTHOST, e.g.: + setenv CONFIG_RMTCALL `pwd`/conf/runrmt_android + setenv CONFIG_RMTHOST NONE + + 3) call smake: + + smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC_COM=$CC" + + or + + smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC=$CC" + + +Compiling with the address sanitizer: + + Be careful with a compiler enhancement called "addess sanitizer". + + First a note: the address sanitizer needs a lot of memory when in + 64-bit mode. For this reason, it is recommended to run the tests + in 32-bit mode as it may be impossible to provdie a sufficient amount + of memory for the 64-bit mode. + + 1) The address sanitizer may cause autoconf to behave incorrectly in + case that the compiler options used by the "configure" run include the + address sanitizer. It seems that in addition, the address sanitizer + adds more libraries to the link list and as a result prevents + the correct autoconf decision on whether a specific library from + a "configure" test is needed by some binaries. + + If you are not sure about the current state of the source tree, start + with calling: + + ./.clean + + in the top level source directory. This makes the source tree to behave + as if if was recently unpacked from the tar archive. + + Then run run e.g.: + + cd inc/ + smake CCOM=gcc32 + cd .. + + to prepare the auto-configuration without using the address sanitizer. + This special treatment is needed as the assumptions in the address + sanitizer would not allow us to run the autoconfiguration code + correctly. + + 2) The address sanitizer by default ignores installed SIGSEGV handlers + and thus ignores the intention of the author of the code. + + The correct behavior may be switched on via setting the environment + variable: + + ASAN_OPTIONS=allow_user_segv_handler=true + + As a redult, the command line to compile the code after the + auto-configuration has been done as mentioned above is: + + ASAN_OPTIONS=allow_user_segv_handler=true smake CCOM=gcc32 COPTX="-g -O0 -fsanitize=address" LDOPTX="-g -fsanitize=address" + + 3) If you are on Linux, do not forget to call "ulimit -c unlimited", + before calling the binary. This is needed as the default on Linux is + not to create a core file. + + 4) Set the environment ASAN_OPTIONS= for the execution of the binary + to control the behavior of the Address Sanitizer while the binary + is run. + + If you like to disable the memory leak detection because your program + is a short running program that intentionally does not free() resources + before calling exit(), use: + + ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0 + + If you also like to get a core dump on error to debug, you may like + to use: + + ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0:abort_on_error=1 + + Note that the Address Sanitizer disables the creation of a core file + for 64 bit binaries as the tables used by the Address Sanitizer may + cause the core file to have a size of 16 TB. + + +Compiling with the "Americal fuzzy lop": + + Follow the instruction from above for the address sanitizer, but + use this command line to call the compiler: + + ASAN_OPTIONS=allow_user_segv_handler=true AFL_HARDEN=1 AFL_USE_ASAN=1 smake CC=afl-gcc CCOM=gcc32 + + +Author: + +Joerg Schilling +Seestr. 110 +D-13353 Berlin +Germany + +Email: joerg@schily.isdn.cs.tu-berlin.de, js@cs.tu-berlin.de + joerg.schilling@fokus.fraunhofer.de + +Please mail bugs and suggestions to me. diff --git a/CONTRIBUTING b/CONTRIBUTING new file mode 100644 index 0000000..59427e4 --- /dev/null +++ b/CONTRIBUTING @@ -0,0 +1,47 @@ +# @(#)CONTRIBUTING 1.4 14/12/03 Copyright 2006 J. Schilling + +If you like to send patches or code to add to the project, you are welcome. + +Before you send code or patches, please make sure that the following +requirements apply to your code: + +§1 Your code does not duplicate existing functionality + +§2 Integrating your code does not take more time than it would + take to write it from scratch + +§3 Your code is cleanly written, is byteorder independent and + does compile on all supported platforms + +§4 Your code does not cause this project to break or otherwise + fail on one of the supported platforms + +§5 Your code does not rely on a specific compiler + +§6 Your code is cleanly indented (matches the coding style + from "Cstyle"). See files: + + http://sf.net/projects/schilytools/files/cstyle/Cstyle + and + http://sf.net/projects/schilytools/files/cstyle/cstyle + +§7 You allow me to publish the code under any OSI approved + license (see http://www.opensource.org/). If you like to + see your code under a specific license and this license + grants less freedom than the CDDL, there is little chance + to integrate your code. + +§8 Include not only the code patches but also include the related + extensions to the man pages. + +§9 If you like to make a bigger contribution, provide white papers + and other documentation that allows to understand your patch + within a reasonable amount of time. + +Pleae note for §7: Licenses may not last forever and it may sometimes +be apropriate to change the license. In case that contributors did +insist in a specific license when contributing and are no longer +reachable via mail, this undertaking may be impossible and kill the +future of the project. So please help with your contributing to ensure +the future of this project. + diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..9dbc84f --- /dev/null +++ b/COPYING @@ -0,0 +1,131 @@ +# @(#)COPYING 1.12 12/02/26 Copyright 2007-2012 J. Schilling + + +The software in this directory tree is free software and uses +licenses that are aproved be the OpenSource Initative + + http://www.opensource.org/ + +You may of course copy and redistribute sources and derived binaries +from this software. + +Not all sub-projects in this directory tree use the same license. Each named +sub-directory holds an own independent "work" with respect to the Copyright +law. Here is a list of sub-directories (works) and it's related licenses: + +btcflash/ + A firmwareflash program (CDDL), + parts from David Huang in btcflash.c are public domain + Note: uses libscg +cdda2wav/ + A DAE program (CDDL) + Note: uses libscg +cdrecord/ + A CD/DVD-recording program (CDDL) + Note: uses libscg +autoconf/ + The Schily Autoconf program (GPL) +conf/ + Support shell scripts for the Schily Makefile system (CDDL) +DEFAULTS/ + Default files for the Schily Makefile system (CDDL) +DEFAULTS_ENG/ + Default files for the Schily Makefile system (CDDL) +inc/ + Support C-Files for the Schily Makefile system (CDDL) +include/ + Support H-Files for the Schily Makefile system (CDDL) +libdeflt/ + A lib for accessing files under /etc/default/ (CDDL) +libcdrdeflt/ + A lib for accessing the file /etc/default/cdrecord (CDDL) +libedc/ + A Reed Solomon Encoder and Decoder (CDDL) +libfile/ + A lib that implements the 'file' command (BSDL 2 clause) +libhfs_iso/ + HFS support lib (GPL) +libmdigest/ + Message digest lib (partially public domain, partially BSD 2 clause) +libparanoia/ + CD paranoia CD-DAE support lib (LGPL) +librscg/ + A remote SCSI-generic transport lib (CDDL) + This code may only be used together with other + code that is under an approved OpenSource license, + see http://www.opensource.org/. +libscg/ + A local SCSI-generic transport lib (CDDL) + This code may only be used together with other + code that is under an approved OpenSource license, + see http://www.opensource.org/. +libscgcmd/ + A SCSI-generic library that implements basic SCSI commands (CDDL) + This library sends the SCSI commands via libscg. +libschily/ + The schily basic support library (CDDL) +libsiconv/ + A simple iconv replacement/wrapper (CDDL) +libvms/ + A library with supportcode for the VMS port (License: to fit any code in cdrtools) + Copyright (C) 2004-2006 Steven M. Schweda +mkisofs/ + A ISO-9660/Rock-Ridge/Joliet/HFS/UDF filesystem formatter (GPL) + Note: uses libscg + See special GPL compatibility notes below +readcd/ + A CD/DVD read utility (CDDL) + Note: uses libscg +rscsi/ + The remote SCSI generic transport daemon (CDDL) + Note: uses libscg +RULES/ + The main part of the Schily Makefilesystem (CDDL) +scgcheck/ + The libscg interface comliance check program (CDDL) + Note: uses libscg +scgskeleton/ + A libscg skeleton demo program (CDDL) + Note: uses libscg +TARGETS/ + Slot support for the Schily Makefile system (CDDL) +TEMPLATES/ + Template support for the Schily Makefile system (CDDL) + + +For more information on the CDDL read the file CDDL.Schily.txt +For more information on the GPL read the file GPL-2.0.txt +For more information on the LGPL read the file LGPL-2.1.txt + +To find a list of CDDL licensed files, type: +find . -type f -exec grep -l 'License file CDDL' {} + + +To find a list of GPL licensed files, type: +find . -type f -exec grep -l 'GNU General Public' {} + + +To find a list of LGPL licensed files, type: +find . -type f -exec grep -l 'GNU Lesser General' {} + + + +GPL compatibility notes: + +No non-GPL source is based on or derived from GPL code. + +The terms and conditions of the GPL only cover a GPLd work but do not +extend to other works that have been published under a different license. + +Linking a GPL'd work with another work does not create a "derived work" +but a "collective work". In case of a collective work, the GPL is very +obvious with only requiring the GPLd parts to be covered by the terms +and conditions of the GPL. The GPL however requires the other parts to +be delivered with the GPLd parts in order to permit to rebuild the binary. + + +Note: In case of statical linking, the resulting "mkisofs binary" is a +combination of several separate projects (works) under different licenses. +If you combine code from different licenses, you need to honor the legal +implications from the included GPL code and the other code. + +If you just publish the complete original cdrtools source, you honor the GPL. +If you like to create a separate mkisofs package, be careful to verify that +everything that is needed to compile mkisofs is contained in this package. diff --git a/Changelog b/Changelog new file mode 100644 index 0000000..aaad98c --- /dev/null +++ b/Changelog @@ -0,0 +1,14840 @@ +Wed Jun 2 00:07:33 2010 joerg + * cdrecord/version.h 1.55 + Version -> 3.00 + +Tue Jun 1 22:15:39 2010 joerg + * mkisofs/write.c 1.129 + in assign_file_addresses() dwpnt erst dann in dw_head/dw_tail deferred_write Liste einhaengen nachdem s_entry->mxpart == 0 geskippt wurde + Wenn s_entry->mxpart == 0 geskippt wird, dann Speicherleck vermeiden durch free(dwpnt) + +Tue Jun 1 19:20:53 2010 joerg + * cdrecord/cdrecord.1 1.143 + Weitere kleinere Fehlerberichtigung + +Sat May 29 19:01:22 2010 joerg + * cdrecord/cdrecord.1 1.142 + EXAMPLES Section nun mit Zwischenueberschriften + +Sat May 29 15:08:42 2010 joerg + * mkisofs/write.c 1.128 + Versteckte Eintraege in sort_directory() nicht mehr von hinten nach vorn vom Ende eintragen sondern vorwaerts um die Reihenfolge von MULTI_EXTENT Listen zu behalten + +Fri May 28 23:22:02 2010 joerg + * cdrecord/cdrecord.1 1.141 + Viele kleinere Schreibfehlerkorrekturen + +Fri May 28 23:20:10 2010 joerg + * cdrecord/readcd.1 1.44 + * scgcheck/scgcheck.1 1.17 + * btcflash/btcflash.1 1.8 + * scgskeleton/scgskeleton.1 1.2 + Aenderungen passend zu cdrecord.1 + +Mon May 24 16:02:59 2010 joerg + * libscg/scsi-openserver.c 1.35 + * libscg/scsi-linux-sg.c 1.95 + * libedc/repair.c 1.4 + * libedc/edcspeed.c 1.5 + * libedc/edc_ecc_dec.c 1.12 + * libedc/edc_ecc.c 1.29 + * cdrecord/vendor.c 1.5 + * cdda2wav/scsi_cmds.c 1.51 + * libscg/scsi-mac-iokit.c 1.17 + * libscg/rdummy.c 1.4 + * mkisofs/diag/isovfy.c 1.43 + * mkisofs/diag/isoinfo.c 1.80 + * mkisofs/diag/isodebug.c 1.27 + * libscg/scsierrs.c 2.34 + * libscgcmd/read.c 1.159 + * libschily/gettimeofday.c 1.4 + * libschily/format.c 1.49 + * libschily/fconv.c 1.42 + * libschily/cmpnullbytes.c 1.9 + * libschily/cmpbytes.c 1.22 + * btcflash/btcflash.c 1.16 + * libsiconv/sic_nls.c 1.16 + * mkisofs/joliet.c 1.64 + * mkisofs/tree.c 1.123 + * rscsi/rscsi.c 1.38 + * scgcheck/scgcheck.c 1.19 + * scgcheck/sense.c 1.10 + Cstyle + +Mon May 24 15:55:28 2010 joerg + * libedc/edcspeed.c 1.6 + Generischer Copyright Kommentar + +Sat May 22 12:21:25 2010 joerg + * libscg/scsi-bsd.c 1.51 + Kommando erneut senden wenn (ccb->ccb_h.status & CAM_STATUS_MASK) == CAM_REQUEUE_REQ + +Fri May 21 20:25:07 2010 joerg + * libsiconv/sic_nls.c 1.15 + iconv_close() nur rufen wenn USE_ICONV definiert ist + +Mon May 17 23:34:14 2010 joerg + * scgskeleton/skel.c 1.21 + NEED_PRSTATS neu + +Mon May 17 23:16:59 2010 joerg + * cdrecord/drv_bd.c 1.19 + blen = 0 um GCC ruhigzustellen (Meldung ist wie haeufig falsch ;-) + +Mon May 17 23:03:05 2010 joerg + * cdrecord/version.h 1.54 + Version -> 2.01.01a79 + +Mon May 17 22:12:57 2010 joerg + * cdrecord/drv_bd.c 1.18 + BD-RE kann nun formatiert werden + +Mon May 17 22:09:43 2010 joerg + * cdrecord/drv_dvdplus.c 1.61 + cdrecord -format -v gibt nun auch ohne #define DVDPLUS_DEBUG Fortschrittinformationen aus + +Sun May 16 19:20:20 2010 joerg + * libscg/scg/scsireg.h 1.34 + Diverse Format type Definitionen (inclusive 0x30 == FCAP_TYPE_BDRE_SPARE) + +Sat May 15 18:06:27 2010 joerg + * cdrecord/README.compile 1.22 + * makefiles/RULES/rules.prg 1.20 + INSDEFUMASK -> DEFINSUMASK + +Sat May 15 16:41:54 2010 joerg + * cdrecord/README.compile 1.21 + INSDEFUMASK= neu + +Sat May 15 16:31:51 2010 joerg + * makefiles/RULES/rules.ins 1.22 + * makefiles/RULES/rules.prg 1.19 + * makefiles/RULES/i486-mingw32_nt-gcc.rul 1.8 + * makefiles/RULES/i786-mingw32_nt-gcc.rul 1.8 + * makefiles/RULES/cc-sco_os.rul 1.9 + * makefiles/RULES/i586-mingw32_nt-gcc.rul 1.8 + * makefiles/RULES/cc-apollo.rul 1.9 + * makefiles/RULES/hppa-nextstep-cc.rul 1.11 + * makefiles/RULES/i386-openserver-gcc.rul 1.8 + * makefiles/RULES/hppa-nextstep-gcc.rul 1.11 + * makefiles/RULES/i686-mingw32_nt-gcc.rul 1.8 + * makefiles/RULES/i386-mingw32_nt-gcc.rul 1.8 + INSMKDIR neu + +Fri May 14 20:17:15 2010 joerg + * rscsi/Makefile.dfl 1.4 + * cdrecord/Makefile.dfl 1.5 + Umbau auf AUXSRCEXT= .dfl + +Fri May 14 20:12:57 2010 joerg + * makefiles/RULES/rules.aux 1.9 + $(AUXSRCEXT) neu + +Fri May 14 16:59:41 2010 joerg + * cdrecord/README.compile 1.20 + DEFUMASK= neu + +Fri May 14 16:41:11 2010 joerg + * pkgdefs/CSW/CSWstar/prototype 1.2 + * pkgdefs/CSW/CSWved/prototype 1.2 + * pkgdefs/CSW/CSWschilyutils/prototype 1.4 + * pkgdefs/CSW/CSWcdrtools/prototype 1.4 + Diverse neue Manpages in CSW*/prototype + +Fri May 14 16:37:07 2010 joerg + * cdrecord/README.compile 1.19 + INS_RBASE= neu + RUNPATH= neu + DEFMANBASE= neu + STRIPFLAGS=-s neu + +Fri May 14 16:03:37 2010 joerg + * makefiles/RULES/rules.man 1.5 + * makefiles/RULES/rules1.top 1.43 + MANBASE= neu fuer man Prefix, DEFMANBASE=. setzt "keinen" Prefix + +Thu May 13 21:27:18 2010 joerg + * rscsi/Makefile.dfl 1.3 + * cdrecord/Makefile.dfl 1.4 + INSMODE= 0644 neu + +Thu May 13 20:44:38 2010 joerg + * makefiles/RULES/rules.cmd 1.13 + INSFLAGS += $(STRIPFLAGS) neu + +Thu May 13 20:38:20 2010 joerg + * makefiles/RULES/rules.ins 1.21 + $(INSOPTX) neu + +Thu May 13 19:03:09 2010 joerg + * scgskeleton/Makefile 1.16 + Makefile.man scgskeleton.1 neu + +Thu May 13 19:02:39 2010 joerg + * scgskeleton/Makefile.man 1.1 + * scgskeleton/scgskeleton.1 1.1 + date and time created 10/05/13 19:02:39 by joerg + +Tue May 11 23:32:48 2010 joerg + * makefiles/RULES/MKLINKS 1.88 + x86_64-linux-gcc32.rul sparc64-linux-gcc32.rul mips64-linux-gcc32.rul parisc64-linux-gcc32.rul neu + +Tue May 11 23:27:52 2010 joerg + * makefiles/RULES/i586-linux-gcc32.rul 1.14 + 32 Bit Support neu + +Tue May 11 22:39:43 2010 joerg + * libsiconv/sic_nls.c 1.14 + sic_close() funktioniert nun + +Tue May 11 22:18:04 2010 joerg + * cdrecord/readcd.c 1.111 + * scgskeleton/doit.c 1.28 + * scgskeleton/skel.c 1.20 + * btcflash/skel.c 1.24 + * mkisofs/diag/isovfy.c 1.42 + Unbenoetigte Funktionen auskommentiert + +Tue May 11 22:10:17 2010 joerg + * include/schily/siconv.h 1.4 + sic_close() nun mit int statt void return + sic_refcnt neu + +Tue May 11 21:26:18 2010 joerg + * cdrecord/readcd.1 1.43 + .....SS "OS Interface options" beseitigt + +Tue May 11 00:22:43 2010 joerg + * cdrecord/drv_mmc.c 1.198 + #ifdef PRINT_ATIP -> PRINT_PMA um get_pma() + +Tue May 11 00:18:25 2010 joerg + * cdrecord/drv_dvd.c 1.162 + #ifdef __needed__ um set_layerbreak() und send_dvd0F() + +Tue May 11 00:12:03 2010 joerg + * cdrecord/drv_jvc.c 1.94 + read_disk_info_teac() mit #ifdef XDI und buffer_inquiry_teac() mit #ifdef XXDEBUG + +Sun May 9 17:17:39 2010 joerg + * cdrecord/drv_dvd.c 1.161 + Kommentar zu "WARNING: Phys disk size %ld differs..." damit wir fahlerhafte Ausgaben in Zukunft besser eingrenzen koennen + +Sat May 8 17:20:36 2010 joerg + * libschily/dirname.c 1.1 + * libschily/basename.c 1.1 + date and time created 10/05/08 17:20:36 by joerg + +Sat May 8 17:19:03 2010 joerg + * libschily/fnmatch.c 8.15 + static const mbstate_t initial -> static mbstate_t initial im SunPro C Warningen zu vermeiden + +Sat May 8 14:20:41 2010 joerg + * include/schily/_regex.h 1.2 + portabel gemacht + +Sat May 8 13:48:17 2010 joerg + * libschily/eaccess.c 1.4 + char *name -> const char *name wegen Kompatibilitaet zu access() und eaccess in libgen.h in Solaris + +Sat May 8 13:47:22 2010 joerg + * libschily/Targets 1.19 + basename.c und dirname.c neu + +Fri May 7 20:46:08 2010 joerg + * include/schily/limits.h 1.4 + * include/schily/wchar.h 1.17 + Copyright -> 2010 + +Fri May 7 19:20:25 2010 joerg + * include/schily/regex.h 1.1 + date and time created 10/05/07 19:20:25 by joerg + +Fri May 7 19:19:55 2010 joerg + * include/schily/limits.h 1.3 + _POSIX2_LINE_MAX neu + +Fri May 7 19:19:30 2010 joerg + * include/schily/libport.h 1.23 + strndup() wcsndup() neu + eaccess() nun mit const char * + basename() und dirname() neu, siehe libgen.h + +Fri May 7 19:12:25 2010 joerg + * include/schily/regex.mk 1.1 + date and time created 10/05/07 19:12:25 by joerg + +Fri May 7 19:11:41 2010 joerg + * include/schily/libgen.h 1.2 + basename() und dirname() neu, siehe auch libport.h + +Fri May 7 19:10:14 2010 joerg + * include/schily/libgen.mk 1.1 + date and time created 10/05/07 19:10:14 by joerg + +Fri May 7 19:10:07 2010 joerg + * include/schily/Targets 1.14 + libgen.mk regex.mk _regex.mk neu + +Fri May 7 19:05:59 2010 joerg + * include/schily/_regex.mk 1.1 + date and time created 10/05/07 19:05:59 by joerg + +Fri May 7 19:00:25 2010 joerg + * autoconf/configure.in 1.211 + * autoconf/xconfig.h.in 1.198 + HAVE_BASENAME HAVE_DIRNAME neu + +Fri May 7 00:00:41 2010 joerg + * libschily/strncpy.c 1.5 + * libschily/wcsncpy.c 1.6 + * libschily/wcsnlen.c 1.3 + * libschily/strnlen.c 1.3 + * libschily/wcsncat.c 1.3 + * libschily/strncat.c 1.3 + * libschily/strncmp.c 1.4 + * libschily/wcsncmp.c 1.4 + Umbau auf len == 0 Test statt ~0 + +Thu May 6 22:39:43 2010 joerg + * libschily/Targets 1.18 + strndup.c und wcsndup.c neu + +Thu May 6 22:39:03 2010 joerg + * libschily/fnmatch.c 8.14 + Cstyle + +Thu May 6 13:37:54 2010 joerg + * libschily/strndup.c 1.1 + date and time created 10/05/06 13:37:54 by joerg + +Tue May 4 22:51:53 2010 joerg + * makefiles/RULES/MKLINKS 1.87 + i386-darwin-cc32.rul i386-darwin-gcc32.rul neu + +Tue May 4 22:51:22 2010 joerg + * makefiles/RULES/power-macintosh-darwin-cc32.rul 1.4 + * makefiles/RULES/cc-gcc32.rul 1.12 + * makefiles/RULES/power-macintosh-darwin-gcc32.rul 1.4 + 32 Bit Support neu + +Tue May 4 22:50:32 2010 joerg + * makefiles/RULES/power-macintosh-darwin-cc64.rul 1.4 + -m64 -> $(GCC_OPT64) + +Tue May 4 00:37:55 2010 joerg + * libschily/wcsndup.c 1.1 + date and time created 10/05/04 00:37:55 by joerg + +Sun May 2 16:22:39 2010 joerg + * libschily/fnmatch.c 8.13 + Aufruestung auf fnmatch.c-1.19 FreeBSD vom 16.4.2010 erlaubt multibyte character + +Sun May 2 16:19:29 2010 joerg + * include/schily/wchar.h 1.16 + Wenn nicht HAVE_MBSINIT HAVE_MBRTOWC HAVE_WCRTOMB, Rueckfall auf statuslosw Funktionen mbtowc() wcrtomb() + +Sun May 2 12:46:55 2010 joerg + * autoconf/xconfig.h.in 1.197 + * autoconf/configure.in 1.210 + HAVE_STRNDUP HAVE_WCSNDUP neu + +Sat May 1 23:25:23 2010 joerg + * autoconf/configure.in 1.209 + * autoconf/xconfig.h.in 1.196 + HAVE_MBSINIT HAVE_MBRTOWC HAVE_WCRTOMB neu + +Sat May 1 23:06:26 2010 joerg + * include/schily/wchar.h 1.15 + mbrtowc() wcrtomb() mbsinit() neu + +Sat May 1 23:05:42 2010 joerg + * autoconf/xconfig.h.in 1.195 + * autoconf/configure.in 1.208 + AC_INCL_CHECK_TYPE fuer mbstate_t neu + +Sat May 1 21:44:25 2010 joerg + * libschily/fnmatch.c 8.12 + Aufruestung auf fnmatch.c-1.15 FreeBSD vom 1.2.2002 erlaubt nun '[' am Anfang eines Range Pattern + +Sat May 1 18:46:51 2010 joerg + * libschily/strnlen.c 1.2 + * libschily/wcsnlen.c 1.2 + vergessenes len-- hinter if (++len == 0) { eingefuegt + +Sat May 1 15:53:59 2010 joerg + * conf/setup.sh 1.17 + cd smake-1.2/psmake/ -> cd smake-*/psmake/. und aehnlich fuer zukuenftige Versionsaenderungen + +Sat May 1 15:03:45 2010 joerg + * include/schily/wchar.h 1.14 + wctype_t nich neu definieren wegen Linux + +Sat May 1 15:00:13 2010 joerg + * autoconf/configure.in 1.207 + AC_INCL_CHECK_TYPE([#include ], wctype_t, int) nun mit HAVE_WCHAR_H und HAVE_WCTYPE_H wegen Linux Bug: kein wctype_t in wchar.h + +Fri Apr 30 22:09:08 2010 joerg + * include/schily/wchar.h 1.13 + wctype_t neu + +Fri Apr 30 22:04:28 2010 joerg + * autoconf/xconfig.h.in 1.194 + * autoconf/configure.in 1.206 + * autoconf/acgeneral.m4 1.12 + AC_INCL_CHECK_TYPE neu + Test auf wctype_t in wchar.h neu + +Fri Apr 30 21:37:38 2010 joerg + * include/schily/limits.h 1.2 + COLL_WEIGHTS_MAX neu + +Wed Apr 28 19:45:24 2010 joerg + * include/schily/libgen.h 1.1 + date and time created 10/04/28 19:45:24 by joerg + +Wed Apr 28 19:08:29 2010 joerg + * autoconf/xconfig.h.in 1.193 + * autoconf/configure.in 1.205 + AC_CHECK_HEADERS(regex.h regexp.h regexpr.h) neu + +Tue Apr 27 20:42:14 2010 joerg + * libfind/find.c 1.90 + Vergessene Umwandlungen von state->std[1] -> fp nachgeruestet bei FPRINT uns aehnlich + +Mon Apr 26 21:27:47 2010 joerg + * cdda2wav/toc.h 1.12 + * cdda2wav/scsi_cmds.c 1.50 + * cdda2wav/interface.c 1.72 + * libschily/fnmatch.c 8.11 + * include/schily/fnmatch.h 8.11 + * include/schily/ccomdefs.h 1.9 + * include/schily/libport.h 1.22 + Copyright -> 2010 + +Mon Apr 26 21:18:41 2010 joerg + * cdrecord/version.h 1.53 + Version -> 2.01.01a78 + +Mon Apr 26 19:59:03 2010 joerg + * libschily/wcsnlen.c 1.1 + date and time created 10/04/26 19:59:03 by joerg + +Mon Apr 26 19:58:59 2010 joerg + * libschily/strnlen.c 1.1 + date and time created 10/04/26 19:58:59 by joerg + +Mon Apr 26 19:12:41 2010 joerg + * libschily/Targets 1.17 + * include/schily/libport.h 1.21 + strnlen() strlcat() wcsnlen() wcslcat() neu + +Mon Apr 26 19:11:29 2010 joerg + * include/schily/fnmatch.h 8.10 + * autoconf/aclocal.m4 1.89 + GNU fnmatch hat FNM_CASEFOLD aber nicht FNM_IGNORECASE + +Mon Apr 26 19:06:12 2010 joerg + * autoconf/xconfig.h.in 1.192 + * autoconf/configure.in 1.204 + HAVE_STRLCAT HAVE_STRNLEN HAVE_WCSLCAT HAVE_WCSNLEN neu + +Mon Apr 26 15:59:59 2010 joerg + * libschily/strlcat.c 1.1 + date and time created 10/04/26 15:59:59 by joerg + +Mon Apr 26 15:59:20 2010 joerg + * libschily/wcslcat.c 1.1 + date and time created 10/04/26 15:59:20 by joerg + +Mon Apr 26 00:17:05 2010 joerg + * libschily/fnmatch.c 8.10 + * include/schily/fnmatch.h 8.9 + js_fnmatch() neu bei #ifndef HAVE_FNMATCH_IGNORECASE + +Mon Apr 26 00:01:19 2010 joerg + * autoconf/xconfig.h.in 1.191 + HAVE_FNMATCH_IGNORECASE nach HAVE_FNMATCH + +Sun Apr 25 23:59:34 2010 joerg + * libschily/fnmatch.c 8.9 + Anpassung an FreeBSD Version 1.11 vom 29. April 1997 + +Sun Apr 25 23:37:35 2010 joerg + * autoconf/aclocal.m4 1.88 + * autoconf/xconfig.h.in 1.190 + * autoconf/configure.in 1.203 + AC_FNMATCH_IGNORECASE neu + +Sun Apr 25 22:49:43 2010 joerg + * include/schily/fnmatch.h 8.8 + Fehlende Definitionen evt. immer nachdefinieren + +Sun Apr 25 22:26:49 2010 joerg + * mkisofs/write.c 1.127 + Hinweis auf -data-change-warn neu + +Sun Apr 25 17:58:36 2010 joerg + * mkisofs/joliet.c 1.63 + Hilfe fuer "Joliet tree sort failed": Hinweis auf -joliet-long bzw. Weglassen von -J + +Sun Apr 25 16:29:03 2010 joerg + * mkisofs/mkisofs.h 1.140 + * mkisofs/mkisofs.c 1.258 + * mkisofs/tree.c 1.122 + Archiv Output -o file nicht mehr archivieren + +Sun Apr 25 15:40:29 2010 joerg + * mkisofs/joliet.c 1.62 + * mkisofs/write.c 1.126 + Hinweis auf -no-limit-pathtables neu + +Sun Apr 25 14:08:47 2010 joerg + * mkisofs/mkisofs.8 1.135 + * mkisofs/mkisofs.c 1.257 + Neue Option -data-change-warn + +Thu Apr 22 00:16:48 2010 joerg + * libfind/find.c 1.89 + * libfind/find_main.c 1.66 + Copyright -> 2010 + +Tue Apr 20 23:47:11 2010 joerg + * libfind/find.c 1.88 + -executable/-readable/-writable neu in usage() + +Tue Apr 20 00:26:32 2010 joerg + * libfind/find.c 1.87 + -print0 -fprint -fprintnnl -fprint0 -fls -empty -readable -writable -executable -execdir -okdir neu + Wenn nexttoken() nach "(" NULL liefert, wird nun der Parser abgebrochen + Bei ")" und -help wird nun korrekt vor dem Parser-Abbruch auch das setjmp() zurueckgesetzt + -perm +mode ist nun implementiert + doexec() funktioniert nun dank malloc()/copy auch wieder korrekt obwohl vfork() statt fork() verwendet wird weil {} im Kind sonst auch den Vater ueberschreibt + +Mon Apr 19 00:14:23 2010 joerg + * libfind/find_tok.h 1.6 + -print0 -fprint -fprintnnl -fprint0 -fls -empty -readable -writable -executable -execdir -okdir neu + +Thu Apr 8 22:30:43 2010 joerg + * cdda2wav/cdda2wav.1 1.55 + Schreibfehler os -> is + +Thu Apr 8 22:29:56 2010 joerg + * cdrecord/README.cdtext 1.2 + Schreibfehler *.nf + +Tue Apr 6 23:25:39 2010 joerg + * libfind/find.c 1.86 + * libfind/find_tok.h 1.5 + -?min und -i* neu + +Sun Apr 4 22:28:32 2010 joerg + * libfind/find.c 1.85 + tokennames[] -> find_tok.h, find_token() verbessert + +Sun Apr 4 22:26:50 2010 joerg + * libfind/find_tok.h 1.4 + tokennames -> _find_tokennames, #ifdef TOKEN_NAMES neu + +Sun Apr 4 20:36:34 2010 joerg + * libfind/Targets 1.6 + find_tok.h neu + +Tue Mar 30 21:59:15 2010 joerg + * libfind/find_tok.h 1.3 + #defines und Array trennen + +Tue Mar 30 21:48:30 2010 joerg + * libfind/find_tok.h 1.2 + Besserer Kommentar + +Tue Mar 30 20:45:08 2010 joerg + * libfind/find_tok.h 1.1 + date and time created 10/03/30 20:45:08 by joerg + +Sun Feb 28 22:58:12 2010 joerg + * cdrecord/version.h 1.52 + Version -> 2.01.01a77 + +Sun Feb 28 22:43:59 2010 joerg + * cdrecord/drv_bd.c 1.17 + BD-RE unterstuetzt kein "close session" + +Sun Feb 28 22:23:57 2010 joerg + * mkisofs/apple.c 1.42 + Copyright -> 2010 + +Sun Feb 28 21:29:40 2010 joerg + * makefiles/RULES/i86pc-sunos5-pcc.rul 1.1 + date and time created 10/02/28 21:29:40 by joerg + +Sun Feb 28 15:32:32 2010 joerg + * libfind/walk.c 1.39 + Abschliessendes strcatl() Argument -> (char *)0 wegen 64 Bit + +Sun Feb 28 15:31:08 2010 joerg + * autoconf/xconfig.h.in 1.189 + * autoconf/acspecific.m4 1.13 + HAVE_INLINE neu + +Tue Feb 23 22:05:40 2010 joerg + * include/schily/ccomdefs.h 1.8 + Hack fuer PCC weil er noch nicht __attribute__ ((__used__)) kann + +Tue Feb 23 12:20:35 2010 joerg + * makefiles/RULES/cc-pcc.rul 1.1 + date and time created 10/02/23 12:20:35 by joerg + +Mon Feb 22 22:29:50 2010 joerg + * cdrecord/readcd.c 1.110 + * cdrecord/cdrecord.c 1.397 + * cdrecord/cue.c 1.54 + Cstyle + +Mon Feb 22 20:25:02 2010 joerg + * makefiles/RULES/MKLINKS 1.86 + x86_64-dragonfly-cc.rul und x86_64-dragonfly-gcc.rul neu + +Mon Feb 22 20:23:03 2010 joerg + * cdrecord/cue.c 1.53 + Backslash am Eine einer normalen C Zeile wird nicht durch K&R C akzeptiert + +Sun Feb 21 16:46:49 2010 joerg + * cdrecord/cue.c 1.52 + INDEX 00 von EAC wird erst mit INDEX 01 ausgewertet, daher trackp[track].tracksecs -> trackp[track-1].tracksecs + +Tue Feb 16 22:23:51 2010 joerg + * cdrecord/version.h 1.51 + Version -> 2.01.01a76 + +Tue Feb 16 22:17:46 2010 joerg + * cdrecord/drv_bd.c 1.16 + Workaround fuer 'HL-DT-ST' 'BD-RE BH10LS30 ' '1.00' (zero sized BD Media) + +Tue Feb 16 22:12:28 2010 joerg + * cdrecord/drv_dvdplus.c 1.60 + dsp->ds_maxblocks = end_lba; -> dsp->ds_maxblocks = end_lba + 1; + +Tue Feb 16 21:45:17 2010 joerg + * cdrecord/cdrecord.c 1.396 + prtrack() ist nun global nutzbar + Abort wenn cuefile= verwendet wird aber kein CDMedium einliegt + +Tue Feb 16 21:43:20 2010 joerg + * cdrecord/cdrecord.1 1.140 + * cdrecord/cue.c 1.51 + Unterstuetzung fuer FILE zwischen INDEX 00 und INDEX 01 neu fuer EAC + +Tue Feb 16 20:39:50 2010 joerg + * include/schily/_regex.h 1.1 + date and time created 10/02/16 20:39:50 by joerg + +Sun Feb 14 23:26:13 2010 joerg + * cdrecord/readcd.1 1.42 + * cdrecord/readcd.c 1.109 + Copyright -> 2010 + +Sun Feb 14 22:30:53 2010 joerg + * cdrecord/cue.c 1.50 + * cdrecord/cdrecord.1 1.139 + ARRANGER, COMPOSER und MESSAGE neu + +Sun Feb 14 18:04:48 2010 joerg + * cdrecord/cdrecord.1 1.138 + CUE file Beschreibung neu + +Sun Feb 14 14:44:55 2010 joerg + * pkgdefs/CSW/CSWcdrtools/prototype 1.3 + cdda2mp3 cdda2ogg und cdda2mp3.1 neu + +Sun Feb 14 14:38:52 2010 joerg + * cdda2wav/cdda2ogg 1.5 + * cdda2wav/cdda2mp3 1.5 + * cdda2wav/cdda2ogg.1 1.4 + Optionen werden nun an cdda2wav weitergereicht + +Sun Feb 14 13:54:41 2010 joerg + * cdrecord/readcd.c 1.108 + * cdda2wav/scsi_cmds.c 1.49 + Workaround fuer kompletten Hang bei einer alten ASPI Version mit odd Byte len bei read full toc + +Fri Feb 12 20:38:36 2010 joerg + * cdrecord/fifo.c 1.64 + Fehlerhafter init_fifo() Prototyp korrigiert (wenn kein FIFO), notwendig nach Umstellung auf long return + +Thu Feb 11 23:36:07 2010 joerg + * cdrecord/cue.c 1.49 + parse_rem() und extabort(), sowie "REM CDRTOOLS" neu zum expliziten Einschalten der Erweiterungen + +Thu Feb 11 22:04:58 2010 joerg + * cdda2wav/cdda2ogg 1.4 + * cdda2wav/cdda2mp3 1.4 + generischer Copyright Kommentar neu + +Thu Feb 11 22:02:17 2010 joerg + * cdda2wav/cdda2ogg 1.3 + * cdda2wav/cdda2mp3 1.3 + -P0 beseitigt + +Thu Feb 11 22:00:43 2010 joerg + * cdda2wav/cdda2ogg.1 1.3 + Komplett ueberarbeitet + +Thu Feb 11 00:40:15 2010 joerg + * cdda2wav/cdda2mp3.mk 1.2 + * cdda2wav/cdda2ogg.mk 1.2 + INSMODE= 755 neu + +Thu Feb 11 00:21:25 2010 joerg + * cdda2wav/Makefile 1.26 + cdda2ogg und cdda2mp3 neu + +Thu Feb 11 00:13:34 2010 joerg + * cdda2wav/cdda2ogg.mk 1.1 + date and time created 10/02/11 00:13:34 by joerg + +Thu Feb 11 00:13:29 2010 joerg + * cdda2wav/cdda2mp3.mk 1.1 + date and time created 10/02/11 00:13:29 by joerg + +Thu Feb 11 00:07:17 2010 joerg + * cdrecord/cue.c 1.48 + newtrack() setzt jetzt mehr Default Werte fuer Track 0 wenn Track 1 gefunden wird + +Thu Feb 11 00:04:52 2010 joerg + * cdda2wav/cdda2mp3.1 1.1 + date and time created 10/02/11 00:04:52 by joerg + +Thu Feb 11 00:01:18 2010 joerg + * cdda2wav/cdda2mp3.mk1 1.1 + date and time created 10/02/11 00:01:18 by joerg + +Wed Feb 10 23:50:16 2010 joerg + * cdda2wav/cdda2ogg 1.2 + * cdda2wav/cdda2mp3 1.2 + Massive Verbesserungen + +Wed Feb 10 23:48:16 2010 joerg + * cdda2wav/cdda2wav.c 1.134 + REM CDDA2WAV -> REM CDRTOOLS + +Wed Feb 10 23:41:16 2010 joerg + * cdda2wav/cdda2wav.c 1.133 + * cdda2wav/cdda2wav.1 1.54 + -vaudio-tracks neu + +Wed Feb 10 23:35:50 2010 joerg + * cdda2wav/toc.c 1.96 + "Hidden audio track with %ld sectors found.\n" nicht mehr mit -q ausgeben + +Wed Feb 10 00:00:47 2010 joerg + * cdrecord/cue.c 1.47 + sp->secoff = 0 zu Begin einer neuen Datei + +Sun Feb 7 21:50:58 2010 joerg + * cdrecord/version.h 1.50 + Version -> 2.01.01a75 + +Sun Feb 7 21:50:19 2010 joerg + * cdrecord/cue.c 1.46 + Nur noch die invarianten track[0].flag Bits nach Track n kopieren + Support fuer Hidden Tracks neu + +Sun Feb 7 20:49:01 2010 joerg + * cdrecord/cdrecord.c 1.395 + cvt_hidden() kopiert nun TI_SWAB|TI_AUDIO|TI_COPY|TI_QUADRO|TI_PREEMP|TI_SCMS von Track 1 nach Track 0 + gargs() initialisiert nun auch trackp[0].sectype + prptrack() gibt nun trackp->sectype in HEX aus + +Sun Feb 7 16:31:19 2010 joerg + * cdrecord/cue.c 1.45 + Fehlende INDEX 00 Zeile bedeutet pregapsize = 0 und nicht pregapsize = -1 (Default Pregap) + +Sat Feb 6 22:09:10 2010 joerg + * cdda2wav/cdda2wav.c 1.132 + * cdda2wav/cdda2wav.1 1.53 + PREGAP neu fuer useHiddenTrack() == 0 und CUE Files + -vmcn und -visrc neu + +Sat Feb 6 21:43:56 2010 joerg + * cdda2wav/toc.c 1.95 + InitIterator() umgestellt um besser mit useHiddenTrack() klarzukommen + Fehlerhafte Eingabe bei cddb Auswahl fuehrt nun zu "ignore" + +Sat Feb 6 18:04:36 2010 joerg + * cdrecord/cue.c 1.44 + statewarn() neu und bessere Fehlermeldungen bei falscher Reihenfolge der Anweisungen + +Fri Feb 5 00:09:19 2010 joerg + * cdrecord/cue.c 1.43 + struct state -> trackno neu + TRACK Anweisungen koennen nun mit TRACK > 1 anfangen + Debug Prints mit Track entsprechend erweitert + +Thu Feb 4 00:29:06 2010 joerg + * cdrecord/cue.c 1.42 + Besserer Kommentar zu struct state + Neuer Test auf INDEX 00 bzw INDEX 01 == 00:00:00 am Anfang eines Files + parse_index() auf if then else if Kette umgestellt + +Wed Feb 3 22:07:06 2010 joerg + * cdrecord/subchan.c 1.27 + Hidden Tracks sind Track 1 Index 0, wir haben sie aber in Track "0". Sicherstellen, dass Track 1 in den Subkanaldaten steht + +Wed Feb 3 22:01:26 2010 joerg + * mkisofs/mkisofs.c 1.256 + Copyright -> 2010 + +Wed Feb 3 21:47:11 2010 joerg + * cdrecord/drv_mmc.c 1.197 + Version -> 2010 + +Wed Feb 3 21:46:54 2010 joerg + * cdrecord/drv_sony.c 1.87 + * cdrecord/drv_7501.c 1.29 + Anpassungen fuer Hidden Tracks in open_track_*() + +Sun Jan 31 22:52:35 2010 joerg + * cdrecord/version.h 1.49 + Version -> 2.01.01a74 + +Sun Jan 31 22:38:03 2010 joerg + * cdda2wav/cdda2wav.c 1.131 + Track= und Tracknumber= gegeneinander getauscht + +Sun Jan 31 22:37:35 2010 joerg + * cdda2wav/toc.c 1.94 + vergessene Debugmeldunf fuer Hidden Tracks beseitigt + +Sun Jan 31 22:36:13 2010 joerg + * cdrecord/cdrecord.c 1.394 + Anpassungen fuer Hidden Tracks: + write_track_data() is nun global + neue Funktion cvt_hidden() + neue Funktion prtrack() + +Sun Jan 31 22:21:33 2010 joerg + * cdrecord/drv_mmc.c 1.196 + Anpassungen fuer Hidden Tracks in open_track_mmc() + +Sun Jan 31 22:16:21 2010 joerg + * cdrecord/cdrecord.h 1.201 + Anpassungen fuer Hidden Tracks: + TI_HIDDEN / is_hidden() neu + auinfhidden() neu + write_track_data() ist nun global + +Sun Jan 31 22:12:21 2010 joerg + * cdrecord/auinfo.c 1.32 + Anpassungen fuer Hidden Tracks: + auinfo() prueft bei Trackspezifischen CD-Text Parametern ob track > 0 ist um nicht die globalen Werte zu ueberschreiben + Neue Funktion auinfhidden() + +Sun Jan 31 22:09:45 2010 joerg + * cdrecord/cdrecord.1 1.137 + Track= & Tracknumber= angepasst + +Sun Jan 31 19:43:08 2010 joerg + * cdrecord/fifo.c 1.63 + faio_reader() lies nun ab Track 0 wenn trackp[0].xfp != NULL + +Sun Jan 31 16:40:50 2010 joerg + * cdda2wav/wav.c 1.14 + auf_cuename WAV -> WAVE + +Sat Jan 30 12:35:10 2010 joerg + * cdrecord/auinfo.c 1.31 + auinfopen() neu + +Sat Jan 30 12:27:34 2010 joerg + * cdda2wav/cdda2wav.c 1.130 + Der Default fuer das Extrahieren nur eines Tracks ist wieder 1, auch wenn es einen hidden Track gibt + +Fri Jan 29 23:44:07 2010 joerg + * scgcheck/scgcheck.1 1.16 + * mkisofs/diag/isodebug.8 1.3 + * mkisofs/mkisofs.8 1.134 + * btcflash/btcflash.1 1.7 + * cdrecord/cdrecord.1 1.136 + * cdrecord/readcd.1 1.41 + cdwrite@lists.debian.org beseitigt + +Sun Jan 24 17:40:58 2010 joerg + * cdrecord/version.h 1.48 + Version -> 2.01.01a73 + +Sun Jan 24 17:39:56 2010 joerg + * cdda2wav/cdda2wav.c 1.129 + Heiko war seit 1993 Autor (nicht erst seit 1998) + +Sun Jan 24 17:39:13 2010 joerg + * cdda2wav/cdda2wav.1 1.52 + Heiko war "nur" 1993-2004 der Autor + +Sun Jan 24 17:22:08 2010 joerg + * cdda2wav/cdda2wav.c 1.128 + Neue Option -no-hiden-track + Ungenutzte Variable ip aus output_indices() beseitigt + Neuer *.inf File Tag "Track=" fuer absolute Tracknummer + Funktion write_cue_track() schreibt nun fuer TRACK korrekt absolute Tracknummern + Funktion write_cue_track() kommt nun mit global.trackindexlist[track] == NULL klar + Funktion write_cue_track() prueft nun useHiddenTrack() + Die Abkuerzung "proof" erlaubt nun paraopts=proof fuer paraopts=minoverlap=sectors-per-request-1,retries=200 + paraopts= impliziert nun -paranoia + -tn+max wird nun erkannt fuer eine Liste von Track von Track 'n' bis zum letzten audio Track + +Sun Jan 24 15:08:33 2010 joerg + * cdda2wav/cdda2wav.1 1.51 + Neues "makro" "proof" als Argument fuer paraopts= + +Sun Jan 24 14:38:54 2010 joerg + * cdda2wav/global.h 1.33 + paranoia_flags neu + +Sun Jan 24 14:21:07 2010 joerg + * cdda2wav/cdda2wav.1 1.50 + -no-hidden-track neu + -t n+max neu + +Sun Jan 24 00:51:02 2010 joerg + * cdrecord/auinfo.c 1.30 + * cdrecord/cdrecord.1 1.135 + Track= neu + +Sat Jan 23 22:24:14 2010 joerg + * cdda2wav/interface.c 1.71 + priv_on() erst nach dem Umschalten auf root aufrufen + +Fri Jan 22 23:36:07 2010 joerg + * cdda2wav/toc.c 1.93 + useHiddenTrack() ist nun benutzbar + check_hidden() neu fuer Test auf Hidden Tracks + +Fri Jan 22 23:34:10 2010 joerg + * cdda2wav/toc.h 1.11 + useHiddenTrack() neu + +Tue Jan 19 22:21:41 2010 joerg + * cdda2wav/global.h 1.32 + no_hidden_track neu + +Sun Jan 17 15:56:56 2010 joerg + * mkisofs/mkisofs.8 1.133 + "Alpha" Hinweis bei UDF beseitigt + +Thu Jan 14 00:59:33 2010 joerg + * cdda2wav/cdda2wav.c 1.127 + * cdda2wav/cdda2wav.1 1.49 + -cuefile neu + +Thu Jan 14 00:55:11 2010 joerg + * cdda2wav/toc.c 1.92 + ScanIndices() entfernt nicht mehr den am Ende der Indexliste stehenden Index0 Eintrag einer Liste wenn Index0 == -1 ist + +Tue Jan 12 22:41:45 2010 joerg + * cdda2wav/aifc.c 1.15 + * cdda2wav/raw.c 1.13 + * cdda2wav/sun.c 1.14 + * cdda2wav/sndfile.h 1.9 + * cdda2wav/aiff.c 1.14 + * cdda2wav/wav.c 1.13 + Copyright -> 2010 + +Tue Jan 12 22:26:29 2010 joerg + * cdda2wav/raw.c 1.12 + * cdda2wav/aiff.c 1.13 + * cdda2wav/sndfile.h 1.8 + * cdda2wav/wav.c 1.12 + * cdda2wav/aifc.c 1.14 + * cdda2wav/sun.c 1.13 + auf_cuename in struct soundfile neu fuer -cuefile + +Tue Jan 12 21:08:04 2010 joerg + * cdda2wav/global.h 1.31 + Neue Felder did_textfile und cuefile + +Tue Jan 12 21:07:30 2010 joerg + * cdda2wav/toc.c 1.91 + global.did_textfile neu zum Markieren ob ein *.cdtext File geschrieben wurde + +Mon Jan 11 22:32:15 2010 joerg + * cdda2wav/toc.c 1.90 + .cdtext File nur schreiben wenn mehr als der CD-Text Header vom LW gelesen wurde + +Sun Jan 10 22:08:45 2010 joerg + * cdrecord/version.h 1.47 + Version -> 2.01.01a72 + +Sun Jan 10 22:08:13 2010 joerg + * cdrecord/cue.c 1.41 + * cdrecord/auinfo.c 1.29 + Copyright -> 2010 + +Sun Jan 10 22:03:40 2010 joerg + * cdrecord/cdrecord.1 1.134 + *.inf File Format beschrieben + +Sun Jan 10 19:24:52 2010 joerg + * cdda2wav/cdda2wav.c 1.126 + Besserer Text bei *.inf Copy_permitted= fuer SCMS first copy + +Sun Jan 10 16:04:16 2010 joerg + * cdda2wav/cdda2wav.1 1.48 + * cdda2wav/cdda2wav.c 1.125 + * cdda2wav/global.h 1.30 + * cdda2wav/toc.c 1.89 + audio.cdtext File schreiben neu + Neue Option -no-textfile erlaubd das audio.cdtext File zu unterdruecken + +Sun Jan 10 00:42:15 2010 joerg + * cdda2wav/global.h 1.29 + * cdda2wav/cdda2wav.c 1.124 + * cdda2wav/cdda2wav.1 1.47 + Neue Option -no-textdefaults + +Sat Jan 9 22:27:45 2010 joerg + * cdrecord/auinfo.c 1.28 + Neue CD-Text Tags fuer die *.inf Files: + Albumsongwriter= + Albumcomposer= + Albumarranger= + Albummessage= + Albumclosed_info= + +Sat Jan 9 22:24:02 2010 joerg + * cdda2wav/global.h 1.28 + * cdda2wav/cd_text.c 1.10 + * cdda2wav/cdda2wav.c 1.123 + Neue CD-Text Tags fuer die *.inf Files: + Albumsongwriter= + Songwriter= + Albumcomposer= + Composer= + Albumarranger= + Arranger= + Albummessage= + Message= + Albumclosed_info= + Closed_info= + +Sat Jan 9 17:19:31 2010 joerg + * cdda2wav/global.h 1.27 + * cdda2wav/cd_extra.c 1.18 + * cdda2wav/toc.c 1.88 + * cdda2wav/cd_text.c 1.9 + * cdda2wav/cdda2wav.c 1.122 + global.creator -> global.performer, global.trackcreator -> global.trackperformer + +Sat Jan 9 16:23:25 2010 joerg + * cdrecord/cue.c 1.40 + needitem()/needword() mit neuem "Typ" Parameter fuer bessere Syntaxfehlermeldungen + cueabort() nun mit "col %d" fuer bessere Ortung des Fehlers + "Additional keyword rules" Kommentar neu + +Sat Jan 9 00:27:34 2010 joerg + * cdda2wav/cdda2wav.1 1.46 + * cdda2wav/cdda2wav.c 1.121 + -tall neu (alltracks) + +Sat Jan 9 00:16:00 2010 joerg + * cdda2wav/global.h 1.26 + Besserer Kommentar fuer struct global + +Thu Jan 7 22:06:53 2010 joerg + * cdrecord/cdrecord.c 1.393 + wait_input() nun wieder mit Variablendeklaration vor der ersten Anweisung + +Thu Jan 7 20:46:43 2010 joerg + * cdda2wav/ringbuff.c 1.23 + drop_buffer() nun wieder mit assert(free_buffers() < total_buffers); + get_oldest_buffer() testet nun mit geterrno() == 0 ob die sync Pipe vom anderen Prozess geschlossen wurde + +Thu Jan 7 20:40:43 2010 joerg + * cdda2wav/semshm.c 1.30 + semdestry() ruft nun free_sem() zum Zerstoeren der Semaphore + +Thu Jan 7 20:38:05 2010 joerg + * cdda2wav/cdda2wav.c 1.120 + get_oldest_buffer() liefert jetzt NULL wenn der zweite Prozess gestorben ist, damit kann die Schleife abgebrochen werden + +Tue Jan 5 20:52:32 2010 joerg + * mkisofs/apple.c 1.41 + Files sauber schliessen + Falsches close() direkt nach fdopen() verschoben an richtige Stelle + +Sun Jan 3 22:32:38 2010 joerg + * cdrecord/version.h 1.46 + Version -> 2.01.01a71 + +Sun Jan 3 22:32:07 2010 joerg + * cdrecord/cdrecord.1 1.133 + -isosize geht jetzt auch von stdin + +Sun Jan 3 22:20:55 2010 joerg + * cdrecord/cdrecord.c 1.392 + -isosize fuer stdin funktioniert nur mit dem ersten Track + +Sun Jan 3 21:06:43 2010 joerg + * cdrecord/cdrecord.c 1.391 + Bessere Warnungen von get_dmaspeed() + init_fifo() returniert nun die Groesse des FIFOs + bisosize() neu + -isosize funktioniert nun auch wenn der Datentrack von stdin gelesen wird + +Sun Jan 3 20:27:07 2010 joerg + * cdrecord/cdrecord.h 1.200 + init_fifo() returniert nun die Groesse des FIFOs + bisosize() neu + +Sun Jan 3 20:22:00 2010 joerg + * cdrecord/isosize.c 1.13 + bisosize() neu + isosize() testet nun der Returncode von read() + +Sun Jan 3 20:19:09 2010 joerg + * cdrecord/fifo.c 1.62 + init_fifo() returniert nun die Groesse des FIFOs + +Thu Dec 31 18:47:03 2009 joerg + * conf/mkdep-aix.sh 1.2 + cc -M -E -> cc -M -qsyntaxonly weil cpp ueber #pragma weak a = b meckert + +Thu Dec 31 16:15:52 2009 joerg + * autoconf/aclocal.m4 1.87 + * autoconf/configure.in 1.202 + * autoconf/xconfig.h.in 1.188 + HAVE_ST_ATIME_N und HAVE_ST_FLAG neu fue AIX + +Thu Dec 31 16:14:10 2009 joerg + * include/schily/stat.h 1.14 + HAVE_ST_ATIME_N neu fuer AIX + +Mon Dec 28 17:16:56 2009 joerg + * cdda2wav/local.cnf.in 1.10 + Copyright J. Schilling neu + +Mon Dec 28 17:11:09 2009 joerg + * cdda2wav/cdda2wav.1 1.45 + Hinweis auf die Umstellung von .au auf .wav bei Solaris + +Mon Dec 28 17:10:34 2009 joerg + * cdda2wav/cdda2wav.c 1.119 + prdefaults() neu und entsprechende Ausgabe auch bei cdda2wav -version + static -> LOCAL + +Sun Dec 27 15:34:01 2009 joerg + * cdda2wav/interface.c 1.70 + * cdda2wav/toc.c 1.87 + Cstyle + +Sun Dec 27 15:24:43 2009 joerg + * cdda2wav/toc.c 1.86 + static -> LOCAL + +Sun Dec 27 14:33:27 2009 joerg + * cdda2wav/local.cnf.in 1.9 + Umstellung -> Default is nun wav auf allen Plattformen + +Sun Dec 27 13:36:36 2009 joerg + * cdrecord/version.h 1.45 + Version -> 2.01.01a70 + +Sun Dec 27 13:33:38 2009 joerg + * cdrecord/cdrecord.1 1.132 + /usr/local/bin/cdrecord -> /opt/schily/bin/cdrecord + +Sat Dec 26 15:52:23 2009 joerg + * cdrecord/cdrecord.1 1.131 + Optionsreihenfolge sortiert + +Sat Dec 26 15:25:09 2009 joerg + * cdda2wav/cdda2wav.1 1.44 + Hinweise auf Default Werte + +Fri Dec 25 23:32:38 2009 joerg + * cdda2wav/cdda2wav.1 1.43 + Audio Optionen sortiert + +Fri Dec 25 20:31:11 2009 joerg + * cdda2wav/cdda2wav.1 1.42 + "Default settings" neu + +Fri Dec 25 16:43:53 2009 joerg + * cdda2wav/cdda2wav.1 1.41 + Neuer Header und bessere Einleitung mit paranioa Beschreibung + +Fri Dec 25 16:12:54 2009 joerg + * cdda2wav/cdda2wav.1 1.40 + Optioonsuebersicht verwirrt mehr und wurde beseitigt + Reihenfolge der SCSI Optionen korrigiert + +Tue Dec 22 23:04:17 2009 joerg + * conf/mkdir.sh 1.5 + sed -e 's,[^/]*,..,g' -> sed -e 's,[^/][^/]*,..,g' ist korrekter und wird fuer /usr/xpg4/bin/sed benoetigt + +Tue Dec 22 00:09:34 2009 joerg + * conf/src-get 1.21 + ${PWD}/${SRCROOT}/conf in den PATH aufnehmen damit src-get gefunden werden kann + $0 -> src-get damit Pfadsuche funktioniert + cd .. vor return in do_install() + +Sun Dec 20 23:12:24 2009 joerg + * cdrecord/cdrecord.c 1.390 + Neue Funktion default_wr_mode() damit auch cdrecord cuefile=xxx den Default -sao bekommen kann + +Sat Dec 19 23:34:33 2009 joerg + * cdda2wav/parse.c 1.9 + * cdrecord/cue.c 1.39 + strcpy() beseitigt weil es nach POSIX keine Ueberlappung kann + +Fri Dec 11 22:22:56 2009 joerg + * makefiles/RULES/MKLINKS 1.85 + i686-at386-gnu-cc.rul + +Sun Dec 6 23:02:40 2009 joerg + * cdrecord/readcd.1 1.40 + Optionsbeschreibungen umsortiert + +Sun Dec 6 18:03:15 2009 joerg + * libfind/shlfind.mk 1.3 + LIB_ACL_TEST neu + +Mon Nov 30 21:01:40 2009 joerg + * cdrecord/version.h 1.44 + Version -> 2.01.01a69 + +Mon Nov 30 20:58:01 2009 joerg + * cdrecord/cdrecord.c 1.389 + Workaround fuer einen Pioneer Firmware Bug der Daten wegwirft statt zu schreiben wenn man regelmaessig cdr_buffer_cap() ruft + +Sun Nov 29 23:07:37 2009 joerg + * cdda2wav/sndconfig.c 1.35 + (int) Casts vor SNDCTL_DSP_* ioctl Funktionsnummern beseitigt + +Sun Nov 29 15:35:28 2009 joerg + * autoconf/xconfig.h.in 1.187 + * autoconf/aclocal.m4 1.86 + * autoconf/configure.in 1.201 + HAVE_VAR_TIMEZONE_DEF fuer IRIX neu + +Sun Nov 29 14:57:59 2009 joerg + * makefiles/RULES/cc-gcc64.rul 1.11 + * makefiles/RULES/ip22-irix-gcc64.rul 1.13 + * makefiles/RULES/cc-gcc32.rul 1.11 + GCC auf IRIX Mips kommt mit -m64 klar, daher neue Variable GCC_OPT64 die bei Mips auf -mabi=64 gesetzt wird + +Sun Nov 29 13:03:46 2009 joerg + * makefiles/RULES/cc-sgi64.rul 1.7 + 64 Bit Support neu + +Sun Nov 29 13:03:29 2009 joerg + * makefiles/RULES/cc-sgi.rul 1.7 + C++ Support neu + +Sun Nov 29 13:02:16 2009 joerg + * makefiles/RULES/ip22-irix-cc64.rul 1.10 + * makefiles/RULES/ip22-irix-gcc64.rul 1.12 + -> cc-*64.rul + +Sun Nov 29 13:01:12 2009 joerg + * makefiles/RULES/MKLINKS 1.84 + 64 Bit IRIX Links neu + +Sun Nov 29 00:30:15 2009 joerg + * libfind/find_misc.c 1.15 + Linux / IRIX Unterschiede implementiert + +Sat Nov 28 23:41:55 2009 joerg + * autoconf/configure.in 1.200 + * autoconf/xconfig.h.in 1.186 + HAVE_ACL_GET_ENTRY neu + +Sat Nov 28 22:15:56 2009 joerg + * libschily/getargs.c 2.62 + argstr[] nicht definieren wenn nir mit DEBUG kompiliert wird + +Sat Nov 28 20:33:22 2009 joerg + * libscg/scsi-sgi.c 1.38 + GCC Warnungen beseitigt + +Wed Nov 25 20:55:25 2009 joerg + * mkisofs/ifo_read.c 1.14 + * mkisofs/hash.c 1.27 + * mkisofs/files.c 1.18 + * mkisofs/inode.c 1.14 + * mkisofs/joliet.c 1.61 + * mkisofs/eltorito.c 1.48 + * mkisofs/dvd_reader.c 1.10 + * mkisofs/dvd_file.c 1.11 + * mkisofs/tree.c 1.121 + * mkisofs/rock.c 1.62 + * mkisofs/mac_label.c 1.18 + * mkisofs/mkisofs.c 1.255 + * mkisofs/multi.c 1.95 + * mkisofs/write.c 1.125 + * mkisofs/boot.c 1.24 + * mkisofs/apple.c 1.40 + * mkisofs/stream.c 1.15 + * mkisofs/tree.c 1.120 + * mkisofs/rock.h 1.2 + Cstyle + +Mon Nov 23 22:23:07 2009 joerg + * makefiles/RULES/r-smake.c4x 1.4 + * makefiles/RULES/r-smake.c4x-dep 1.9 + * makefiles/RULES/r-smake.dep 1.13 + Alte Simple Suffix Rules beseitigt + +Thu Nov 19 23:10:09 2009 joerg + * btcflash/btcflash.1 1.6 + * scgcheck/scgcheck.1 1.15 + * cdrecord/cdrecord.1 1.130 + * cdrecord/readcd.1 1.39 + dev= Beschreibung verbessert + +Thu Nov 19 22:42:28 2009 joerg + * cdda2wav/cdda2wav.1 1.39 + Leichte Anpassung der dev= Beschreibung + +Thu Nov 19 22:16:01 2009 joerg + * cdda2wav/cdda2wav.1 1.38 + Optionen teilsortiert + +Thu Nov 19 01:26:17 2009 joerg + * cdrecord/version.h 1.43 + Version -> 2.01.01a68 + +Thu Nov 19 01:17:23 2009 joerg + * mkisofs/diag/isoinfo.c 1.79 + iconv() Support neu + +Thu Nov 19 01:13:33 2009 joerg + * mkisofs/diag/isoinfo.mk 1.14 + -DUSE_NLS neu + +Thu Nov 19 00:23:10 2009 joerg + * cdrecord/drv_dvdplus.c 1.59 + NEC DVD_RW ND-3500AG liefert bei DVD+RW disk_status == DS_COMPLETE und nicht die volle Groesse im ADIP + +Tue Nov 17 19:10:43 2009 joerg + * autoconf/configure.in 1.199 + * autoconf/xconfig.h.in 1.185 + HAVE_GETENT / HAVE_UNSETENV neu + +Mon Nov 16 00:15:36 2009 joerg + * libfind/idcache.c 1.29 + Schreibfehler uid_t -> gid_t beim Ergebnis von ic_gid_nobody() + +Mon Nov 16 00:01:50 2009 joerg + * include/schily/device.h 1.19 + VMS Support neu + +Mon Nov 16 00:01:11 2009 joerg + * include/schily/ccomdefs.h 1.7 + * include/schily/xmconfig.h 1.42 + * include/schily/wait.h 1.17 + Cstyle + +Sun Nov 15 20:27:50 2009 joerg + * rscsi/rscsi.1 1.5 + * cdda2wav/cdda2wav.1 1.37 + * mkisofs/mkisofs.8 1.132 + * cdrecord/cdrecord.1 1.129 + * cdrecord/readcd.1 1.38 + Neue Sektion INTERFACE STABILITY + +Sun Nov 15 16:25:02 2009 joerg + * libfind/find.c 1.84 + #define VMS_VFORK_OK neu + fcomerr() -> ferrmsgno() + _exit() + +Sun Nov 15 15:14:27 2009 joerg + * libschily/fexec.c 1.42 + Erweiterungen fuer VMS + +Sun Nov 15 15:06:50 2009 joerg + * libschily/spawn.c 1.26 + #define VMS_VFORK_OK neu + +Sun Nov 15 14:03:38 2009 joerg + * include/schily/vfork.h 1.4 + vfork Umdefinition aus unistd.h wieder Rueckgaengig wenn nicht VMS_VFORK_OK + set_child_standard_fds() neu fuer VMS + +Fri Nov 13 22:57:55 2009 joerg + * mkisofs/mkisofs.c 1.254 + Neue RR Meldungen nun korrekt auf stderr ausgeben (vergessenes printf) + +Fri Nov 13 22:55:32 2009 joerg + * mkisofs/mkisofs.c 1.253 + Neue RR Meldungen nun korrekt auf stderr ausgeben + +Sun Nov 8 20:58:13 2009 joerg + * libsiconv/sic_nls.c 1.13 + #undef __CAN_TAB_SIZE__ auf VMS + +Sun Nov 8 20:49:44 2009 joerg + * libfind/find.c 1.83 + VMS hat _SC_ARG_MAX und ARG_MAX aber nicht _POSIX_ARG_MAX + +Sat Nov 7 21:44:36 2009 joerg + * libfind/find.c 1.82 + fork() -> vfork() wegen VMS + +Sat Nov 7 20:43:09 2009 joerg + * libhfs_iso/hfs.c 1.15 + hfs_umountall() continue -> hfs_umount(hfs_mounts, 0L, 0L) da HP-UX-11.11 Kompiler "Infinite loop detected. Check for spinning on non-volatile variable." meldet + +Sat Nov 7 20:22:15 2009 joerg + * libschily/align_test.c 1.26 + int Cast -> size_t wegen HP-UX-11.11 Kompiler in 64 Bit + +Sat Nov 7 18:35:43 2009 joerg + * libfind/find.c 1.81 + * libparanoia/cdda_paranoia.h 1.27 + #define inline beseitigt, das wird in schily/mconfig.h behandelt + +Sat Nov 7 16:41:51 2009 joerg + * cdrecord/fifo.c 1.61 + schily/vfork.h neu + +Sat Nov 7 15:51:38 2009 joerg + * libschily/spawn.c 1.25 + Bevorzugt vfork() verwenden + +Sat Nov 7 01:33:57 2009 joerg + * include/schily/vfork.h 1.3 + #include neu + +Sat Nov 7 01:30:16 2009 joerg + * autoconf/xconfig.h.in 1.184 + * autoconf/configure.in 1.198 + HAVE_FORKX HAVE_FORKALL HAVE_FORKALLX HAVE_VFORKX HAVE_SYS_FORK_H neu + +Fri Nov 6 22:17:52 2009 joerg + * autoconf/acspecific.m4 1.12 + Diverse Umbauten fuer VMS: stdlib.h wait.h sowie bevorzugt execl() rufen damit der Kind loslaeuft + +Fri Nov 6 22:11:44 2009 joerg + * include/schily/wait.h 1.16 + USE_UNION_WAIT, sowie _W_I(w) und _W_U(w) neu + +Fri Nov 6 20:11:51 2009 joerg + * autoconf/configure.in 1.197 + * autoconf/aclocal.m4 1.85 + * autoconf/xconfig.h.in 1.183 + AC_USE_STRUCT_UNION_WAIT neu wegen VMS + +Fri Nov 6 19:12:29 2009 joerg + * include/schily/vfork.h 1.2 + vfork() definition auf Solaris ist in unistd.h, daher #include + +Thu Nov 5 22:47:20 2009 joerg + * makefiles/RULES/cc-openvms.rul 1.3 + -lrt beseitigt + libXX.a -> XX.olb + +Thu Nov 5 22:40:54 2009 joerg + * include/schily/utypes.h 1.29 + intmax_t (fehlt auf VMS) nachruesten + +Thu Nov 5 20:05:57 2009 joerg + * include/schily/xconfig.h 1.8 + Neues Define NO_STATIC_CONF + +Thu Nov 5 19:34:27 2009 joerg + * autoconf/xconfig.h.in 1.182 + * autoconf/aclocal.m4 1.84 + * autoconf/configure.in 1.196 + AC_HEADER_STDINT neu + +Thu Nov 5 19:33:47 2009 joerg + * autoconf/acspecific.m4 1.11 + HAVE_VFORK neu zusaetzlich zu ! #define vfork + +Thu Nov 5 01:32:01 2009 joerg + * autoconf/acgeneral.m4 1.11 + AC_CHECK_LIB ersetzt nun -lc durch nichts, weil -lc nicht auf jedem OS vorhanden ist + +Thu Nov 5 01:20:24 2009 joerg + * autoconf/acspecific.m4 1.10 + opendir() Check in AC_HEADER_DIRENT testet nun zuerst in -lc weil der Test aud -ldir unter VMS fehlschlaegt + +Thu Nov 5 01:18:58 2009 joerg + * autoconf/rules.cnf.in 1.22 + * autoconf/configure.in 1.195 + LIB_DIR neu + +Tue Nov 3 22:28:52 2009 joerg + * libscg/scsi-mac-iokit.c 1.16 + #include -> #include wegen "Snow Leopard" + +Tue Nov 3 22:23:07 2009 joerg + * cdda2wav/ringbuff.c 1.22 + assert(free_buffers() < total_buffers); -> assert(free_buffers() <= total_buffers); in drop_buffer() + +Sun Nov 1 21:56:51 2009 joerg + * cdrecord/version.h 1.42 + Version -> 2.01.01a67 + +Sat Oct 31 22:45:39 2009 joerg + * makefiles/RULES/MKLINKS 1.83 + alphaserver_ds20_500_mhz-openvms-cc.rul neu + +Sat Oct 31 22:28:56 2009 joerg + * include/schily/xmconfig.h 1.41 + #ifdef NO_OPENFD_SRC -> #ifndef NO_OPENFD_SRC + +Sat Oct 31 22:00:20 2009 joerg + * makefiles/RULES/cc-openvms.rul 1.2 + cc -M geht noch nicht + +Sat Oct 31 21:44:29 2009 joerg + * makefiles/RULES/cc-openvms.rul 1.1 + * makefiles/RULES/alpha-openvms-cc.rul 1.1 + date and time created 09/10/31 21:44:29 by joerg + +Sat Oct 31 21:21:59 2009 joerg + * makefiles/DEFAULTS/Defaults.openvms 1.1 + date and time created 09/10/31 21:21:59 by joerg + +Sat Oct 31 21:21:50 2009 joerg + * makefiles/DEFAULTS_ENG/Defaults.openvms 1.1 + date and time created 09/10/31 21:21:50 by joerg + +Sat Oct 31 21:03:00 2009 joerg + * conf/oarch.sh 1.15 + -help neu + +Sat Oct 31 20:35:40 2009 joerg + * conf/oarch.sh 1.14 + Gross Klein Wandlung auf den neuesten Stand gebracht + +Sat Oct 31 20:30:47 2009 joerg + * include/schily/xmconfig.h 1.40 + HAVE_UTSNAME_ARCH fuer uname -p neu + +Sat Oct 31 20:25:41 2009 joerg + * autoconf/xconfig.h.in 1.181 + * autoconf/aclocal.m4 1.83 + * autoconf/configure.in 1.194 + AC_STRUCT_UTSNAME_ARCH / HAVE_UTSNAME_ARCH fuer VMS neu + +Sat Oct 31 16:24:56 2009 joerg + * autoconf/aclocal.m4 1.82 + grep bash -> egrep 'GNU sh|bash' wegen bash-1.x + +Sat Oct 31 15:57:16 2009 joerg + * autoconf/aclocal.m4 1.81 + sh -version -> sh --version fuer bash Test da bash-1.* nur --version versteht + +Sat Oct 31 15:52:30 2009 joerg + * autoconf/config.guess 1.15 + OpenVMS neu + +Fri Oct 30 01:01:40 2009 joerg + * autoconf/configure.in 1.193 + AC_INIT(xconfig.h.in) -> AC_INIT(config.guess) wegen VMS + +Thu Oct 29 23:50:38 2009 joerg + * makefiles/RULES/os-openvms.id 1.1 + * makefiles/RULES/os-openvms.def 1.1 + date and time created 09/10/29 23:50:38 by joerg + +Thu Oct 29 23:42:57 2009 joerg + * include/schily/xmconfig.h 1.39 + HAVE_SYS_UTSNAME_H HAVE_UNAME NO_OPENFD_SRC neu + +Mon Oct 26 23:11:16 2009 joerg + * include/schily/xmconfig.h 1.38 + HAVE_CTYPE_H HAVE_MALLOC HAVE_CALLOC HAVE_REALLOC neu + +Sun Oct 25 23:40:05 2009 joerg + * autoconf/xconfig.h.in 1.180 + * autoconf/configure.in 1.192 + malloc calloc realloc memalign posix_memalign Test neu + +Thu Oct 22 23:19:44 2009 joerg + * include/schily/xmconfig.h 1.37 + HAVE_SYS_TYPES_H HAVE_PUTENV HAVE_STRNCPY neu + +Thu Oct 22 23:19:13 2009 joerg + * include/schily/types.h 1.5 + HAVE_TYPES_H neu + +Thu Oct 22 23:18:55 2009 joerg + * include/schily/standard.h 1.37 + * include/schily/libport.h 1.20 + * include/schily/schily.h 1.86 + defined(_INCL_TYPES_) neu + +Thu Oct 22 22:36:34 2009 joerg + * include/schily/xmconfig.h 1.36 + HAVE_RENAME neu + +Thu Oct 22 22:31:03 2009 joerg + * include/schily/xmconfig.h 1.35 + HAVE_STRUCT_TIMEVAL neu + +Wed Oct 21 21:19:31 2009 joerg + * cdda2wav/cdda2wav.c 1.118 + Abfrage if (user_sound_device) war falsch weil user_sound_device mit "" initialisiert wird + +Tue Oct 20 21:08:48 2009 joerg + * libschily/align_test.c 1.25 + long double und "type max" neu + +Mon Oct 19 23:09:42 2009 joerg + * rscsi/rscsi.c 1.37 + verbessertes 'V'ersion handling + +Mon Oct 19 22:27:03 2009 joerg + * rscsi/rscsi.1 1.4 + Release -> 3.0 fuer cdrtools-3.0 + +Mon Oct 19 22:25:57 2009 joerg + * rscsi/rscsi.1 1.3 + Erstmalige Beschreibung des RSCSI Protokolls + +Mon Oct 19 21:43:32 2009 joerg + * include/schily/dbgmalloc.h 1.3 + acheckdamage()/freechecking()/nomemraising() neu + +Sat Oct 17 22:14:16 2009 joerg + * libschily/fillbytes.c 1.17 + * libschily/cmpbytes.c 1.21 + * libschily/cmpnullbytes.c 1.8 + * libschily/findbytes.c 1.6 + * libschily/movebytes.c 1.18 + * libschily/swabbytes.c 1.8 + cnt -> ssize_t + +Sat Oct 17 20:52:43 2009 joerg + * include/schily/dbgmalloc.h 1.2 + dbg_calloc() neu + +Sat Oct 17 20:52:18 2009 joerg + * include/schily/mconfig.h 1.66 + Kommentar fuer #include vbm wenn (vol->vlen / vol->lpa + 4095) / 4096 mehr ergibt weil diese Groesse in hfs.c beschrieben wird + +Fri Oct 16 01:01:17 2009 joerg + * include/schily/schily.h 1.85 + *bytes() Funktionen nun mit ssize_t Parameter + +Fri Oct 16 00:57:20 2009 joerg + * include/schily/mconfig.h 1.65 + schily/dbgmalloc.h mit DBG_MALLOC neu + +Fri Oct 16 00:56:36 2009 joerg + * include/schily/Targets 1.13 + dbgmalloc.mk neu + +Fri Oct 16 00:56:05 2009 joerg + * include/schily/dbgmalloc.mk 1.1 + * include/schily/dbgmalloc.h 1.1 + date and time created 09/10/16 00:56:05 by joerg + +Fri Oct 16 00:33:46 2009 joerg + * cdda2wav/scsi_cmds.c 1.48 + schily/types.h neu + +Tue Oct 13 18:30:32 2009 joerg + * cdda2wav/cdda2wav.1 1.36 + * cdrecord/cdrecord.1 1.128 + * cdrecord/readcd.1 1.37 + Besserer Hinweis auf das Target Example aud dev=help + +Mon Oct 12 21:49:31 2009 joerg + * makefiles/RULES/cc-hp64.rul 1.9 + +DAportable beseitigt + +Mon Oct 12 18:53:47 2009 joerg + * mkisofs/diag/isovfy.c 1.41 + * mkisofs/diag/isodump.c 1.44 + find_rr() neu fuer XA Records + +Sun Oct 11 16:27:36 2009 joerg + * cdrecord/version.h 1.41 + Version -> 2.01.01a66 + +Sun Oct 11 16:14:17 2009 joerg + * cdrecord/readcd.1 1.36 + * cdrecord/cdrecord.1 1.127 + Verbesserungen der Beschreibung der dev= Syntax + +Sun Oct 11 15:23:38 2009 joerg + * mkisofs/mkisofs.8 1.131 + Ueberarbeitet fuer 3.0 + +Sun Oct 11 15:13:37 2009 joerg + * mkisofs/diag/isoinfo.8 1.10 + Version -> 3.0 + Hinweis dass -debug Rock Ridge Erkennung abschaltet + +Sun Oct 11 15:11:37 2009 joerg + * mkisofs/diag/isoinfo.c 1.78 + Umbau auf rock.h + +Sun Oct 11 15:01:00 2009 joerg + * mkisofs/diag/isoinfo.c 1.77 + Test fuer "ER" neu + verbesserte RR Erkennung + +Sun Oct 11 14:56:52 2009 joerg + * mkisofs/multi.c 1.94 + Umbau auf rock.h + Test fuer "ER" neu + +Sun Oct 11 14:54:31 2009 joerg + * mkisofs/mkisofs.c 1.252 + verbesserte RR Erkennung + +Sun Oct 11 14:51:09 2009 joerg + * mkisofs/inode.c 1.13 + * mkisofs/tree.c 1.119 + RRVERSION Text verbessert + +Sat Oct 10 22:09:19 2009 joerg + * makefiles/RULES/9000-725-hp-ux-cc64.rul 1.14 + * makefiles/RULES/cc-hp64.rul 1.8 + 64 Bit Modus neu + +Sat Oct 10 22:06:47 2009 joerg + * makefiles/RULES/MKLINKS 1.82 + *hp-ux-cc64.rul neu + +Sat Oct 10 22:02:22 2009 joerg + * libschily/fconv.c 1.41 + isinf()/isnan() fuer IEEE FP neu falls das System nichts bereitstellt + +Fri Oct 9 23:20:16 2009 joerg + * cdrecord/drv_dvdplus.c 1.58 + HL-DT-ST Workaround nun mit (Int32_t)end_lba > dsp->ds_maxblocks weil end_lba signed ist aber 0xFFFFFFFF sein kann + +Fri Oct 9 21:43:32 2009 joerg + * libscg/scsi-hpux.c 1.34 + Debug print erweitert + Test auf SCTL_POWERFAIL neu + Wenn SCSI Statusbyte != 0 nicht mehr sp->error = SCG_RETRYABLE + +Fri Oct 9 21:39:21 2009 joerg + * libschily/fconv.c 1.40 + Nicht mehr auf defined(isnan)/defined(isinf) testen weil das bei HP-UX zum Bedarf an -lm fuehrt + +Thu Oct 8 22:51:39 2009 joerg + * mkisofs/diag/isodump.c 1.43 + Umbau auf rock.h + +Thu Oct 8 22:45:16 2009 joerg + * mkisofs/diag/isodump.c 1.42 + "ER" und "SP" neu fuer Rock Ridge Parser + +Thu Oct 8 22:40:30 2009 joerg + * mkisofs/mkisofs.c 1.251 + * mkisofs/mkisofs.h 1.139 + * mkisofs/tree.c 1.118 + * mkisofs/rock.c 1.61 + rock.h aus mkisofs.h neu + +Thu Oct 8 22:36:08 2009 joerg + * mkisofs/rock.h 1.1 + date and time created 09/10/08 22:36:08 by joerg + +Sun Sep 27 16:16:57 2009 joerg + * cdda2wav/cdda2wav.c 1.117 + -C kann nun auch "machine" byte order + +Sun Sep 27 16:15:08 2009 joerg + * cdda2wav/cdda2wav.1 1.35 + Stark ueberarbeitet, Fehler beseitigt + +Sat Sep 19 23:29:27 2009 joerg + * libsiconv/sic_nls.c 1.12 + auch in dup_iconv_sic() auf iconv:* testen + +Wed Sep 16 18:58:07 2009 joerg + * mkisofs/mkisofs.8 1.130 + Version -> 3.0 + +Wed Sep 16 18:55:42 2009 joerg + * scgcheck/scgcheck.1 1.14 + * cdrecord/readcd.1 1.35 + * cdda2wav/cdda2wav.1 1.34 + "Device naming" neu + +Wed Sep 16 18:23:01 2009 joerg + * cdrecord/cdrecord.1 1.126 + "Device naming" + +Wed Sep 16 16:19:01 2009 joerg + * btcflash/btcflash.1 1.5 + Device naming neu + +Wed Sep 16 16:12:09 2009 joerg + * btcflash/skel.c 1.23 + scgckeleton -> btcflash + +Wed Sep 16 15:56:47 2009 joerg + * btcflash/btcflash.1 1.4 + %E% -> %e% + +Wed Sep 16 15:22:13 2009 joerg + * cdrecord/readcd.c 1.107 + Plextor spezifische Kommandos mit mmc_isplextor() absichern + +Tue Sep 15 17:05:22 2009 joerg + * cdrecord/version.h 1.40 + Version -> 2.01.01a65 + +Tue Sep 15 14:59:40 2009 joerg + * autoconf/config.sub 1.9 + * autoconf/config.guess 1.14 + dragonfly neu + +Mon Sep 14 23:35:12 2009 joerg + * libscg/scsi-bsd.c 1.50 + devname -> dev_name wegen shadow Warnung des gcc + +Mon Sep 14 17:13:12 2009 joerg + * libscg/scsi-bsd.c 1.49 + NetBSD Workaround fuer OpenBSD erweitert + +Sat Sep 12 20:58:13 2009 joerg + * mkisofs/write.c 1.124 + Sincged char als Parameter von toupper() vermeiden + +Sat Sep 12 13:15:44 2009 joerg + * libscg/scsi-bsd.c 1.48 + NetBSD Scanbus Erweiterungen auf Basis von Ideen von Thorsten Frueauf + +Wed Sep 9 20:48:21 2009 joerg + * makefiles/RULES/MKLINKS 1.81 + amd64-netbsd-* Links neu + +Wed Sep 9 14:29:28 2009 joerg + * makefiles/RULES/mk-gmake.id 1.22 + Rueckumstellung auf tr(1) wegen eines Bugs im sed(1) auf *BSD + +Wed Sep 9 14:28:54 2009 joerg + * makefiles/RULES/mk-.id 1.16 + Hinweis auf sed Bug bei *BSD + +Mon Sep 7 21:09:48 2009 joerg + * libscg/scsi-linux-sg.c 1.94 + * libscg/scsi-linux-ata.c 1.15 + * libscg/scsitransp.c 1.98 + Copyright -> 2009 + +Fri Sep 4 14:21:52 2009 joerg + * cdrecord/version.h 1.39 + Version -> 2.01.01a64 + +Thu Sep 3 22:47:36 2009 joerg + * libscg/scsi-mac-iokit.c 1.15 + -scanbus laeuft nun auch mit Mac OS X, Hinweis wie man "diskarkitrationd" killt neu + +Thu Sep 3 00:22:06 2009 joerg + * cdrecord/cdrecord.1 1.125 + * cdrecord/readcd.1 1.34 + Hinweis auf Qualitaetsverfall im -clone Modus + +Sat Aug 29 14:17:45 2009 joerg + * makefiles/RULES/mk-.id 1.15 + * makefiles/RULES/mk-gmake.id 1.21 + tr -> sed 'y/from/to/' fuer hoffentlich weniger Fehleranfelligkeit + +Thu Aug 27 12:17:23 2009 joerg + * libschily/strtod.c 1.4 + Komplett Umbau auf include schily/*.h + +Thu Aug 27 11:05:42 2009 joerg + * libschily/fconv.c 1.39 + * cdda2wav/cdda2wav.c 1.116 + * cdda2wav/resample.c 1.33 + math.h -> schily/math.h + +Wed Aug 26 12:34:01 2009 joerg + * include/schily/math.h 1.1 + date and time created 09/08/26 12:34:01 by joerg + +Wed Aug 26 12:33:24 2009 joerg + * include/schily/Targets 1.12 + math.mk neu + +Wed Aug 26 12:32:47 2009 joerg + * include/schily/math.mk 1.1 + date and time created 09/08/26 12:32:47 by joerg + +Wed Aug 26 00:03:34 2009 joerg + * libschily/fconv.c 1.38 + Vorsichtigeres Umgehen mit isinf()/isnan() wegen AIX + +Tue Aug 25 13:53:01 2009 joerg + * autoconf/configure.in 1.191 + * autoconf/xconfig.h.in 1.179 + HAVE_MATH_H HAVE_FINITE HAVE_ISNAND neu + +Mon Aug 24 14:48:02 2009 joerg + * libscg/scsi-remote.c 1.33 + Umstellung auf HAVE_SOLARIS_PPRIV wegen AIX Kompilationsproblemen + +Mon Aug 24 14:32:46 2009 joerg + * include/schily/priv.h 1.2 + Solaris von AIX unterscheiden + +Mon Aug 24 14:15:24 2009 joerg + * autoconf/xconfig.h.in 1.178 + * autoconf/configure.in 1.190 + HAVE_SYS_PRIV_H HAVE_GETROLES HAVE_PRIVBIT_SET neu fuer AIX + +Sun Aug 23 20:11:55 2009 joerg + * autoconf/xconfig.h.in 1.177 + * autoconf/configure.in 1.189 + HAVE_FUTIMENS und HAVE_UTIMENSAT neu + +Mon Aug 17 23:36:07 2009 joerg + * autoconf/configure.in 1.188 + * autoconf/xconfig.h.in 1.176 + HAVE_STRINGIZE und inline Test neu + +Mon Aug 17 22:45:46 2009 joerg + * libscg/scsi-linux-ata.c 1.14 + Uninitialisierte Variablen initialisiert + +Mon Aug 17 22:42:22 2009 joerg + * makefiles/RULES/mk-gmake.id 1.20 + GMAKE_NOWARN=true neu + +Mon Aug 17 22:41:28 2009 joerg + * makefiles/RULES/gmake.wrn 1.3 + Hinweis auf GMAKE_NOWARN=true + +Sun Aug 16 14:14:29 2009 joerg + * makefiles/TEMPLATES/MKLINKS 1.1 + date and time created 09/08/16 14:14:29 by joerg + +Sat Aug 15 21:10:26 2009 joerg + * makefiles/RULES/rules.env 1.2 + Wenn LANG noch nicht gesetzt war, dann setzen wir nun NO_LANG stattdessen + +Sat Aug 15 17:15:46 2009 joerg + * btcflash/MKLINKS 1.5 + * btcflash/Makefile 1.11 + * scgskeleton/MKLINKS 1.5 + * scgskeleton/Makefile 1.14 + iodefs.h beseitigt + +Sat Aug 15 16:37:23 2009 joerg + * scgskeleton/Makefile 1.15 + HFILES beseitigt + +Fri Aug 14 07:49:35 2009 joerg + * makefiles/RULES/mk-gmake.id 1.19 + * makefiles/RULES/mk-.id 1.14 + tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | tr ', /\\()"' ',//////' zusammengefasst + +Fri Aug 14 07:40:20 2009 joerg + * makefiles/RULES/mk-gmake.id 1.18 + * makefiles/RULES/mk-.id 1.13 + tr '[A-Z]' '[a-z]' -> tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' wegen Merkwuerdigkeiten bei LC_ALL != "C" + +Fri Aug 14 07:25:17 2009 joerg + * makefiles/RULES/rules1.dir 1.15 + Bereiche [0-9] -> [0123456789] + +Wed Aug 12 23:16:24 2009 joerg + * makefiles/RULES/rules.env 1.1 + date and time created 09/08/12 23:16:24 by joerg + +Wed Aug 12 23:16:07 2009 joerg + * makefiles/RULES/rules.nul 1.1 + date and time created 09/08/12 23:16:07 by joerg + +Wed Aug 12 23:15:59 2009 joerg + * makefiles/RULES/mk-smake.id 1.7 + * makefiles/RULES/mk-gmake.id 1.17 + include rules.env neu + +Wed Aug 12 01:16:17 2009 joerg + * cdda2wav/global.h 1.25 + md5.h -> schily/md5.h + +Wed Aug 12 01:07:17 2009 joerg + * cdrecord/COPYING 1.11 + BSD 2 clause fuer libmdigest neu + +Wed Aug 12 01:06:17 2009 joerg + * cdrecord/version.h 1.38 + Version -> 2.01.01a63 + +Wed Aug 12 00:05:10 2009 joerg + * cdrecord/readcd.1 1.33 + Eissfeldt nun mit ss + +Tue Aug 11 20:07:52 2009 joerg + * libmdigest/Targets 1.6 + CPPOPTS += -DSHA2_UNROLL_TRANSFORM + +Tue Aug 11 20:06:02 2009 joerg + * libmdigest/sha2.c 1.3 + Cstyle + +Tue Aug 11 19:54:58 2009 joerg + * libmdigest/sha2.c 1.2 + Portabel gemacht + +Sun Aug 9 16:11:47 2009 joerg + * include/schily/xconfig.h 1.7 + schily/mc68020-sunos4-*cc/xconfig.h neu + +Sun Aug 9 16:05:22 2009 joerg + * include/schily/archdefs.h 1.8 + Schreibfehler __mc6800 -> __mc68000 + +Sun Aug 9 14:29:59 2009 joerg + * include/schily/sha2.h 1.3 + Cstyle + +Sun Aug 9 14:20:21 2009 joerg + * include/schily/sha2.h 1.2 + Portabel gemacht + +Sun Aug 9 14:19:22 2009 joerg + * include/schily/sha2.mk 1.1 + date and time created 09/08/09 14:19:22 by joerg + +Sun Aug 9 14:19:06 2009 joerg + * include/schily/Targets 1.11 + sha2.mk neu + +Sun Aug 9 11:49:51 2009 joerg + * autoconf/aclocal.m4 1.80 + * autoconf/xconfig.h.in 1.175 + * autoconf/configure.in 1.187 + AC_PRAGMA_WEAK neu + +Sun Aug 9 01:25:41 2009 joerg + * libmdigest/Targets 1.5 + sha2.c neu + +Sun Aug 9 01:25:30 2009 joerg + * libmdigest/libdigest-mapvers 1.4 + SHA256 SHA384 SHA512 neu + +Sat Aug 8 23:28:57 2009 joerg + * libmdigest/rmd160.c 1.4 + * include/schily/rmd160.h 1.3 + count von UInt64_t -> UInt32_t[2] + +Sat Aug 8 23:08:30 2009 joerg + * libmdigest/rmd160.c 1.3 + Vergessenes u_int32_t -> UInt32_t + +Sat Aug 8 22:57:31 2009 joerg + * libmdigest/rmd160.c 1.2 + * include/schily/rmd160.h 1.2 + Portabel gemacht + +Sat Aug 8 22:53:57 2009 joerg + * libmdigest/Targets 1.4 + rmd160.c neu + +Sat Aug 8 22:53:06 2009 joerg + * libmdigest/libdigest-mapvers 1.3 + RMD160* neu + +Sat Aug 8 22:33:07 2009 joerg + * include/schily/Targets 1.10 + rmd160.mk neu + +Sat Aug 8 22:32:15 2009 joerg + * include/schily/rmd160.mk 1.1 + date and time created 09/08/08 22:32:15 by joerg + +Sat Aug 8 22:31:08 2009 joerg + * include/schily/md4.h 1.3 + * include/schily/md5.h 1.10 + *_H_ -> *_H + +Sat Aug 8 21:40:53 2009 joerg + * cdda2wav/configure.in 1.11 + Kommentar neu wegen HAVE_WINDOWS_H -> globales configure + +Sat Aug 8 21:24:22 2009 joerg + * cdda2wav/lconfig.h.in 1.9 + HAVE_WINDOWS_H ist nun global + +Sat Aug 8 21:21:34 2009 joerg + * autoconf/configure.in 1.186 + * autoconf/xconfig.h.in 1.174 + HAVE_WINDOWS_H neu + +Sat Aug 8 01:16:13 2009 joerg + * include/schily/Targets 1.9 + ipc.mk sem.mk shm.mk neu + +Sat Aug 8 01:15:37 2009 joerg + * include/schily/shm.h 1.1 + * include/schily/shm.mk 1.1 + date and time created 09/08/08 01:15:37 by joerg + +Sat Aug 8 01:15:16 2009 joerg + * include/schily/sem.h 1.1 + * include/schily/sem.mk 1.1 + date and time created 09/08/08 01:15:16 by joerg + +Sat Aug 8 01:14:43 2009 joerg + * include/schily/ipc.h 1.1 + * include/schily/ipc.mk 1.1 + date and time created 09/08/08 01:14:43 by joerg + +Sat Aug 8 01:04:17 2009 joerg + * cdrecord/fifo.c 1.60 + * cdda2wav/semshm.c 1.29 + * cdda2wav/ringbuff.c 1.21 + sys/ipc.h -> schily/ipc.h, sys/shm.h -> schily/shm.h + +Sat Aug 8 00:34:15 2009 joerg + * autoconf/configure.in 1.185 + * autoconf/xconfig.h.in 1.173 + HAVE_SYS_SEM_H neu + +Sat Aug 8 00:18:33 2009 joerg + * include/schily/float.mk 1.1 + * include/schily/float.h 1.1 + date and time created 09/08/08 00:18:33 by joerg + +Fri Aug 7 23:46:31 2009 joerg + * include/schily/procfs.mk 1.1 + * include/schily/procfs.h 1.1 + date and time created 09/08/07 23:46:31 by joerg + +Fri Aug 7 23:33:54 2009 joerg + * include/schily/Targets 1.8 + assert.mk float.mk priv.mk procfs.mk syslog.mk neu + +Fri Aug 7 23:09:46 2009 joerg + * cdda2wav/interface.c 1.69 + * cdda2wav/ioctl.c 1.38 + * cdda2wav/resample.c 1.32 + * cdda2wav/ringbuff.c 1.20 + assert.h -> schily/assert.h + +Fri Aug 7 19:07:10 2009 joerg + * include/schily/syslog.h 1.1 + * include/schily/syslog.mk 1.1 + date and time created 09/08/07 19:07:10 by joerg + +Fri Aug 7 19:06:21 2009 joerg + * include/schily/assert.mk 1.1 + * include/schily/assert.h 1.1 + date and time created 09/08/07 19:06:21 by joerg + +Fri Aug 7 19:04:57 2009 joerg + * include/schily/priv.h 1.1 + * include/schily/priv.mk 1.1 + date and time created 09/08/07 19:04:57 by joerg + +Fri Aug 7 19:03:50 2009 joerg + * btcflash/skel.c 1.22 + * cdda2wav/interface.c 1.68 + * scgskeleton/skel.c 1.19 + * cdrecord/readcd.c 1.106 + * cdrecord/cdrecord.c 1.388 + * libscg/scsi-remote.c 1.32 + priv.h -> schily/priv.h + +Fri Aug 7 18:44:18 2009 joerg + * autoconf/configure.in 1.184 + * autoconf/xconfig.h.in 1.172 + HAVE_ASSERT_H neu + +Tue Aug 4 22:10:41 2009 joerg + * cdda2wav/sndconfig.c 1.34 + schily/time.h -> schily/select.h + +Tue Aug 4 21:57:48 2009 joerg + * cdrecord/cdrecord.c 1.387 + sys/select.h + sys/socket.h -> schily/socket.h + +Tue Aug 4 21:56:46 2009 joerg + * include/schily/select.mk 1.1 + * include/schily/select.h 1.1 + date and time created 09/08/04 21:56:46 by joerg + +Tue Aug 4 21:56:35 2009 joerg + * include/schily/Targets 1.7 + select.mk neu + +Tue Aug 4 21:25:12 2009 joerg + * libfile/file.c 1.10 + * mkisofs/apple.c 1.39 + netinet/in.h -> schily/in.h + +Tue Aug 4 21:14:17 2009 joerg + * cdda2wav/toc.c 1.85 + sys/socket.h -> schily/socket.h, netinet/in.h -> schily/in.h, netdb.h -> schily/netdb.h + +Tue Aug 4 21:07:47 2009 joerg + * rscsi/rscsi.c 1.36 + sys/socket.h -> schily/socket.h + +Tue Aug 4 20:36:17 2009 joerg + * include/schily/inet.h 1.2 + Wenn arpa/inet.h fehlt, dann netdb.h inkludieren weil BeOS inet_ntaoa() in netdb.h het + +Tue Aug 4 20:05:25 2009 joerg + * libschily/getdomainname.c 1.22 + * libschily/usleep.c 1.22 + * libschily/gethostname.c 1.20 + * libschily/gethostid.c 1.20 + sys/systeminfo.h -> schily/systeminfo.h + +Tue Aug 4 00:26:58 2009 joerg + * cdda2wav/Makefile 1.25 + md5.c und md5.h beseitigt + +Tue Aug 4 00:03:26 2009 joerg + * cdrecord/cdrecord.c 1.386 + * cdda2wav/cdda2wav.c 1.115 + * mkisofs/mkisofs.c 1.250 + sys/resource.h -> schily/resource.h + +Mon Aug 3 23:47:49 2009 joerg + * include/schily/resource.mk 1.1 + date and time created 09/08/03 23:47:49 by joerg + +Mon Aug 3 23:47:32 2009 joerg + * include/schily/Targets 1.6 + resource.mk neu + +Mon Aug 3 23:46:00 2009 joerg + * include/schily/resource.h 1.7 + _RESOURCE_H -> _SCHILY_RESOURCE_H + +Mon Aug 3 19:50:06 2009 joerg + * cdda2wav/cd_extra.c 1.17 + CD+ Directory Parser vermeidet nun Endlosschleife bei defekten Daten + +Sun Aug 2 16:49:20 2009 joerg + * include/schily/wait.h 1.15 + #include fuer DJCPP und EMX neu + +Sun Aug 2 16:43:38 2009 joerg + * include/schily/wait.h 1.14 + Unos Support sys/exit.h + +Sun Aug 2 15:49:56 2009 joerg + * cdrecord/COPYING 1.10 + libmdigest neu + +Sun Aug 2 15:39:19 2009 joerg + * cdda2wav/Makefile 1.24 + * cdda2wav/toc.c 1.84 + Umbau auf SHA1 Implementierung aus libmdigest + +Sat Aug 1 21:04:55 2009 joerg + * libmdigest/Targets 1.3 + sha1.c neu + +Sat Aug 1 21:02:04 2009 joerg + * libmdigest/sha1.c 1.2 + * include/schily/sha1.h 1.2 + Portabel gemacht + +Sat Aug 1 21:01:34 2009 joerg + * libmdigest/libdigest-mapvers 1.2 + MD5 und SHA1 neu + +Sat Aug 1 20:24:43 2009 joerg + * include/schily/sha1.mk 1.1 + date and time created 09/08/01 20:24:43 by joerg + +Sat Aug 1 20:24:20 2009 joerg + * include/schily/Targets 1.5 + sha1.mk neu + +Sat Aug 1 12:59:14 2009 joerg + * libmdigest/Makefile 1.3 + Schreibfehler $(NO_SHL)mshldigest.mk -> $(NO_SHL)shlmdigest.mk + +Thu Jul 30 01:06:01 2009 joerg + * autoconf/acgeneral.m4 1.10 + ac_link=... $LDFLAGS conftest.$ac_ext $LIBS -> conftest.$ac_ext $LDFLAGS $LIBS wegen Microsoft cl + +Thu Jul 30 00:10:18 2009 joerg + * cdrecord/version.h 1.37 + Version -> 2.01.01a62 + +Wed Jul 29 23:41:05 2009 joerg + * libscg/scsi-linux-sg.c 1.93 + MAX_SCG 256 -> (512-MAX_ATA) + +Wed Jul 29 00:14:48 2009 joerg + * makefiles/RULES/power-macintosh-darwin-gcc.rul 1.16 + * makefiles/RULES/power-macintosh-darwin-cc32.rul 1.3 + * makefiles/RULES/power-macintosh-darwin-cc64.rul 1.3 + * makefiles/RULES/power-macintosh-darwin-gcc32.rul 1.3 + * makefiles/RULES/power-macintosh-darwin-cc.rul 1.16 + * makefiles/RULES/power-macintosh-darwin-gcc64.rul 1.3 + DYNLDC++ neu + +Tue Jul 28 23:56:10 2009 joerg + * makefiles/DEFAULTS_ENG/MKLINKS 1.3 + * makefiles/DEFAULTS/MKLINKS 1.3 + Mingw Fehler beseitigt + +Tue Jul 28 23:45:09 2009 joerg + * makefiles/RULES/MKLINKS 1.80 + Schreibfehler 6786-cygwin* -> i686-cygwin + +Tue Jul 28 23:44:32 2009 joerg + * mkisofs/mkisofs.c 1.249 + e_malloc() korrigiert, Bedenkliche Abfrage size > 0 beseitigt + +Tue Jul 28 21:16:32 2009 joerg + * libschily/format.c 1.48 + gcvt() -> (void) gcvt() + +Tue Jul 28 21:15:25 2009 joerg + * include/schily/hostname.h 1.18 + #include wegen Linux neu + +Mon Jul 27 23:13:17 2009 joerg + * makefiles/RULES/MKLINKS 1.79 + Neue Links 6786-cygwin32_wow64-cc.rul i786-cygwin32_wow64-cc.rul 6786-cygwin32_wow64-cc64.rul i786-cygwin32_wow64-cc64.rul 6786-cygwin32_wow64-gcc.rul i786-cygwin32_wow64-gcc.rul 6786-cygwin32_wow64-gcc64.rul i786-cygwin32_wow64-gcc64.rul + +Mon Jul 27 23:10:42 2009 joerg + * makefiles/RULES/i486-cygwin32_nt-cc64.rul 1.1 + * makefiles/RULES/i486-cygwin32_nt-gcc64.rul 1.1 + date and time created 09/07/27 23:10:42 by joerg + +Mon Jul 27 23:05:49 2009 joerg + * makefiles/DEFAULTS_ENG/MKLINKS 1.2 + * makefiles/DEFAULTS/MKLINKS 1.2 + Defaults.mingw32_wow64 Symlink neu + +Mon Jul 27 01:53:34 2009 joerg + * autoconf/aclocal.m4 1.79 + unistd.h -> unistd.h/stdlib.h + +Mon Jul 27 01:46:26 2009 joerg + * autoconf/aclocal.m4 1.78 + AC_HEADER_ENVIRON_DEF testet nun mit stdlib.h wenn unistd.h fehlt (wegen MSC) + +Mon Jul 27 01:35:36 2009 joerg + * include/schily/unistd.h 1.21 + #include wenn nicht HAVE_UNISTD_H, denn MSC hat environ in stdlib.h + +Sun Jul 26 20:18:09 2009 joerg + * libschily/geterrno.c 1.12 + * libschily/seterrno.c 1.11 + _TS_ERRNO und _LIBC_REENTRANT neu + +Sun Jul 26 19:48:27 2009 joerg + * libschily/astoull.c 1.2 + Umstellung auf seterrno() + +Sun Jul 26 16:46:13 2009 joerg + * autoconf/aclocal.m4 1.77 + write(2, "", 0) in AC_USER_MALLOC Test damit es nicht auf 64 Bit Vista mit Cygwin haengt + +Sun Jul 26 16:03:38 2009 joerg + * makefiles/RULES/power-macintosh-darwin-cc.rul 1.15 + * makefiles/RULES/power-macintosh-darwin-gcc64.rul 1.2 + * makefiles/RULES/power-macintosh-darwin-gcc32.rul 1.2 + * makefiles/RULES/power-macintosh-darwin-cc32.rul 1.2 + * makefiles/RULES/power-macintosh-darwin-gcc.rul 1.15 + * makefiles/RULES/power-macintosh-darwin-cc64.rul 1.2 + C++OPTDYN= -fPIC neu + +Sun Jul 26 14:27:36 2009 joerg + * makefiles/RULES/rules.inc 1.9 + Kein _EXEEXT definieren, damit nicht xxx.h.exe installiert wird + +Sun Jul 26 14:07:15 2009 joerg + * makefiles/RULES/os-cygwin_nt-6.1-wow64.id 1.1 + * makefiles/RULES/os-cygwin_nt-6.0-wow64.id 1.1 + date and time created 09/07/26 14:07:15 by joerg + +Sun Jul 26 01:29:35 2009 joerg + * makefiles/TEMPLATES/temp-gcc.rul 1.3 + * makefiles/TEMPLATES/temp-xcc.rul 1.3 + Umstellung auf cc-*.rul + +Sun Jul 26 00:24:35 2009 joerg + * makefiles/RULES/rules.top 1.20 + @echo " ==> MAKING -> @echo "==> MAKING + +Sat Jul 25 17:36:53 2009 joerg + * makefiles/DEFAULTS/Defaults.haiku 1.3 + /opt/schily -> /boot/opt/schily + +Sat Jul 25 16:01:19 2009 joerg + * cdrecord/fifo.c 1.59 + comerrno() statt errmsgno() in beosshm_child() wenn es nicht gelingt die BeOS Area shared zu machen + +Tue Jul 21 21:36:04 2009 joerg + * include/schily/termios.h 1.32 + #include wegen haiku + +Sat Jul 18 22:17:14 2009 joerg + * cdrecord/cdrecord.c 1.385 + * libschily/gethostname.c 1.19 + sys/utsname.h -> schily/utsname.h + +Sat Jul 18 18:59:50 2009 joerg + * mkisofs/diag/isoinfo.c 1.76 + * scgskeleton/skel.c 1.18 + * cdrecord/readcd.c 1.105 + * cdrecord/xio.c 1.20 + * cdda2wav/cdda2wav.c 1.114 + * btcflash/skel.c 1.21 + #include -> #include + +Sat Jul 18 18:32:47 2009 joerg + * libfind/find.c 1.80 + #include -> #include + fnmatch() is immer vorhanden da nun in libschily + +Tue Jul 14 21:37:23 2009 joerg + * cdrecord/cdrecord.c 1.384 + sys/mman.h -> schily/mman.h + +Tue Jul 14 01:15:43 2009 joerg + * include/schily/param.h 1.5 + HZ neu + +Tue Jul 14 00:57:30 2009 joerg + * include/schily/Targets 1.4 + systeminfo.mk neu + +Tue Jul 14 00:56:54 2009 joerg + * include/schily/systeminfo.mk 1.1 + date and time created 09/07/14 00:56:54 by joerg + +Tue Jul 14 00:56:08 2009 joerg + * include/schily/systeminfo.h 1.1 + date and time created 09/07/14 00:56:08 by joerg + +Mon Jul 13 21:29:21 2009 joerg + * rscsi/rscsi.c 1.35 + * libscg/scsi-atari.c 1.3 + * libscg/scsihack.c 1.55 + * libscg/scsitransp.c 1.97 + * libscg/scsi-remote.c 1.31 + * libschily/align_test.c 1.24 + #include *.h -> #include schily/*.h + +Mon Jul 13 21:27:18 2009 joerg + * libedc/repair.c 1.3 + char sccsid[] -> UConst char sccsid[] + +Mon Jul 13 21:23:50 2009 joerg + * libfile/file.h 1.12 + * libhfs_iso/block.c 1.8 + * libhfs_iso/file.c 1.8 + stdio.h -> schily/stdio.h + +Mon Jul 13 21:01:09 2009 joerg + * mkisofs/mkisofs.c 1.248 + Umbau auf schily/io.h + +Mon Jul 13 21:00:54 2009 joerg + * mkisofs/tree.c 1.117 + * mkisofs/Makefile 1.41 + exclude.h beseitigt + +Mon Jul 13 20:04:37 2009 joerg + * include/schily/vfork.h 1.1 + * include/schily/utsname.h 1.1 + date and time created 09/07/13 20:04:37 by joerg + +Mon Jul 13 20:04:36 2009 joerg + * include/schily/inet.h 1.1 + * include/schily/times.h 1.1 + * include/schily/setjmp.h 1.1 + * include/schily/socket.h 1.1 + * include/schily/netdb.h 1.1 + * include/schily/io.h 1.1 + * include/schily/shadow.h 1.1 + * include/schily/in.h 1.1 + date and time created 09/07/13 20:04:36 by joerg + +Mon Jul 13 19:26:41 2009 joerg + * include/schily/Targets 1.3 + in.mk inet.mk io.mk netdb.mk setjmp.mk shadow.mk socket.mk times.mk utsname.mk vfork.mk neu + +Mon Jul 13 19:25:18 2009 joerg + * include/schily/utsname.mk 1.1 + * include/schily/times.mk 1.1 + * include/schily/vfork.mk 1.1 + * include/schily/socket.mk 1.1 + * include/schily/netdb.mk 1.1 + * include/schily/setjmp.mk 1.1 + * include/schily/io.mk 1.1 + * include/schily/shadow.mk 1.1 + * include/schily/inet.mk 1.1 + * include/schily/in.mk 1.1 + date and time created 09/07/13 19:25:18 by joerg + +Mon Jul 13 19:20:22 2009 joerg + * include/schily/jmpdefs.h 1.9 + Umstellung auf schily/setjmp.h + +Sat Jul 11 12:23:14 2009 joerg + * libmdigest/md5.c 1.6 + * libmdigest/md4.c 1.3 + * libhfs_iso/node.c 1.6 + * libhfs_iso/volume.c 1.9 + * libhfs_iso/record.c 1.5 + * libhfs_iso/hfs.c 1.14 + * libhfs_iso/gdata.c 1.5 + * libhfs_iso/btree.c 1.7 + * libhfs_iso/file.c 1.7 + * libhfs_iso/low.c 1.9 + * libhfs_iso/data.c 1.8 + * libhfs_iso/block.c 1.7 + * libscg/scgtimes.c 1.4 + * libscg/scsierrs.c 2.33 + * libscg/scsihelp.c 1.7 + * libscg/scsiopen.c 1.101 + * libfile/apprentice.c 1.13 + * libfile/file.c 1.9 + * libfile/softmagic.c 1.12 + * libdeflt/default.c 1.8 + * btcflash/skel.c 1.20 + * libparanoia/isort.c 1.19 + * libparanoia/overlap.c 1.16 + * libparanoia/paranoia.c 1.42 + * libparanoia/gap.c 1.18 + * libparanoia/p_block.c 1.28 + * libparanoia/pmalloc.c 1.7 + * scgcheck/sense.c 1.9 + * scgcheck/dmaresid.c 1.11 + * scgcheck/scgcheck.c 1.18 + const char sccsid[] -> UConst char sccsid[] + +Sat Jul 11 00:20:20 2009 joerg + * libedc/edc_ecc_dec.c 1.11 + * libedc/edc_ecc.c 1.28 + * libedc/edcspeed.c 1.4 + * scgskeleton/skel.c 1.17 + * libfind/find_main.c 1.65 + * libfind/fetchdir.c 1.27 + * libfind/walk.c 1.38 + * libfind/cmpdir.c 1.27 + * libfind/idcache.c 1.28 + * libfind/find_misc.c 1.14 + * libfind/find.c 1.79 + * libfind/find_list.c 1.25 + * libsiconv/sic_nls.c 1.11 + * libcdrdeflt/cdrdeflt.c 1.25 + * libscgcmd/read.c 1.158 + * libscgcmd/modes.c 1.29 + * libscgcmd/inquiry.c 1.158 + * libscgcmd/buffer.c 1.158 + * libscgcmd/readcap.c 1.158 + * libscgcmd/modesense.c 1.158 + * libscgcmd/ready.c 1.158 + const char sccsid[] -> UConst char sccsid[] + +Fri Jul 10 22:36:47 2009 joerg + * cdda2wav/resample.c 1.31 + * cdda2wav/sndconfig.c 1.33 + * cdda2wav/toc.c 1.83 + * cdda2wav/parse.c 1.8 + * cdda2wav/wav.c 1.11 + * cdda2wav/sun.c 1.12 + * cdda2wav/scsi_cmds.c 1.47 + * cdda2wav/ringbuff.c 1.19 + * cdda2wav/cd_extra.c 1.16 + * cdda2wav/setuid.c 1.19 + * cdda2wav/raw.c 1.11 + * cdda2wav/sha.h 1.7 + * cdda2wav/base64.c 1.10 + * cdda2wav/cdda2wav.c 1.113 + * cdda2wav/aifc.c 1.13 + * cdda2wav/ioctl.c 1.37 + * cdda2wav/interface.c 1.67 + * cdda2wav/aiff.c 1.12 + * libschily/avoffset.c 1.30 + * libschily/align_test.c 1.23 + * libschily/getdomainname.c 1.21 + * libschily/printf.c 1.17 + * libschily/getpagesize.c 1.5 + * libschily/spawn.c 1.24 + * libschily/findline.c 1.18 + * libschily/jssnprintf.c 1.12 + * libschily/raisecond.c 1.22 + * libschily/error.c 1.15 + * libschily/snprintf.c 1.13 + * libschily/comerr.c 1.35 + * libschily/fexec.c 1.41 + * libschily/fcomerr.c 1.2 + * libschily/serrmsg.c 1.5 + * libparanoia/paranoia.c 1.41 + * cdrecord/wm_packet.c 1.30 + * cdrecord/subchan.c 1.26 + * cdrecord/scsi_cdr_mmc4.c 1.6 + * cdrecord/wm_track.c 1.8 + * cdrecord/wm_session.c 1.8 + * cdrecord/drv_bd.c 1.15 + * cdrecord/scsi_mmc4.c 1.6 + * cdrecord/vendor.c 1.4 + * cdrecord/sector.c 1.17 + * cdrecord/scsilog.c 1.24 + * cdrecord/drv_7501.c 1.28 + * cdrecord/scsi_mmc.c 1.50 + * cdrecord/cdr_drv.c 1.48 + * cdrecord/fifo.c 1.58 + * cdrecord/io.c 1.7 + * cdrecord/scsi_scan.c 1.34 + * cdrecord/drv_sony.c 1.86 + * cdrecord/drv_simul.c 1.60 + * cdrecord/cue.c 1.38 + * cdrecord/misc.c 1.8 + * cdrecord/drv_dvdplus.c 1.57 + * cdrecord/drv_dvd.c 1.160 + * cdrecord/readcd.c 1.104 + * cdrecord/drv_mmc.c 1.195 + * cdrecord/auinfo.c 1.27 + * cdrecord/scsi_cdr.c 1.158 + * cdrecord/cdtext.c 1.16 + * cdrecord/diskid.c 1.43 + * cdrecord/drv_philips.c 1.81 + * cdrecord/cd_misc.c 1.17 + * cdrecord/drv_jvc.c 1.93 + * cdrecord/clone.c 1.11 + stdio.h -> schily/stdio.h + +Fri Jul 10 22:02:42 2009 joerg + * libfind/find_main.c 1.64 + * libfind/idcache.c 1.27 + * libfind/find_misc.c 1.13 + * libfind/find_list.c 1.24 + * libfind/find_misc.h 1.7 + * libfind/fetchdir.c 1.26 + * libfind/find.c 1.78 + * libfind/walk.c 1.37 + * libfind/cmpdir.c 1.26 + * libfind/find_list.h 1.8 + #include * -> #include schily/* + +Fri Jul 10 21:55:36 2009 joerg + * libschily/getargs.c 2.61 + * mkisofs/name.c 1.37 + * mkisofs/match.h 1.15 + * mkisofs/write.c 1.123 + * mkisofs/mkisofs.h 1.138 + * mkisofs/apple.c 1.38 + * mkisofs/mkisofs.c 1.247 + * mkisofs/files.c 1.17 + * mkisofs/multi.c 1.93 + ctype.h -> schily/ctype.h + +Fri Jul 10 21:50:37 2009 joerg + * makefiles/RULES/rules.hlp 1.15 + make depend Hilfe verbessert + +Fri Jul 10 21:48:46 2009 joerg + * mkisofs/diag/isoinfo.c 1.75 + limits.h -> schily/limits.h + +Fri Jul 10 21:34:46 2009 joerg + * include/schily/pwd.mk 1.1 + * include/schily/pwd.h 1.1 + date and time created 09/07/10 21:34:46 by joerg + +Fri Jul 10 21:34:11 2009 joerg + * include/schily/grp.h 1.1 + * include/schily/grp.mk 1.1 + date and time created 09/07/10 21:34:11 by joerg + +Fri Jul 10 21:32:46 2009 joerg + * include/schily/ctype.mk 1.1 + * include/schily/ctype.h 1.1 + date and time created 09/07/10 21:32:46 by joerg + +Fri Jul 10 21:32:22 2009 joerg + * include/schily/Makefile 1.21 + * include/schily/Mrel 1.21 + Lange Fileliste -> X_MK_FILE + include Targets + +Fri Jul 10 21:30:58 2009 joerg + * include/schily/Targets 1.2 + XMK_FILE= -> X_MK_LIST= + +Fri Jul 10 21:10:53 2009 joerg + * include/schily/Targets 1.1 + date and time created 09/07/10 21:10:53 by joerg + +Fri Jul 10 21:10:41 2009 joerg + * include/schily/Mrel 1.20 + * include/schily/Makefile 1.20 + ctype.mk, grp.mk, pwd.mk neu + +Fri Jul 10 20:57:51 2009 joerg + * autoconf/configure.in 1.183 + * autoconf/xconfig.h.in 1.171 + HAVE_CTYPE_H neu + +Thu Jul 9 00:34:29 2009 joerg + * conf/src-get 1.20 + %Z% war falsch + +Thu Jul 9 00:33:28 2009 joerg + * conf/src-get 1.19 + -version neu + Die Directory muss nicht mehr komplett leer sein, es dard src-get darin sein + +Thu Jul 9 00:25:26 2009 joerg + * mkisofs/udf.c 1.34 + * mkisofs/scsi.c 1.33 + * mkisofs/volume.c 1.24 + * mkisofs/rock.c 1.60 + * mkisofs/write.c 1.122 + * mkisofs/stream.c 1.14 + * mkisofs/walk.c 1.10 + * mkisofs/tree.c 1.116 + * mkisofs/mkisofs.c 1.246 + * mkisofs/inode.c 1.12 + * mkisofs/dvd_reader.c 1.9 + * mkisofs/desktop.c 1.10 + * mkisofs/hash.c 1.26 + * mkisofs/dvd_file.c 1.10 + * mkisofs/ifo_read.c 1.13 + * mkisofs/boot.c 1.23 + * mkisofs/eltorito.c 1.47 + * mkisofs/mac_label.c 1.17 + * mkisofs/apple.c 1.37 + * mkisofs/joliet.c 1.60 + * mkisofs/isonum.c 1.8 + * mkisofs/match.c 1.29 + * mkisofs/multi.c 1.92 + * mkisofs/name.c 1.36 + * mkisofs/diag/dump.c 1.36 + * mkisofs/diag/isodebug.c 1.26 + * mkisofs/diag/isovfy.c 1.40 + * mkisofs/diag/isoinfo.c 1.74 + * mkisofs/diag/isodump.c 1.41 + * libschily/sleep.c 1.3 + * libschily/strcat.c 1.2 + * libschily/wcscat.c 1.2 + * libschily/wcscpy.c 1.2 + * libschily/usleep.c 1.21 + * libschily/wcsdup.c 1.6 + * libschily/strncpy.c 1.4 + * libschily/jmem.c 1.12 + * libschily/wcslcpy.c 1.5 + * libschily/mem.c 1.10 + * libschily/strcpy.c 1.2 + * libschily/wcsncat.c 1.2 + * libschily/strdup.c 1.5 + * libschily/rename.c 1.10 + * libschily/wcsncmp.c 1.3 + * libschily/wcsncpy.c 1.5 + * libschily/strncmp.c 1.3 + * libschily/strlcpy.c 1.4 + * libschily/getxtnum.c 1.9 + * libschily/strncat.c 1.2 + * libschily/findinpath.c 1.5 + * libschily/gettimeofday.c 1.3 + * libschily/getperm.c 1.4 + * libschily/gethostid.c 1.19 + * libschily/getargs.c 2.60 + * libschily/getpagesize.c 1.4 + * libschily/getnum.c 1.6 + * libschily/getdomainname.c 1.20 + * libschily/gettnum.c 1.9 + * libschily/fstream.c 1.26 + * libschily/checkerr.c 1.24 + * libschily/cmpbytes.c 1.20 + * libschily/fnmatch.c 8.8 + * libschily/getav0.c 1.23 + * libschily/eaccess.c 1.3 + * libschily/fjmem.c 1.13 + * libschily/cmpnullbytes.c 1.7 + * libschily/getxnum.c 1.6 + * libschily/gethostname.c 1.18 + const char sccsid[] -> UConst char sccsid[] + +Thu Jul 9 00:21:27 2009 joerg + * mkisofs/mkisofs.h 1.137 + stdio.h -> schily/stdio.h + +Sun Jul 5 23:45:13 2009 joerg + * cdrecord/version.h 1.36 + Version -> 2.01.01a61 + +Sun Jul 5 23:35:12 2009 joerg + * cdrecord/cdrecord.c 1.383 + * libscg/scsihack.c 1.54 + * libscg/scsi-remote.c 1.30 + * cdda2wav/sndconfig.c 1.32 + * mkisofs/mkisofs.c 1.245 + * mkisofs/diag/isoinfo.c 1.73 + MINGW neu + +Sun Jul 5 23:33:17 2009 joerg + * cdrecord/cdrecord.c 1.382 + singal() nur aufrufen wenn es das betreffende Signal auch gibt + +Sun Jul 5 23:18:58 2009 joerg + * rscsi/rscsi.c 1.34 + HAVE_PWD_H und HAVE_NETINET_IN_H test neu + +Sun Jul 5 22:35:05 2009 joerg + * cdda2wav/cdda2wav.c 1.112 + Diverse #ifdefs fuer MINGW + +Sun Jul 5 20:59:13 2009 joerg + * mkisofs/defaults.h 1.24 + __MINGW32__ neu + +Sun Jul 5 20:19:27 2009 joerg + * cdda2wav/sndconfig.c 1.31 + * cdda2wav/setuid.c 1.18 + * cdda2wav/sun.c 1.11 + * cdda2wav/resample.c 1.30 + * cdda2wav/toc.c 1.82 + * cdda2wav/semshm.c 1.28 + * cdda2wav/ringbuff.c 1.18 + * cdda2wav/raw.c 1.10 + * cdda2wav/scsi_cmds.c 1.46 + * cdda2wav/wav.c 1.10 + * cdda2wav/sha_func.c 1.7 + * cdda2wav/interface.c 1.66 + * cdda2wav/aifc.c 1.12 + * cdda2wav/aiff.c 1.11 + * cdda2wav/cdda2wav.c 1.111 + * cdda2wav/ioctl.c 1.36 + * cdda2wav/base64.c 1.9 + * cdda2wav/md5.c 1.5 + * cdda2wav/parse.c 1.7 + * cdrecord/scsi_scan.c 1.33 + * cdrecord/wm_packet.c 1.29 + * cdrecord/drv_dvdplus.c 1.56 + * cdrecord/movesect.c 1.6 + * cdrecord/fifo.c 1.57 + * cdrecord/subchan.c 1.25 + * cdrecord/xio.c 1.19 + * cdrecord/drv_mmc.c 1.194 + * cdrecord/drv_simul.c 1.59 + * cdrecord/misc.c 1.7 + * cdrecord/scsi_cdr_mmc4.c 1.5 + * cdrecord/drv_jvc.c 1.92 + * cdrecord/drv_sony.c 1.85 + * cdrecord/drv_philips.c 1.80 + * cdrecord/isosize.c 1.12 + * cdrecord/readcd.c 1.103 + * cdrecord/scsi_mmc.c 1.49 + * cdrecord/wm_track.c 1.7 + * cdrecord/scsilog.c 1.23 + * cdrecord/wm_session.c 1.7 + * cdrecord/scsi_cdr.c 1.157 + * cdrecord/io.c 1.6 + * cdrecord/sector.c 1.16 + * cdrecord/vendor.c 1.3 + * cdrecord/scsi_mmc4.c 1.5 + * cdrecord/crc16.c 1.9 + * cdrecord/auinfo.c 1.26 + * cdrecord/clone.c 1.10 + * cdrecord/cue.c 1.37 + * cdrecord/drv_dvd.c 1.159 + * cdrecord/cdr_drv.c 1.47 + * cdrecord/diskid.c 1.42 + * cdrecord/cd_misc.c 1.16 + * cdrecord/cdrecord.c 1.381 + * cdrecord/drv_7501.c 1.27 + * cdrecord/audiosize.c 1.23 + * cdrecord/cdtext.c 1.15 + * cdrecord/drv_bd.c 1.14 + const char sccsid[] -> UConst char sccsid[] + +Thu Jul 2 23:31:26 2009 joerg + * autoconf/configure.in 1.182 + * autoconf/xconfig.h.in 1.170 + HAVE_SETBUF und HAVE_SETVBUF neu + +Wed Jul 1 00:36:39 2009 joerg + * libparanoia/cdda_paranoia.h 1.26 + #include fuer movebytes() + +Tue Jun 30 21:46:20 2009 joerg + * libschily/stdio/ffileread.c 1.13 + * libschily/stdio/ffilewrite.c 1.8 + Umbau auf Konzept von niread()/niwrite() + +Tue Jun 30 21:41:23 2009 joerg + * libschily/stdio/filewrite.c 1.17 + write() -> _niwrite() + +Tue Jun 30 21:38:31 2009 joerg + * libschily/stdio/niwrite.c 1.7 + * libschily/stdio/filewrite.c 1.16 + * libschily/stdio/niread.c 1.14 + * libschily/stdio/nixwrite.c 1.7 + * libschily/stdio/ffilewrite.c 1.7 + * libschily/stdio/nixread.c 1.14 + * libschily/stdio/fileread.c 1.16 + * libschily/stdio/ffileread.c 1.12 + Umstellung auf size_t + +Tue Jun 30 21:37:32 2009 joerg + * libschily/stdio/schilyio.h 2.27 + * cdda2wav/semshm.c 1.27 + * libschily/jsprintf.c 1.17 + #include neu wegen size_t + +Tue Jun 30 20:39:38 2009 joerg + * cdrecord/cdrecord.h 1.199 + Umstellung auf schily/types.h + +Tue Jun 30 20:36:12 2009 joerg + * mkisofs/diag/isoinfo.c 1.72 + * mkisofs/diag/isodebug.c 1.25 + * libscg/scsi-remote.c 1.29 + * libscg/scsi-qnx.c 1.5 + * libscg/scsi-osf.c 1.28 + * libscg/scsi-beos.c 1.29 + Umstellung auf schily/*.h + +Tue Jun 30 20:26:14 2009 joerg + * include/schily/sigset.h 1.9 + Copyright -> 2009 + +Tue Jun 30 20:19:52 2009 joerg + * include/schily/schily.h 1.84 + *read*()/*write*() auf size_t umgestellt + +Tue Jun 30 20:17:57 2009 joerg + * include/schily/signal.h 1.8 + Alter Inhalt -> schily/sigset.h + +Tue Jun 30 20:17:11 2009 joerg + * include/schily/Makefile 1.19 + * include/schily/Mrel 1.19 + sigset.mk neu + +Tue Jun 30 20:16:46 2009 joerg + * include/schily/sigset.mk 1.2 + * include/schily/sigset.h 1.8 + schily/signal.h -> schily/sigset.h + +Mon Jun 29 23:48:54 2009 joerg + * autoconf/xconfig.h.in 1.169 + * autoconf/aclocal.m4 1.76 + * autoconf/configure.in 1.181 + HAVE_LONGDOUBLE und SIZEOF_LONGDOUBLE neu + +Mon Jun 29 23:48:09 2009 joerg + * include/schily/wctype.h 1.7 + Struktur fuer #define USE_WCTYPE war nach letzter Aenderung komplett falsch + +Mon Jun 29 23:10:44 2009 joerg + * include/schily/schily.h 1.83 + #ifdef _INCL_SYS_TYPES_H -> #ifdef _SCHILY_TYPES_H + +Mon Jun 29 21:47:08 2009 joerg + * autoconf/configure.in 1.180 + * autoconf/xconfig.h.in 1.168 + HAVE_WCWIDTH HAVE_WCSWIDTH HAVE_WCTYPE HAVE_ISWCTYPE neu + +Sun Jun 28 22:37:50 2009 joerg + * libschily/getargs.c 2.59 + checkeql() testet 1. Zeichen nicht mehr 2x (daher c = *str++ -> c = *++str) + +Sun Jun 28 22:32:24 2009 joerg + * libschily/getargs.c 2.58 + RETMAX / RETMIN neu + RNAME(a) basiert nun auf RETMIN + +Fri Jun 26 19:41:20 2009 joerg + * mkisofs/mkisofs.8 1.129 + Fehlendes .br zwischen beiden Synopsis Zeilen + Datum im Header auf %e% + +Tue Jun 23 22:02:22 2009 joerg + * include/schily/md5.h 1.9 + Copyright -> 2009 + +Tue Jun 23 21:57:03 2009 joerg + * libmdigest/shlmdigest.mk 1.3 + * libmdigest/mdigest.mk 1.3 + Staerkere Optimierung fuer SunPro und GCC + +Tue Jun 23 19:24:07 2009 joerg + * include/schily/prototyp.h 1.14 + #include neu wegen static UConst char sccsid[] + +Sun Jun 21 23:43:45 2009 joerg + * libmdigest/mdigest_p.mk 1.2 + * libmdigest/shlmdigest.mk 1.2 + * libmdigest/Makefile 1.2 + * libmdigest/mdigest.mk 1.2 + digest -> mdigest + +Sun Jun 21 15:08:39 2009 joerg + * libmdigest/Targets 1.2 + md4.c neu + +Sun Jun 21 15:08:24 2009 joerg + * libmdigest/md4.c 1.2 + * include/schily/md4.h 1.2 + Portabel gemacht + +Sun Jun 21 15:07:10 2009 joerg + * libmdigest/md5.c 1.5 + #include "md5.h" -> #include + +Sun Jun 21 14:46:37 2009 joerg + * include/schily/Mrel 1.18 + * include/schily/Makefile 1.18 + md4.mk neu + +Sun Jun 21 14:44:17 2009 joerg + * include/schily/md5.h 1.8 + extern "C" neu + +Sat Jun 20 22:32:08 2009 joerg + * include/schily/md4.mk 1.1 + date and time created 09/06/20 22:32:08 by joerg + +Sat Jun 20 22:28:16 2009 joerg + * include/schily/md5.h 1.7 + _MD5_H_ -> _SCHILY_MD5_H_ + +Sat Jun 20 22:27:38 2009 joerg + * include/schily/Mrel 1.17 + * include/schily/Makefile 1.17 + md5.mk neu + +Sat Jun 20 22:26:50 2009 joerg + * include/schily/md5.mk 1.1 + date and time created 09/06/20 22:26:50 by joerg + +Mon Jun 15 23:51:12 2009 joerg + * libmdigest/libdigest-mapvers 1.1 + date and time created 09/06/15 23:51:12 by joerg + +Mon Jun 15 23:43:17 2009 joerg + * libmdigest/Targets 1.1 + date and time created 09/06/15 23:43:17 by joerg + +Mon Jun 15 23:40:20 2009 joerg + * libmdigest/mdigest_p.mk 1.1 + date and time created 09/06/15 23:40:20 by joerg + +Mon Jun 15 23:40:11 2009 joerg + * libmdigest/mdigest.mk 1.1 + date and time created 09/06/15 23:40:11 by joerg + +Mon Jun 15 23:39:57 2009 joerg + * libmdigest/shlmdigest.mk 1.1 + date and time created 09/06/15 23:39:57 by joerg + +Mon Jun 15 23:39:33 2009 joerg + * libmdigest/noshlmdigest.mk 1.1 + date and time created 09/06/15 23:39:33 by joerg + +Mon Jun 15 23:38:59 2009 joerg + * libmdigest/Makefile 1.1 + date and time created 09/06/15 23:38:59 by joerg + +Mon Jun 15 22:45:55 2009 joerg + * include/schily/ccomdefs.h 1.6 + UConst neu + +Sun Jun 14 19:56:06 2009 joerg + * include/schily/wctype.h 1.6 + * include/schily/wchar.h 1.12 + HP-UX hat iswprint() aber kein wctype.h + +Sun Jun 14 17:50:23 2009 joerg + * autoconf/configure.in 1.179 + * autoconf/xconfig.h.in 1.167 + Test auf iswprint() neu weil HP-UX iswprint() in wchar.h hat und daher ein Ersatz zu HAVE_WCTYPE_H gebraucht wird + +Sun Jun 14 17:28:27 2009 joerg + * include/schily/wchar.h 1.11 + Vermeiden der GCC Warnung: left-hand operand of comma expression has no effect + +Sun Jun 14 15:03:56 2009 joerg + * include/schily/dlfcn.h 1.2 + * include/schily/schily.h 1.82 + * include/schily/siconv.h 1.3 + * include/schily/sysexits.h 1.5 + Cstyle + +Sun Jun 14 14:58:18 2009 joerg + * include/schily/wchar.h 1.10 + Workaround in mbtowc() Dummy Makro fuer die Notwendigkeit fuer mbtowc(NULL, NULL, 0) auf Mac OS X + +Sat Jun 13 17:14:41 2009 joerg + * cdrecord/readcd.c 1.102 + read_ftoc() konnte einen Coredump verursachen durch parmp == NULL + +Wed Jun 10 00:49:50 2009 joerg + * libscg/scsi-mac-iokit.c 1.14 + #if defined(__LP64__) in scgsend() neu weil Apple unterschiedliche Types verwendet + +Tue Jun 9 20:48:47 2009 joerg + * makefiles/RULES/MKLINKS 1.78 + i386-darwin-cc64.rul und i386-darwin-gcc64.rul neu + +Tue Jun 9 20:40:45 2009 joerg + * makefiles/RULES/power-macintosh-darwin-gcc64.rul 1.1 + * makefiles/RULES/power-macintosh-darwin-gcc32.rul 1.1 + date and time created 09/06/09 20:40:45 by joerg + +Tue Jun 9 20:39:38 2009 joerg + * makefiles/RULES/power-macintosh-darwin-cc64.rul 1.1 + * makefiles/RULES/power-macintosh-darwin-cc32.rul 1.1 + date and time created 09/06/09 20:39:38 by joerg + +Sun Jun 7 19:19:26 2009 joerg + * include/schily/wctype.h 1.5 + * include/schily/wchar.h 1.9 + wctype.h definiert nicht mehr USE_WCHAR um und wchar.h hat dafuer Wissen ueber USE_WCTYPE + +Sun Jun 7 15:47:02 2009 joerg + * include/schily/schily.h 1.81 + * include/schily/libport.h 1.19 + wcs*() Funktionsprototypen neu + +Sun Jun 7 15:45:30 2009 joerg + * autoconf/configure.in 1.178 + * autoconf/xconfig.h.in 1.166 + HAVE_ACCESSAT neu + +Sun Jun 7 15:41:57 2009 joerg + * libschily/streql.c 1.10 + Copyright -> 2009 + +Sun Jun 7 15:39:51 2009 joerg + * libschily/streql.c 1.9 + if (s1 == s2) return (TRUE); + +Sun Jun 7 15:38:34 2009 joerg + * libschily/wcsncmp.c 1.2 + * libschily/wcscmp.c 1.6 + * libschily/strncmp.c 1.2 + * libschily/strcmp.c 1.6 + if (s1 == s2) return (0); + +Sun Jun 7 15:36:40 2009 joerg + * libschily/wcseql.c 1.10 + return TRUE wenn (s1 == s2) + Test auf s1 bzw. s2 == NULL beseitigt + +Sun Jun 7 15:30:16 2009 joerg + * libschily/wcscmp.c 1.5 + * libschily/strcmp.c 1.5 + Optimierung + +Sun Jun 7 14:07:51 2009 joerg + * libschily/strchr.c 1.3 + * libschily/wcschr.c 1.4 + The terminating NUL character is considered to be part of the string, daher do ... while Schleife + +Sun Jun 7 13:58:26 2009 joerg + * libschily/strrchr.c 1.2 + * libschily/strchr.c 1.2 + Parameter char -> int, dafuer c -> char Casten + +Sun Jun 7 13:55:40 2009 joerg + * libschily/wcslen.c 1.5 + Schreibfehlerkorrektur: strlen(s) -> wcslen(s) + +Sat Jun 6 23:48:52 2009 joerg + * makefiles/RULES/sun3-sunos4-gcc.rul 1.11 + Unser gcc auf SunOS-4.1.1_U1 kann nicht -Wno-unknown-pragmas + +Sat Jun 6 13:58:46 2009 joerg + * libschily/libschily-mapvers 1.15 + * libschily/Targets 1.16 + Gleicher Satz von wcs*() und str*() Funktionen + +Sat Jun 6 13:50:06 2009 joerg + * libschily/strcpy.c 1.1 + date and time created 09/06/06 13:50:06 by joerg + +Sat Jun 6 13:45:46 2009 joerg + * libschily/strrchr.c 1.1 + date and time created 09/06/06 13:45:46 by joerg + +Sat Jun 6 13:45:42 2009 joerg + * libschily/strncmp.c 1.1 + date and time created 09/06/06 13:45:42 by joerg + +Sat Jun 6 13:45:38 2009 joerg + * libschily/strncat.c 1.1 + date and time created 09/06/06 13:45:38 by joerg + +Sat Jun 6 13:45:27 2009 joerg + * libschily/strchr.c 1.1 + date and time created 09/06/06 13:45:27 by joerg + +Sat Jun 6 13:45:24 2009 joerg + * libschily/strcat.c 1.1 + date and time created 09/06/06 13:45:24 by joerg + +Sat Jun 6 13:42:12 2009 joerg + * libschily/wcscmp.c 1.4 + * libschily/wcschr.c 1.3 + * libschily/strcmp.c 1.4 + cstyle + +Sat Jun 6 13:39:27 2009 joerg + * libschily/strcmp.c 1.3 + #ifndef HAVE_STRCMP neu + +Sat Jun 6 13:38:50 2009 joerg + * libschily/strlen.c 1.3 + #ifndef HAVE_STRLEN neu + +Sat Jun 6 13:30:35 2009 joerg + * libschily/wcslen.c 1.4 + Parameter wird const + +Sat Jun 6 12:50:54 2009 joerg + * autoconf/configure.in 1.177 + * autoconf/xconfig.h.in 1.165 + HAVE_WCSLCPY und HAVE_WCSDUP neu + HAVE_STR* ist aequivalent zu HAVE_WCS* + +Sat Jun 6 01:07:39 2009 joerg + * include/schily/walk.h 1.26 + * include/schily/ccomdefs.h 1.5 + * include/schily/schilyp.h 1.2 + * include/schily/align.h 1.7 + * include/schily/schily.h 1.80 + * include/schily/jos_maxp.h 1.3 + * include/schily/jmpdefs.h 1.8 + * include/schily/checkerr.h 1.11 + #include neu + +Sat Jun 6 01:07:18 2009 joerg + * include/schily/archdefs.h 1.7 + Hinweis auf schily/mconfig.h neu + +Sat Jun 6 01:04:25 2009 joerg + * libschily/Targets 1.15 + * libschily/libschily-mapvers 1.14 + wcs*() Funktionen neu + +Sat Jun 6 01:02:21 2009 joerg + * libschily/wcsdup.c 1.5 + * libschily/wcsrchr.c 1.2 + * libschily/wcsncpy.c 1.4 + * libschily/wcslen.c 1.3 + * libschily/wcslcpy.c 1.4 + * libschily/wcseql.c 1.9 + * libschily/wcscmp.c 1.3 + * libschily/wcschr.c 1.2 + * libschily/wcscatl.c 1.14 + Umbau auf wchar_t + +Sat Jun 6 00:34:37 2009 joerg + * libschily/wcscat.c 1.1 + date and time created 09/06/06 00:34:37 by joerg + +Sat Jun 6 00:33:29 2009 joerg + * libschily/wcsncmp.c 1.1 + date and time created 09/06/06 00:33:29 by joerg + +Fri Jun 5 17:10:44 2009 joerg + * libschily/wcsncat.c 1.1 + date and time created 09/06/05 17:10:44 by joerg + +Fri Jun 5 15:47:30 2009 joerg + * libschily/wcscpy.c 1.1 + date and time created 09/06/05 15:47:30 by joerg + +Thu Jun 4 23:11:00 2009 joerg + * makefiles/DEFAULTS_ENG/Defaults.linux 1.7 + * makefiles/DEFAULTS_ENG/Defaults.sunos5 1.5 + * makefiles/DEFAULTS_ENG/Defaults.irix 1.5 + * makefiles/DEFAULTS_ENG/Defaults.syllable 1.2 + * makefiles/DEFAULTS_ENG/Defaults.interix 1.6 + * makefiles/DEFAULTS_ENG/Defaults.hp-ux 1.5 + * makefiles/DEFAULTS_ENG/Defaults.haiku 1.2 + * makefiles/DEFAULTS_ENG/Defaults.ms-dos 1.5 + * makefiles/DEFAULTS_ENG/Defaults.osf1 1.5 + * makefiles/DEFAULTS_ENG/Defaults.gnu 1.5 + * makefiles/DEFAULTS_ENG/Defaults.os2 1.5 + * makefiles/DEFAULTS_ENG/Defaults.newsos6 1.5 + * makefiles/DEFAULTS_ENG/Defaults.dgux 1.5 + * makefiles/DEFAULTS_ENG/Defaults.dgux3 1.5 + * makefiles/DEFAULTS_ENG/Defaults.domainos 1.5 + * makefiles/DEFAULTS_ENG/Defaults.beos 1.5 + * makefiles/DEFAULTS_ENG/Defaults.dgux4 1.5 + * makefiles/DEFAULTS_ENG/Defaults.amigaos 1.5 + * makefiles/DEFAULTS_ENG/Defaults.aix 1.5 + * makefiles/DEFAULTS/Defaults.sunos5 1.5 + * makefiles/DEFAULTS/Defaults.irix 1.5 + * makefiles/DEFAULTS/Defaults.haiku 1.2 + * makefiles/DEFAULTS/Defaults.gnu 1.5 + * makefiles/DEFAULTS/Defaults.beos 1.5 + * makefiles/DEFAULTS/Defaults.dgux3 1.5 + * makefiles/DEFAULTS/Defaults.hp-ux 1.5 + * makefiles/DEFAULTS/Defaults.osf1 1.5 + * makefiles/DEFAULTS/Defaults.ms-dos 1.5 + * makefiles/DEFAULTS/Defaults.os2 1.5 + * makefiles/DEFAULTS/Defaults.interix 1.6 + * makefiles/DEFAULTS/Defaults.amigaos 1.5 + * makefiles/DEFAULTS/Defaults.dgux 1.5 + * makefiles/DEFAULTS/Defaults.aix 1.5 + * makefiles/DEFAULTS/Defaults.newsos6 1.5 + * makefiles/DEFAULTS/Defaults.syllable 1.2 + * makefiles/DEFAULTS/Defaults.dgux4 1.5 + * makefiles/DEFAULTS/Defaults.domainos 1.5 + * makefiles/DEFAULTS/Defaults.linux 1.7 + -R$(OLIBSDIR) beseitigt + +Tue Jun 2 23:07:20 2009 joerg + * include/schily/wchar.h 1.8 + * include/schily/wctype.h 1.4 + #define SIZEOF_WCHAR_T SIZEOF_CHAR wenn kein wchar_t verwendet wird + +Sun May 31 23:54:41 2009 joerg + * autoconf/xconfig.h.in 1.164 + * autoconf/configure.in 1.176 + HAVE_WCS* neu + +Sun May 31 23:28:06 2009 joerg + * autoconf/aclocal.m4 1.75 + * autoconf/xconfig.h.in 1.163 + * autoconf/configure.in 1.175 + AC_CHECK_SIZE_WCHAR und AC_CHECK_SIZE_WCHAR_T neu + +Sat May 30 22:01:10 2009 joerg + * libschily/Targets 1.14 + matchw.c matchwl.c neu + +Sat May 30 22:00:50 2009 joerg + * libschily/match.c 1.23 + Umbau Uchar -> CHAR damit wchar_t moeglich wird + +Sat May 30 21:49:41 2009 joerg + * include/schily/patmatch.h 1.13 + patwcompile()/patwmatch()/patwlmatch() neu + +Sat May 30 21:48:30 2009 joerg + * include/schily/wctype.h 1.3 + #define USE_WCTYPE nur wenn #ifndef USE_WCTYPE + +Sat May 30 21:46:03 2009 joerg + * include/schily/wchar.h 1.7 + USE_WCHAR wird Default + +Sat May 30 19:27:01 2009 joerg + * mkisofs/diag/isoinfo.c 1.71 + Bei illegalem Monat wird nun ??? statt gar nichts ausgegeben damit der Output von -l immer parsierbar bleibt + +Thu May 28 00:40:11 2009 joerg + * libschily/matchwl.c 1.1 + date and time created 09/05/28 00:40:11 by joerg + +Thu May 28 00:40:09 2009 joerg + * libschily/matchw.c 1.1 + date and time created 09/05/28 00:40:09 by joerg + +Sun May 24 13:07:46 2009 joerg + * include/schily/dirent.h 1.28 + * include/schily/utypes.h 1.28 + Umbau auf schily/limits.h + +Sun May 24 12:58:29 2009 joerg + * include/schily/Makefile 1.16 + * include/schily/Mrel 1.16 + limits.mk neu + +Sun May 24 12:57:22 2009 joerg + * include/schily/limits.mk 1.1 + date and time created 09/05/24 12:57:22 by joerg + +Sun May 24 12:56:38 2009 joerg + * include/schily/limits.h 1.1 + date and time created 09/05/24 12:56:38 by joerg + +Sun May 24 12:23:37 2009 joerg + * include/schily/locale.h 1.2 + #define USE_LOCALE wird Default + +Sat May 23 16:29:05 2009 joerg + * include/schily/nlsdefs.h 1.3 + _NLSDEFS_H -> _SCHILY_NLSDEFS_H + #include -> #include + +Sat May 23 16:25:55 2009 joerg + * include/schily/Mrel 1.15 + * include/schily/Makefile 1.15 + locale.mk neu + +Sat May 23 16:22:31 2009 joerg + * include/schily/locale.mk 1.1 + date and time created 09/05/23 16:22:31 by joerg + +Sat May 23 16:21:33 2009 joerg + * include/schily/locale.h 1.1 + date and time created 09/05/23 16:21:33 by joerg + +Fri May 22 15:32:34 2009 joerg + * cdda2wav/scsi_cmds.c 1.45 + Weitere Aufrufe von unit_ready() - speziell nach fehlerhaftem READ TOC as Workaround gegen Solaris scsa2usb (SCSA to USB Driver) + +Fri May 22 13:08:38 2009 joerg + * cdda2wav/scsi_cmds.c 1.44 + unit_ready() Aufrufe neu in den TOC Funktionen + +Fri May 22 13:06:36 2009 joerg + * cdda2wav/cdda2wav.c 1.110 + * cdda2wav/cdda2wav.1 1.33 + -interactive neu + +Fri May 22 13:06:01 2009 joerg + * cdda2wav/parse.c 1.6 + pusage() und "help" Kommando neu + +Thu May 21 15:14:20 2009 joerg + * cdrecord/version.h 1.35 + Version -> 2.01.01a60 + +Thu May 21 13:20:53 2009 joerg + * makefiles/RULES/MKLINKS 1.77 + i686-cygwin32_wow64-cl.rul i786-cygwin32_wow64-cl.rul i686-cygwin32_nt-cl64.rul i786-cygwin32_nt-cl64.rul neu + +Thu May 21 13:06:39 2009 joerg + * makefiles/RULES/cc-msc.rul 1.18 + Umstellung von -libpath: auf -L und "vor Ort" Anpassung in dieser Datei + +Thu May 21 12:46:53 2009 joerg + * makefiles/RULES/x86-interix-cl.rul 1.5 + * makefiles/RULES/i486-cygwin32_nt-cl.rul 1.8 + OSDEFS += -D_CRT_NONSTDC_NO_DEPRECATE neu + +Thu May 21 12:04:23 2009 joerg + * mkisofs/boot.c 1.22 + * mkisofs/write.c 1.121 + * cdrecord/drv_7501.c 1.26 + & before array beseitigt + +Thu May 21 11:53:41 2009 joerg + * libhfs_iso/low.c 1.8 + * libhfs_iso/volume.c 1.8 + * libhfs_iso/hfs.c 1.13 + & vor Arrays beseitigt + +Mon May 18 22:51:35 2009 joerg + * cdrecord/scsi_mmc.c 1.48 + erstes read_format_capacities() im Silent Modus abschicken und return wenn retval < 0 + +Sun May 17 17:36:54 2009 joerg + * makefiles/RULES/i686-cygwin32_wow64-cl64.rul 1.8 + include $(SRCROOT)/$(RULESDIR)/cc-msc64.rul + +Sun May 17 17:36:19 2009 joerg + * makefiles/RULES/cc-msc64.rul 1.18 + Umstellung auf include $(SRCROOT)/$(RULESDIR)/cc-msc.rul + VC=7_64 + +Sat May 16 17:10:20 2009 joerg + * makefiles/DEFAULTS/vc7_64-cygwin-setup 1.1 + date and time created 09/05/16 17:10:20 by joerg + +Sat May 16 17:10:02 2009 joerg + * makefiles/DEFAULTS/vc7_64-setup 1.1 + date and time created 09/05/16 17:10:02 by joerg + +Sat May 16 17:01:59 2009 joerg + * makefiles/DEFAULTS/vc7-setup 1.5 + * makefiles/DEFAULTS/vc7-cygwin-setup 1.5 + * makefiles/DEFAULTS/vc6-setup 1.4 + * makefiles/DEFAULTS/vc6-cygwin-setup 1.4 + Hinweise auf Synchronitaet zwischen vc?-setup und vc?-cygwin-setup + +Thu May 14 20:58:05 2009 joerg + * makefiles/RULES/rules.csw 1.4 + $(EMAIL:%=EMAIL=%) $(HOTLINE:%=HOTLINE=%) neu fuer "opencsw" + +Tue May 12 18:48:24 2009 joerg + * autoconf/configure.in 1.174 + * autoconf/xconfig.h.in 1.162 + getprogname()/setprogname() neu + +Thu May 7 00:37:49 2009 joerg + * libschily/checkerr.c 1.23 + errhidden() liefert nun auch mit E_WARN FALSE + +Tue May 5 23:25:20 2009 joerg + * cdda2wav/byteorder.h 1.8 + #ifndef _BYTEORDER_ -> #if !defined(_BYTEORDER_H) || !defined(MYBYTE_ORDER) wegen BeOS /boot/develop/headers/be/support/ByteOrder.h + +Tue May 5 23:17:53 2009 joerg + * libschily/checkerr.c 1.22 + Copyright -> 2009 + +Tue May 5 23:17:14 2009 joerg + * libschily/checkerr.c 1.21 + * include/schily/checkerr.h 1.10 + E_CHDIR neu + char *fname -> const char *fname + +Tue May 5 23:07:43 2009 joerg + * include/schily/libport.h 1.18 + Schreibfehler EXPORT -> extern + +Tue May 5 23:06:34 2009 joerg + * include/schily/fnmatch.h 8.7 + Schreibfehler HAVE_FNMATCH -> HAVE_FNMATCH_H + +Sun May 3 13:39:23 2009 joerg + * libschily/fexec.c 1.40 + fcntl(... F_SETFD, ...) und fcntl(... F_GETFD, ...) durch fd_setfd()/fd_getfd() ersetzt zur besseren Lesbarkeit + +Sat May 2 14:03:39 2009 joerg + * include/schily/shcall.h 1.2 + sqfun_t neu + +Fri May 1 23:42:03 2009 joerg + * include/schily/Makefile 1.14 + * include/schily/Mrel 1.14 + dlfcn.mk und shcall.mk neu + +Fri May 1 23:38:06 2009 joerg + * include/schily/shcall.h 1.1 + date and time created 09/05/01 23:38:06 by joerg + +Fri May 1 23:32:15 2009 joerg + * include/schily/shcall.mk 1.1 + date and time created 09/05/01 23:32:15 by joerg + +Fri May 1 16:59:21 2009 joerg + * autoconf/configure.in 1.173 + * autoconf/rules.cnf.in 1.21 + LIB_DL neu + +Fri May 1 16:01:52 2009 joerg + * include/schily/dlfcn.h 1.1 + date and time created 09/05/01 16:01:52 by joerg + +Fri May 1 15:59:17 2009 joerg + * include/schily/dlfcn.mk 1.1 + date and time created 09/05/01 15:59:17 by joerg + +Fri May 1 15:34:20 2009 joerg + * autoconf/configure.in 1.172 + * autoconf/xconfig.h.in 1.161 + dlopen() .... neu + +Wed Apr 22 20:22:20 2009 joerg + * cdda2wav/cdda2wav.c 1.109 + Informationen von cdda2wav -help verbessert + +Tue Apr 21 23:06:50 2009 joerg + * autoconf/acgeneral.m4 1.9 + * autoconf/configure.in 1.171 + * autoconf/xconfig.h.in 1.160 + AC_RCHECK_FUNCS() neu fuer fexecve und aehnliches + +Tue Apr 21 23:00:01 2009 joerg + * include/schily/schily.h 1.79 + HAVE_FEXECVE -> HAVE_RAW_FEXECVE und aehnlich + +Sun Apr 19 14:46:04 2009 joerg + * autoconf/config.sub 1.8 + * autoconf/config.guess 1.13 + * autoconf/autoconf 1.8 + * autoconf/acspecific.m4 1.9 + * autoconf/acgeneral.m4 1.8 + * libsiconv/sic_nls.c 1.10 + * libedc/edc_ecc_dec.c 1.10 + * cdda2wav/semshm.c 1.26 + * cdda2wav/resample.c 1.29 + * cdrecord/fifo.c 1.56 + * mkisofs/joliet.c 1.59 + * libschily/findinpath.c 1.4 + * libschily/comerr.c 1.34 + * libscg/scsihack.c 1.53 + * libscg/scsi-openserver.c 1.34 + * libscg/scsi-bsd.c 1.47 + * libscg/scsi-beos.c 1.28 + * cdda2wav/interface.h 1.23 + Copyright -> 2009 + +Sun Apr 19 14:22:05 2009 joerg + * cdda2wav/lconfig.h.in 1.8 + * cdda2wav/config.h 1.14 + * cdda2wav/byteorder.h 1.7 + Copyright J. Schilling neu + +Sun Apr 19 14:17:30 2009 joerg + * cdrecord/version.h 1.34 + Version -> 2.01.01a59 + +Fri Apr 17 19:28:08 2009 joerg + * libsiconv/sic_nls.c 1.9 + dup_iconv_sic() Initialisiert nun korrekt die neue Struktur statt der alten + +Thu Apr 16 19:12:15 2009 joerg + * cdda2wav/cdda2wav.c 1.108 + Peter Widow & Thomas Niederreiter haben keinen Code in cdda2wav, daher beseitigt + +Wed Apr 15 23:11:55 2009 joerg + * cdda2wav/cdda2wav.c 1.107 + RSA Copyright beseitigt, wir nutzen die OpenBSD Version von MD5 + +Wed Apr 15 02:55:52 2009 joerg + * libmdigest/sha2.c 1.1 + date and time created 09/04/15 02:55:52 by joerg + +Wed Apr 15 00:00:39 2009 joerg + * pkgdefs/CSW/CSWschilyutils/prototype 1.3 + pfbsh pfsh bosh jsh Links neu + +Tue Apr 14 23:58:13 2009 joerg + * pkgdefs/CSW/CSWschilybase/prototype_com 1.4 + include/scg/* neu + +Tue Apr 14 23:38:12 2009 joerg + * pkgdefs/CSW/CSWschilybase/prototype_com 1.3 + libcdrdeflt.a libscgcmd.a hostname.h stdio.h sysexits.h wctype.h neu + +Mon Apr 13 22:37:38 2009 joerg + * mkisofs/joliet.c 1.58 + Neuer Test HAVE_ICONV_CONST + +Mon Apr 13 22:10:53 2009 joerg + * autoconf/configure.in 1.170 + * autoconf/aclocal.m4 1.74 + * autoconf/xconfig.h.in 1.159 + AC_ICONV_CONST / HAVE_ICONV_CONST fuer iconv(iconv_t, const char **, neu + +Mon Apr 13 13:36:18 2009 joerg + * mkisofs/mkisofs.c 1.244 + Schreibfehler (fehlendes " bei charset = "cp437") + +Sun Apr 12 21:41:21 2009 joerg + * include/schily/wctype.h 1.2 + wctype.h nur includieren wenn USE_WCHAR definiert ist + +Sun Apr 12 20:45:12 2009 joerg + * include/schily/Makefile 1.13 + * include/schily/Mrel 1.13 + wctype.mk neu + +Sun Apr 12 20:14:05 2009 joerg + * include/schily/wctype.h 1.1 + date and time created 09/04/12 20:14:05 by joerg + +Sun Apr 12 20:06:05 2009 joerg + * include/schily/wchar.h 1.6 + ctype.h beseitigt und nach wctype.h bewegt + Sonstige Includes immer durchfuehren und am Anfang + +Sun Apr 12 15:11:05 2009 joerg + * include/schily/wctype.mk 1.1 + date and time created 09/04/12 15:11:05 by joerg + +Sat Apr 11 22:21:58 2009 joerg + * cdrecord/drv_dvdplus.c 1.55 + Pys size nehmen bei 'HL-DT-ST' 'DVD-RAM GH22NP20' '1.02' wenn dsp->ds_maxblocks == 0 + +Sat Apr 11 17:56:42 2009 joerg + * cdrecord/README.compile 1.18 + INS_BASE= besser beschrieben, DESTDIR= neu beschrieben + +Sat Apr 11 16:08:11 2009 joerg + * makefiles/RULES/os-cygwin32_wow64.id 1.6 + * makefiles/RULES/os-cygwin_nt-5.2-wow64.id 1.5 + nt -> wow64 + +Sat Apr 11 15:57:39 2009 joerg + * makefiles/RULES/os-cygwin32_wow64.def 1.3 + CYGWIN32_NT -> CYGWIN32_WOW64 + +Sat Apr 11 00:47:52 2009 joerg + * scgcheck/scgcheck.1 1.13 + * cdrecord/readcd.1 1.32 + * cdrecord/cdrecord.1 1.124 + diverse - -> \- + +Sat Apr 11 00:00:00 2009 joerg + * cdda2wav/cdda2wav.1 1.32 + \& vor . am Anfang der Zeile + +Fri Apr 10 23:16:10 2009 joerg + * cdda2wav/Changelog 1.2 + * cdda2wav/cdda2wav.c 1.106 + * cdda2wav/README 1.2 + * cdda2wav/resample.c 1.28 + * cdda2wav/FAQ 1.2 + * cdda2wav/cdda2wav.1 1.31 + * libscg/scsi-openserver.c 1.33 + seperate -> separate + +Fri Apr 10 23:06:18 2009 joerg + * libedc/edc_ecc_dec.c 1.9 + st 0+0io 0pf+0w + +Fri Apr 10 22:48:43 2009 joerg + * cdrecord/LIMITATIONS 1.3 + compatibilty -> compatibility + +Fri Apr 10 20:48:25 2009 joerg + * libschily/movebytes.c 1.17 + * cdrecord/drv_philips.c 1.79 + * cdda2wav/toc.c 1.81 + adress -> address + +Fri Apr 10 20:24:34 2009 joerg + * cdrecord/COPYING 1.9 + libvms neu + +Fri Apr 10 17:55:22 2009 joerg + * include/schily/utypes.h 1.27 + Intptr_t und UIntptr_t geht nun auch auf WIN64, denn dort ist sizeof (char *) == sizeof (long long) + +Fri Apr 10 15:55:20 2009 joerg + * include/schily/mconfig.h 1.64 + HAVE_LONG_LONG neu als Alternative zu HAVE___INT64 statt des Oberbegriffes HAVE_LONGLONG + +Fri Apr 10 15:44:13 2009 joerg + * cdrecord/COPYING 1.8 + David Huang's btcflash.c (public domain) erwähnen + +Wed Apr 8 20:23:58 2009 joerg + * include/schily/stdio.h 1.2 + #define fseek fseeko #define ftell ftello für besseren Largefile Support + +Wed Apr 8 20:17:49 2009 joerg + * btcflash/skel.c 1.19 + * btcflash/btcflash.c 1.15 + * scgskeleton/skel.c 1.16 + * scgskeleton/doit.c 1.27 + stdio.h -> schily/stdio.h wegen ftello()/fseeko() + +Wed Apr 8 00:01:06 2009 joerg + * makefiles/RULES/os-cygwin_nt-6.0.id 1.5 + * makefiles/RULES/os-cygwin_nt-6.1.id 1.5 + Neu fuer Win Vista & Win 7 + +Tue Apr 7 23:59:13 2009 joerg + * mkisofs/mkisofs.c 1.243 + Bessere Fehlermeldungen fuer iconv Probleme + +Tue Apr 7 23:57:19 2009 joerg + * mkisofs/mkisofs.h 1.136 + * mkisofs/defaults.h 1.23 + * mkisofs/rock.c 1.59 + Copyright -> 2009 + +Sat Apr 4 22:06:07 2009 joerg + * pkgdefs/CSW/CSWpxupgrade/Makefile 1.2 + * pkgdefs/CSW/CSWsccs/Makefile 1.3 + * pkgdefs/CSW/CSWsmake/Makefile 1.2 + * pkgdefs/CSW/CSWved/Makefile 1.2 + * pkgdefs/CSW/CSWstar/Makefile 1.2 + * pkgdefs/CSW/CSWcdrtools/Makefile 1.2 + VERSION direkt aus xxx -version extrahieren + +Fri Mar 27 00:00:13 2009 joerg + * cdrecord/cdtext.c 1.14 + Tests fuer textfile mit Leange 0 neu um eine Endlosschleife beim Schreiben des TOC zu vermeiden + +Tue Mar 24 22:10:14 2009 joerg + * cdrecord/cdrecord.c 1.380 + Kommentar fuer diverse Debug/Verbose Variablen erklaeren nun die dazugehoerigen Optionen + +Sun Mar 22 22:46:07 2009 joerg + * cdrecord/cdrecord.c 1.379 + checkdsize() gibt nun bei CD Ueberlauf statt "disk" "CD"aus + checkdsize() erlaubt nun -ignsize/-force bei dsp->ds_maxblocks == 0 + +Sun Mar 22 21:36:14 2009 joerg + * makefiles/DEFAULTS/Defaults.linux 1.6 + * makefiles/DEFAULTS_ENG/Defaults.linux 1.6 + OSDEFS += -D_GNU_SOURCE neu + +Thu Mar 19 00:42:27 2009 joerg + * cdda2wav/cdda2wav.c 1.105 + * cdda2wav/cdda2wav.1 1.30 + -output-endianess kann jetzt auch "machine" bzw. "host" fuer native Host Byteorder als raw Output + +Thu Mar 19 00:38:15 2009 joerg + * cdda2wav/byteorder.h 1.6 + #include neu + +Mon Mar 9 11:23:06 2009 joerg + * cdrecord/version.h 1.33 + Version -> 2.01.01a58 + +Thu Feb 26 22:36:28 2009 joerg + * cdda2wav/lconfig.h.in 1.7 + * cdda2wav/configure.in 1.10 + os2.h os2me.h strtoul() -> globale autoconfiguration + +Thu Feb 26 22:32:57 2009 joerg + * autoconf/xconfig.h.in 1.158 + * autoconf/configure.in 1.169 + AC_CHECK_HEADERS(os2me.h) neu + +Thu Feb 26 22:30:15 2009 joerg + * autoconf/xconfig.h.in 1.157 + * autoconf/configure.in 1.168 + AC_CHECK_HEADERS(os2.h) neu + +Tue Feb 24 22:22:41 2009 joerg + * cdda2wav/MKLINKS 1.4 + Symlink ../cdrecord/misc.c wird nicht mehr benoetigt + +Tue Feb 24 22:22:09 2009 joerg + * mkisofs/mkisofs.8 1.128 + Bessere Beschreibung fuer -abstract -biblio -copyright + +Sun Feb 22 13:27:51 2009 joerg + * mkisofs/rock.c 1.58 + Ein Symlinkziel das auf ein oder mehreren '/' endet wird nun korrekt behandelt + +Fri Feb 20 21:34:44 2009 joerg + * mkisofs/diag/isoinfo.c 1.70 + Korrekte Behandlung von SL_ROOT Eintraegen + Mehrfache "/" im Namen nicht mehr entfernen + +Fri Feb 20 21:32:11 2009 joerg + * mkisofs/rock.c 1.57 + /etc////passwd hat nun nicht mehr 3 SL_ROOT Eintraege sondern 3 leere Pfadkomponenten + +Tue Feb 17 22:58:13 2009 joerg + * include/schily/maxpath.h 1.11 + * include/schily/dirent.h 1.27 + DIRSIZ(dp) nicht verwenden + NAME_MAX aus limits.h neu fuer max. namelength + +Tue Feb 17 22:39:57 2009 joerg + * cdrecord/cdrecord.c 1.378 + Bessere Warnungen wenn "CDR_FORCERAWSPEED=" oder "CDR_FORCESPEED=" gesetzt sind + +Tue Feb 17 00:53:30 2009 joerg + * include/schily/maxpath.h 1.10 + * autoconf/xconfig.h.in 1.156 + Copyright -> 2009 + +Tue Feb 17 00:47:15 2009 joerg + * mkisofs/defaults.h 1.22 + ATARI-MiNT Syllable AMIGA neu + +Tue Feb 17 00:36:08 2009 joerg + * cdda2wav/cdda2wav.c 1.104 + write_md5_info() nicht aufrufen wenn -no-infofile angegeben wurde + +Fri Feb 13 22:50:26 2009 joerg + * include/schily/maxpath.h 1.9 + Definitionen fuer NAME_MAX und MAXNAMLEN neu fuer bessere Portabilitaet von z.B. sh + +Fri Feb 13 22:48:03 2009 joerg + * autoconf/configure.in 1.167 + * autoconf/xconfig.h.in 1.155 + Test fuer sigaltstack() neu (fuer Bourne Shell) + +Fri Feb 13 22:04:02 2009 joerg + * mkisofs/diag/isoinfo.8 1.9 + -debug dokumentiert + +Tue Feb 10 22:48:53 2009 joerg + * libschily/fexec.c 1.39 + kleinere GCC Warnungen beseitigt + +Tue Feb 10 22:48:24 2009 joerg + * libschily/format.c 1.47 + Cut/Paste Schreibfehler beseitigt: SIZEOF_SIZE_T -> SIZEOF_PTRDIFF_T + +Tue Feb 10 22:46:15 2009 joerg + * makefiles/RULES/MKLINKS 1.76 + sh3-linux, sh4-linux, sh4a-linux neu + +Tue Feb 10 22:17:14 2009 joerg + * autoconf/aclocal.m4 1.73 + * autoconf/configure.in 1.166 + * autoconf/acspecific.m4 1.8 + * autoconf/acgeneral.m4 1.7 + AC_CHECK_TYPE nimmt nun statt STDC_HEADERS #if HAVE_STDDEF_H || STDC_HEADERS + +Sun Feb 8 00:15:42 2009 joerg + * libschily/fexec.c 1.38 + av[0] bei BeOS wieder reparieren + +Sun Feb 8 00:05:27 2009 joerg + * libschily/fexec.c 1.37 + enofile(t) vom bsh uebernommen + +Sat Feb 7 22:34:05 2009 joerg + * cdrecord/fifo.c 1.55 + Haiku Kommentar + +Sat Feb 7 22:33:08 2009 joerg + * cdda2wav/semshm.c 1.25 + * cdda2wav/config.h 1.13 + * cdda2wav/cdda2wav.c 1.103 + Neuer autocof Test fuer HAVE_BEOS_AREAS damit es auch mit Haiku funktioniert + +Sat Feb 7 19:42:17 2009 joerg + * libschily/findinpath.c 1.3 + enofile() Makro fuer fexec prueft nun auch auf EISDIR + +Sat Feb 7 13:55:21 2009 joerg + * libscg/scsi-beos.c 1.27 + UMstallung auf #include fuer Haiku + +Fri Feb 6 00:29:16 2009 joerg + * mkisofs/defaults.h 1.21 + #define SYSTEM_ID_DEFAULT "Haiku" neu + +Thu Feb 5 23:56:22 2009 joerg + * libschily/comerr.c 1.33 + #ifdef __BEOS__ -> #if defined(__BEOS__) || defined(__HAIKU__) + +Thu Feb 5 22:34:54 2009 joerg + * libscg/scsi-beos.c 1.26 + Haiku hat keine "lun" bei ATAPI + +Thu Feb 5 19:47:26 2009 joerg + * cdrecord/cdrecord.c 1.377 + Schreibfehler Asuming -> Assuming + +Thu Feb 5 01:28:08 2009 joerg + * autoconf/xconfig.h.in 1.154 + * autoconf/configure.in 1.165 + HAVE_SYS_ACCT_H neu + +Thu Feb 5 00:34:22 2009 joerg + * makefiles/RULES/bepc-haiku-gcc.rul 1.3 + * makefiles/RULES/bepc-haiku-cc.rul 1.3 + LIB_SOCKET= -lnetwork + +Wed Feb 4 23:27:13 2009 joerg + * autoconf/config.guess 1.12 + * autoconf/config.sub 1.7 + Haiku Support neu + +Wed Feb 4 23:13:43 2009 joerg + * makefiles/RULES/MKLINKS 1.75 + bemac-haiku-*cc.rul neu + +Wed Feb 4 22:37:28 2009 joerg + * makefiles/RULES/bepc-haiku-gcc.rul 1.2 + * makefiles/RULES/bepc-haiku-cc.rul 1.2 + -lsocket -lbind wird nicht mehr benoetigt + +Wed Feb 4 22:15:53 2009 joerg + * autoconf/xconfig.h.in 1.153 + * autoconf/configure.in 1.164 + HAVE_SYSEXITS_H neu + +Wed Feb 4 22:06:58 2009 joerg + * include/schily/Mrel 1.12 + * include/schily/Makefile 1.12 + sysexits.h neu + +Wed Feb 4 22:05:38 2009 joerg + * include/schily/sysexits.mk 1.1 + date and time created 09/02/04 22:05:38 by joerg + +Wed Feb 4 22:04:10 2009 joerg + * include/schily/sysexits.h 1.4 + EX_NOTFOUND neu + +Wed Feb 4 22:02:46 2009 joerg + * include/schily/sysexits.h 1.3 + Umbau auf #include und #ifdef HAVE_SYSEXITS_H + +Wed Feb 4 21:49:36 2009 joerg + * include/schily/sysexits.h 1.2 + Umbau auf BSD-2 Lizens vom. 22.Juli 1999 William Hoskins Director, Office of Technology Licensing University of California, Berkeley + Siehe: ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change + +Wed Feb 4 21:48:33 2009 joerg + * include/schily/sysexits.h 1.1 + date and time created 09/02/04 21:48:33 by joerg + +Wed Feb 4 00:42:38 2009 joerg + * libscg/scsihack.c 1.52 + * libscg/scsi-beos.c 1.25 + Haiku Support neu + +Wed Feb 4 00:31:38 2009 joerg + * makefiles/DEFAULTS_ENG/Defaults.haiku 1.1 + date and time created 09/02/04 00:31:38 by joerg + +Wed Feb 4 00:31:00 2009 joerg + * makefiles/DEFAULTS/Defaults.haiku 1.1 + date and time created 09/02/04 00:31:00 by joerg + +Tue Feb 3 23:09:12 2009 joerg + * makefiles/RULES/bepc-haiku-cc.rul 1.1 + * makefiles/RULES/bepc-haiku-gcc.rul 1.1 + date and time created 09/02/03 23:09:12 by joerg + +Tue Feb 3 23:04:44 2009 joerg + * makefiles/RULES/os-haiku.id 1.1 + * makefiles/RULES/os-haiku.def 1.1 + date and time created 09/02/03 23:04:44 by joerg + +Tue Feb 3 22:14:34 2009 joerg + * cdrecord/readcd.1 1.31 + -w Option besser beschrieben + +Mon Feb 2 22:17:27 2009 joerg + * autoconf/autoconf 1.7 + Auch "m4" nach gm4 testen + +Mon Feb 2 00:02:53 2009 joerg + * makefiles/RULES/i586-syllable-cc.rul 1.3 + * makefiles/RULES/i586-syllable-gcc.rul 1.3 + Kommandos sind doch in /bin + +Sun Feb 1 15:56:37 2009 joerg + * makefiles/RULES/i586-syllable-gcc.rul 1.2 + * makefiles/RULES/i586-syllable-cc.rul 1.2 + /usr/indexes/bin fuer alle Kommandos + +Sun Feb 1 15:30:18 2009 joerg + * libscg/scsi-syllable.c 1.1 + date and time created 09/02/01 15:30:18 by joerg + +Sun Feb 1 14:39:51 2009 joerg + * libscg/scsihack.c 1.51 + scsi-syllable.c neu + +Sun Feb 1 13:04:50 2009 joerg + * makefiles/RULES/i586-syllable-cc.rul 1.1 + * makefiles/RULES/i586-syllable-gcc.rul 1.1 + date and time created 09/02/01 13:04:50 by joerg + +Sun Feb 1 12:56:59 2009 joerg + * makefiles/RULES/os-syllable.id 1.1 + * makefiles/RULES/os-syllable.def 1.1 + date and time created 09/02/01 12:56:59 by joerg + +Sun Feb 1 12:51:06 2009 joerg + * makefiles/DEFAULTS/Defaults.syllable 1.1 + date and time created 09/02/01 12:51:06 by joerg + +Sun Feb 1 12:50:58 2009 joerg + * makefiles/DEFAULTS_ENG/Defaults.syllable 1.1 + date and time created 09/02/01 12:50:58 by joerg + +Fri Jan 30 00:50:34 2009 joerg + * libedc/edc_ecc_dec.c 1.8 + MAXLOOPS kann nun von aussen ueberschrieben werden + +Fri Jan 30 00:49:40 2009 joerg + * cdrecord/version.h 1.32 + Version -> 2.01.01a57 + +Thu Jan 29 23:13:22 2009 joerg + * cdrecord/README.cdplus 1.2 + Hinweis auf Probleme mit -dao und 2. -multi session + +Thu Jan 29 23:03:45 2009 joerg + * cdda2wav/cdda2wav.c 1.102 + Fehlerhafte Adressrechnung auf he_fill_buffer mit separater char * Variable korrigiert + +Thu Jan 29 23:02:09 2009 joerg + * cdrecord/Makefile.dfl 1.3 + INSFLAGS= -noclobber neu + +Thu Jan 29 21:31:35 2009 joerg + * makefiles/RULES/rules.ins 1.20 + $(INSFLAGS) neu fuer install-sh -noclobber + +Thu Jan 29 21:31:01 2009 joerg + * conf/install-sh 1.11 + -noclobber neu + +Thu Jan 29 21:17:25 2009 joerg + * conf/install-sh 1.10 + -help neu + +Tue Jan 27 22:07:25 2009 joerg + * libscg/scsi-atari.c 1.2 + Helptext ueberarbeitet + +Mon Jan 26 21:36:53 2009 joerg + * libscg/scsihack.c 1.50 + scsi-atari.c neu + +Mon Jan 26 21:36:17 2009 joerg + * libscg/scsi-atari.c 1.1 + date and time created 09/01/26 21:36:17 by joerg + +Sat Jan 24 22:09:08 2009 joerg + * cdda2wav/toc.c 1.80 + * cdda2wav/scsi_cmds.c 1.43 + CD-Text wird nun nicht mehr in den TOC Buffer sondern in den SCSI Buffer gelesen damit genug Platz ist + Korrekte Berechtnung der CD-Text Datenlaenge + +Sat Jan 24 19:17:28 2009 joerg + * cdda2wav/interface.h 1.22 + * cdda2wav/interface.c 1.65 + bufTOCsize neu als Groesse fuer bufferTOC + +Sat Jan 24 19:12:16 2009 joerg + * cdda2wav/cdda2wav.c 1.101 + Neuer Kommentar mit Warnung fuer die CD-Text Daten + +Sat Jan 24 19:11:33 2009 joerg + * cdda2wav/global.h 1.24 + buf fuer SCSI buffer neu + +Sat Jan 24 12:16:48 2009 joerg + * cdda2wav/cdda2wav.c 1.100 + Coredump beim ^C während des scg_open() verhindern + +Fri Jan 23 00:58:14 2009 joerg + * cdda2wav/scsi_cmds.h 1.17 + * cdda2wav/scsi_cmds.c 1.42 + * cdda2wav/interface.c 1.64 + Unbenutztes unsigned char *cmd beseitigt (war aus der pre-scg Zeit) + +Wed Jan 21 23:21:48 2009 joerg + * cdrecord/version.h 1.31 + Version -> 2.01.01a56 + +Wed Jan 21 00:33:45 2009 joerg + * cdrecord/cdrecord.c 1.376 + Next Writable Address nur holen wenn F_MULTI & DSF_DVD, weil sonst cdrecord -sao -multi nicht mehr geht (LW mag bei SAO das SCSI Kommando nicht) + +Wed Jan 21 00:29:26 2009 joerg + * libscg/scsi-bsd.c 1.46 + ccb_flags -> flags wegen globaler Variable "ccb_flags" auf FreeBSD + seterrno(0) vor den Oeffnen des SCSI Subsystems + +Tue Jan 20 23:53:59 2009 joerg + * cdda2wav/cdda2wav.1 1.29 + * cdda2wav/cdda2wav.c 1.99 + -v list kann nun auch ! und not wie star + +Tue Jan 20 20:41:54 2009 joerg + * cdrecord/readcd.c 1.101 + file_raise(f, FALSE); auf das Ausgangsfile + Bei Schreibfehlern im Ausgangsfile wird edifiniert ein exitcode != 0 erzeugt + +Mon Jan 19 22:38:14 2009 joerg + * mkisofs/multi.c 1.91 + Copyright -> 2009 + +Mon Jan 19 22:37:14 2009 joerg + * mkisofs/inode.c 1.11 + "Implementation botch..." Ausgabe nun mit dezimaler inode Nummer + +Mon Jan 19 22:36:40 2009 joerg + * mkisofs/multi.c 1.90 + Terminate SUSP "ST" wird nun ueberall honoriert + +Sun Jan 18 22:13:30 2009 joerg + * cdda2wav/scsi_cmds.c 1.41 + Umstellung auf read full toc mmc mit zuerst 4 Bytes und dann der richtigen Laenge weil 'HP ' 'CD-Writer+ 9600 ' '1.0a' mit der grossen Laenge nicht klarkommt + +Sat Jan 17 15:35:36 2009 joerg + * mkisofs/mkisofs.c 1.242 + %.*s mit p - fmt (ptrdiff_t) casten auf int + strlen Resultat fuer %d -> (Llong) strlen + %lld + +Sat Jan 17 15:30:45 2009 joerg + * mkisofs/diag/isoinfo.c 1.69 + * mkisofs/diag/isodump.c 1.40 + * mkisofs/diag/isovfy.c 1.39 + Support fuer "ST" (Terminate SUSP) neu + Flag Vergleich nur noch durchfuehren, wenn eine RR Signatur gefunden wurde + +Sat Jan 17 13:50:13 2009 joerg + * cdda2wav/cdda2wav.c 1.98 + Unnoetige Variable retval2 beseitigt + +Sat Jan 17 13:48:07 2009 joerg + * cdda2wav/scsi_cmds.c 1.40 + struct tocdesc ist nun eine flache Struktur wegen struct tail padding auf MC-680x0 Kompilern + +Sat Jan 17 12:47:05 2009 joerg + * cdda2wav/global.h 1.23 + * cdda2wav/cdda2wav.c 1.97 + * cdda2wav/cdda2wav.1 1.28 + * cdda2wav/interface.c 1.63 + Neue Optionen -debug -debug-scsi -kdebug -kdebug-scsi -kd + +Wed Jan 14 19:59:26 2009 joerg + * cdrecord/drv_dvdplus.c 1.54 + 'TSSTcorp' 'CDDVDW SE-S224Q ' 'TS01' liefert bei unformatierter DVD+RW fuer dip->disk_type nicht SES_UNDEF + +Wed Jan 14 19:45:50 2009 joerg + * cdrecord/scsi_mmc.c 1.47 + * cdrecord/cdrecord.h 1.198 + get_ses_type() neu + +Wed Jan 14 19:44:37 2009 joerg + * mkisofs/apple.c 1.36 + off_t Parameter fuer %llu auf Llong casten + +Wed Jan 14 19:44:03 2009 joerg + * scgcheck/scgcheck.c 1.17 + * include/schily/types.h 1.4 + Copyright -> 2009 + +Wed Jan 14 19:38:54 2009 joerg + * scgcheck/Makefile 1.12 + * scgskeleton/Makefile 1.13 + * cdda2wav/Makefile 1.23 + * cdrecord/readcd.mk 1.17 + * btcflash/Makefile 1.10 + Weitere Abhaengigkeit fuer MKLINKS weil gmake Abhaengigkeiten in falscher Reihenfolge auswertet + +Tue Jan 13 20:13:12 2009 joerg + * include/schily/schily.h 1.78 + * include/schily/wchar.h 1.5 + * include/schily/find.h 1.20 + * include/schily/walk.h 1.25 + * include/schily/dirent.h 1.26 + #include -> #include + Copyright -> 2009 + +Tue Jan 13 20:11:48 2009 joerg + * cdrecord/cdrecord.c 1.375 + * libschily/spawn.c 1.23 + * libschily/format.c 1.46 + * libschily/fexec.c 1.36 + * libscg/scsiopen.c 1.100 + * libscg/scsi-remote.c 1.28 + Copyright -> 2009 + +Mon Jan 12 23:19:15 2009 joerg + * cdrecord/cdrecord.c 1.374 + Diverse Schreibfehler: Fehlendes \n oder . am Ende von Fehlermeldungen + +Sun Jan 11 00:47:42 2009 joerg + * libschily/format.c 1.45 + %z und %t neu + +Sun Jan 11 00:30:26 2009 joerg + * include/schily/types.h 1.3 + #include fuer ptrdiff_t, wchar_t, size_t neu + +Sun Jan 11 00:18:09 2009 joerg + * autoconf/xconfig.h.in 1.152 + * autoconf/configure.in 1.163 + SIZEOF_SIZE_T SIZEOF_SSIZE_T SIZEOF_PTRDIFF_T neu + +Sun Jan 11 00:17:26 2009 joerg + * autoconf/acgeneral.m4 1.6 + AC_CHECK_SIZEOF includiert nun auch stddef.h und sys/types.h + +Sat Jan 10 20:15:46 2009 joerg + * mkisofs/apple.c 1.35 + Unbenutzte Variable size in get_xhfs_info() beseitigt + +Sat Jan 10 19:41:59 2009 joerg + * cdrecord/drv_mmc.c 1.193 + getmode[]/setmode[] -> pgetmode[]/psetmode[] wegen getmode()/setmode() unter Mas OS X + +Sat Jan 10 19:26:56 2009 joerg + * mkisofs/diag/isovfy.c 1.38 + * mkisofs/diag/isodump.c 1.39 + * mkisofs/diag/dump.c 1.35 + * mkisofs/diag/isoinfo.c 1.68 + * mkisofs/diag/isodebug.c 1.24 + Copyright -> 2008 + +Sat Jan 10 19:25:44 2009 joerg + * mkisofs/diag/isodebug.c 1.23 + * mkisofs/diag/dump.c 1.34 + * mkisofs/diag/isodump.c 1.38 + * mkisofs/diag/isovfy.c 1.37 + * mkisofs/diag/isoinfo.c 1.67 + * scgcheck/scgcheck.c 1.16 + * libscg/scsi-remote.c 1.27 + * libscg/scsiopen.c 1.99 + devname[] -> sdevname[] wegen devname() unter Mas OS X + +Wed Jan 7 19:20:15 2009 joerg + * makefiles/RULES/cc-hp64.rul 1.7 + * makefiles/RULES/cc-hp.rul 1.7 + Neue Tests AC_HP_CC_ANSI_OPT AC_HP_CC_OPT_OPT AC_HP_CC_GPROF_OPT + +Wed Jan 7 19:13:44 2009 joerg + * mkisofs/mkisofs.8 1.127 + Schreibfehler if the CD -> of the CD + +Wed Jan 7 19:11:40 2009 joerg + * autoconf/configure.in 1.162 + * autoconf/aclocal.m4 1.72 + * autoconf/rules.cnf.in 1.20 + AC_SUN_CC64_OPT Test hat auf HP-UX ein a.out File hinterlassen, darum nun cc Aufruf mit -c + Neue Tests AC_HP_CC_ANSI_OPT AC_HP_CC_OPT_OPT AC_HP_CC_GPROF_OPT + Die mlock() und mlockall() Tests haben unter HP-UX core Files erzeugt, nun wird das geloescht. + +Tue Jan 6 23:07:12 2009 joerg + * autoconf/configure.in 1.161 + * autoconf/rules.cnf.in 1.19 + * makefiles/RULES/cc-sunpro64.rul 1.11 + * autoconf/aclocal.m4 1.71 + CC64_OPT -> SUN_CC64_OPT + +Tue Jan 6 21:18:32 2009 joerg + * libschily/getav0.c 1.22 + if (fp->fr_savpc == NULL) -> if (fp->fr_savpc == 0) wegen unsinniger NULL Konstante unter Linux + +Tue Jan 6 21:11:36 2009 joerg + * include/schily/unistd.h 1.20 + extern char **environ; bei #ifndef HAVE_ENVIRON_DEF neu + +Tue Jan 6 21:10:53 2009 joerg + * include/schily/stkframe.h 1.12 + fr_savpc ist nun Intptr_t wegen 64 Bit Support + +Tue Jan 6 18:26:22 2009 joerg + * autoconf/xconfig.h.in 1.151 + * autoconf/configure.in 1.160 + * autoconf/aclocal.m4 1.70 + Test auf environ in unistd.h neu + +Mon Jan 5 20:21:57 2009 joerg + * include/schily/schily.h 1.77 + #iclude wenn RENAME_GETLINE + +Mon Jan 5 20:19:05 2009 joerg + * include/schily/Mrel 1.11 + * include/schily/Makefile 1.11 + stdio.mk neu + +Mon Jan 5 20:18:33 2009 joerg + * include/schily/stdio.mk 1.1 + * include/schily/stdio.h 1.1 + date and time created 09/01/05 20:18:33 by joerg + +Mon Jan 5 01:08:58 2009 joerg + * libschily/spawn.c 1.22 + * libschily/fexec.c 1.35 + Fehlerhafte "ac" Berechnung korrigiert + +Sun Jan 4 20:45:51 2009 joerg + * cdrecord/drv_sony.c 1.84 + * cdrecord/drv_dvdplus.c 1.53 + * cdda2wav/sndconfig.c 1.30 + * cdda2wav/cdda2wav.c 1.96 + Copyright -> 2009 + +Sun Jan 4 20:30:28 2009 joerg + * cdrecord/drv_sony.c 1.83 + flush_sony() und set_wr_parameter_sony() auskommentiert solange es nicht benutzt wird + +Sun Jan 4 20:26:49 2009 joerg + * cdrecord/drv_dvdplus.c 1.52 + dummy_plextor() auskommentiert bis es benutzt wird + +Sun Jan 4 17:38:38 2009 joerg + * cdda2wav/cdda2wav.c 1.95 + RestrictPlaybackRate() wird nur benoetigt mit ECHO_TO_SOUNDCARD + +Sun Jan 4 13:12:11 2009 joerg + * libedc/edc_ecc_dec.c 1.7 + correct_PSUB() und correct_QSUB() auskommentiert bis es benoetigt wird + +Sun Jan 4 12:59:42 2009 joerg + * libedc/edc_ecc.c 1.27 + do_decode_L1(), do_decode_L2(), decode_L1_P(), decode_L1_Q() auskommentiert solange Implementierung nicht fertig + +Sun Jan 4 12:44:14 2009 joerg + * cdda2wav/sndconfig.c 1.29 + #ifdefs in open_snd_device() korrigiert wegen GCC warning: unused variable `fl' auf HP-UX + +Tue Dec 30 14:29:50 2008 joerg + * cdrecord/cdrecord.dfl 1.7 + Verbesserter Kommentar + +Tue Dec 30 14:06:53 2008 joerg + * cdrecord/version.h 1.30 + Version -> 2.01.01a55 + +Mon Dec 29 14:12:39 2008 joerg + * cdrecord/scsi_scan.c 1.32 + select_unit() erstmal auskommentiert + +Mon Dec 29 14:07:38 2008 joerg + * cdda2wav/toc.c 1.79 + have_hiddenAudioTrack wird noch nicht benoetigt + +Mon Dec 29 14:03:22 2008 joerg + * cdda2wav/parse.c 1.5 + Zur Zeit unbenutzte Funktionen auskommentiert + +Mon Dec 29 13:56:55 2008 joerg + * cdrecord/cdtext.c 1.13 + six2eight() mit #ifdef __needed__ auskommentiert + +Mon Dec 29 13:54:36 2008 joerg + * cdrecord/subchan.c 1.24 + DO_SUBINTERLEAVE neu + +Mon Dec 29 13:50:03 2008 joerg + * cdrecord/cue.c 1.36 + #ifdef __needed__ fuer unbenoetigte Funktionen + +Sat Dec 27 20:21:15 2008 joerg + * makefiles/RULES/rules.csw 1.3 + * makefiles/RULES/power-macintosh-darwin-cc.rul 1.14 + * makefiles/RULES/power-macintosh-darwin-gcc.rul 1.14 + * makefiles/RULES/rules.tpk 1.7 + * makefiles/RULES/rules.drv 1.8 + * makefiles/RULES/rules.pkg 1.5 + * makefiles/RULES/rules.ins 1.19 + $(INS_BASE) -> $(INSBASE) + +Sat Dec 27 20:19:44 2008 joerg + * makefiles/RULES/rules1.top 1.42 + INSBASE= $(INS_BASE:%/=%) neu + +Sat Dec 27 20:15:44 2008 joerg + * rscsi/Makefile.dfl 1.2 + * cdrecord/Makefile.dfl 1.2 + INSBASE= $(INS_RBASE:%/=%) neu + +Fri Dec 26 22:46:29 2008 joerg + * makefiles/DEFAULTS_ENG/Defaults.mingw32_nt 1.4 + * makefiles/DEFAULTS_ENG/Defaults.qnx 1.4 + * makefiles/DEFAULTS_ENG/Defaults.openbsd 1.4 + * makefiles/DEFAULTS_ENG/Defaults.osf1 1.4 + * makefiles/DEFAULTS_ENG/Defaults.mac-os10 1.3 + * makefiles/DEFAULTS_ENG/Defaults.nextstep 1.4 + * makefiles/DEFAULTS_ENG/Defaults.netbsd 1.4 + * makefiles/DEFAULTS_ENG/Defaults.rhapsody 1.3 + * makefiles/DEFAULTS_ENG/Defaults.ms-dos 1.4 + * makefiles/DEFAULTS_ENG/Defaults.sunos4 1.4 + * makefiles/DEFAULTS_ENG/Defaults.linux 1.5 + * makefiles/DEFAULTS_ENG/Defaults.irix 1.4 + * makefiles/DEFAULTS_ENG/Defaults.sunos5 1.4 + * makefiles/DEFAULTS_ENG/Defaults.newsos6 1.4 + * makefiles/DEFAULTS_ENG/Defaults.unixware 1.3 + * makefiles/DEFAULTS_ENG/Defaults.hp-ux 1.4 + * makefiles/DEFAULTS_ENG/Defaults.os2 1.4 + * makefiles/DEFAULTS_ENG/Defaults.interix 1.5 + * makefiles/DEFAULTS_ENG/Defaults.openserver 1.3 + * makefiles/DEFAULTS_ENG/Defaults.gnu 1.4 + * makefiles/DEFAULTS_ENG/Defaults.freemint 1.3 + * makefiles/DEFAULTS_ENG/Defaults.darwin 1.3 + * makefiles/DEFAULTS_ENG/Defaults.domainos 1.4 + * makefiles/DEFAULTS_ENG/Defaults.amigaos 1.4 + * makefiles/DEFAULTS_ENG/Defaults.bsd-os 1.4 + * makefiles/DEFAULTS_ENG/Defaults.dragonfly 1.5 + * makefiles/DEFAULTS_ENG/Defaults.cygwin32_wow64 1.5 + * makefiles/DEFAULTS_ENG/Defaults.beos 1.4 + * makefiles/DEFAULTS_ENG/Defaults.cygwin32_nt 1.5 + * makefiles/DEFAULTS_ENG/Defaults.bsd-os3 1.4 + * makefiles/DEFAULTS_ENG/Defaults.aix 1.4 + * makefiles/DEFAULTS_ENG/Defaults.freebsd 1.5 + * makefiles/DEFAULTS_ENG/Defaults.dgux3 1.4 + * makefiles/DEFAULTS_ENG/Defaults.dgux4 1.4 + * makefiles/DEFAULTS_ENG/Defaults.dgux 1.4 + * makefiles/DEFAULTS/Defaults.rhapsody 1.3 + * makefiles/DEFAULTS/Defaults.unixware 1.3 + * makefiles/DEFAULTS/Defaults.sunos5 1.4 + * makefiles/DEFAULTS/Defaults.sunos4 1.4 + * makefiles/DEFAULTS/Defaults.qnx 1.4 + * makefiles/DEFAULTS/Defaults.osf1 1.4 + * makefiles/DEFAULTS/Defaults.os2 1.4 + * makefiles/DEFAULTS/Defaults.openserver 1.3 + * makefiles/DEFAULTS/Defaults.openbsd 1.4 + * makefiles/DEFAULTS/Defaults.nextstep 1.4 + * makefiles/DEFAULTS/Defaults.newsos6 1.4 + * makefiles/DEFAULTS/Defaults.dgux3 1.4 + * makefiles/DEFAULTS/Defaults.domainos 1.4 + * makefiles/DEFAULTS/Defaults.dgux4 1.4 + * makefiles/DEFAULTS/Defaults.dragonfly 1.5 + * makefiles/DEFAULTS/Defaults.gnu 1.4 + * makefiles/DEFAULTS/Defaults.beos 1.4 + * makefiles/DEFAULTS/Defaults.interix 1.5 + * makefiles/DEFAULTS/Defaults.ms-dos 1.4 + * makefiles/DEFAULTS/Defaults.irix 1.4 + * makefiles/DEFAULTS/Defaults.cygwin32_wow64 1.5 + * makefiles/DEFAULTS/Defaults.bsd-os 1.4 + * makefiles/DEFAULTS/Defaults.mingw32_nt 1.4 + * makefiles/DEFAULTS/Defaults.mac-os10 1.3 + * makefiles/DEFAULTS/Defaults.dgux 1.4 + * makefiles/DEFAULTS/Defaults.freebsd 1.5 + * makefiles/DEFAULTS/Defaults.cygwin32_nt 1.5 + * makefiles/DEFAULTS/Defaults.netbsd 1.4 + * makefiles/DEFAULTS/Defaults.darwin 1.3 + * makefiles/DEFAULTS/Defaults.amigaos 1.4 + * makefiles/DEFAULTS/Defaults.bsd-os3 1.4 + * makefiles/DEFAULTS/Defaults.aix 1.4 + * makefiles/DEFAULTS/Defaults.linux 1.5 + * makefiles/DEFAULTS/Defaults.freemint 1.3 + * makefiles/DEFAULTS/Defaults.hp-ux 1.4 + INS_RBASE neu + +Fri Dec 26 21:20:33 2008 joerg + * cdda2wav/Makefile 1.22 + * cdrecord/readcd.mk 1.16 + * cdrecord/Makefile 1.49 + install suid root + +Fri Dec 26 21:16:09 2008 joerg + * conf/install-sh 1.9 + -m suid/sticky check nur wenn keine Rootrechte vorhanden sind + +Fri Dec 26 20:58:24 2008 joerg + * makefiles/DEFAULTS_ENG/Defaults.bsd-os3 1.3 + * makefiles/DEFAULTS_ENG/Defaults.openbsd 1.3 + * makefiles/DEFAULTS_ENG/Defaults.gnu 1.3 + * makefiles/DEFAULTS_ENG/Defaults.dragonfly 1.4 + * makefiles/DEFAULTS_ENG/Defaults.dgux4 1.3 + * makefiles/DEFAULTS_ENG/Defaults.dgux3 1.3 + * makefiles/DEFAULTS_ENG/Defaults.amigaos 1.3 + * makefiles/DEFAULTS_ENG/Defaults.hp-ux 1.3 + * makefiles/DEFAULTS_ENG/Defaults.dgux 1.3 + * makefiles/DEFAULTS_ENG/Defaults.unixware 1.2 + * makefiles/DEFAULTS_ENG/Defaults.newsos6 1.3 + * makefiles/DEFAULTS_ENG/Defaults.interix 1.4 + * makefiles/DEFAULTS_ENG/Defaults.mingw32_nt 1.3 + * makefiles/DEFAULTS_ENG/Defaults.sunos5 1.3 + * makefiles/DEFAULTS_ENG/Defaults.osf1 1.3 + * makefiles/DEFAULTS_ENG/Defaults.irix 1.3 + * makefiles/DEFAULTS_ENG/Defaults.nextstep 1.3 + * makefiles/DEFAULTS_ENG/Defaults.sunos4 1.3 + * makefiles/DEFAULTS_ENG/Defaults.linux 1.4 + * makefiles/DEFAULTS_ENG/Defaults.ms-dos 1.3 + * makefiles/DEFAULTS_ENG/Defaults.os2 1.3 + * makefiles/DEFAULTS_ENG/Defaults.aix 1.3 + * makefiles/DEFAULTS_ENG/Defaults.bsd-os 1.3 + * makefiles/DEFAULTS_ENG/Defaults.netbsd 1.3 + * makefiles/DEFAULTS_ENG/Defaults.qnx 1.3 + * makefiles/DEFAULTS_ENG/Defaults.freebsd 1.4 + * makefiles/DEFAULTS_ENG/Defaults.domainos 1.3 + * makefiles/DEFAULTS_ENG/Defaults.freemint 1.2 + * makefiles/DEFAULTS_ENG/Defaults.openserver 1.2 + * makefiles/DEFAULTS_ENG/Defaults.beos 1.3 + * makefiles/DEFAULTS/Defaults.unixware 1.2 + * makefiles/DEFAULTS/Defaults.sunos5 1.3 + * makefiles/DEFAULTS/Defaults.sunos4 1.3 + * makefiles/DEFAULTS/Defaults.qnx 1.3 + * makefiles/DEFAULTS/Defaults.osf1 1.3 + * makefiles/DEFAULTS/Defaults.os2 1.3 + * makefiles/DEFAULTS/Defaults.openserver 1.2 + * makefiles/DEFAULTS/Defaults.openbsd 1.3 + * makefiles/DEFAULTS/Defaults.nextstep 1.3 + * makefiles/DEFAULTS/Defaults.newsos6 1.3 + * makefiles/DEFAULTS/Defaults.aix 1.3 + * makefiles/DEFAULTS/Defaults.amigaos 1.3 + * makefiles/DEFAULTS/Defaults.beos 1.3 + * makefiles/DEFAULTS/Defaults.bsd-os 1.3 + * makefiles/DEFAULTS/Defaults.netbsd 1.3 + * makefiles/DEFAULTS/Defaults.bsd-os3 1.3 + * makefiles/DEFAULTS/Defaults.ms-dos 1.3 + * makefiles/DEFAULTS/Defaults.dgux4 1.3 + * makefiles/DEFAULTS/Defaults.mingw32_nt 1.3 + * makefiles/DEFAULTS/Defaults.dgux 1.3 + * makefiles/DEFAULTS/Defaults.dgux3 1.3 + * makefiles/DEFAULTS/Defaults.linux 1.4 + * makefiles/DEFAULTS/Defaults.gnu 1.3 + * makefiles/DEFAULTS/Defaults.domainos 1.3 + * makefiles/DEFAULTS/Defaults.dragonfly 1.4 + * makefiles/DEFAULTS/Defaults.irix 1.3 + * makefiles/DEFAULTS/Defaults.freebsd 1.4 + * makefiles/DEFAULTS/Defaults.hp-ux 1.3 + * makefiles/DEFAULTS/Defaults.freemint 1.2 + * makefiles/DEFAULTS/Defaults.interix 1.4 + DEFINSUSR -> root + +Fri Dec 26 20:50:52 2008 joerg + * makefiles/RULES/rules.prg 1.18 + INSUSR_DEF -> root + +Fri Dec 26 20:39:24 2008 joerg + * conf/install-sh 1.8 + Warnung wenn -m suid/sticky setzen soll aber keine Root Rechte vorhanden sind + +Fri Dec 26 19:11:12 2008 joerg + * cdrecord/cdrecord.c 1.373 + scg_close() AUfruf von exscsi() -> excdr() damit es nach allen SCSI Aufrufen kommt + +Wed Dec 24 23:21:39 2008 joerg + * cdrecord/cdrecord.h 1.197 + CDR_BUF_SIZE -> 63 k weil es Probleme gab + +Wed Dec 24 21:29:59 2008 joerg + * cdrecord/version.h 1.29 + Version -> 2.01.01a54 + +Wed Dec 24 21:10:10 2008 joerg + * cdrecord/cdrecord.c 1.372 + get_dmaspeed() prueft nun ob scg_getresid() korrekt funktioniert und ist gegen unzuverlaessige LW gesichert + +Wed Dec 24 17:25:34 2008 joerg + * include/schily/libport.h 1.17 + * include/schily/hostname.h 1.17 + schily/standard.h -> schily/types.h, mehr wird nicht benoetigt + +Wed Dec 24 17:24:23 2008 joerg + * include/schily/sigblk.h 1.12 + schily/standard.h beseitigt, da const/void/... nun schon in schily/mconfig behandelt werden + +Wed Dec 24 13:01:35 2008 joerg + * cdrecord/drv_dvd.c 1.158 + Prototyp fuer waitformat() neu + +Tue Dec 23 23:25:55 2008 joerg + * libfind/find.c 1.77 + Version -> 1.4 + Unterstuetzung für _ARG_MAX32 und _ARG_MAX64 neu + +Mon Dec 22 17:09:03 2008 joerg + * mkisofs/diag/isoinfo.c 1.66 + * mkisofs/diag/dump.c 1.33 + * mkisofs/diag/isodump.c 1.37 + * mkisofs/diag/isodebug.c 1.22 + * mkisofs/diag/isovfy.c 1.36 + * mkisofs/dvd_file.c 1.9 + * mkisofs/ifo_read.c 1.12 + * mkisofs/dvd_reader.c 1.8 + * mkisofs/walk.c 1.9 + * mkisofs/mac_label.c 1.16 + * mkisofs/desktop.c 1.9 + * mkisofs/volume.c 1.23 + * mkisofs/stream.c 1.13 + * mkisofs/eltorito.c 1.46 + * mkisofs/name.c 1.35 + * mkisofs/isonum.c 1.7 + * mkisofs/boot.c 1.21 + * mkisofs/scsi.c 1.32 + * mkisofs/apple.c 1.34 + * mkisofs/write.c 1.119 + * mkisofs/udf.c 1.32 + * mkisofs/rock.c 1.55 + * mkisofs/tree.c 1.115 + * mkisofs/hash.c 1.24 + * mkisofs/inode.c 1.9 + * mkisofs/joliet.c 1.56 + * mkisofs/multi.c 1.89 + * mkisofs/match.c 1.28 + * mkisofs/mkisofs.c 1.241 + * scgskeleton/skel.c 1.15 + * scgskeleton/doit.c 1.26 + * rscsi/rscsi.c 1.33 + * scgcheck/sense.c 1.8 + * scgcheck/scgcheck.c 1.15 + * scgcheck/dmaresid.c 1.10 + * btcflash/btcflash.c 1.14 + * btcflash/skel.c 1.18 + * cdrecord/readcd.c 1.100 + * cdrecord/io.c 1.5 + * cdda2wav/ringbuff.c 1.17 + * cdda2wav/sndconfig.c 1.28 + * cdda2wav/aiff.c 1.10 + * cdda2wav/aifc.c 1.11 + * cdda2wav/scsi_cmds.c 1.39 + * cdda2wav/setuid.c 1.17 + * cdda2wav/sha_func.c 1.6 + * cdda2wav/parse.c 1.4 + * cdda2wav/base64.c 1.8 + * cdda2wav/ioctl.c 1.34 + * cdda2wav/md5.c 1.4 + * cdda2wav/sun.c 1.10 + * cdda2wav/toc.c 1.78 + * cdda2wav/resample.c 1.27 + * cdda2wav/raw.c 1.9 + * cdda2wav/semshm.c 1.24 + * libmdigest/md5.c 1.4 + * cdda2wav/cdda2wav.c 1.94 + * cdda2wav/wav.c 1.9 + * cdda2wav/interface.c 1.62 + * cdda2wav/cd_extra.c 1.15 + * cdrecord/scsi_cdr.c 1.156 + * cdrecord/misc.c 1.6 + * cdrecord/scsi_mmc.c 1.46 + * cdrecord/scsilog.c 1.22 + * cdrecord/xio.c 1.18 + * cdrecord/scsi_mmc4.c 1.4 + * cdrecord/crc16.c 1.8 + * cdrecord/scsi_cdr_mmc4.c 1.4 + * cdrecord/scsi_scan.c 1.31 + * cdrecord/drv_dvdplus.c 1.51 + * cdrecord/drv_mmc.c 1.192 + * cdrecord/drv_dvd.c 1.157 + * cdrecord/drv_simul.c 1.58 + * cdrecord/drv_bd.c 1.13 + * cdrecord/vendor.c 1.2 + * cdrecord/cdtext.c 1.12 + * cdrecord/drv_7501.c 1.25 + * cdrecord/drv_philips.c 1.78 + * cdrecord/cdr_drv.c 1.46 + * cdrecord/drv_jvc.c 1.91 + * cdrecord/drv_sony.c 1.82 + * cdrecord/wm_track.c 1.6 + * cdrecord/auinfo.c 1.25 + * cdrecord/sector.c 1.15 + * cdrecord/wm_packet.c 1.28 + * cdrecord/diskid.c 1.41 + * cdrecord/movesect.c 1.5 + * cdrecord/cue.c 1.35 + * cdrecord/clone.c 1.9 + * cdrecord/subchan.c 1.23 + * cdrecord/wm_session.c 1.6 + * cdrecord/fifo.c 1.54 + * cdrecord/isosize.c 1.11 + * cdrecord/audiosize.c 1.22 + * cdrecord/cd_misc.c 1.15 + * cdrecord/cdrecord.c 1.371 + * libscgcmd/ready.c 1.157 + * libfind/fetchdir.c 1.25 + * libfind/find_list.c 1.23 + * libfind/find_main.c 1.63 + * libfind/cmpdir.c 1.25 + * libfind/find.c 1.76 + * libfind/idcache.c 1.26 + * libfind/walk.c 1.36 + * libfind/find_misc.c 1.12 + * libscgcmd/readcap.c 1.157 + * libscgcmd/inquiry.c 1.157 + * libscgcmd/buffer.c 1.157 + * libscgcmd/read.c 1.157 + * libscgcmd/modes.c 1.28 + * libscgcmd/modesense.c 1.157 + * libparanoia/pmalloc.c 1.6 + * libparanoia/isort.c 1.18 + * libparanoia/overlap.c 1.15 + * libparanoia/paranoia.c 1.40 + * libparanoia/gap.c 1.17 + * libparanoia/p_block.c 1.27 + * libsiconv/sic_nls.c 1.8 + * libhfs_iso/btree.c 1.6 + * libhfs_iso/low.c 1.7 + * libhfs_iso/gdata.c 1.4 + * libhfs_iso/file.c 1.6 + * libhfs_iso/data.c 1.7 + * libhfs_iso/volume.c 1.7 + * libhfs_iso/node.c 1.5 + * libhfs_iso/block.c 1.6 + * libhfs_iso/record.c 1.4 + * libhfs_iso/hfs.c 1.12 + * libdeflt/default.c 1.7 + * libfile/file.c 1.8 + * libfile/softmagic.c 1.11 + * libfile/apprentice.c 1.12 + * libcdrdeflt/cdrdeflt.c 1.24 + * libscg/scsiopen.c 1.98 + * libscg/rdummy.c 1.3 + * libscg/scgsettarget.c 1.4 + * libscg/scgtimes.c 1.3 + * libscg/scsihelp.c 1.6 + * libscg/scsierrs.c 2.32 + * libedc/edc_ecc.c 1.26 + * libedc/edc_ecc_dec.c 1.6 + * libedc/edcspeed.c 1.3 + static char sccsid[] -> static const char sccsid[] wegen GCC Warnung + +Mon Dec 22 16:58:54 2008 joerg + * mkisofs/write.c 1.120 + * mkisofs/inode.c 1.10 + * mkisofs/rock.c 1.56 + * mkisofs/udf.c 1.33 + * mkisofs/hash.c 1.25 + * mkisofs/joliet.c 1.57 + * cdda2wav/ioctl.c 1.35 + Copyright -> 2008 + +Mon Dec 22 16:20:12 2008 joerg + * cdda2wav/config.h 1.12 + Abgesichert mit #ifndef _CONFIG_H + +Mon Dec 22 15:50:47 2008 joerg + * cdrecord/cdrecord.c 1.370 + exscsi() ruft nun scg_close(exp->scgp) + +Mon Dec 22 13:15:58 2008 joerg + * libedc/shledc.mk 1.3 + * libedc/shledc_dec.mk 1.3 + * libedc/libedc_dec.mk 1.2 + * libedc/libedc.mk 1.6 + * libedc/libedc_dec_p.mk 1.4 + * libedc/libedc_p.mk 1.4 + -xarch=generic64 -> $(SUNPROCOPT64) + +Sun Dec 21 00:33:17 2008 joerg + * libschily/cmpnullbytes.c 1.6 + * libschily/cmpbytes.c 1.19 + * libschily/eaccess.c 1.2 + * libschily/checkerr.c 1.20 + * libschily/fnmatch.c 8.7 + * libschily/fstream.c 1.25 + * libschily/getav0.c 1.21 + * libschily/getargs.c 2.57 + * libschily/getpagesize.c 1.3 + * libschily/getperm.c 1.3 + * libschily/gettimeofday.c 1.2 + * libschily/getnum.c 1.5 + * libschily/gettnum.c 1.8 + * libschily/getxnum.c 1.5 + * libschily/getxtnum.c 1.8 + * libschily/gethostid.c 1.18 + * libschily/getdomainname.c 1.19 + * libschily/mem.c 1.9 + * libschily/jmem.c 1.11 + * libschily/fjmem.c 1.12 + * libschily/rename.c 1.9 + * libschily/wcsdup.c 1.4 + * libschily/wcsncpy.c 1.3 + * libschily/strncpy.c 1.3 + * libschily/wcslcpy.c 1.3 + * libschily/strdup.c 1.4 + * libschily/usleep.c 1.20 + * libschily/strlcpy.c 1.3 + * libschily/sleep.c 1.2 + * libschily/findinpath.c 1.2 + static char sccsid[] -> static const char sccsid[] wegen GCC Warnung + +Sun Dec 21 00:21:45 2008 joerg + * libschily/getdomainname.c 1.18 + * cdda2wav/toc.c 1.77 + schily/libport.h -> schily/hostname.h + +Sun Dec 21 00:11:56 2008 joerg + * libschily/gethostname.c 1.17 + schily/libport.h -> schily/hostname.h + static char sccsid[] -> static const char sccsid[] wegen GCC Warnung + +Sat Dec 20 16:35:08 2008 joerg + * mkisofs/diag/isoinfo.c 1.65 + Ausgabe/Test der Checksumme des Eltorito Validation Headers neu + +Sat Dec 20 16:28:27 2008 joerg + * include/schily/hostname.mk 1.1 + date and time created 08/12/20 16:28:27 by joerg + +Sat Dec 20 16:28:02 2008 joerg + * include/schily/libport.h 1.16 + hostname.h ausgegliedert + +Sat Dec 20 16:27:41 2008 joerg + * include/schily/hostname.h 1.16 + Aus libport.h ausgegliedert + +Sat Dec 20 16:26:53 2008 joerg + * include/schily/prototyp.h 1.13 + const/signed/volatile definieren wenn nicht ROTOTYPES (aus standard.h) + +Sat Dec 20 16:22:53 2008 joerg + * include/schily/Mrel 1.10 + * include/schily/Makefile 1.10 + hostname.mk neu + +Sat Dec 20 16:22:24 2008 joerg + * include/schily/schily.h 1.76 + #include automatisch wenn nicht NO_LIBPORT_H definiert ist + +Sat Dec 20 16:17:14 2008 joerg + * makefiles/RULES/cc-sunpro64.rul 1.10 + 64-Bit Option nun evt. aus rules.cnf $(CC64_OPT) setzen, $(SUNPROCOPT64) neu + +Sat Dec 20 13:45:25 2008 joerg + * autoconf/aclocal.m4 1.69 + * autoconf/rules.cnf.in 1.18 + * autoconf/configure.in 1.159 + AC_CC64_OPT neu + +Mon Dec 8 23:15:20 2008 joerg + * include/schily/schily.h 1.75 + schily/libport.h erstmal wieder beseitigt wegen Problemen mit #include netdb.h (Streams struct queue) + +Mon Dec 8 22:45:13 2008 joerg + * cdrecord/cdrecord.c 1.369 + Cstyle + +Mon Dec 8 22:41:00 2008 joerg + * cdrecord/drv_dvd.c 1.156 + Workarounf fuer 'HL-DT-ST' 'DVD-RAM GH22NP20' das ds_maxblocks == 0 liefert + +Mon Dec 8 22:34:14 2008 joerg + * cdrecord/cdr_drv.c 1.45 + * cdrecord/drv_bd.c 1.12 + cdr_bdrom Treiber neu fuer Profil 0x40 + +Mon Dec 8 20:31:38 2008 joerg + * include/schily/getcwd.h 1.5 + #include neu + +Sun Dec 7 21:50:50 2008 joerg + * libschily/findinpath.c 1.1 + date and time created 08/12/07 21:50:50 by joerg + +Sun Dec 7 20:04:18 2008 joerg + * include/schily/schily.h 1.74 + * libschily/libschily-mapvers 1.13 + * libschily/Targets 1.13 + findinpath() neu + +Sun Dec 7 19:17:05 2008 joerg + * include/schily/schily.h 1.73 + #include neu + +Sun Dec 7 19:16:46 2008 joerg + * include/schily/hostname.h 1.15 + * include/schily/libport.h 1.15 + * libschily/libschily-mapvers 1.12 + * libschily/Targets 1.12 + eaccess() neu + +Sun Dec 7 19:14:17 2008 joerg + * libschily/eaccess.c 1.1 + date and time created 08/12/07 19:14:17 by joerg + +Sun Dec 7 16:27:20 2008 joerg + * mkisofs/tree.c 1.114 + Bessere Ferhlermeldung bei "Unable to sort directory" + +Sun Dec 7 14:54:46 2008 joerg + * cdda2wav/interface.c 1.61 + static SCSI *scgp -> static SCSI *_scgp + +Sun Dec 7 14:45:55 2008 joerg + * cdda2wav/cdda2wav.c 1.93 + fname[200] -> fname[PATH_MAX+1] + altes fname[200] geloescht + Doppelcast bei on_exit wegen falscher GCC Warnungen + +Wed Dec 3 22:57:02 2008 joerg + * libfind/find.c 1.75 + Besserer Kommentar bei argsize() + +Wed Nov 26 21:04:22 2008 joerg + * libscg/scsi-remote.c 1.26 + MAX_SCG -> 1024 wegen Linux ATA Mapping + +Tue Nov 25 23:25:20 2008 joerg + * include/schily/mconfig.h 1.63 + NO_ACL neu + +Sat Nov 15 13:21:13 2008 joerg + * makefiles/RULES/i586-linux-suncc.rul 1.3 + * makefiles/RULES/i586-linux-suncc64.rul 1.4 + LDOPTDYN fuer Linux adaptiert damit dynamisches Linken geht + +Sat Nov 15 12:46:13 2008 joerg + * makefiles/RULES/i586-linux-suncc.rul 1.2 + * makefiles/RULES/i586-linux-suncc64.rul 1.3 + * makefiles/RULES/i586-linux-gcc.rul 1.12 + * makefiles/RULES/i586-linux-gcc32.rul 1.12 + * makefiles/RULES/i586-linux-cc.rul 1.12 + -Wl,-R scheint doch auf Linux zu funktionieren + +Sat Nov 15 12:43:13 2008 joerg + * makefiles/RULES/i586-linux-cc.rul 1.13 + * makefiles/RULES/i586-linux-gcc.rul 1.13 + * makefiles/RULES/i586-linux-gcc32.rul 1.13 + Kommentar zu -R + +Fri Nov 14 22:49:56 2008 joerg + * makefiles/RULES/atarist-freemint-gcc.rul 1.4 + Ranlib funktioniert nicht zuverlaessig auf MiNT + +Thu Nov 13 23:31:55 2008 joerg + * mkisofs/TODO 1.8 + geloeste Probleme entfernt + +Thu Nov 13 23:21:26 2008 joerg + * mkisofs/mkisofs.8 1.126 + -sector, -XA, -xa neu + +Thu Nov 13 22:43:24 2008 joerg + * mkisofs/mkisofs.h 1.135 + PATH_MAX immer mindestens auf 1024 setzen wegen Cygwin bug + +Thu Nov 13 22:41:15 2008 joerg + * mkisofs/eltorito.c 1.45 + Copyrightt -> 2008 + +Thu Nov 13 22:40:20 2008 joerg + * mkisofs/mac_label.c 1.15 + Copyright -> 2008 + +Thu Nov 13 22:38:35 2008 joerg + * mkisofs/mac_label.c 1.14 + * mkisofs/eltorito.c 1.44 + ex_boot_enoent() neu + +Tue Nov 11 22:00:22 2008 joerg + * makefiles/RULES/atarist-freemint-gcc.rul 1.3 + Schreibfehler $(STACKSIZE) -> $(STACK_SIZE) + +Sun Nov 9 18:37:28 2008 joerg + * makefiles/RULES/atarist-freemint-gcc.rul 1.2 + STACKSIZE setzen + +Sun Nov 9 16:02:22 2008 joerg + * makefiles/RULES/atarist-freemint-gcc.rul 1.1 + date and time created 08/11/09 16:02:22 by joerg + +Sat Nov 8 22:08:16 2008 joerg + * makefiles/RULES/os-freemint.def 1.1 + * makefiles/RULES/os-freemint.id 1.1 + date and time created 08/11/08 22:08:16 by joerg + +Sat Nov 8 21:47:38 2008 joerg + * makefiles/DEFAULTS/Defaults.freemint 1.1 + date and time created 08/11/08 21:47:38 by joerg + +Sat Nov 8 21:47:18 2008 joerg + * makefiles/DEFAULTS_ENG/Defaults.freemint 1.1 + date and time created 08/11/08 21:47:18 by joerg + +Sat Nov 8 20:09:25 2008 joerg + * makefiles/RULES/MKLINKS 1.74 + atarist Support neu + +Sat Nov 8 18:23:17 2008 joerg + * autoconf/xconfig.h.in 1.150 + * autoconf/configure.in 1.158 + * autoconf/aclocal.m4 1.68 + AC_FUNC_SHMGET neu wegen nicht funktionierendem shmget() auf ATARI MiNT + +Wed Nov 5 11:06:57 2008 joerg + * autoconf/config.guess 1.11 + * autoconf/config.sub 1.6 + Atari MiNT Support neu + +Sun Nov 2 22:40:47 2008 joerg + * cdrecord/COPYING 1.7 + Mkisofs Hinweis verbessert + +Sun Nov 2 22:30:49 2008 joerg + * cdda2wav/parse.c 1.3 + E_OK -> E_ISOK wegen euid access() auf Linux + +Sun Nov 2 22:30:21 2008 joerg + * cdda2wav/resample.c 1.26 + Copyright -> 2008 + +Tue Oct 28 23:24:42 2008 joerg + * cdrecord/version.h 1.28 + Version -> 2.01.01a53 + +Tue Oct 28 23:24:04 2008 joerg + * cdda2wav/global.h 1.22 + Erweiterungen fuer MD5 + +Tue Oct 28 23:23:17 2008 joerg + * cdda2wav/cdda2wav.1 1.27 + * cdda2wav/cdda2wav.c 1.92 + * cdda2wav/resample.c 1.25 + MD5 Summenberechnung geht nun + +Tue Oct 28 23:14:59 2008 joerg + * cdda2wav/raw.c 1.8 + * cdda2wav/wav.c 1.8 + * cdda2wav/aiff.c 1.9 + * cdda2wav/aifc.c 1.10 + * cdda2wav/sun.c 1.9 + global.md5offset neu + +Sun Oct 26 23:04:26 2008 joerg + * libscgcmd/libscgcmd.mk 1.2 + * libscgcmd/libscgcmd_p.mk 1.2 + * libscgcmd/shlscgcmd.mk 1.2 + -I../libscg neu + +Sun Oct 26 22:50:43 2008 joerg + * scgskeleton/Makefile 1.12 + * scgskeleton/MKLINKS 1.4 + * cdrecord/MKLINKS 1.3 + * cdrecord/readcd.mk 1.15 + Umbau auf libschcmd + +Sun Oct 26 22:49:30 2008 joerg + * scgcheck/Makefile 1.11 + * scgcheck/MKLINKS 1.2 + Umbah auf libscgcmd + +Sun Oct 26 22:43:44 2008 joerg + * cdrecord/Makefile 1.48 + * cdda2wav/Makefile 1.21 + * cdda2wav/MKLINKS 1.3 + * mkisofs/Makefile 1.39 + * mkisofs/scsi.c 1.31 + * mkisofs/diag/Makefile 1.9 + * mkisofs/diag/MKLINKS 1.3 + * mkisofs/diag/isoinfo.mk 1.13 + * mkisofs/diag/isodebug.mk 1.8 + * mkisofs/diag/dump.mk 1.10 + * mkisofs/diag/isodump.mk 1.10 + * mkisofs/diag/isovfy.mk 1.10 + * btcflash/MKLINKS 1.4 + * btcflash/Makefile 1.9 + Umbau auf libscgcmd + +Sun Oct 26 22:38:18 2008 joerg + * mkisofs/Makefile 1.40 + -I../cdrecord beseitigt + +Sun Oct 26 22:31:32 2008 joerg + * libscgcmd/libscgcmd.h 1.1 + date and time created 08/10/26 22:31:32 by joerg + +Sun Oct 26 22:31:20 2008 joerg + * libscgcmd/modes.c 1.27 + * libscgcmd/modesense.c 1.156 + * libscgcmd/read.c 1.156 + * libscgcmd/readcap.c 1.156 + * libscgcmd/ready.c 1.156 + * libscgcmd/inquiry.c 1.156 + * libscgcmd/buffer.c 1.156 + libscgcmd neu + +Sun Oct 26 22:04:03 2008 joerg + * libscgcmd/Targets 1.1 + date and time created 08/10/26 22:04:03 by joerg + +Sun Oct 26 22:03:28 2008 joerg + * libscgcmd/libscgcmd-mapvers 1.1 + date and time created 08/10/26 22:03:28 by joerg + +Sun Oct 26 22:01:52 2008 joerg + * libscgcmd/Makefile 1.1 + date and time created 08/10/26 22:01:52 by joerg + +Sun Oct 26 21:56:49 2008 joerg + * libscgcmd/shlscgcmd.mk 1.1 + date and time created 08/10/26 21:56:49 by joerg + +Sun Oct 26 21:55:10 2008 joerg + * libscgcmd/libscgcmd_p.mk 1.1 + * libscgcmd/libscgcmd.mk 1.1 + * libscgcmd/noshlscgcmd.mk 1.1 + date and time created 08/10/26 21:55:10 by joerg + +Sun Oct 26 16:34:40 2008 joerg + * cdrecord/COPYING 1.6 + libcdrdeflt/ und libscgcmd/ neu + +Sun Oct 26 13:45:41 2008 joerg + * scgskeleton/Makefile 1.11 + * scgskeleton/MKLINKS 1.3 + * scgskeleton/skel.c 1.14 + * mkisofs/diag/isoinfo.mk 1.12 + * mkisofs/diag/dump.c 1.32 + * mkisofs/diag/isodump.mk 1.9 + * mkisofs/diag/isodebug.mk 1.7 + * mkisofs/diag/MKLINKS 1.2 + * mkisofs/diag/isovfy.mk 1.9 + * mkisofs/diag/isodebug.c 1.21 + * mkisofs/diag/isodump.c 1.36 + * mkisofs/diag/dump.mk 1.9 + * mkisofs/diag/isoinfo.c 1.64 + * mkisofs/diag/isovfy.c 1.35 + * mkisofs/scsi.c 1.30 + * mkisofs/Makefile 1.38 + * mkisofs/MKLINKS 1.2 + * cdda2wav/cdda2wav.c 1.91 + * cdda2wav/Makefile 1.20 + * cdda2wav/MKLINKS 1.2 + * btcflash/Makefile 1.8 + * btcflash/skel.c 1.17 + * btcflash/MKLINKS 1.3 + * cdrecord/MKLINKS 1.2 + * cdrecord/Makefile 1.47 + * cdrecord/readcd.mk 1.14 + * cdrecord/cdrecord.c 1.368 + * cdrecord/readcd.c 1.99 + Umbau auf libcdrdeflt + +Sat Oct 25 23:29:11 2008 joerg + * libcdrdeflt/shlcdrdeflt.mk 1.1 + * libcdrdeflt/noshlcdrdeflt.mk 1.1 + * libcdrdeflt/libcdrdeflt.mk 1.1 + * libcdrdeflt/libcdrdeflt_p.mk 1.1 + date and time created 08/10/25 23:29:11 by joerg + +Sat Oct 25 23:20:29 2008 joerg + * libcdrdeflt/Targets 1.1 + date and time created 08/10/25 23:20:29 by joerg + +Sat Oct 25 23:18:26 2008 joerg + * libcdrdeflt/Makefile 1.1 + date and time created 08/10/25 23:18:26 by joerg + +Sat Oct 25 23:18:14 2008 joerg + * libcdrdeflt/cdrdeflt.h 1.4 + * libcdrdeflt/cdrdeflt.c 1.23 + Umstellung auf libcdrdeflt + +Sat Oct 25 23:17:37 2008 joerg + * libcdrdeflt/libcdrdeflt-mapvers 1.1 + date and time created 08/10/25 23:17:37 by joerg + +Thu Oct 23 22:31:06 2008 joerg + * cdrecord/cdrecord.1 1.123 + BluRay im Text wo noetig + +Thu Oct 23 22:25:11 2008 joerg + * cdrecord/cdrecord.1 1.122 + BluRay neu mit driver= + +Thu Oct 23 22:16:37 2008 joerg + * cdrecord/cdrecord.1 1.121 + speed= an BluRay angepasst + +Tue Oct 21 23:53:15 2008 joerg + * cdrecord/version.h 1.27 + Version -> 2.01.01a52 + +Tue Oct 21 23:10:05 2008 joerg + * cdda2wav/local.cnf.in 1.8 + md5c.o -> md5.o + +Tue Oct 21 23:03:48 2008 joerg + * libmdigest/md5.h 1.6 + * cdda2wav/md5.c 1.3 + * libmdigest/md5.c 1.3 + * include/schily/md5.h 1.6 + * cdda2wav/md5.h 1.6 + Portabel gemacht + +Tue Oct 21 22:39:25 2008 joerg + * cdda2wav/md5.h 1.5 + * include/schily/md5.h 1.5 + * libmdigest/md5.h 1.5 + * libmdigest/md5.c 1.2 + * cdda2wav/md5.c 1.2 + Copyright J. Schilling neu + +Tue Oct 21 22:38:31 2008 joerg + * include/schily/md5.h 1.4 + * cdda2wav/md5.h 1.4 + * libmdigest/md5.h 1.4 + Umstellung auf md5.h von OpenBSD + +Tue Oct 21 22:36:03 2008 joerg + * cdda2wav/Makefile 1.19 + md5c.c -> md5.c + +Tue Oct 21 22:30:49 2008 joerg + * libmdigest/md5.c 1.1 + * cdda2wav/md5.c 1.1 + date and time created 08/10/21 22:30:49 by joerg + +Sun Oct 19 22:45:06 2008 joerg + * cdrecord/COPYING 1.5 + libfile (license similar to BSDL) -> (BSDL 2 clause) + +Sun Oct 19 22:39:41 2008 joerg + * libfile/LEGAL.NOTICE 1.2 + * libfile/apprentice.c 1.11 + * libfile/file.c 1.7 + * libfile/softmagic.c 1.10 + * libfile/file.h 1.11 + Lizenz mit Genehmigung der AUtoren geaendert + +Sun Oct 12 21:16:22 2008 joerg + * conf/post.html 1.4 + * conf/post.html 1.3 + old/private -> private + +Sun Oct 12 21:11:43 2008 joerg + * cdrecord/cdrecord.1 1.120 + * cdrecord/README 1.26 + * cdrecord/README.ATAPI 1.6 + * rscsi/rscsi.1 1.2 + * scgcheck/scgcheck.1 1.12 + * cdrecord/readcd.1 1.30 + * mkisofs/diag/isodebug.8 1.2 + * mkisofs/mkisofs.8 1.125 + * btcflash/btcflash.1 1.3 + schilling@fokus.fhg.de -> joerg.schilling@fokus.fraunhofer.de + +Sun Oct 12 20:27:21 2008 joerg + * cdrecord/README.compile 1.17 + README.gmake -> READMEs/README.gmake + +Sun Oct 12 20:23:28 2008 joerg + * conf/post.html 1.2 + fhg -> fraunhofer + +Sun Oct 12 20:15:19 2008 joerg + * conf/makeinc 1.5 + Mailadresse korrigiert + +Sat Oct 11 15:46:47 2008 joerg + * cdda2wav/cdda2wav.c 1.90 + printf Format fuer pid_t angepasst + +Sat Oct 11 14:58:21 2008 joerg + * cdrecord/drv_bd.c 1.11 + GCC Warnungen beseitigt + +Sat Oct 11 14:55:31 2008 joerg + * cdrecord/drv_dvdplus.c 1.50 + Verdeckende Variablendefinition "ret" beseitigt + +Sat Oct 11 14:47:11 2008 joerg + * mkisofs/mkisofs.h 1.134 + _WALK_H -> _SCHILY_WALK_H + +Sat Oct 11 14:39:09 2008 joerg + * scgcheck/scgcheck.c 1.14 + Ueberdeckende Deklarationen beseitigt + +Sat Oct 11 14:29:07 2008 joerg + * scgskeleton/skel.c 1.13 + * btcflash/skel.c 1.16 + Ueberdeckende deklaration fuer "err" beseitigt + +Sat Oct 11 13:34:34 2008 joerg + * cdrecord/scsi_mmc.c 1.45 + Schreibfehler + +Sat Oct 11 13:33:56 2008 joerg + * cdrecord/cdrecord.c 1.367 + %l -> %ld + +Sat Oct 11 13:32:12 2008 joerg + * makefiles/RULES/rules.prg 1.17 + SEETING -> SETTING + +Sat Oct 11 13:31:38 2008 joerg + * libscg/scsierrs.c 2.31 + sd_adaptec_keys und sd_cmds auskommentiert + +Sat Oct 11 13:12:08 2008 joerg + * autoconf/configure.in 1.157 + AC_OPT_SCHILY_BIN_SHELL_BOSH neu + AC_REVISION($Revision$) -> AC_REVISION(%I%) + +Sat Oct 11 13:11:33 2008 joerg + * autoconf/config.sub 1.5 + Support fuer NetBSD auf amd64 + +Sat Oct 11 13:11:00 2008 joerg + * autoconf/xconfig.h.in 1.149 + * autoconf/aclocal.m4 1.67 + AC_OPT_SCHILY_BIN_SHELL_BOSH neu + +Thu Oct 9 01:04:38 2008 joerg + * libschily/spawn.c 1.21 + * libschily/fexec.c 1.34 + varargs Umbau so dass der Prototyp in schily.h mit der Realitaet uebereinstimmt + +Thu Oct 9 00:55:15 2008 joerg + * include/schily/schily.h 1.72 + Workaround fuer fexec*() und *getline() Problem in POSIX.1-2008 + +Wed Oct 8 22:56:29 2008 joerg + * autoconf/configure.in 1.156 + AC_USER_XCVT Test erstmal deaktiviert + +Wed Oct 8 22:50:14 2008 joerg + * makefiles/RULES/rules.prg 1.16 + SHELL=/bin/sh beseitigt wegen /bin/bosh + +Wed Oct 8 22:46:51 2008 joerg + * libschily/fconv.c 1.37 + * libschily/format.c 1.44 + NO_USER_XCVT neu + +Wed Oct 8 00:49:28 2008 joerg + * cdrecord/version.h 1.26 + Version -> 2.01.01a51 + +Wed Oct 8 00:48:45 2008 joerg + * cdrecord/cdrecord.c 1.366 + Default ts= 126 kB damit ts= 64 kB fuer BluRay moeglich wird + Bei non-MMC Laufwerken weiterhin ts= 63 kB + ts= automatisch auf Vielfaches fuer Phys. Sektorsize setzen wenn DVD oder BD allgemein - nicht nur DVD+R/DL + +Wed Oct 8 00:46:45 2008 joerg + * cdrecord/scsi_mmc.c 1.44 + get_blf() neu + +Wed Oct 8 00:46:28 2008 joerg + * cdrecord/cdrecord.h 1.196 + get_blf() neu + CDR_BUF_SIZE -> 126 kB + CDR_OLD_BUF_SIZE mit altem Wert 6 kB neu + +Tue Oct 7 19:59:08 2008 joerg + * include/schily/schily.h 1.71 + fspawnl() Prototype korrigiert (einmal const char *, zuviel) + +Mon Oct 6 22:03:28 2008 joerg + * autoconf/xconfig.h.in 1.148 + * autoconf/configure.in 1.155 + * autoconf/aclocal.m4 1.66 + NO_USER_XCVT If we cannot define our own ecvt()/fcvt()/gcvt() neu + +Sun Oct 5 18:56:37 2008 joerg + * libschily/spawn.c 1.20 + * libschily/strdup.c 1.3 + * libschily/fexec.c 1.33 + * libschily/wcsdup.c 1.3 + #include vor schily.h + +Sun Oct 5 18:12:28 2008 joerg + * autoconf/configure.in 1.154 + * autoconf/xconfig.h.in 1.147 + Tests auf fexec*() und *getline() neu wegen POSIX.1-2008 Problemen + +Sat Oct 4 20:12:24 2008 joerg + * libscg/scsi-bsd.c 1.45 + Uebernahme von CAM WILDCARD Patch von FreeBSD + +Thu Oct 2 22:47:32 2008 joerg + * cdrecord/COPYING 1.4 + Anmerkung fuer mkisofs wegen GPL neu + +Wed Oct 1 17:15:56 2008 joerg + * cdrecord/drv_dvdplus.c 1.49 + * cdrecord/drv_dvd.c 1.155 + * cdrecord/drv_bd.c 1.10 + Defaulttimeout niemals verringern + +Fri Sep 26 15:59:39 2008 joerg + * include/schily/schily.h 1.70 + * libschily/checkerr.c 1.19 + * libschily/mem.c 1.8 + * mkisofs/mkisofs.c 1.240 + * libfind/fetchdir.c 1.24 + * libfind/cmpdir.c 1.24 + * libfind/walk.c 1.35 + __malloc() -> ___malloc(), __realloc() -> ___realoc(), __savestr() -> ___savestr() wegen ATARI Port + +Fri Sep 26 14:30:03 2008 joerg + * cdrecord/cdrecord.1 1.119 + -multi fuer DVD-R/DVD-RW beschrieben + +Fri Sep 26 14:23:33 2008 joerg + * cdrecord/version.h 1.25 + 2.01.01a50 + +Fri Sep 26 13:19:53 2008 joerg + * cdrecord/drv_dvd.c 1.154 + Multi-Border Code eingerueckt + +Fri Sep 26 12:38:51 2008 joerg + * mkisofs/joliet.c 1.55 + Sonderzeichen sind erlaubt wenn nur UDF und kein Joliet + +Thu Sep 25 17:34:06 2008 joerg + * cdrecord/Makefile 1.46 + make rel -UDVD_MULTI -> -DDVD_MULTI + +Thu Sep 18 15:55:23 2008 joerg + * cdrecord/version.h 1.24 + Version -> 2.01.01a48 + +Thu Sep 18 15:06:48 2008 joerg + * libparanoia/paranoia.c 1.39 + paranoia_free() ruft nun auch free_list(p->cache, 1); und free_list(p->fragments, 1); uebernommen von cdparanoia-III-10.2 + +Thu Sep 18 15:04:42 2008 joerg + * libparanoia/gap.c 1.16 + i_paranoia_overlap_r() ruft nicht mehr beginA++; beginB++; uebernommen von cdparanoia-III-10.2 + +Thu Sep 18 15:03:13 2008 joerg + * libparanoia/pmalloc.c 1.5 + _pfree(ptr) prueft for free() ptr + _prealloc(ptr, size) ruft _pmalloc(size) wenn ptr == 0 + +Thu Sep 18 14:58:49 2008 joerg + * libparanoia/paranoia.c 1.38 + Kommentar uebernommen von cdparanoia-III-10.2 + FLAGS_* neu + +Thu Sep 18 14:41:54 2008 joerg + * libparanoia/p_block.c 1.26 + * libparanoia/overlap.c 1.14 + * libparanoia/isort.h 1.12 + * libparanoia/isort.c 1.17 + * libparanoia/gap.c 1.15 + Kommentar uebernommen von cdparanoia-III-10.2 + +Thu Sep 18 14:40:59 2008 joerg + * libparanoia/cdda_paranoia.h 1.25 + PARANOIA_CB_CACHEERR neu von cdparanoia-III-10.2 + +Fri Sep 12 00:57:35 2008 joerg + * mkisofs/Makefile 1.37 + * mkisofs/write.c 1.118 + APPLE_HFS_HYB neu + +Fri Sep 12 00:55:40 2008 joerg + * mkisofs/apple.c 1.33 + Umstellung auf APPLE_HFS_HYB + +Thu Sep 11 18:18:58 2008 joerg + * mkisofs/volume.c 1.22 + * mkisofs/desktop.c 1.8 + #ifdef APPLE_HYB -> #ifdef APPLE_HFS_HYB + +Thu Sep 11 16:01:02 2008 joerg + * mkisofs/mkisofs.c 1.239 + * mkisofs/mkisofs.h 1.133 + * mkisofs/tree.c 1.113 + Bei insert_file_entry() wird nicht mehr auf APPLE_HYB unterschieden + +Wed Sep 10 01:18:44 2008 joerg + * cdda2wav/Makefile 1.18 + $(ALLTARGETS) -> all clean depend config install weil vor include rules.top + +Wed Sep 10 01:04:30 2008 joerg + * scgskeleton/Makefile 1.10 + * scgcheck/Makefile 1.10 + * mkisofs/Makefile 1.36 + * mkisofs/diag/Makefile 1.8 + * inc/Makefile 1.3 + * cdda2wav/Makefile 1.17 + * cdrecord/readcd.mk 1.13 + * btcflash/Makefile 1.7 + all: -> $(ALLTARGETS): wegen "make install" + +Thu Sep 4 10:14:31 2008 joerg + * cdrecord/version.h 1.23 + Version -> 2.01.01a48 + +Thu Sep 4 10:14:16 2008 joerg + * cdrecord/cdrecord.c 1.365 + Bei DVD+R/DL Schreib-Blockgroesse auf Vielfaches von Physischer Sektorgroesse reduzieren + +Thu Sep 4 10:09:30 2008 joerg + * cdrecord/drv_mmc.c 1.191 + * cdrecord/drv_dvdplus.c 1.48 + * cdrecord/drv_dvd.c 1.153 + getdisktype_xxx() setzt nun dsp->ds_type aus get_curprofile(scgp) + +Mon Sep 1 12:14:57 2008 joerg + * libfind/walk.c 1.34 + & vor statf = stat... beseitigt + +Sat Aug 30 21:30:22 2008 joerg + * autoconf/configure.in 1.153 + * autoconf/aclocal.m4 1.65 + AC_CHECK_ILIB neu, damit gettext() nun auf Linux und Cygwin funktioniert + +Sat Aug 30 16:41:47 2008 joerg + * autoconf/configure.in 1.152 + * autoconf/xconfig.h.in 1.146 + Copyright -> 2008 + +Sat Aug 30 16:38:29 2008 joerg + * autoconf/aclocal.m4 1.64 + * autoconf/xconfig.h.in 1.145 + * autoconf/configure.in 1.151 + Neue Makros: AC_BIN_SHELL_BASH AC_SHELL_CE_BROKEN AC_BIN_SHELL_CE_BROKEN AC_BIN_SHELL_BOSH + +Thu Aug 28 23:05:34 2008 joerg + * mkisofs/multi.c 1.88 + read_merging_directory() setzt *nentp nun auf nent + nmult damit die korrekte Laenge bekannt wird + check_prev_session() inkrementiert nun j in der Schleife die die alten MULTI_EXTENT Eintraege free()d + +Wed Aug 27 19:44:20 2008 joerg + * cdrecord/version.h 1.22 + Version -> 2.01.01a47 + +Wed Aug 27 18:55:34 2008 joerg + * makefiles/RULES/rules.top 1.19 + Workaround fuer SunPro Make ./ bug + +Mon Aug 25 17:58:20 2008 joerg + * mkisofs/diag/isoinfo.c 1.63 + extract_file() liest nun statt 1 10 Sektoren auf Einmal + +Thu Aug 14 19:28:39 2008 joerg + * mkisofs/tree.c 1.112 + fstatbuf.st_mode immer setzen auch wenn generate_xa_rr_attributes() nicht gerufen wird damit UDF root dir korrekte Permissions bekommt + +Wed Aug 13 23:42:37 2008 joerg + * mkisofs/multi.c 1.87 + Endlosschleife beim Lesen alter Sessions mit Multi-Extent Files vermeiden wenn dabei idr2->length[0] == 0 ist + +Wed Aug 13 23:38:15 2008 joerg + * makefiles/RULES/MKLINKS 1.73 + ia64-hp-ux-cc.rul und ia64-hp-ux-gcc.rul neu + +Wed Aug 13 21:45:21 2008 joerg + * cdrecord/version.h 1.21 + Version -> 2.01.01a46 + +Wed Aug 13 21:12:19 2008 joerg + * mkisofs/tree.c 1.111 + Intermediate directories (auch root) vorab mit mode/uid/gid Werten belegen um Mode 000 beu UDF root Dir zu verhindern + +Wed Aug 13 21:00:54 2008 joerg + * mkisofs/udf.c 1.31 + UDF kann bei 16 Bit Zeichen (jenseits ISO-8859-1) nur 127 Buchstaben im Filenamen + +Mon Aug 11 23:55:57 2008 joerg + * cdda2wav/cdda2wav.c 1.89 + Neue Option -interactive + child_pid -> global.child_pid + +Mon Aug 11 23:50:03 2008 joerg + * cdda2wav/parse.c 1.2 + drop_all_buffers() nicht rufen weil noch nicht funktionsfähig + +Sun Aug 10 23:36:58 2008 joerg + * autoconf/configure.in 1.150 + gettext()/iconv() Test auf AC_CHECK_DFUNC umgestellt + +Sun Aug 10 22:54:15 2008 joerg + * autoconf/acspecific.m4 1.7 + Fehlerhaften C-Code von Paul Eggert in AC_FUNC_VFORK korrigiert + +Sun Aug 10 22:41:54 2008 joerg + * autoconf/aclocal.m4 1.63 + AC_CHECK_DLIB neu + +Thu Aug 7 00:17:12 2008 joerg + * mkisofs/stream.c 1.12 + s_dir.length[0] korrekt berechnen + Abbruch wenn -stream-media-size zu klein + +Wed Aug 6 23:44:20 2008 joerg + * mkisofs/mkisofs.h 1.132 + mxpart nicht mehr nur bei USE_LARGEFILES definieren + +Wed Aug 6 23:43:27 2008 joerg + * cdrecord/version.h 1.20 + Version -> 2.01.01a45 + +Wed Aug 6 23:43:04 2008 joerg + * cdrecord/cdrecord.c 1.364 + Ultraspeed schon erlauben wenn das LW 10x beherrscht + +Wed Aug 6 00:34:46 2008 joerg + * makefiles/RULES/rules.top 1.18 + * makefiles/RULES/MKLINKS 1.72 + Umbau auf ldummy.lnk mit include von ldummy.lnk wegen GNU make bug + +Sun Aug 3 23:51:59 2008 joerg + * scgskeleton/Makefile 1.9 + skel.c: iodefs.h neu + +Sun Aug 3 23:44:46 2008 joerg + * scgskeleton/Makefile 1.8 + iodefs.h als Abhaengigkeit fuer MKLINKS neu + +Sun Aug 3 23:27:10 2008 joerg + * cdrecord/version.h 1.19 + Version -> 2.01.01a44 + +Sun Aug 3 23:12:21 2008 joerg + * cdda2wav/global.h 1.21 + child_pid -> global + +Sun Aug 3 23:10:59 2008 joerg + * cdda2wav/semshm.c 1.23 + * cdda2wav/semshm.h 1.6 + semdestroy() neu + +Sun Aug 3 20:19:21 2008 joerg + * cdrecord/COPYING 1.3 + autoconf/ Directory neu + +Sun Aug 3 19:46:02 2008 joerg + * cdrecord/readcd.mk 1.12 + MKLINKS neu + +Sun Aug 3 19:45:38 2008 joerg + * cdrecord/MKLINKS 1.1 + date and time created 08/08/03 19:45:38 by joerg + +Sun Aug 3 19:36:03 2008 joerg + * libscg/shlrscg.mk 1.4 + * libscg/librscg.mk 1.5 + * libscg/librscg_p.mk 1.6 + -I. -> -I../libscg + +Sun Aug 3 15:28:10 2008 joerg + * autoconf/autoconf 1.6 + $M4 und $AWK werden nun platformunabhaengig gesucht + +Sun Aug 3 13:38:06 2008 joerg + * libscg/scg/aspi-win32.h 1.2 + * libscg/scg/spti-wnt.h 1.2 + SCCS Keyword Zeile neu + +Fri Aug 1 23:22:03 2008 joerg + * mkisofs/Makefile 1.35 + * mkisofs/diag/isoinfo.mk 1.11 + * mkisofs/diag/isodump.mk 1.8 + * mkisofs/diag/dump.mk 1.8 + * mkisofs/diag/isodebug.mk 1.6 + * mkisofs/diag/isovfy.mk 1.8 + * scgcheck/Makefile 1.9 + * rscsi/Makefile 1.7 + * scgskeleton/Makefile 1.7 + * cdrecord/readcd.mk 1.11 + * cdrecord/Makefile 1.45 + -I../libscg neu + +Fri Aug 1 20:04:08 2008 joerg + * makefiles/RULES/rules.cnf 1.13 + * makefiles/RULES/local.cnf 1.9 + autoconf Regel neu + $(SRCROOT)/conf/configure -> $(SRCROOT)/autoconf/configure + +Fri Aug 1 20:01:20 2008 joerg + * autoconf/acspecific.m4 1.6 + * autoconf/acoldnames.m4 1.3 + * autoconf/acgeneral.m4 1.5 + * autoconf/aclocal.m4 1.62 + Copyright 1998-2008 J. Schilling neu + +Fri Aug 1 02:33:42 2008 joerg + * autoconf/autoconf 1.5 + AC_MACRODIR=. + +Fri Aug 1 01:56:14 2008 joerg + * autoconf/autoconf 1.4 + * autoconf/config.guess 1.10 + * autoconf/config.sub 1.4 + Copyright 1999-2008 J. Schilling neu + +Fri Aug 1 01:03:02 2008 joerg + * btcflash/Makefile 1.6 + -I../libscg neu + +Fri Aug 1 00:51:33 2008 joerg + * libscg/librscg_p.mk 1.5 + * libscg/libscg.mk 1.3 + * libscg/libscg_p.mk 1.5 + * libscg/shlrscg.mk 1.3 + * libscg/shlscg.mk 1.3 + * libscg/librscg.mk 1.4 + -I. neu + +Fri Aug 1 00:44:23 2008 joerg + * scgskeleton/MKLINKS 1.2 + * scgskeleton/Makefile 1.6 + * btcflash/MKLINKS 1.2 + * btcflash/Makefile 1.5 + -I../cdrecord neu + +Thu Jul 31 22:39:51 2008 joerg + * mkisofs/diag/Makefile 1.7 + * mkisofs/Makefile 1.34 + * cdda2wav/Makefile 1.16 + * btcflash/Makefile 1.4 + * scgcheck/Makefile 1.8 + * scgskeleton/Makefile 1.5 + * inc/Makefile 1.2 + * makefiles/RULES/rules.top 1.17 + ./MKLINKS Aufruf neu + +Thu Jul 31 22:39:35 2008 joerg + * mkisofs/diag/MKLINKS 1.1 + date and time created 08/07/31 22:39:35 by joerg + +Thu Jul 31 22:38:39 2008 joerg + * mkisofs/MKLINKS 1.1 + date and time created 08/07/31 22:38:39 by joerg + +Thu Jul 31 22:37:06 2008 joerg + * cdda2wav/MKLINKS 1.1 + date and time created 08/07/31 22:37:06 by joerg + +Thu Jul 31 22:34:47 2008 joerg + * btcflash/MKLINKS 1.1 + date and time created 08/07/31 22:34:47 by joerg + +Thu Jul 31 22:33:30 2008 joerg + * scgcheck/MKLINKS 1.1 + date and time created 08/07/31 22:33:30 by joerg + +Thu Jul 31 22:27:54 2008 joerg + * scgskeleton/MKLINKS 1.1 + date and time created 08/07/31 22:27:54 by joerg + +Thu Jul 31 22:22:10 2008 joerg + * makefiles/RULES/MKLINKS 1.71 + exit nur wenn $# == 0 + +Thu Jul 31 21:59:45 2008 joerg + * makefiles/RULES/MKLINKS 1.70 + exit 0 wenn mk-make.id vorhanden + +Thu Jul 31 21:49:24 2008 joerg + * inc/MKLINKS 1.1 + date and time created 08/07/31 21:49:24 by joerg + +Thu Jul 31 21:47:02 2008 joerg + * makefiles/RULES/local.cnf 1.8 + LCONFIG_DEP neu um Symlink Hook fuer lokaleKonfiguration einhaengen zu koennen + +Thu Jul 31 21:45:56 2008 joerg + * makefiles/RULES/MKLINKS 1.69 + Test auf ln -s Funktionalitaet neu + +Thu Jul 31 21:44:49 2008 joerg + * makefiles/RULES/MKLINKS 1.68 + c4x Kram mit if abgesichert + +Wed Jul 9 23:50:29 2008 joerg + * cdrecord/version.h 1.18 + Version -> 2.01.01a43 + +Wed Jul 9 20:20:22 2008 joerg + * mkisofs/tree.c 1.110 + Komplett leere dirs nicht ueberspringen + -x (matches(...)) nur aufrufen wenn nicht ".". oder ".." + Immer bei readdir am Anfang "." und ".." voranstellen wegen Linux unsortierten Directrories + +Mon Jul 7 18:01:18 2008 joerg + * libscg/scg/Makefile 1.1 + date and time created 08/07/07 18:01:18 by joerg + +Mon Jul 7 18:00:38 2008 joerg + * libscg/scg/srb_os2.mk 1.1 + date and time created 08/07/07 18:00:38 by joerg + +Mon Jul 7 18:00:20 2008 joerg + * libscg/scg/spti-wnt.mk 1.1 + date and time created 08/07/07 18:00:20 by joerg + +Mon Jul 7 18:00:03 2008 joerg + * libscg/scg/scsitransp.mk 1.1 + date and time created 08/07/07 18:00:03 by joerg + +Mon Jul 7 17:59:41 2008 joerg + * libscg/scg/scsisense.mk 1.1 + date and time created 08/07/07 17:59:41 by joerg + +Mon Jul 7 17:59:24 2008 joerg + * libscg/scg/scsireg.mk 1.1 + date and time created 08/07/07 17:59:24 by joerg + +Mon Jul 7 17:59:09 2008 joerg + * libscg/scg/scsidefs.mk 1.1 + date and time created 08/07/07 17:59:09 by joerg + +Mon Jul 7 17:58:54 2008 joerg + * libscg/scg/scsicdb.mk 1.1 + date and time created 08/07/07 17:58:54 by joerg + +Mon Jul 7 17:58:34 2008 joerg + * libscg/scg/scgops.mk 1.1 + date and time created 08/07/07 17:58:34 by joerg + +Mon Jul 7 17:58:20 2008 joerg + * libscg/scg/scgio.mk 1.1 + date and time created 08/07/07 17:58:20 by joerg + +Mon Jul 7 17:58:01 2008 joerg + * libscg/scg/scgcmd.mk 1.1 + date and time created 08/07/07 17:58:01 by joerg + +Mon Jul 7 17:57:45 2008 joerg + * libscg/scg/aspi-win32.mk 1.1 + date and time created 08/07/07 17:57:45 by joerg + +Mon Jul 7 17:55:07 2008 joerg + * libscg/scg/aspi-dos.mk 1.1 + date and time created 08/07/07 17:55:07 by joerg + +Thu Jul 3 12:22:24 2008 joerg + * autoconf/config.guess 1.9 + "x86":"Darwin" neu + +Tue Jun 24 23:03:17 2008 joerg + * cdrecord/version.h 1.17 + Version -> 2.01.01a42 + +Tue Jun 24 22:19:39 2008 joerg + * cdda2wav/Makefile 1.15 + parse.c und parse.h neu + +Tue Jun 24 22:18:20 2008 joerg + * cdda2wav/interface.h 1.21 + Copyright -> 2008 + +Tue Jun 24 22:16:52 2008 joerg + * cdda2wav/global.h 1.20 + interactive neu + +Tue Jun 24 22:16:23 2008 joerg + * cdda2wav/interface.h 1.20 + * cdda2wav/interface.c 1.60 + poll_in() neu + +Tue Jun 24 22:15:43 2008 joerg + * cdda2wav/parse.c 1.1 + date and time created 08/06/24 22:15:43 by joerg + +Tue Jun 24 22:12:37 2008 joerg + * cdda2wav/parse.h 1.1 + date and time created 08/06/24 22:12:37 by joerg + +Sat Jun 21 13:06:26 2008 joerg + * cdda2wav/semshm.c 1.22 + * cdda2wav/cdda2wav.1 1.26 + * cdda2wav/ringbuff.c 1.16 + * cdda2wav/global.h 1.19 + Copyright -> 2008 + +Sat Jun 21 13:03:33 2008 joerg + * cdda2wav/cdda2wav.c 1.88 + * cdda2wav/cdda2wav.1 1.25 + * cdda2wav/global.h 1.18 + * cdda2wav/ringbuff.c 1.15 + Neue Option -no-fork + +Sat Jun 21 13:01:10 2008 joerg + * cdda2wav/semshm.c 1.21 + Semaphore Routinen werden bei global.have_forked == 0 deaktiviert + +Sat Jun 21 12:48:52 2008 joerg + * libedc/edc_ecc.c 1.25 + coveritiy Fox von Heiko fuer Arrayueberlauf in L1 Coder + +Sun Jun 15 14:25:09 2008 joerg + * cdrecord/version.h 1.16 + 2.01.01a41 + +Sat Jun 14 20:59:43 2008 joerg + * cdda2wav/toc.c 1.76 + sa.sin_addr.s_addr + sa.sin_port Zuweisung ohne malloc(): coverity + +Sat Jun 14 12:38:22 2008 joerg + * scgcheck/sense.c 1.7 + Neuen Versuch "illegal field in cdb" zu erkennen erstmal auskommentiert + +Sat Jun 14 12:36:30 2008 joerg + * cdrecord/cue.c 1.34 + * cdrecord/xio.c 1.17 + * cdrecord/fifo.c 1.53 + xmarkpos(vp)/xclose(vp) umstrukturiert um Dereferenzieren von vp (NULL) zu vermeiden: coverity + +Sat Jun 14 12:20:38 2008 joerg + * cdrecord/drv_mmc.c 1.190 + i_to_2_byte(&scmd->cdb.g1_cdb.count[1], cnt); -> i_to_2_byte(&scmd->cdb.cmd_cdb[8], cnt); ....: coverity + +Sat Jun 14 12:17:13 2008 joerg + * cdrecord/scsilog.c 1.21 + i_to_2_byte(&scmd->cdb.g1_cdb.addr[3], pp); -> i_to_2_byte(&scmd->cdb.cmd_cdb[5], pp); in log_sense(): coverity + +Sat Jun 14 12:13:05 2008 joerg + * cdda2wav/toc.c 1.75 + Schreibfehler in Read_MCN_toshiba() ((*sub_ch) != 0 || -> ((*sub_ch) != 0 && :coverity + +Sat Jun 14 12:07:47 2008 joerg + * libschily/libschily-mapvers 1.11 + checkerr.c fstream.c getperm.c neu + +Sat Jun 14 12:05:37 2008 joerg + * libschily/Targets 1.11 + checkerr.c fstream.c getperm.c gettimeofday.c sleep.c neu + +Sat Jun 14 12:00:14 2008 joerg + * libschily/gettimeofday.c 1.1 + date and time created 08/06/14 12:00:14 by joerg + +Sat Jun 14 01:45:40 2008 joerg + * cdda2wav/interface.c 1.59 + Code zur Pruefung von pdev_name != NULL in OpenCdRom() eindeutiger: coverity + +Sat Jun 14 00:32:03 2008 joerg + * libschily/getav0.c 1.20 + * libschily/getfp.c 1.18 + * libschily/format.c 1.43 + * mkisofs/diag/isoinfo.c 1.62 + * mkisofs/diag/dump.c 1.31 + * mkisofs/diag/isodebug.c 1.20 + * mkisofs/scsi.c 1.29 + * btcflash/skel.c 1.15 + * scgskeleton/skel.c 1.12 + * cdrecord/drv_sony.c 1.81 + * cdrecord/drv_philips.c 1.77 + * cdrecord/scsi_cdr.c 1.155 + * btcflash/btcflash.c 1.13 + * mkisofs/mkisofs.c 1.238 + * mkisofs/dvd_file.c 1.8 + * mkisofs/ifo_read.c 1.11 + * mkisofs/multi.c 1.86 + * mkisofs/tree.c 1.109 + * mkisofs/walk.c 1.8 + * mkisofs/match.c 1.27 + * mkisofs/stream.c 1.11 + * mkisofs/apple.c 1.32 + * mkisofs/diag/isodump.c 1.35 + * mkisofs/diag/isovfy.c 1.34 + * libschily/avoffset.c 1.29 + * libschily/getargs.c 2.56 + * libfind/find_list.c 1.22 + * libfind/walk.c 1.33 + * mkisofs/mkisofs.h 1.131 + * libscg/scsi-remote.c 1.25 + Copyright -> 2008 + +Fri Jun 13 23:07:00 2008 joerg + * libparanoia/paranoia.c 1.37 + in i_stage2_each() v nicht dereferenzieren bevor auf v != NULL getestet wurde: coverity + +Fri Jun 13 22:48:10 2008 joerg + * cdrecord/vendor.c 1.1 + date and time created 08/06/13 22:48:10 by joerg + +Fri Jun 13 22:10:54 2008 joerg + * libscg/scsi-remote.c 1.24 + Test auf scgp->local == NULL nun frueher + +Fri Jun 13 21:42:37 2008 joerg + * scgcheck/scgcheck.c 1.13 + scgp neu oeffnen nach scgp2 Test wenn es nicht mehr funktioniert + +Fri Jun 13 21:10:57 2008 joerg + * scgcheck/scgcheck.c 1.12 + -auto Option neu + scg_openerr()/find_drive() neu + chkprint()/chkgetline() neu + Umstellung auf chkprint()/chkgetline() + Statt festem dev=0,6,0 Default, nach erstem CD-ROM suchen + +Fri Jun 13 21:06:09 2008 joerg + * scgcheck/dmaresid.c 1.9 + Umstellung auf chkprint()/chkgetline() + +Fri Jun 13 21:02:44 2008 joerg + * scgcheck/scgcheck.1 1.11 + -auto neu + +Wed Jun 11 01:27:34 2008 joerg + * libsiconv/sic_nls.c 1.7 + fclose(f) im Fehlerfall nicht vergessen: coverity + +Wed Jun 11 01:23:35 2008 joerg + * mkisofs/diag/isovfy.c 1.33 + * btcflash/btcflash.c 1.12 + * mkisofs/dvd_file.c 1.7 + * mkisofs/ifo_read.c 1.10 + * mkisofs/match.c 1.26 + Speicherlecks vermeiden: coverity + +Wed Jun 11 01:20:49 2008 joerg + * mkisofs/apple.c 1.31 + get_hfs_fe_info() so umgestellt, dasz fp immer geschlossen werden kann: coverity + +Sun Jun 8 23:22:57 2008 joerg + * cdrecord/drv_philips.c 1.76 + i_to_4_byte(&scmd->cdb.g1_cdb.addr[3], len); -> i_to_4_byte(&scmd->cdb.cmd_cdb[5], len); in reserve_track_philips(): coverity + +Sun Jun 8 23:20:28 2008 joerg + * cdrecord/drv_sony.c 1.80 + i_to_4_byte(&scmd->cdb.g1_cdb.addr[3], len); -> i_to_4_byte(&scmd->cdb.cmd_cdb[5], len); in reserve_track_sony(): coverity + +Sun Jun 8 23:05:51 2008 joerg + * cdrecord/scsi_cdr.c 1.154 + scsi_load() dp != NULL Test nun vor Dereferenzierung: coverity + +Sun Jun 8 22:56:59 2008 joerg + * cdrecord/scsi_cdr.c 1.153 + i_to_4_byte(&scmd->cdb.g1_cdb.addr[3], size); -> i_to_4_byte(&scmd->cdb.cmd_cdb[5], size); in reserve_tr_rzone(): coverity + +Sun Jun 8 22:15:18 2008 joerg + * mkisofs/mkisofs.c 1.237 + Code von Patrik Ohly repariert, Hinweis von Ben Korvemaker FreeBSD + +Sun Jun 8 13:11:18 2008 joerg + * cdrecord/scsi_cdr.c 1.152 + Null Pointer Dereferenierung bei offp == NULL in read_trackinfo() verhindern: coverity + +Sun Jun 8 13:02:32 2008 joerg + * mkisofs/ifo_read.c 1.9 + Schreibfehler free(ifofile->vtsi_mat) -> free(ifofile->vmgi_mat) coverity + +Thu Jun 5 23:52:52 2008 joerg + * mkisofs/tree.c 1.108 + no_scandir nicht mehr verwenden, delete_directory() Tests auf nicht gefundenes "child" verbessern: coverity + +Thu Jun 5 23:36:28 2008 joerg + * mkisofs/stream.c 1.10 + write_str_file() free(buf) neu gegen Speicherleck: coverity + +Thu Jun 5 23:34:38 2008 joerg + * mkisofs/multi.c 1.85 + merge_remaining_entries() s_entry->name != NULL testen vor strcmp(): coverity + +Thu Jun 5 23:29:19 2008 joerg + * mkisofs/walk.c 1.7 + -debug check auf de == NULL in printf() args: coverity + +Thu Jun 5 23:15:34 2008 joerg + * mkisofs/diag/isodump.c 1.34 + goof mit 0 initialisieren: coverity + +Thu Jun 5 23:13:42 2008 joerg + * libschily/getargs.c 2.55 + fmt[1] erst auswerten nachdem fmt[0] geprüft wurde: coverity + +Thu Jun 5 23:04:11 2008 joerg + * cdrecord/readcd.c 1.98 + end in write_disk() initialisiert: coverity + +Wed Jun 4 23:29:25 2008 joerg + * libscg/scsi-remote.c 1.23 + Klarerer Code in rscsigetstatus(): rscsireadbuf() nicht mit buf == NULL + count == 0 rufen coverity + +Wed Jun 4 23:17:12 2008 joerg + * libscg/scsi-remote.c 1.22 + rscsiversion() testet nun ret auf <= 0 wegen malloc(ret) coverity + +Wed Jun 4 21:41:11 2008 joerg + * mkisofs/name.c 1.34 + tildes wird nicht gebraucht weil #ifdef Eric_code_does_not_work + +Mon May 26 23:07:24 2008 joerg + * mkisofs/mkisofs.8 1.124 + -chrp-boot neu + +Sun May 25 22:07:55 2008 joerg + * cdrecord/version.h 1.15 + Version -> 2.01.01a39 + +Fri May 23 20:18:37 2008 joerg + * mkisofs/multi.c 1.84 + multi-extent Files gehen nun auch mit multi session aus alten Sessions + +Fri May 23 20:17:27 2008 joerg + * mkisofs/tree.c 1.107 + isorec.flags[0] |= ISO_MULTIEXTENT; schon bei multi extent root header setzen + +Fri May 23 20:16:51 2008 joerg + * mkisofs/mkisofs.h 1.130 + dup_directory_entry() nun global + +Sun May 18 14:46:21 2008 joerg + * cdrecord/Makefile 1.44 + vendor.c neu + +Sun May 18 14:21:25 2008 joerg + * mkisofs/mkisofs.c 1.236 + Eltorito hat nichts mit APPLE_HYB zu tun + +Sun May 18 14:05:08 2008 joerg + * autoconf/xconfig.h.in 1.144 + * autoconf/configure.in 1.149 + SIZEOF_FLOAT / SIZEOF_DOUBLE neu + +Thu May 1 18:07:01 2008 joerg + * pkgdefs/CSW/CSWcdrtools/prototype 1.2 + share/man/man1/rscsi.1 neu + +Thu May 1 18:06:17 2008 joerg + * pkgdefs/CSW/CSWcdrtools/pkginfo 1.2 + Version -> 2.01.01a39 + +Thu May 1 18:05:43 2008 joerg + * pkgdefs/CSW/CSWcdrtools/depend 1.2 + CSWpxupgrade neu + +Thu May 1 18:02:42 2008 joerg + * pkgdefs/CSW/CSWpxupgrade/pkginfo 1.2 + Version -> 1.45 + +Thu May 1 17:41:19 2008 joerg + * pkgdefs/CSW/CSWsccs/pkginfo 1.2 + Version -> 1.00.02 und BASEDIR= beseitigt + +Thu May 1 17:38:39 2008 joerg + * pkgdefs/CSW/CSWsccs/Makefile 1.2 + PKG_RELOC=no neu + +Thu May 1 17:36:49 2008 joerg + * pkgdefs/CSW/CSWschilybase/prototype_com 1.2 + siconv neu, libgetopt/libfind/libsiconv/libshedit neu + +Thu May 1 17:34:36 2008 joerg + * pkgdefs/CSW/CSWschilyutils/prototype 1.2 + sh lndir sgrow termcap mountce neu pxupgrade -> CSQpxupgrade + +Thu May 1 16:12:53 2008 joerg + * pkgdefs/CSW/CSWsmake/pkginfo 1.2 + version -> 1.2a42 + +Thu May 1 16:09:52 2008 joerg + * pkgdefs/CSW/CSWstar/pkginfo 1.2 + Version -> 1.5 + +Thu May 1 16:04:22 2008 joerg + * pkgdefs/CSW/CSWved/copyright 1.2 + GPL -> CDDL + +Thu May 1 00:38:28 2008 joerg + * pkgdefs/CSW/CSWpxupgrade/copyright 1.1 + * pkgdefs/CSW/CSWpxupgrade/Makefile 1.1 + * pkgdefs/CSW/CSWpxupgrade/pkginfo 1.1 + * pkgdefs/CSW/CSWpxupgrade/prototype 1.1 + * pkgdefs/CSW/CSWpxupgrade/depend 1.1 + date and time created 08/05/01 00:38:28 by joerg + +Thu May 1 00:32:32 2008 joerg + * mkisofs/mkisofs.c 1.235 + Warnungen fuer zu lange Strings fuer den PVD + +Tue Apr 29 23:53:19 2008 joerg + * pkgdefs/CSW/CSWsccs/prototype_r 1.1 + date and time created 08/04/29 23:53:19 by joerg + +Tue Apr 29 21:33:14 2008 joerg + * makefiles/RULES/rules.csw 1.2 + .$(PKG_RELOC) = .no neu fuer CSWsccs Paket + +Mon Apr 28 00:36:55 2008 joerg + * cdrecord/version.h 1.14 + Version -> 2.01.01a39 + +Sun Apr 27 16:55:04 2008 joerg + * makefiles/RULES/rules.pkg 1.4 + Schreibfehler $$ -> && + +Thu Apr 24 00:14:43 2008 joerg + * mkisofs/mkisofs.c 1.234 + -no-bak wieder eingebaut (war versehentlich geloescht) + get_graft() nun mit glen/nlen Parameter damit wieder etwas vergleichbares zu sizeof (graft_point) wieder funktioniert damit geht dir=from/ wieder + escstrcpy() nun mit tolen Parameter + +Sat Apr 19 18:22:23 2008 joerg + * makefiles/RULES/rules.pkg 1.3 + * makefiles/RULES/sub.htm 1.4 + * makefiles/RULES/rules.mks 1.13 + * makefiles/RULES/rules1.dir 1.14 + * makefiles/RULES/rules.ins 1.18 + || exit 255 beseitigt weil damit make -i nicht mehr nach einem Fehler weiterlaeuft + +Thu Apr 17 00:57:50 2008 joerg + * mkisofs/mkisofs.c 1.233 + Code umgestellt, so dasz die Apple Optionen korrekt sind bevor iconv() geladen wird damit --ethershare nicht zu coredump fuehrt wenn /opt/schily/libschily/siconv fehlt + +Thu Apr 17 00:46:52 2008 joerg + * makefiles/RULES/rules.pkg 1.2 + * makefiles/RULES/rules.ins 1.17 + * makefiles/RULES/rules.mks 1.12 + * makefiles/RULES/sub.htm 1.3 + * makefiles/RULES/rules1.dir 1.13 + Workarounds fuer BASH sh -ce Problem + +Thu Apr 17 00:32:18 2008 joerg + * libfind/find.c 1.74 + numarg bei -size konnte uninitialisiert sein + +Sat Apr 12 23:43:55 2008 joerg + * libfind/find_main.c 1.62 + Copyright -> 2008 + Version -> 1.4 + +Thu Apr 10 19:04:53 2008 joerg + * libfind/find.c 1.73 + find . -size -20k funktioniert nun korrekt + +Sun Apr 6 20:33:33 2008 joerg + * libfind/Targets 1.5 + * libfind/libfind-mapvers 1.9 + cmpdir.c neu + name.c ->idcache.c + +Sun Apr 6 20:26:34 2008 joerg + * rscsi/Makefile 1.6 + Makefile.man neu + +Sun Apr 6 20:07:14 2008 joerg + * mkisofs/walk.c 1.6 + * mkisofs/Makefile 1.33 + * mkisofs/mkisofs.c 1.232 + Umbau auf #include + +Sun Apr 6 19:26:17 2008 joerg + * libfind/idcache.c 1.25 + * include/schily/idcache.h 1.2 + uid_nobody() -> ic_uid_nobody() + +Sun Apr 6 17:08:56 2008 joerg + * include/schily/Makefile 1.9 + * include/schily/Mrel 1.9 + idcache.mk neu + +Sun Apr 6 17:07:24 2008 joerg + * include/schily/idcache.mk 1.1 + date and time created 08/04/06 17:07:24 by joerg + +Sun Apr 6 17:06:40 2008 joerg + * include/schily/idcache.h 1.1 + date and time created 08/04/06 17:06:40 by joerg + +Sun Apr 6 16:57:33 2008 joerg + * libfind/find_list.c 1.21 + Umbau auf schily/idcache.h + +Sun Apr 6 16:38:53 2008 joerg + * libfind/idcache.c 1.24 + ic_ Praefix neu + +Sun Apr 6 15:37:10 2008 joerg + * libfind/find.c 1.72 + nameuid()/namegid() beseitigt + +Sun Apr 6 15:26:45 2008 joerg + * include/schily/Mrel 1.8 + * include/schily/Makefile 1.8 + fetchdir.mk find.mk walk.mk + +Sun Apr 6 15:25:33 2008 joerg + * include/schily/fetchdir.h 1.5 + * include/schily/find.h 1.19 + * include/schily/walk.h 1.24 + von libfind nach include/schily + +Sun Apr 6 15:05:46 2008 joerg + * libfind/walk.c 1.32 + * libfind/find_list.c 1.20 + * libfind/find_main.c 1.61 + * libfind/find.c 1.71 + Umbau auf schily/find.h und schily/walk.h + +Sun Apr 6 14:07:50 2008 joerg + * include/schily/find.mk 1.1 + date and time created 08/04/06 14:07:50 by joerg + +Sun Apr 6 14:07:34 2008 joerg + * include/schily/walk.mk 1.1 + date and time created 08/04/06 14:07:34 by joerg + +Sun Apr 6 13:52:19 2008 joerg + * libfind/walk.c 1.31 + * libfind/fetchdir.c 1.23 + * libfind/cmpdir.c 1.23 + Umbau auf schily/fetchdir.h + +Sun Apr 6 13:17:08 2008 joerg + * libfind/cmpdir.c 1.22 + Aus fetchdir.c ausgegliedert + +Sun Apr 6 13:03:24 2008 joerg + * include/schily/fetchdir.mk 1.1 + date and time created 08/04/06 13:03:24 by joerg + +Sun Apr 6 12:51:28 2008 joerg + * libfind/fetchdir.c 1.22 + sortdir()/cmpdir() beseitigt + +Sun Apr 6 12:50:03 2008 joerg + * libfind/fetchdir.h 1.4 + * include/schily/fetchdir.h 1.4 + sortdir()/cmpdir() neu + +Sun Mar 30 13:25:59 2008 joerg + * rscsi/rscsi.1 1.1 + date and time created 08/03/30 13:25:59 by joerg + +Thu Mar 27 19:58:16 2008 joerg + * autoconf/xconfig.h.in 1.143 + * autoconf/configure.in 1.148 + libgen.h Test neu + +Thu Mar 27 19:56:28 2008 joerg + * libscg/scsi-sun.c 1.89 + Copyright -> 2008 + +Tue Mar 18 20:52:37 2008 joerg + * makefiles/RULES/rules1.top 1.41 + $(SRCROOTSL)incs mit separater Regel ($(SRCROOTSL)incs/Dnull) anlegen damit $(_DCC) nicht immer neu erzeugt wirt wenn $(SRCROOTSL)incs/ neuer wird + +Tue Mar 18 20:52:37 2008 joerg + * libschily/avoffset.c 1.28 + getfp.c nur includieren wenn HAVE_SCANSTACK + +Thu Mar 13 00:34:42 2008 joerg + * makefiles/RULES/rules1.top 1.40 + include $(SRCROOT)/$(RULESDIR)/rules.prg neu und mkdir $(SRCROOTSL)incs bei Bedarf + +Thu Mar 13 00:27:30 2008 joerg + * libscg/scsi-sun.c 1.88 + Der DMA-size Workaround funktionierte nicht in 64 Bit weil defined(__amd64) fehlte + +Tue Feb 26 20:24:30 2008 joerg + * libschily/format.c 1.42 + %j Format repariert (war wohl nie getestet) + +Tue Feb 26 20:23:11 2008 joerg + * mkisofs/tree.c 1.106 + memmove() #define beseitigt weil es schon in mkisofs.h ist + +Tue Feb 26 20:22:49 2008 joerg + * mkisofs/mkisofs.h 1.129 + Schreibfehler bei memmove()/memcpy() Makro beseitigt + +Tue Feb 26 00:53:26 2008 joerg + * cdrecord/drv_bd.c 1.9 + blank_bd() ruft nun blank_simul() + +Tue Feb 26 00:50:57 2008 joerg + * cdrecord/cdr_drv.c 1.44 + blank_simul() padbytes initialisieren + +Sun Feb 24 17:21:07 2008 joerg + * autoconf/xconfig.h.in 1.142 + * autoconf/configure.in 1.147 + getsid()/setsid() neu + +Wed Feb 20 18:52:08 2008 joerg + * autoconf/xconfig.h.in 1.141 + * autoconf/rules.cnf.in 1.17 + * autoconf/aclocal.m4 1.61 + * autoconf/configure.in 1.146 + Diverse Erweiterungen fuer die Bourne Shell Portierung + +Sun Feb 17 14:14:03 2008 joerg + * mkisofs/tree.c 1.105 + "File %s is too large for current mode - ignoring\n" -> "File %s is too large for current mkisofs settings - ignoring\n" + +Sun Feb 17 00:58:07 2008 joerg + * cdrecord/version.h 1.13 + Version -> 2.01.01a38 + +Sun Feb 17 00:49:10 2008 joerg + * libsiconv/sic_nls.c 1.6 + * cdrecord/defaults.c 1.22 + * cdrecord/readcd.c 1.97 + * cdrecord/defaults.h 1.3 + * cdda2wav/cdda2wav.c 1.87 + * libfind/find.c 1.70 + Copyright -> 2008 + +Sat Feb 16 16:38:07 2008 joerg + * cdrecord/drv_dvd.c 1.152 + Backslash am Ende der Zeile in normalen C-Code wird von SunOS-4.x cc nicht akzeptiert + +Sat Feb 16 16:33:52 2008 joerg + * libsiconv/sic_nls.c 1.5 + TAB_SIZE sicher gegen K&R sowie gcc-2.8 machen + +Sat Feb 16 16:32:01 2008 joerg + * include/schily/schily.h 1.69 + fdown Prototyp nicht definieren wenn fdown nicht #defininiert ist (z.B. libshedit) + +Wed Feb 13 20:30:04 2008 joerg + * libfind/find.c 1.69 + -exec + lieferte einen core-dump wenn der letzte string zu genau passte weil site_t size unsigned ist und keinen Pointervergleich in plusexec() ersetzen kann. + +Fri Feb 8 00:43:03 2008 joerg + * libschily/getargs.c 2.54 + Vor dem Aufruf von dosflags() erfolgt nun ein Aufruf mit flags & ~SETARGS um alle Optionen zu pruefen bevor eine falsch gesetzt wird + +Fri Feb 8 00:33:32 2008 joerg + * libschily/getargs.c 2.53 + Unnoetiger zweiter Aufruf von dosflags() am Ende des Formatstrings durch Codeumstellung beseitigt + +Fri Jan 18 00:15:10 2008 joerg + * makefiles/RULES/rules.tpk 1.6 + /tmp/so.$$ -> /tmp/so.$$$$ make escape + +Wed Jan 16 00:13:55 2008 joerg + * mkisofs/diag/isodebug.c 1.19 + * mkisofs/diag/isovfy.c 1.32 + * mkisofs/diag/isodump.c 1.33 + * mkisofs/diag/isoinfo.c 1.61 + * mkisofs/diag/dump.c 1.30 + * mkisofs/scsi.c 1.28 + * cdda2wav/cdda2wav.c 1.86 + * scgskeleton/skel.c 1.11 + * btcflash/skel.c 1.14 + * cdrecord/cdrecord.c 1.362 + * cdrecord/readcd.c 1.96 + * cdrecord/defaults.c 1.21 + * cdrecord/defaults.h 1.2 + cdr_defaults() hat nun auch Support fuer ts= Option + +Wed Jan 16 00:11:28 2008 joerg + * cdrecord/cdrecord.c 1.363 + CDR_FORCESPEED=any funktioniert nun wirklich + +Tue Jan 15 23:00:32 2008 joerg + * cdrecord/cdrecord.dfl 1.6 + CDR_SECURITY= beseitigt + CDR_TRANSFERSIZE= neu + +Fri Jan 11 18:28:49 2008 joerg + * makefiles/RULES/rules.tpk 1.5 + tarpkg0: Target neu + $(MAKEMACS) neu fuer z.B. LINKMODE=dynamic + +Fri Jan 11 18:28:13 2008 joerg + * makefiles/RULES/rules.ins 1.16 + $(SUBINSDIR) und $(SUBINS) neu + +Fri Jan 11 18:25:57 2008 joerg + * libsiconv/libsiconv_p.mk 1.3 + * libdeflt/libdeflt_p.mk 1.3 + * libedc/libedc_p.mk 1.3 + * libedc/libedc_dec_p.mk 1.3 + * libfind/libfind_p.mk 1.4 + * libfile/libfile_p.mk 1.4 + * libhfs_iso/libhfs_p.mk 1.3 + * libparanoia/paranoia_p.mk 1.3 + * libscg/librscg_p.mk 1.4 + * libscg/libscg_p.mk 1.4 + * libschily/libschily_p.mk 1.7 + SUBINSDIR= /profiled neu + +Fri Jan 11 18:21:39 2008 joerg + * libschily/getfp.c 1.17 + * libschily/getav0.c 1.19 + Dummyfunktionen getfp() getmainfp() getavp() mit raisecond() Aufruf wenn nicht HAVE_SCANSTACK + +Sun Jan 6 23:35:59 2008 joerg + * mkisofs/mkisofs.c 1.231 + Schreibfehler unides -> inodes + +Sun Jan 6 19:50:10 2008 joerg + * scgcheck/scgcheck.h 1.2 + chkprint()/chkgetline() neu + +Sun Jan 6 19:42:15 2008 joerg + * scgcheck/sense.c 1.6 + Umbau auf chkprint() und chkgetline() + +Thu Jan 3 17:07:48 2008 joerg + * autoconf/aclocal.m4 1.60 + * autoconf/xconfig.h.in 1.140 + * autoconf/configure.in 1.145 + AC_CHECK_SIZE_TIME_T neu + +Wed Jan 2 18:14:34 2008 joerg + * cdrecord/version.h 1.12 + Version -> 2.01.01a37 + +Wed Jan 2 18:14:20 2008 joerg + * cdrecord/cdrecord.c 1.361 + * cdrecord/drv_bd.c 1.8 + Copyright -> 2008 + +Wed Jan 2 18:13:54 2008 joerg + * cdrecord/cdrecord.h 1.195 + ds_trackp neu in struct diskstatus fuer blank_simul() + +Wed Jan 2 18:13:12 2008 joerg + * cdrecord/drv_dvdplus.c 1.47 + * cdrecord/drv_dvd.c 1.151 + * cdrecord/cdr_drv.c 1.43 + blank_simul() neu + +Wed Jan 2 18:09:35 2008 joerg + * include/schily/Mrel 1.7 + * include/schily/Makefile 1.7 + fstream.mk neu + +Wed Jan 2 18:09:16 2008 joerg + * include/schily/iconv.h 1.4 + HAVE_ICONV/HAVE_ICONV_OPEN/HAVE_ICONV_CLOSE nur definieren wenn dies noch nicht der Fall ist + +Wed Jan 2 18:08:27 2008 joerg + * include/schily/fstream.h 1.14 + stream.h -> schily/fstream.h + +Wed Jan 2 18:06:57 2008 joerg + * libschily/fstream.c 1.24 + stream.c -> fstream.c + +Wed Jan 2 14:27:09 2008 joerg + * autoconf/xconfig.h.in 1.139 + * autoconf/configure.in 1.144 + * autoconf/aclocal.m4 1.59 + AC_HEADER_SYS_SIGLIST_DEF + +Wed Jan 2 12:28:57 2008 joerg + * include/schily/fstream.mk 1.1 + date and time created 08/01/02 12:28:57 by joerg + +Sun Dec 30 18:38:56 2007 joerg + * libschily/fstream.c 1.23 + * include/schily/fstream.h 1.13 + read Funktion nicht mehr als sgetc() Parameter sondern im struct stream + +Thu Dec 27 18:02:23 2007 joerg + * libfind/find.c 1.68 + getperm() -> libschily + +Thu Dec 27 17:37:57 2007 joerg + * libschily/getperm.c 1.2 + GP_IGNX -> GP_XERR + +Thu Dec 27 17:37:20 2007 joerg + * include/schily/schily.h 1.68 + getperm() neu + +Thu Dec 27 16:33:54 2007 joerg + * libschily/getperm.c 1.1 + date and time created 07/12/27 16:33:54 by joerg + +Tue Dec 25 20:18:04 2007 joerg + * include/schily/fstream.h 1.12 + Abgesichert + +Tue Dec 25 20:10:37 2007 joerg + * libschily/fstream.c 1.22 + * include/schily/fstream.h 1.11 + stream.c ist nicht mehr bsh spezifisch + +Mon Dec 24 00:56:23 2007 joerg + * cdrecord/cdrecord.c 1.360 + Zusaetzlicher Aufruf von (*dp->cdr_getdisktype)() und evt. checkdsize() nach blank/format + +Sat Dec 22 15:26:40 2007 joerg + * libfind/find_main.c 1.60 + * include/schily/walk.h 1.23 + * include/schily/find.h 1.18 + * libfind/walk.h 1.23 + * libfind/walk.c 1.30 + * libfind/find.h 1.18 + * libfind/find.c 1.67 + find_main() mit zusaetzlichem "environment" Parameter fuer bsh/fexec PATH + +Sun Dec 16 20:00:07 2007 joerg + * mkisofs/write.c 1.117 + Auch Extent in s_entry->mxroot->isorec.extent setzen damit UDF nei multi extent Files korrekt funktioniert + nach einem Hinweis duch Pav Lucistnik + +Sat Dec 1 20:16:32 2007 joerg + * include/schily/mconfig.h 1.62 + * include/schily/avoffset.h 1.7 + * include/schily/align.h 1.6 + Copyright -> 2007 + +Sat Dec 1 20:11:45 2007 joerg + * makefiles/RULES/r-gmake.tag 1.3 + * makefiles/RULES/r-make.tag 1.3 + * makefiles/RULES/r-smake.tag 1.4 + $(CFILES_TAG) und $(HFILES_TAG) neu + +Tue Nov 27 23:31:57 2007 joerg + * cdrecord/readcd.1 1.29 + -edc-corr neu + +Tue Nov 27 22:49:03 2007 joerg + * libsiconv/sic_nls.c 1.4 + __STDC__ Test neu wegen Problemen mit SCO OpenServer 5 Compiler + +Mon Nov 26 23:28:58 2007 joerg + * libfind/find.c 1.66 + slen -> siye_t passend zu strlen() + +Mon Nov 26 23:25:24 2007 joerg + * libfind/find.c 1.65 + -size versteht nun auch -size -1m + +Thu Nov 22 23:02:38 2007 joerg + * libscg/scg/scgcmd.h 2.25 + _MULTI_DATAMODEL -> defined(_KERNEL) && defined(_MULTI_DATAMODEL) + +Thu Nov 22 20:28:40 2007 joerg + * libscg/scg/scgcmd.h 2.26 + Toter Code beseitigt + +Wed Nov 21 22:11:43 2007 joerg + * libscg/scg/scgcmd.h 2.24 + _MULTI_DATAMODEL neu fuer Solaris x86_64 + #ifdef _KERNEL scsi_status und mehr in scg_status umdefinieren, nur zur Kompilation von scg.c + +Wed Nov 21 22:10:27 2007 joerg + * libscg/scg/scgio.h 2.17 + SCGIOCMD32 fuer Solaris x86_64 neu + +Sun Nov 11 23:33:14 2007 joerg + * cdrecord/cdrecord.1 1.118 + lofi erwaehnen + +Fri Nov 2 20:04:12 2007 joerg + * makefiles/RULES/version 1.4 + Version -> 1.5a05 + +Sun Oct 28 22:18:33 2007 joerg + * include/schily/mconfig.h 1.61 + #define LOCK_SH ... beseitigt + +Wed Oct 24 23:30:41 2007 joerg + * mkisofs/diag/isovfy.c 1.31 + * mkisofs/diag/isoinfo.c 1.60 + * mkisofs/diag/isodump.c 1.32 + * mkisofs/diag/dump.c 1.29 + #ifdef USE_LIBSCHILY beseitigt + +Wed Oct 24 18:28:58 2007 joerg + * conf/Makefile 1.6 + Warnung mit Sun Make verhindern + +Wed Oct 24 18:16:00 2007 joerg + * cdrecord/drv_bd.c 1.7 + Unformatierte BD ist "nur" noch dip->disk_status == DS_EMPTY statt dip->disk_status == DS_EMPTY && dip->disk_type == SES_UNDEF + +Wed Oct 24 18:15:10 2007 joerg + * mkisofs/diag/isoinfo.c 1.59 + list_vd() neu + isoinfo -dJ listet Joliet Volume descriptor + Diverse neue LOCAL Angaben + +Tue Oct 23 15:27:36 2007 joerg + * cdrecord/version.h 1.11 + Version -> 2.01.01a36 + +Sat Oct 20 21:36:28 2007 joerg + * mkisofs/joliet.c 1.54 + assign_joliet_directory_addresses() testet nun nur noch auf INHIBIT_JOLIET_ENTRY und nicht mehr auf INHIBIT_JOLIET_ENTRY|INHIBIT_UDF_ENTRY + +Sat Oct 20 19:58:22 2007 joerg + * mkisofs/write.c 1.116 + Schreibfehler in free_one_directory() beseitigt der einen Coredump verursachte (s_entry->isorec. -> s_entry_d->isorec.) + +Sat Oct 20 19:57:24 2007 joerg + * mkisofs/mkisofs.c 1.230 + Warning: cannot support large files with -hfs Meldung nur noch wenn wirklich Largefiles aktiviert waren + +Sat Oct 20 16:03:18 2007 joerg + * makefiles/RULES/MKLINKS 1.67 + x86_64-linux-suncc* korrigiert + +Sat Oct 20 15:55:05 2007 joerg + * makefiles/RULES/i586-linux-suncc64.rul 1.2 + 64 Bit neu + +Wed Oct 10 21:14:39 2007 joerg + * cdrecord/readcd.1 1.28 + Schreibfehler + +Wed Oct 10 14:49:29 2007 joerg + * makefiles/RULES/MKLINKS 1.66 + ip35-irix-cc*.rul neu + +Sat Oct 6 14:18:10 2007 joerg + * cdrecord/cdrecord.c 1.359 + read buffer header hat nur 3 Byte fuer die Puffergroesse + vorsichtigerer Umgang mit read buffer bei get_dmaspeed() + +Sat Oct 6 13:41:43 2007 joerg + * scgskeleton/doit.c 1.25 + read buffer liefert nur 3 Byte size(int) + +Sat Oct 6 13:33:26 2007 joerg + * libfind/walk.c 1.29 + st_ino ... auf sinnvolle Werte setzen wenn ken stat(2) durchgefuehrt wurde + +Fri Oct 5 00:33:48 2007 joerg + * cdrecord/scsi_mmc.c 1.43 + Format-type bei Format Capacity Liste neu + +Tue Oct 2 14:42:25 2007 joerg + * libscg/scg/scsireg.h 1.33 + Schrteibfehler taype -> Type + +Mon Oct 1 20:16:53 2007 joerg + * cdda2wav/cdda2wav.1 1.24 + .B Makro mit mehr als 6 Paramtern nun mit " + +Sun Sep 30 17:03:46 2007 joerg + * cdrecord/cdrecord.c 1.358 + * scgcheck/scgcheck.c 1.11 + Bessere Formulierung fuer die Namensrechte am Programm + +Sat Sep 22 16:06:18 2007 joerg + * libschily/checkerr.c 1.18 + * libfind/find_main.c 1.59 + * libfind/walk.h 1.22 + * include/schily/walk.h 1.22 + Cstyle + +Fri Sep 21 14:31:42 2007 joerg + * scgcheck/scgcheck.c 1.10 + Schreibfehler scgckeck -> scgcheck + +Fri Sep 21 14:30:58 2007 joerg + * cdda2wav/cdda2wav.1 1.23 + Besserer Text fuer -paranoia + +Fri Sep 21 14:29:59 2007 joerg + * cdda2wav/toc.c 1.74 + Auskommentierter Code mit Acenten und Apostroph fuer CDDB Test neu + +Thu Sep 20 13:02:53 2007 joerg + * cdrecord/drv_dvd.c 1.150 + Loeschen geht nun auch fuer DVD-RW/DL + +Thu Sep 20 13:01:33 2007 joerg + * cdrecord/cdrecord.1 1.117 + * cdrecord/cdrecord.c 1.357 + CDR_FORCESPEED=any hebt alle Speedberenzungen auf + +Sun Sep 16 12:47:08 2007 joerg + * mkisofs/apple_driver.c 1.8 + -> "mac_label.h" + get_???() an mkisofs angepasst + +Tue Sep 11 15:20:28 2007 joerg + * mkisofs/Makefile 1.32 + $(LIB_ACL) -> $(LIB_ACL_TEST) + +Tue Sep 11 14:58:07 2007 joerg + * autoconf/configure.in 1.143 + * autoconf/rules.cnf.in 1.16 + Besserer Kommentar fuer LIB_ACL / LIB_ACL_TEXT + +Mon Sep 10 15:20:46 2007 joerg + * cdda2wav/interface.c 1.58 + Linux Hilfe von dev=ATA:1,0,0 -> dev=1,0,0 + +Mon Sep 10 15:19:57 2007 joerg + * cdda2wav/interface.c 1.57 + * cdda2wav/global.h 1.17 + * cdda2wav/toc.c 1.73 + * cdda2wav/cdda2wav.c 1.85 + * cdda2wav/cdda2wav.1 1.22 + * cdda2wav/cd_text.c 1.8 + * cdda2wav/cd_extra.c 1.14 + out-fd=# und audio-fd=# neu + +Sun Sep 9 13:47:12 2007 joerg + * autoconf/xconfig.h.in 1.138 + * autoconf/configure.in 1.142 + HAVE_SIGNAL neu + +Sun Sep 9 13:43:27 2007 joerg + * autoconf/xconfig.h.in 1.137 + * autoconf/configure.in 1.141 + HAVE_KILL neu + +Mon Sep 3 00:29:56 2007 joerg + * cdrecord/version.h 1.10 + Version -> 2.01.01a35 + +Mon Sep 3 00:25:12 2007 joerg + * libschily/checkerr.c 1.17 + errflags() versucht nicht mehr den String Paramerer zu modifizieren (GCC Core dump) + +Sun Sep 2 20:37:13 2007 joerg + * cdrecord/cdrecord.c 1.356 + Bessere Codestruktur fuer DVD Erkennung + +Sun Sep 2 20:21:15 2007 joerg + * cdda2wav/cdda2wav.1 1.21 + Neue Option -start-sector + Fehlende alte Optionen ergänzt + paraopts= erklaert + Paranoia Statistiken erklaert + +Sun Sep 2 16:32:43 2007 joerg + * cdda2wav/cdda2wav.c 1.84 + -start-sector neu + +Sun Sep 2 15:00:39 2007 joerg + * libparanoia/p_block.c 1.25 + paranoia_dynoverlapset() setzt nun auch p->dynoverlap auf sinvollen Startwert + +Sat Sep 1 14:09:47 2007 joerg + * cdrecord/scsi_mmc.c 1.42 + * cdrecord/scsi_cdr.c 1.151 + * cdrecord/readcd.c 1.95 + * cdrecord/drv_dvd.c 1.149 + Cstyle + +Sat Sep 1 14:02:49 2007 joerg + * cdda2wav/cdda2wav.c 1.83 + Trailing Space beseitigt + +Sat Sep 1 14:00:41 2007 joerg + * cdda2wav/global.h 1.16 + Trailing Blank beseitigt + +Tue Aug 21 15:21:30 2007 joerg + * autoconf/xconfig.h.in 1.136 + * autoconf/configure.in 1.140 + realpath() / resolvepath() neu + +Mon Aug 20 18:43:36 2007 joerg + * cdrecord/version.h 1.9 + Version -> 2.01.01a34 + +Mon Aug 20 18:35:48 2007 joerg + * mkisofs/write.c 1.115 + free_one_directory() free()d s_entry_d->hfs_ent nur noch wenn (s_entry->isorec.flags[0] & ISO_MULTIEXTENT) == 0, siehe dup_directory_entry() + +Mon Aug 20 18:34:53 2007 joerg + * mkisofs/tree.c 1.104 + Umbau auf dup_directory_entry() damit alle allozierten Member von struct directory_entry * neu alloziert werden und kein Double Free in free_one_directory() erfolgt + +Mon Aug 20 18:20:48 2007 joerg + * mkisofs/tree.c 1.103 + * mkisofs/apple.c 1.30 + * mkisofs/multi.c 1.83 + * mkisofs/write.c 1.114 + * mkisofs/eltorito.c 1.43 + * mkisofs/dvd_reader.c 1.7 + * mkisofs/files.c 1.16 + strdup() -> e_strdup() + +Mon Aug 20 18:18:06 2007 joerg + * mkisofs/mkisofs.c 1.229 + * mkisofs/mkisofs.h 1.128 + e_strdup() neu + +Sun Aug 19 13:24:41 2007 joerg + * cdda2wav/toc.c 1.72 + stelen() +1 als len fuer realloc() statt strlen() -1 + +Mon Aug 13 00:07:31 2007 joerg + * mkisofs/mkisofs.c 1.228 + warn_violate nur noch bei iso9660_level < 4 + +Sun Aug 12 22:48:21 2007 joerg + * cdrecord/version.h 1.8 + Version -> 2.01.01a33 + +Sun Aug 12 22:45:38 2007 joerg + * cdrecord/readcd.c 1.94 + Auskommentierter Code beseitigt + +Sun Aug 12 22:27:17 2007 joerg + * cdrecord/readcd.c 1.93 + * cdrecord/readcd.1 1.27 + -pi8scan, -pifscan, -plot neu + +Fri Aug 10 00:09:59 2007 joerg + * cdrecord/cdrecord.c 1.355 + * cdrecord/cdrecord.h 1.194 + TI_DVD -> TI_NOCD + +Thu Aug 9 01:28:40 2007 joerg + * cdrecord/cdrecord.c 1.354 + * cdrecord/cdrecord.h 1.193 + * cdrecord/drv_bd.c 1.6 + * cdrecord/drv_simul.c 1.57 + * cdrecord/drv_dvdplus.c 1.46 + * cdrecord/drv_dvd.c 1.148 + DSF_NOCD / CDR2_NOCD / CDR2_BD neu + DST_BD_* neu + +Thu Aug 9 01:26:01 2007 joerg + * cdrecord/scsi_mmc.c 1.41 + get_secsps() liefert per Default 75.0 + +Thu Aug 9 00:59:51 2007 joerg + * cdrecord/cdrecord.c 1.353 + Neuer Text fuer cdrecord/LIMITATIONS + +Thu Aug 9 00:35:56 2007 joerg + * cdrecord/scsi_mmc.c 1.40 + get_secsps() neu + +Tue Aug 7 18:45:02 2007 joerg + * cdrecord/cdrecord.copyright 1.1 + date and time created 07/08/07 18:45:02 by joerg + +Tue Aug 7 17:22:30 2007 joerg + * cdrecord/LIMITATIONS 1.2 + Kleinere Verbesserungen und Schreibfehler + +Tue Aug 7 01:13:25 2007 joerg + * cdrecord/drv_sony.c 1.79 + * cdrecord/drv_philips.c 1.75 + * cdrecord/cdrecord.h 1.192 + * cdrecord/drv_simul.c 1.56 + * cdrecord/drv_7501.c 1.24 + * cdrecord/drv_bd.c 1.5 + * cdrecord/drv_dvdplus.c 1.45 + * cdrecord/drv_jvc.c 1.90 + * cdrecord/drv_dvd.c 1.147 + * cdrecord/drv_mmc.c 1.189 + cdr_cmdflags2 neu + +Mon Aug 6 23:10:57 2007 joerg + * cdrecord/drv_sony.c 1.78 + * cdrecord/drv_simul.c 1.55 + * cdrecord/drv_mmc.c 1.188 + * cdrecord/drv_philips.c 1.74 + * cdrecord/cdrecord.h 1.191 + * cdrecord/drv_dvdplus.c 1.44 + * cdrecord/drv_jvc.c 1.89 + * cdrecord/drv_7501.c 1.23 + * cdrecord/drv_bd.c 1.4 + * cdrecord/drv_dvd.c 1.146 + cdr_flags2 neu + +Mon Aug 6 01:00:55 2007 joerg + * cdrecord/wm_packet.c 1.27 + DSF_BD neu + +Mon Aug 6 00:01:38 2007 joerg + * cdrecord/drv_simul.c 1.54 + * cdrecord/cdr_drv.c 1.42 + cdr_bd_simul neu + +Sun Aug 5 23:47:20 2007 joerg + * cdrecord/cdrecord.c 1.352 + secs/s von 2247.75 -> 2195.07 weil 4495 sich auf 1000 Bytes/s bezieht + +Sat Aug 4 12:34:23 2007 joerg + * cdrecord/drv_mmc.c 1.187 + driveropts=plexdisable neu + +Sat Aug 4 11:51:00 2007 joerg + * cdrecord/readcd.c 1.92 + * cdrecord/readcd.1 1.26 + -cxscan neu + +Sat Aug 4 00:53:37 2007 joerg + * cdrecord/cdrecord.c 1.351 + #ifdef DRV_DVD an einigen fehlenden Stellen + +Sat Aug 4 00:49:54 2007 joerg + * cdrecord/cdrecord.h 1.190 + Schreibfehler get__mclassname -> get_mclassname + +Sat Aug 4 00:49:15 2007 joerg + * cdrecord/scsi_mmc.c 1.39 + #ifdef DRV_DVD neu + +Fri Aug 3 23:27:35 2007 joerg + * cdrecord/cdrecord.1 1.116 + Gigarec nun auch mit 0.9 / 1.1 + +Fri Aug 3 23:25:52 2007 joerg + * cdrecord/drv_mmc.c 1.186 + Der Plextor Premium 2 kann auch Yamaha Audiomaster + Support fuer Dummy Authentifizierung fuer Plextor + +Thu Aug 2 00:47:04 2007 joerg + * cdrecord/drv_mmc.c 1.185 + Plextor Gigarec Werte 1.1 und 0.9 neu + +Wed Aug 1 18:18:17 2007 joerg + * mkisofs/tree.c 1.102 + Fuer Sun Kompiler #ifdef PROTOTYPES um LARGE_EXTENT und doch UL Suffix + +Mon Jul 30 23:24:24 2007 joerg + * mkisofs/tree.c 1.101 + (off_t) cast fuer LARGE_EXTENT / MAX_EXTENT + +Mon Jul 30 20:47:38 2007 joerg + * mkisofs/mkisofs.c 1.227 + * mkisofs/mkisofs.h 1.127 + * mkisofs/tree.c 1.100 + off_t maxnonlarge = (off_t)0xFFFFFFFF; neu + +Mon Jul 30 20:46:46 2007 joerg + * cdrecord/COPYING 1.2 + Verbesserter Lizenzerklaerungstext + +Mon Jul 30 09:47:52 2007 joerg + * mkisofs/tree.c 1.99 + Schleife mir s_e && s_e->mxroot statt s_e->mxroot gesichert + +Mon Jul 30 01:32:09 2007 joerg + * mkisofs/write.c 1.113 + Korrekt mit #ifdef USE_LARGEFILES klammern + +Mon Jul 30 00:34:43 2007 joerg + * cdrecord/version.h 1.7 + Verion -> 2.01.01a32 + +Mon Jul 30 00:33:21 2007 joerg + * mkisofs/diag/isoinfo.c 1.58 + Support fuer multi-extent files neu + Copyright Meldung bei -version + +Mon Jul 30 00:31:29 2007 joerg + * mkisofs/mkisofs.h 1.126 + mxoff beseitigt weil nicht mehr noetig + +Mon Jul 30 00:31:06 2007 joerg + * mkisofs/mkisofs.8 1.123 + Multi-extent mit -iso-level 3 oder mehr + +Mon Jul 30 00:27:52 2007 joerg + * mkisofs/tree.c 1.98 + * mkisofs/write.c 1.112 + Multi-extent Suport fuer ISO-9660 + +Mon Jul 30 00:27:08 2007 joerg + * mkisofs/udf.c 1.30 + Sicherstellen, dass der Directory Entry nicht mehr als 2048 Bytes hat bei large files + +Sun Jul 29 16:31:32 2007 joerg + * mkisofs/joliet.c 1.53 + Support fuer das Sortieren von Multi-Extent Files + Trennen von Joliet und UDF namen in Directories + +Sat Jul 28 21:48:14 2007 joerg + * mkisofs/mkisofs.h 1.125 + * mkisofs/mkisofs.c 1.226 + do_largefiles neu + +Sat Jul 28 21:12:38 2007 joerg + * cdda2wav/mycdrom.h 1.14 + #define scsi_capacity __scsi_capacity__ vor #include wegen falscher Struct Definition + +Sat Jul 28 20:56:32 2007 joerg + * include/schily/mconfig.h 1.60 + #undef USE_LARGEFILES wenn HAVE_LARGEFILES nicht definiert ist + +Sat Jul 28 17:16:35 2007 joerg + * libedc/edc_ecc_dec.c 1.5 + #ifndef HAVE_MEMMOVE neu + +Sat Jul 28 16:39:32 2007 joerg + * cdda2wav/resample.c 1.24 + Gnuplot code nun zusaetzlich mut /* */ geschuetzt fuer K&R CPP + +Sat Jul 28 16:26:36 2007 joerg + * btcflash/btcflash.c 1.11 + UMbau fuer K&R + +Sat Jul 28 15:21:35 2007 joerg + * libsiconv/sic_nls.c 1.3 + #if TABS_SIZE < 256 Test fuer K&R deaktivieren + +Sat Jul 28 15:01:57 2007 joerg + * libparanoia/p_block.c 1.24 + * libparanoia/cdda_paranoia.h 1.24 + Parameterfunktionen in paranoia_init nun sauber int (*name)() statt int name() + +Thu Jul 26 23:18:11 2007 joerg + * mkisofs/eltorito.c 1.42 + Joliet & UDF getrennt + +Thu Jul 26 18:36:52 2007 joerg + * mkisofs/scsi.c 1.27 + Copyright -> 2007 + +Thu Jul 26 18:35:14 2007 joerg + * mkisofs/diag/dump.c 1.28 + * mkisofs/diag/isodump.c 1.31 + * mkisofs/diag/isovfy.c 1.30 + * mkisofs/diag/isodebug.c 1.18 + * mkisofs/mkisofs.c 1.225 + * cdda2wav/cdda2wav.c 1.82 + Copyright bei -version neu + +Thu Jul 26 01:01:49 2007 joerg + * mkisofs/mkisofs.h 1.124 + Erweiterungen fer Multi-Extent + +Thu Jul 26 00:56:32 2007 joerg + * mkisofs/mac_label.c 1.13 + * mkisofs/volume.c 1.21 + * mkisofs/name.c 1.33 + * mkisofs/apple.c 1.29 + * mkisofs/iso9660.h 1.21 + * mkisofs/match.c 1.25 + * mkisofs/match.h 1.14 + Copyright -> 2007 + +Thu Jul 26 00:48:02 2007 joerg + * mkisofs/multi.c 1.82 + * mkisofs/match.c 1.24 + * mkisofs/match.h 1.13 + * mkisofs/eltorito.c 1.41 + * mkisofs/mkisofs.c 1.224 + * mkisofs/mkisofs.8 1.122 + -hide-udf & -hide-udf-list neu + +Thu Jul 26 00:38:11 2007 joerg + * mkisofs/iso9660.h 1.20 + ISO Directory flags -> unsigned char fuer Multi-Extent + +Thu Jul 26 00:28:28 2007 joerg + * mkisofs/udf.c 1.29 + INHIBIT_JOLIET_ENTRY -> INHIBIT_UDF_ENTRY + +Tue Jul 24 22:04:00 2007 joerg + * mkisofs/eltorito.c 1.40 + static -> LOCAL + +Tue Jul 24 22:03:33 2007 joerg + * mkisofs/udf.c 1.28 + Schreibfehler im Kommentar + +Mon Jul 23 21:02:12 2007 joerg + * mkisofs/joliet.c 1.52 + -no-limit-pathtables nun auch fuer Joliet + +Mon Jul 23 20:09:08 2007 joerg + * mkisofs/joliet.c 1.51 + * mkisofs/apple.c 1.28 + static -> LOCAL + +Thu Jul 19 10:35:40 2007 joerg + * cdrecord/version.h 1.6 + Version -> 2.01.01a31 + +Sun Jul 15 23:25:11 2007 joerg + * libschily/checkerr.c 1.16 + Erster vorsichtiger Umbau auf generelle Nutzbarkeit + extern BOOL cflag; / extern BOOL errflag; / extern int intr; beseitigt + +Sun Jul 15 23:01:29 2007 joerg + * mkisofs/inode.c 1.8 + Versuch s_entry->starting_block == 0 zu erkennen wenn es eigentlich gesetzt sein sollte. + +Sun Jul 15 22:53:54 2007 joerg + * mkisofs/mkisofs.c 1.223 + * mkisofs/mkisofs.8 1.121 + errctl= neu + +Sun Jul 15 22:33:20 2007 joerg + * mkisofs/write.c 1.111 + Erster Versuch errctl= zu unterstuetzen + Vergessenes s_entry->starting_block = s_hash->starting_block; bewirkte '.'/'..' teilweise ohne RR-1.12 Inode Nummer + +Sat Jul 14 14:28:56 2007 joerg + * include/schily/checkerr.h 1.9 + Umbau auf include schily/checkerr.h + +Sat Jul 14 14:28:16 2007 joerg + * include/schily/Makefile 1.6 + * include/schily/Mrel 1.6 + checkerr.mk neu + +Sat Jul 14 14:26:55 2007 joerg + * include/schily/checkerr.mk 1.1 + date and time created 07/07/14 14:26:55 by joerg + +Fri Jul 13 10:03:12 2007 joerg + * mkisofs/write.c 1.110 + Wenn die Pathable ueberlaeuft auf jeden Fall eine Warnung ausgeben + +Thu Jul 12 23:40:49 2007 joerg + * mkisofs/write.c 1.109 + * mkisofs/mkisofs.c 1.222 + * mkisofs/mkisofs.8 1.120 + * mkisofs/mkisofs.h 1.123 + -no-limit-pathtables neu + +Thu Jul 12 09:04:53 2007 joerg + * cdrecord/scsi_scan.c 1.30 + Vergessene Stelle zur Korrektur amt == -1 -> ++ -> +1 repariert + +Thu Jul 12 01:30:27 2007 joerg + * cdrecord/scsi_mmc.c 1.38 + Neue Funktionen get_mediatype()/get_singlespeed()/get__mclassname() + Neue Funktion print_performance_mmc() + scsi_get_perf_maxspeed()/scsi_get_perf_curspeed() fuer print_performance_mmc() ueberarbeitet + prdiskstatus() gibt nun Media class und Media type aus + +Wed Jul 11 15:25:18 2007 joerg + * cdrecord/cdrecord.h 1.189 + print_performance_mmc()/get_mediatype()/get_singlespeed()/get__mclassname() neu + +Wed Jul 11 15:24:33 2007 joerg + * cdrecord/cdrecord.c 1.350 + print_performance_mmc() bei -prcap neu + +Tue Jul 10 05:58:54 2007 joerg + * autoconf/configure.in 1.139 + * autoconf/xconfig.h.in 1.135 + nl_types.h setlocale() localeconv() nl_langinfo() neu + +Tue Jul 10 00:04:36 2007 joerg + * mkisofs/mkisofs.c 1.221 + * mkisofs/mkisofs.8 1.119 + * mkisofs/Makefile 1.31 + Automatische -input-charset Einstellung mit Hilfe von nl_langinfo(CODESET) + +Sun Jul 8 21:04:35 2007 joerg + * cdrecord/version.h 1.5 + Version -> 2.01.01a30 + +Sun Jul 8 20:50:29 2007 joerg + * cdrecord/drv_mmc.c 1.184 + HD-DVD Profile vorbereitet + +Sun Jul 8 20:50:04 2007 joerg + * cdrecord/scsi_mmc.c 1.37 + Diverse neue Profile aus MMC-6 + +Sun Jul 8 20:49:37 2007 joerg + * cdrecord/drv_bd.c 1.3 + Error Message & Return 0 bei unbekanntem Blu Ray Profil + +Sun Jul 8 20:37:18 2007 joerg + * cdrecord/scsi_cdr.c 1.150 + Vergessenes mt=1 aus read_dvd_structure() beseitigt + +Sun Jul 8 20:32:45 2007 joerg + * cdrecord/drv_bd.c 1.2 + Layerbreak Code von DVD+ beseitigt + print_bd_info() neu + +Sat Jul 7 21:37:42 2007 joerg + * cdrecord/cdrecord.c 1.349 + linuxcheck() ist nun hinter errno == EPERM bei rezero_unit() + +Sat Jul 7 18:04:17 2007 joerg + * mkisofs/scsi.c 1.26 + Ueberzaehliges scgp->silent-- beseitigt + +Sat Jul 7 17:52:36 2007 joerg + * cdrecord/scsi_cdr.c 1.149 + * cdrecord/readcd.c 1.91 + * btcflash/skel.c 1.13 + * scgskeleton/skel.c 1.10 + * cdda2wav/interface.c 1.56 + * cdrecord/cdrecord.c 1.348 + Bessere Behandlung von Zugriffsrechteproblemen auf SCSI besonders wenn bei Solaris 11 und hald das open(2) klappt + +Sat Jul 7 15:14:03 2007 joerg + * cdrecord/scsi_scan.c 1.29 + Return aus Schleife wenn errno == EPERM || errno == EACCES + +Sat Jul 7 14:56:40 2007 joerg + * libscg/scsi-sun.c 1.87 + scg_send() return -1 bei EPERM nach Umbau auf hald + +Sat Jul 7 14:55:33 2007 joerg + * libscg/scsitransp.c 1.96 + SCGF_PERM_EXIT neu + kein exit() mehr bei Rechteproblemen mit "Cannot send SCSI cmd via ioctl" + +Sat Jul 7 14:53:11 2007 joerg + * libscg/scg/scsitransp.h 1.56 + SCGF_PERM_EXIT neu + +Fri Jul 6 13:01:15 2007 joerg + * libfind/find.c 1.64 + avoid them in portable scripts neu + +Thu Jul 5 00:11:38 2007 joerg + * cdrecord/scsi_mmc.c 1.36 + Neue Profil Namen aus MMC-6 + +Wed Jul 4 23:07:00 2007 joerg + * cdrecord/cdrecord.c 1.347 + cdrecord -pad cue=file wirkt nun wie es die Leute erwarten + +Wed Jul 4 01:06:13 2007 joerg + * cdrecord/readcd.c 1.90 + read_dvd_structure() mit neuem mt Parameter + is_bd und Speedumrechnung fuer -factor neu fuer BD + +Wed Jul 4 00:44:30 2007 joerg + * cdrecord/scsi_scan.c 1.28 + * cdrecord/scsi_cdr.c 1.148 + * cdrecord/cdr_drv.c 1.41 + * cdrecord/readcd.c 1.89 + * cdrecord/cdrecord.h 1.188 + * cdrecord/Makefile 1.43 + Copyright -> 2007 + +Wed Jul 4 00:35:32 2007 joerg + * cdrecord/drv_bd.c 1.1 + date and time created 07/07/04 00:35:32 by joerg + +Wed Jul 4 00:35:16 2007 joerg + * cdrecord/version.h 1.4 + Version -> 2.01.01a29 + +Wed Jul 4 00:26:32 2007 joerg + * cdrecord/cdrecord.c 1.346 + Erste BD Anpassungen + +Wed Jul 4 00:25:17 2007 joerg + * cdrecord/drv_dvdplus.c 1.43 + -dummy auch bei DVD+R verbieten + +Wed Jul 4 00:19:15 2007 joerg + * cdrecord/cdrecord.h 1.187 + read_dvd_structure() mit neuem mt Parameter + Neue Definitionen DSF_BD DSF_BD_RE CDR_BD + +Wed Jul 4 00:18:32 2007 joerg + * cdrecord/drv_mmc.c 1.183 + * cdrecord/drv_dvdplus.c 1.42 + * cdrecord/drv_dvd.c 1.145 + * cdrecord/scsi_cdr.c 1.147 + read_dvd_structure() mit neuem mt Parameter + +Tue Jul 3 23:05:55 2007 joerg + * cdrecord/readcd.c 1.88 + BD Erweiterungen neu + +Tue Jul 3 23:01:39 2007 joerg + * cdrecord/Makefile 1.42 + -DDVD_MULTI -DDRV_BD drv_bd.c neu + +Tue Jul 3 23:01:14 2007 joerg + * cdrecord/drv_mmc.c 1.182 + BD Erweiterungen + +Tue Jul 3 22:49:53 2007 joerg + * cdrecord/cdr_drv.c 1.40 + DRV_BD neu + +Tue Jul 3 22:48:58 2007 joerg + * cdrecord/scsi_cdr.c 1.146 + BD Speed neu + +Tue Jul 3 00:01:04 2007 joerg + * libschily/getargs.c 2.52 + DEBUG print in _getargs() sicher gegen **pav == NULL gemacht + Neu eingebauter Fehler in dofile() beseitigt, der GAF_NO_PLUS & GAF_NEED_DASH falsch behandelt hat + +Mon Jul 2 23:07:39 2007 joerg + * cdrecord/cdrecord.c 1.345 + DVD -multi Code neu + +Mon Jul 2 00:39:16 2007 joerg + * cdrecord/cdrecord.c 1.344 + Anpassungen an getargs() Return FLAGDELIM + +Mon Jul 2 00:32:54 2007 joerg + * include/schily/getargs.h 1.18 + Neues Flag GAF_DELIM_DASHDASH stoppt auch getlallargs()/getvallargs() bei "--" + +Mon Jul 2 00:32:34 2007 joerg + * libschily/getargs.c 2.51 + return FLAGDELIM bei "--" neu + Neues Flag GAF_DELIM_DASHDASH stoppt auch getlallargs()/getvallargs() bei "--" + +Sun Jul 1 15:09:39 2007 joerg + * cdda2wav/cdda2wav.1 1.20 + Bold/Italic korrigiert + +Sun Jul 1 14:57:23 2007 joerg + * libschily/getargs.c 2.50 + * include/schily/getargs.h 1.17 + getlargs()/getlallargs()/getlfiles() neu + struct ga_props & getarginit() neu + GAF_* Flags fuer struct ga_props neu + +Sun Jul 1 14:52:19 2007 joerg + * libfind/find.c 1.63 + * libfind/find_main.c 1.58 + Kommentar erklaert warum wir den returncode von getargs() nicht auswerten + +Sun Jul 1 13:57:58 2007 joerg + * include/schily/archdefs.h 1.6 + * include/schily/xconfig.h 1.6 + * include/schily/align.h 1.5 + * include/schily/avoffset.h 1.6 + Statischer HP_UX Support neu + +Sun Jul 1 13:12:51 2007 joerg + * mkisofs/mkisofs.c 1.220 + getvargs(&cac, &cav, flags, NULL) -> getvargs(&cac, &cav, flags, GA_NO_PROPS) + +Sun Jul 1 12:04:35 2007 joerg + * libschily/fexec.c 1.32 + fdcopy(fin, STDIN_FILENO); close(fin); -> fdmove(fin, STDIN_FILENO); + +Sun Jul 1 11:44:32 2007 joerg + * libschily/fexec.c 1.31 + Copyright -> 2007 + +Sun Jul 1 11:38:54 2007 joerg + * libschily/snprintf.c 1.12 + * libschily/shlschily.mk 1.7 + * libschily/libschily_p.mk 1.6 + * libschily/libschily.mk 1.5 + Bessere Kommentierung fuer -DPORT_ONLY + +Sat Jun 30 22:46:19 2007 joerg + * libschily/getargs.c 2.49 + void * -> struct ga_props * + +Sat Jun 30 13:13:34 2007 joerg + * libfind/libfind_p.mk 1.3 + * libsiconv/libsiconv_p.mk 1.2 + * libscg/librscg_p.mk 1.3 + * libscg/libscg_p.mk 1.3 + * libfile/libfile_p.mk 1.3 + * libedc/libedc_dec_p.mk 1.2 + * libhfs_iso/libhfs_p.mk 1.2 + * libedc/libedc_p.mk 1.2 + * libparanoia/paranoia_p.mk 1.2 + * libdeflt/libdeflt_p.mk 1.2 + * libschily/libschily_p.mk 1.5 + TARGETLIB= *_p > TARGETLIB= * + +Fri Jun 29 23:28:56 2007 joerg + * mkisofs/mkisofs.c 1.219 + {{"new-dir-mode", &dir_mode_str }, -> {{"new-dir-mode*", &dir_mode_str }, Coredump vermeiden + +Fri Jun 29 22:28:25 2007 joerg + * cdrecord/cdrecord.1 1.115 + Copyright -> 2007 + +Fri Jun 29 22:21:35 2007 joerg + * mkisofs/diag/isoinfo.8 1.8 + * mkisofs/mkisofs.8 1.118 + * cdrecord/cdrecord.1 1.114 + it's -> its wo noetig + +Wed Jun 27 14:22:59 2007 joerg + * mkisofs/diag/isoinfo.c 1.57 + * mkisofs/diag/isoinfo.mk 1.10 + Korrektes libsiconv Handling + +Wed Jun 27 14:14:07 2007 joerg + * makefiles/RULES/rules.hlp 1.14 + Vergessenes '"' am Ende der "html"/"htmlx" Hilfe angefuegt + +Wed Jun 27 14:05:48 2007 joerg + * include/schily/iconv.h 1.3 + defined(libiconv) -> defined(iconv) fuer Cygwin, weil dort #define iconv libiconv steht + +Tue Jun 26 18:26:41 2007 joerg + * cdda2wav/interface.c 1.55 + * cdda2wav/ioctl.c 1.33 + Casts fuer Sun Studio 12 statt funktionspointer = NULL + +Tue Jun 26 00:24:22 2007 joerg + * mkisofs/Makefile 1.30 + -DINS_BASE=\"${INS_BASE}\" neu + +Tue Jun 26 00:24:09 2007 joerg + * mkisofs/mkisofs.c 1.218 + list_locales() neu + Ein Versuch Coredumps zu vermeiden wenn /opt/schily/libschily/siconv/ fehlt oder unvollstaendig ist + +Mon Jun 25 23:53:41 2007 joerg + * libsiconv/sic_nls.c 1.2 + sic_list() void -> int + sic_open() returniert nun NULL wenn das "charset" Argument NULL ist + +Mon Jun 25 23:52:18 2007 joerg + * include/schily/siconv.h 1.2 + sic_list() void -> int + +Mon Jun 25 00:36:19 2007 joerg + * cdrecord/version.h 1.3 + Version -> 2.01.01a28 + +Mon Jun 25 00:20:51 2007 joerg + * include/schily/align.h 1.4 + * include/schily/avoffset.h 1.5 + Support fuer statische Include Files neu + +Mon Jun 25 00:18:13 2007 joerg + * mkisofs/mkisofs.8 1.117 + Neue Optionen -UDF -no-udf-symlinks -no-hfs + +Mon Jun 25 00:17:34 2007 joerg + * mkisofs/mkisofs.c 1.217 + bei -dvd-video ohne -UDF wird -udf angenommen + +Mon Jun 25 00:13:57 2007 joerg + * mkisofs/udf.c 1.27 + Umstellung auf __PR(()) Prototypen + +Sun Jun 24 23:41:07 2007 joerg + * mkisofs/udf.c 1.26 + Ungenutztes rr_attributes Argument beseitigt + +Sun Jun 24 23:35:16 2007 joerg + * mkisofs/udf.c 1.25 + Korrekturen fuer K&R C + +Sun Jun 24 23:27:14 2007 joerg + * mkisofs/inode.c 1.7 + Symlinkbehandlung fuer UDF korrigiert + +Sun Jun 24 18:20:56 2007 joerg + * mkisofs/udf.c 1.24 + Helios Erweiterungen 2. Teil + Neue Funktion udf_get_symlinkcontents() + +Sun Jun 24 17:20:25 2007 joerg + * mkisofs/udf.c 1.23 + Helios Erweiterungen (erste Haelfte, damit die Aenderungen besser erkennbar werden) + +Sun Jun 24 17:15:27 2007 joerg + * mkisofs/udf_fs.h 1.3 + * mkisofs/tree.c 1.97 + * mkisofs/write.c 1.108 + * mkisofs/mkisofs.h 1.122 + * mkisofs/apple.c 1.27 + Helios Erweiterungen + +Sun Jun 24 16:55:41 2007 joerg + * mkisofs/rock.c 1.54 + * mkisofs/joliet.c 1.50 + Cstyle + +Sun Jun 24 16:49:13 2007 joerg + * mkisofs/inode.c 1.6 + Keine Link Count Behandlung fuer Resource Forks + Nach UDF Symlink-support -> NEU: Symlinks koennen size != 0 haben + +Sun Jun 24 16:45:46 2007 joerg + * mkisofs/mkisofs.c 1.216 + -no-cache-inodes wieder dfirekt nach -cache-inodes + +Sun Jun 24 16:11:37 2007 joerg + * mkisofs/mkisofs.c 1.215 + Helios Erweiterungen + -UDF neu + -no-udf-symlinks neu + -no-hfs neu + +Sun Jun 24 13:34:29 2007 joerg + * mkisofs/mkisofs.h 1.121 + memset()/memchr()/memcpy()/memmove() durch *bytes() ersetzen falls sie fehlen + +Sun Jun 24 13:30:55 2007 joerg + * autoconf/configure.in 1.138 + * autoconf/xconfig.h.in 1.134 + HAVE_MEMCH HAVE_MEMCPY HAVE_MEMSET neu + +Sun Jun 24 13:25:39 2007 joerg + * libschily/movebytes.c 1.16 + * libschily/cmpnullbytes.c 1.5 + * libschily/cmpbytes.c 1.18 + * libschily/findbytes.c 1.5 + * libschily/fillbytes.c 1.16 + Besserer Kommentar + Copyright -> 2007 + +Sun Jun 24 12:51:24 2007 joerg + * mkisofs/apple.c 1.26 + #include mit #ifdef HAVE_NETINET_IN_H gesichert + +Fri Jun 22 00:15:26 2007 joerg + * cdda2wav/sndconfig.c 1.27 + * cdda2wav/ioctl.c 1.32 + * cdda2wav/interface.c 1.54 + Copyright -> 2007 + +Thu Jun 21 14:11:08 2007 joerg + * pkgdefs/CSW/CSWcdrtools/pkginfo 1.1 + date and time created 07/06/21 14:11:08 by joerg + +Wed Jun 20 18:52:49 2007 joerg + * cdrecord/scsi_cdr.c 1.145 + Ungenutzte Variable beseitigt + +Sun Jun 17 16:17:05 2007 joerg + * mkisofs/mkisofs.h 1.120 + * mkisofs/rock.c 1.53 + * mkisofs/joliet.c 1.49 + * mkisofs/apple.c 1.25 + * mkisofs/name.c 1.32 + * mkisofs/mkisofs.c 1.214 + conv_charset() geht nun auch mit iconv() basierten Kodierungen + +Sun Jun 17 15:23:34 2007 joerg + * mkisofs/mkisofs.c 1.213 + Test auf unterschiedliche iconv() basierte Locale + +Sat Jun 16 16:53:18 2007 joerg + * pkgdefs/CSW/CSWstar/pkginfo 1.1 + date and time created 07/06/16 16:53:18 by joerg + +Sat Jun 16 15:34:28 2007 joerg + * makefiles/RULES/i586-linux-suncc64.rul 1.1 + * makefiles/RULES/i586-linux-suncc.rul 1.1 + date and time created 07/06/16 15:34:28 by joerg + +Sat Jun 16 15:30:48 2007 joerg + * makefiles/RULES/rules.pkg 1.1 + date and time created 07/06/16 15:30:48 by joerg + +Sat Jun 16 13:15:29 2007 joerg + * makefiles/RULES/rules.csw 1.1 + date and time created 07/06/16 13:15:29 by joerg + +Fri Jun 15 17:43:04 2007 joerg + * cdda2wav/Makefile 1.14 + Makefile.rd neu + +Fri Jun 15 17:42:43 2007 joerg + * cdda2wav/Makefile.rd 1.1 + date and time created 07/06/15 17:42:43 by joerg + +Fri Jun 15 14:39:19 2007 joerg + * autoconf/configure.in 1.137 + * autoconf/xconfig.h.in 1.133 + neue *at() Funktionen + +Fri Jun 15 14:14:21 2007 joerg + * autoconf/xconfig.h.in 1.132 + * autoconf/configure.in 1.136 + OS Madness Tests nur noch auf Linux + HAVE_USABLE_LINUX_EXT2_FS_H neu + +Thu Jun 14 00:20:07 2007 joerg + * makefiles/RULES/cc-sunpro64.rul 1.9 + * makefiles/RULES/cc-sunpro.rul 1.8 + CC_COM neu damit es bei Linux auf suncc gesetzt werden kann + +Thu Jun 14 00:15:39 2007 joerg + * makefiles/RULES/MKLINKS 1.65 + *-linux-suncc.rul neu + +Thu Jun 14 00:03:21 2007 joerg + * mkisofs/Makefile 1.29 + * rscsi/Makefile 1.5 + Makefile.doc neu + +Thu Jun 14 00:03:03 2007 joerg + * mkisofs/Makefile.doc 1.1 + date and time created 07/06/14 00:03:03 by joerg + +Thu Jun 14 00:02:45 2007 joerg + * mkisofs/Rsparcboot.mk 1.1 + * mkisofs/Rmacosx.mk 1.1 + * mkisofs/Rprep_boot.mk 1.1 + * mkisofs/Rsunx86boot.mk 1.1 + * mkisofs/Rsort.mk 1.1 + * mkisofs/readme.mk 1.1 + * mkisofs/Rmkhybrid.mk 1.1 + * mkisofs/Rhide.mk 1.1 + * mkisofs/Rjoliet.mk 1.1 + * mkisofs/Rsession.mk 1.1 + * mkisofs/Rrootinfo.mk 1.1 + * mkisofs/Rhfs_magic.mk 1.1 + date and time created 07/06/14 00:02:45 by joerg + +Thu Jun 14 00:02:44 2007 joerg + * mkisofs/Rcompresion.mk 1.1 + * mkisofs/Reltorito.mk 1.1 + * mkisofs/Rgraft_dirs.mk 1.1 + * mkisofs/Rhfs_boot.mk 1.1 + date and time created 07/06/14 00:02:44 by joerg + +Wed Jun 13 23:46:11 2007 joerg + * rscsi/Makefile.doc 1.1 + date and time created 07/06/13 23:46:11 by joerg + +Wed Jun 13 23:44:35 2007 joerg + * libparanoia/paranoia.mk 1.2 + Rinterface.mk Rparanoia.mk neu + +Wed Jun 13 23:44:15 2007 joerg + * libparanoia/Rparanoia.mk 1.1 + * libparanoia/Rinterface.mk 1.1 + date and time created 07/06/13 23:44:15 by joerg + +Wed Jun 13 23:37:41 2007 joerg + * cdrecord/Makefile 1.41 + Makefile.doc & READMEs neu + +Wed Jun 13 23:28:55 2007 joerg + * cdrecord/Makefile.doc 1.1 + date and time created 07/06/13 23:28:55 by joerg + +Wed Jun 13 23:28:41 2007 joerg + * cdrecord/readme.mk 1.1 + date and time created 07/06/13 23:28:41 by joerg + +Wed Jun 13 23:28:17 2007 joerg + * cdrecord/Rparallel.mk 1.1 + * cdrecord/Rcdtext.mk 1.1 + * cdrecord/Ratapi.mk 1.1 + * cdrecord/Rverify.mk 1.1 + * cdrecord/Rsun-lofi.mk 1.1 + * cdrecord/Ratapi-dma.mk 1.1 + * cdrecord/Rsony.mk 1.1 + * cdrecord/Rrscsi.mk 1.1 + * cdrecord/Rraw.mk 1.1 + * cdrecord/Rcopy.mk 1.1 + * cdrecord/Rworm.mk 1.1 + * cdrecord/Rata-dma.mk 1.1 + * cdrecord/Rcdplus.mk 1.1 + * cdrecord/Rclone.mk 1.1 + * cdrecord/Rvolmgt.mk 1.1 + * cdrecord/Raudio.mk 1.1 + * cdrecord/Rcdrw.mk 1.1 + * cdrecord/Rmulti.mk 1.1 + * cdrecord/Rdisktattoo.mk 1.1 + date and time created 07/06/13 23:28:17 by joerg + +Tue Jun 12 01:28:14 2007 joerg + * pkgdefs/CSW/CSWsccs/pkginfo 1.1 + date and time created 07/06/12 01:28:14 by joerg + +Tue Jun 12 01:27:18 2007 joerg + * pkgdefs/CSW/CSWschilyutils/pkginfo 1.1 + date and time created 07/06/12 01:27:18 by joerg + +Tue Jun 12 01:27:01 2007 joerg + * pkgdefs/CSW/CSWschilybase/pkginfo 1.1 + date and time created 07/06/12 01:27:01 by joerg + +Mon Jun 11 22:03:02 2007 joerg + * pkgdefs/CSW/CSWschilybase/Makefile 1.1 + date and time created 07/06/11 22:03:02 by joerg + +Sun Jun 10 23:15:46 2007 joerg + * pkgdefs/CSW/CSWved/pkginfo 1.1 + date and time created 07/06/10 23:15:46 by joerg + +Sun Jun 10 23:15:40 2007 joerg + * pkgdefs/CSW/CSWsmake/pkginfo 1.1 + date and time created 07/06/10 23:15:40 by joerg + +Sun Jun 10 22:46:08 2007 joerg + * pkgdefs/CSW/CSWsmake/Makefile 1.1 + * pkgdefs/CSW/CSWcdrtools/Makefile 1.1 + * pkgdefs/CSW/CSWsccs/Makefile 1.1 + * pkgdefs/CSW/CSWved/Makefile 1.1 + * pkgdefs/CSW/CSWschilyutils/Makefile 1.1 + * pkgdefs/CSW/CSWstar/Makefile 1.1 + date and time created 07/06/10 22:46:08 by joerg + +Sun Jun 10 18:14:49 2007 joerg + * pkgdefs/CSW/CSWsccs/prototype 1.1 + date and time created 07/06/10 18:14:49 by joerg + +Sun Jun 10 18:04:34 2007 joerg + * pkgdefs/CSW/CSWsmake/prototype 1.1 + date and time created 07/06/10 18:04:34 by joerg + +Sun Jun 10 17:55:50 2007 joerg + * pkgdefs/CSW/CSWsccs/depend 1.1 + * pkgdefs/CSW/CSWsmake/depend 1.1 + date and time created 07/06/10 17:55:50 by joerg + +Sun Jun 10 17:45:32 2007 joerg + * pkgdefs/CSW/CSWstar/prototype 1.1 + date and time created 07/06/10 17:45:32 by joerg + +Sun Jun 10 17:32:26 2007 joerg + * pkgdefs/CSW/CSWschilyutils/prototype 1.1 + date and time created 07/06/10 17:32:26 by joerg + +Sun Jun 10 17:11:05 2007 joerg + * pkgdefs/CSW/CSWved/prototype 1.1 + date and time created 07/06/10 17:11:05 by joerg + +Sun Jun 10 17:06:37 2007 joerg + * pkgdefs/CSW/CSWved/depend 1.1 + date and time created 07/06/10 17:06:37 by joerg + +Sun Jun 10 15:50:00 2007 joerg + * pkgdefs/CSW/CSWcdrtools/prototype 1.1 + date and time created 07/06/10 15:50:00 by joerg + +Sun Jun 10 14:24:03 2007 joerg + * scgskeleton/skel.c 1.9 + Version -> 1.2 + Copyright -> 2007 + #include "doit.c" neu + +Sun Jun 10 14:23:04 2007 joerg + * scgskeleton/doit.c 1.24 + main.c beseitigt und umbenannt in doit.c + +Sun Jun 10 14:22:39 2007 joerg + * scgskeleton/Makefile 1.4 + Umbau auf skel.c und doit.c + +Sun Jun 10 14:22:15 2007 joerg + * makefiles/RULES/rules.rel 1.7 + REL_MAKEFILE_MATCH neu + +Sun Jun 10 14:15:03 2007 joerg + * cdrecord/iodefs.h 1.1 + date and time created 07/06/10 14:15:03 by joerg + +Sun Jun 10 14:14:07 2007 joerg + * cdrecord/io.c 1.4 + iodefs.h neu + +Sun Jun 10 14:13:57 2007 joerg + * cdrecord/cdrecord.h 1.186 + verify() neu + +Sun Jun 10 14:13:39 2007 joerg + * cdrecord/scsi_cdr.c 1.144 + verify() neu + request_sense() nun sauberer + +Sun Jun 10 14:13:05 2007 joerg + * cdrecord/skel.mk 1.5 + HFILES= neu + +Sun Jun 10 12:23:43 2007 joerg + * pkgdefs/CSW/CSWschilybase/prototype_sparc 1.1 + date and time created 07/06/10 12:23:43 by joerg + +Sun Jun 10 12:23:01 2007 joerg + * pkgdefs/CSW/CSWschilybase/prototype_i386 1.1 + date and time created 07/06/10 12:23:01 by joerg + +Sun Jun 10 12:21:36 2007 joerg + * pkgdefs/CSW/CSWschilybase/prototype_com 1.1 + date and time created 07/06/10 12:21:36 by joerg + +Tue Jun 5 14:25:01 2007 joerg + * autoconf/config.guess 1.8 + #ifdef __ELF__ -> #if defined __ELF__ || defined __SUNPRO_C wegen SunPro-C auf Linux + +Tue Jun 5 11:18:19 2007 joerg + * makefiles/RULES/local.cnf 1.7 + * makefiles/RULES/rules.cnf 1.12 + auch CXXFLAGS= LDFLAGS= ... uebergeben + +Tue May 29 22:15:01 2007 joerg + * makefiles/RULES/cc-msc.rul 1.17 + * makefiles/RULES/os-interix.id 1.4 + * makefiles/RULES/os-interix-nt-5.2.id 1.3 + * makefiles/RULES/os-interix-nt-5.1.id 1.3 + * makefiles/RULES/os-interix-nt-5.0.id 1.3 + * makefiles/RULES/os-interix-nt-4.0.id 1.3 + * makefiles/RULES/os-cygwin32_nt.id 1.5 + * makefiles/RULES/os-cygwin_nt-5.1.id 1.4 + * makefiles/RULES/os-cygwin_nt-5.0.id 1.4 + * makefiles/RULES/os-cygwin_nt-4.0.id 1.4 + * makefiles/RULES/os-cygwin_nt-5.2.id 1.4 + OSDEFS += -D_WIN32_WINNT=0x.... nur fuer MSVC durch Umbau auf WINNTDEFS + +Tue May 29 22:13:54 2007 joerg + * include/schily/param.h 1.4 + #include neu + #define NODEV ((dev_t)-1L) fuer star neu + +Sat May 26 18:50:59 2007 joerg + * cdrecord/LIMITATIONS 1.1 + date and time created 07/05/26 18:50:59 by joerg + +Fri May 25 15:29:08 2007 joerg + * autoconf/xconfig.h.in 1.131 + * autoconf/configure.in 1.135 + AC_CHECK_HEADERS(linux/types.h linux/gfp.h asm/types.h) neu + +Fri May 25 00:56:15 2007 joerg + * libschily/fexec.c 1.30 + #ifdef F_GETFD / F_SETFD neu + +Fri May 25 00:54:29 2007 joerg + * libschily/fexec.c 1.29 + F_DUPFD durch dup2() emulieren + +Thu May 24 20:06:13 2007 joerg + * autoconf/configure.in 1.134 + * autoconf/xconfig.h.in 1.130 + netinet/in.h neu + +Thu May 24 13:35:31 2007 joerg + * scgskeleton/scgskeleton.c 1.23 + * scgskeleton/doit.c 1.23 + * libscg/scsihack.c 1.49 + * cdda2wav/ioctl.c 1.31 + * cdda2wav/toc.c 1.71 + * cdda2wav/cdda2wav.c 1.81 + * cdda2wav/interface.c 1.53 + * cdda2wav/sndconfig.c 1.26 + Umstellung auf schily/ioctl.h + +Thu May 24 13:00:00 2007 joerg + * include/schily/ioctl.h 1.1 + date and time created 07/05/24 13:00:00 by joerg + +Thu May 24 12:59:55 2007 joerg + * include/schily/termios.h 1.31 + Umbau auf schily/ioctl.h + +Thu May 24 12:58:23 2007 joerg + * include/schily/Makefile 1.5 + * include/schily/Mrel 1.5 + ioctl.mk neu + +Thu May 24 12:50:38 2007 joerg + * include/schily/ioctl.mk 1.1 + date and time created 07/05/24 12:50:38 by joerg + +Wed May 23 14:47:19 2007 joerg + * cdrecord/version.h 1.2 + Version -> 2.01.01a27 + +Wed May 23 12:26:23 2007 joerg + * libschily/handlecond.c 1.25 + Support fuer __amd64 neu + +Wed May 23 12:13:32 2007 joerg + * autoconf/configure.in 1.133 + * autoconf/aclocal.m4 1.58 + * autoconf/xconfig.h.in 1.129 + Neue Funktion AC_HAVE_TYPE(INCLUDES, TYPE) + Neuer Test AC_HAVE_TYPE([#include ], greg_t) -> HAVE_TYPE_GREG_T + +Wed May 23 11:42:36 2007 joerg + * autoconf/autoconf 1.3 + M4=/usr/sfw/bin/gm4 + +Tue May 22 23:12:00 2007 joerg + * cdrecord/drv_dvd.c 1.144 + session_offset_dvd() neu + WARNING: Phys disk size ... nicht ausgeben bei cdrecord -msinfo + Erste Version des Multi-Border Support + waitformat() von drv_dvdplus.c geliehen bis Multi-Border Support ordentlich gemacht wird. + +Tue May 22 22:42:08 2007 joerg + * cdrecord/scsi_mmc.c 1.35 + * cdrecord/cdrecord.h 1.185 + * cdrecord/drv_dvd.c 1.143 + * cdrecord/drv_mmc.c 1.181 + * cdrecord/drv_dvdplus.c 1.41 + * cdrecord/scsi_cdr.c 1.143 + get_trackinfo() neu + get_diskinfo() nun mit maxsize Parameter + Moeglichst alle Aufrufe von read_track_info()/read_disk_info()/get_performance() so gestalten, dass zuerst die Transfermenge ermittelt wird + +Mon May 21 14:52:21 2007 joerg + * autoconf/xconfig.h.in 1.128 + * autoconf/configure.in 1.132 + HAVE_GETEXECNAME neu + +Sun May 20 00:34:15 2007 joerg + * autoconf/xconfig.h.in 1.127 + * autoconf/configure.in 1.131 + AC_CHECK_FUNCS(getuid geteuid getgid getegid) neu + +Sun May 20 00:21:20 2007 joerg + * libschily/sleep.c 1.1 + date and time created 07/05/20 00:21:20 by joerg + +Sun May 20 00:14:17 2007 joerg + * autoconf/xconfig.h.in 1.126 + * autoconf/configure.in 1.130 + sleep Test Neu + +Sat May 19 23:25:18 2007 joerg + * libfile/file.h 1.10 + Umstellung auf HAVE_STRERROR / HAVE_STRTOUL + +Sat May 19 23:23:09 2007 joerg + * autoconf/xconfig.h.in 1.125 + * autoconf/configure.in 1.129 + AC_CHECK_FUNCS(strtol strtoll strtoul strtoull strtod) neu + +Sat May 19 21:21:36 2007 joerg + * cdrecord/COPYING 1.1 + date and time created 07/05/19 21:21:36 by joerg + +Sat May 19 14:52:46 2007 joerg + * autoconf/xconfig.h.in 1.124 + * autoconf/rules.cnf.in 1.15 + * autoconf/configure.in 1.128 + * mkisofs/diag/dump.c 1.27 + * mkisofs/diag/isoinfo.c 1.56 + * mkisofs/diag/isodebug.c 1.17 + * mkisofs/diag/isovfy.c 1.29 + * mkisofs/diag/isodump.c 1.30 + Copyright -> 2007 + +Sat May 19 14:48:14 2007 joerg + * include/schily/Makefile 1.4 + * include/schily/Mrel 1.4 + Umstellung auf siconv.h + +Sat May 19 14:46:30 2007 joerg + * include/schily/siconv.h 1.1 + date and time created 07/05/19 14:46:30 by joerg + +Sat May 19 14:46:15 2007 joerg + * include/schily/iconv.h 1.2 + HAVE_ICONV_H test neu + +Sat May 19 14:25:39 2007 joerg + * libsiconv/libsiconv-mapvers 1.1 + date and time created 07/05/19 14:25:39 by joerg + +Sat May 19 14:24:10 2007 joerg + * libsiconv/Makefile 1.1 + date and time created 07/05/19 14:24:10 by joerg + +Sat May 19 14:24:07 2007 joerg + * libsiconv/libsiconv_p.mk 1.1 + * libsiconv/shlsiconv.mk 1.1 + * libsiconv/noshlsiconv.mk 1.1 + * libsiconv/libsiconv.mk 1.1 + date and time created 07/05/19 14:24:07 by joerg + +Sat May 19 14:08:34 2007 joerg + * libsiconv/Targets 1.1 + date and time created 07/05/19 14:08:34 by joerg + +Sat May 19 14:08:01 2007 joerg + * libsiconv/sic_nls.c 1.1 + date and time created 07/05/19 14:08:01 by joerg + +Sat May 19 13:53:15 2007 joerg + * mkisofs/diag/isoinfo.c 1.55 + * mkisofs/diag/isoinfo.mk 1.9 + Umbau auf libsiconv + +Sat May 19 13:09:59 2007 joerg + * mkisofs/udf.c 1.22 + * mkisofs/joliet.c 1.48 + * mkisofs/mkisofs.h 1.119 + * mkisofs/Makefile 1.28 + convert_to_unicode() und joliet_strlen() nun mit iconv() Support + +Sat May 19 12:58:47 2007 joerg + * libsiconv/tables/iso8859-14.mk 1.1 + * libsiconv/tables/iso8859-13.mk 1.1 + * libsiconv/tables/iso8859-11.mk 1.1 + * libsiconv/tables/iso8859-10.mk 1.1 + * libsiconv/tables/iso8859-1.mk 1.1 + * libsiconv/tables/cp874.mk 1.1 + * libsiconv/tables/iso8859-7.mk 1.1 + * libsiconv/tables/iso8859-8.mk 1.1 + * libsiconv/tables/iso8859-6.mk 1.1 + * libsiconv/tables/iso8859-5.mk 1.1 + * libsiconv/tables/koi8-u.mk 1.1 + * libsiconv/tables/iso8859-4.mk 1.1 + * libsiconv/tables/cp866.mk 1.1 + * libsiconv/tables/cp863.mk 1.1 + * libsiconv/tables/cp864.mk 1.1 + * libsiconv/tables/cp869.mk 1.1 + * libsiconv/tables/iso8859-2.mk 1.1 + * libsiconv/tables/iso8859-16.mk 1.1 + * libsiconv/tables/iso8859-15.mk 1.1 + * libsiconv/tables/koi8-r.mk 1.1 + * libsiconv/tables/cp865.mk 1.1 + * libsiconv/tables/iso8859-9.mk 1.1 + * libsiconv/tables/iso8859-3.mk 1.1 + date and time created 07/05/19 12:58:47 by joerg + +Sat May 19 12:58:46 2007 joerg + * libsiconv/tables/cp1251.mk 1.1 + * libsiconv/tables/cp1250.mk 1.1 + * libsiconv/tables/cp10081.mk 1.1 + * libsiconv/tables/cp10079.mk 1.1 + * libsiconv/tables/cp10029.mk 1.1 + * libsiconv/tables/cp10007.mk 1.1 + * libsiconv/tables/cp10006.mk 1.1 + * libsiconv/tables/cp10000.mk 1.1 + * libsiconv/tables/Makefile 1.1 + * libsiconv/tables/cp1255.mk 1.1 + * libsiconv/tables/cp1256.mk 1.1 + * libsiconv/tables/cp1258.mk 1.1 + * libsiconv/tables/cp437.mk 1.1 + * libsiconv/tables/cp737.mk 1.1 + * libsiconv/tables/cp775.mk 1.1 + * libsiconv/tables/cp850.mk 1.1 + * libsiconv/tables/cp852.mk 1.1 + * libsiconv/tables/cp855.mk 1.1 + * libsiconv/tables/cp857.mk 1.1 + * libsiconv/tables/cp860.mk 1.1 + * libsiconv/tables/cp861.mk 1.1 + * libsiconv/tables/cp862.mk 1.1 + * libsiconv/tables/cp1257.mk 1.1 + * libsiconv/tables/cp1254.mk 1.1 + * libsiconv/tables/cp1253.mk 1.1 + * libsiconv/tables/cp1252.mk 1.1 + date and time created 07/05/19 12:58:46 by joerg + +Thu May 17 23:44:26 2007 joerg + * mkisofs/joliet.c 1.47 + * mkisofs/mkisofs.h 1.118 + * mkisofs/rock.c 1.52 + Copyright -> 2007 + +Thu May 17 23:26:35 2007 joerg + * mkisofs/joliet.c 1.46 + Korrekte Behandlung von Nullbytes durch unichar = 0 in convert_to_unicode + +Thu May 17 23:22:54 2007 joerg + * mkisofs/mkisofs.c 1.212 + * mkisofs/rock.c 1.51 + * mkisofs/joliet.c 1.45 + * mkisofs/mkisofs.h 1.117 + * mkisofs/Makefile 1.27 + Umbau von libunls nach libsiconv + +Wed May 16 15:00:38 2007 joerg + * libfind/find_list.c 1.19 + #ifdefs um S_IFLNKS_IFBLK S_IFCHR S_IFIFO + +Wed May 16 12:57:21 2007 joerg + * autoconf/xconfig.h.in 1.123 + * autoconf/configure.in 1.127 + HAVE_DUP neu + +Wed May 16 12:49:21 2007 joerg + * include/schily/dirent.h 1.25 + #undef -> #undef dirent + +Wed May 16 11:47:39 2007 joerg + * include/schily/dirent.h 1.24 + #define dirfd(dirp) ((dirp)->dd_fd) neu + +Wed May 16 11:37:56 2007 joerg + * autoconf/aclocal.m4 1.57 + * autoconf/xconfig.h.in 1.122 + * autoconf/configure.in 1.126 + HAVE_DIRFD / HAVE_DIR_DD_FD neu + neue Funktion AC_CHECK_DFUNC(INCLUDES, SYMBOL) testet ob es ein #define oder ein Symbol ist + +Mon May 14 21:47:02 2007 joerg + * include/schily/siconv.mk 1.1 + date and time created 07/05/14 21:47:02 by joerg + +Sun May 13 21:04:22 2007 joerg + * makefiles/DEFAULTS_ENG/Defaults.dragonfly 1.3 + * makefiles/DEFAULTS_ENG/Defaults.freebsd 1.3 + * makefiles/DEFAULTS/Defaults.freebsd 1.3 + * makefiles/DEFAULTS/Defaults.dragonfly 1.3 + /usr/local/include & -L/usr/local/lib neu + +Sun May 13 20:23:56 2007 joerg + * btcflash/btcflash.c 1.10 + K&R aktiviert + +Sun May 13 18:08:00 2007 joerg + * autoconf/aclocal.m4 1.56 + C)) isinf()/isnan() Test nimmt nun AC_TRY_LINK statt AC_TRY_COMPILE + +Sun May 13 16:49:29 2007 joerg + * mkisofs/utf8.h 1.2 + * mkisofs/utf8.c 1.2 + sccsid neu + +Sun May 13 15:30:52 2007 joerg + * libschily/snprintf.c 1.11 + * libschily/libschily.mk 1.4 + * libschily/shlschily.mk 1.6 + * libschily/libschily_p.mk 1.4 + * libschily/Targets 1.10 + snprintf() wird gebraucht wenn es in libc fehlt dazu -DPORT_ONLY definieren + +Fri May 11 14:06:18 2007 joerg + * mkisofs/utf8.h 1.1 + * mkisofs/utf8.c 1.1 + date and time created 07/05/11 14:06:18 by joerg + +Wed May 9 14:25:30 2007 joerg + * makefiles/RULES/powerpc-beos-gcc.rul 1.8 + * makefiles/RULES/power-macintosh-rhapsody-gcc.rul 1.11 + * makefiles/RULES/x86pc-qnx-gcc.rul 1.7 + * makefiles/RULES/power-macintosh-darwin-gcc.rul 1.13 + * makefiles/RULES/sun3-sunos4-gcc.rul 1.10 + * makefiles/RULES/rs6000-aix-gcc.rul 1.9 + * makefiles/RULES/x86-interix-gcc.rul 1.5 + * makefiles/RULES/power-macintosh-rhapsody-cc.rul 1.11 + * makefiles/RULES/i386-netbsd-gcc.rul 1.11 + * makefiles/RULES/i386-netbsd-cc.rul 1.11 + * makefiles/RULES/i386-os2-gcc.rul 1.13 + * makefiles/RULES/power-macintosh-darwin-cc.rul 1.13 + * makefiles/RULES/i486-cygwin32_nt-gcc.rul 1.10 + * makefiles/RULES/i586-linux-cc.rul 1.11 + * makefiles/RULES/i586-linux-gcc.rul 1.11 + * makefiles/RULES/ip22-irix-gcc.rul 1.11 + * makefiles/RULES/m68k-amigaos-gcc.rul 1.7 + * makefiles/RULES/i386-at386-gnu-gcc.rul 1.7 + * makefiles/RULES/i386-bsd-os3-gcc.rul 1.12 + * makefiles/RULES/i386-bsd-os3-cc.rul 1.12 + * makefiles/RULES/i386-at386-gnu-cc.rul 1.7 + * makefiles/RULES/i386-bsd-os-gcc.rul 1.14 + * makefiles/RULES/i486-cygwin32_nt-cc.rul 1.10 + * makefiles/RULES/i386-openbsd-cc.rul 1.10 + * makefiles/RULES/i386-openbsd-gcc.rul 1.10 + * makefiles/RULES/i386-bsd-os-cc.rul 1.14 + * makefiles/RULES/cc-gcc64.rul 1.10 + * makefiles/RULES/cc-gcc.rul 1.9 + * makefiles/RULES/hppa-nextstep-cc.rul 1.10 + * makefiles/RULES/hppa-nextstep-gcc.rul 1.10 + * makefiles/RULES/9000-725-hp-ux-gcc.rul 1.10 + * makefiles/RULES/bepc-beos-gcc.rul 1.12 + * makefiles/RULES/bepc-beos-cc.rul 1.10 + * makefiles/RULES/alpha-osf1-gcc.rul 1.8 + $(RUNPATH) -> $(RUNPATH:-R%=-Wl,-R%) + +Tue May 8 16:56:55 2007 joerg + * makefiles/DEFAULTS/Defaults.linux 1.3 + * makefiles/DEFAULTS_ENG/Defaults.linux 1.3 + $(LINUX_SRC_INCLUDE) -> RULES/*-linux-*cc*.rul + +Tue May 8 16:54:00 2007 joerg + * makefiles/RULES/i586-linux-gcc.rul 1.10 + * makefiles/RULES/i586-linux-cc.rul 1.10 + $(LINUX_SRC_INCLUDE) neu + +Tue May 8 16:38:20 2007 joerg + * makefiles/DEFAULTS_ENG/Defaults.dgux3 1.2 + * makefiles/DEFAULTS_ENG/Defaults.dgux 1.2 + * makefiles/DEFAULTS_ENG/Defaults.dragonfly 1.2 + * makefiles/DEFAULTS_ENG/Defaults.linux 1.2 + * makefiles/DEFAULTS_ENG/Defaults.freebsd 1.2 + * makefiles/DEFAULTS_ENG/Defaults.gnu 1.2 + * makefiles/DEFAULTS_ENG/Defaults.hp-ux 1.2 + * makefiles/DEFAULTS_ENG/Defaults.sunos5 1.2 + * makefiles/DEFAULTS_ENG/Defaults.sunos4 1.2 + * makefiles/DEFAULTS_ENG/Defaults.rhapsody 1.2 + * makefiles/DEFAULTS_ENG/Defaults.qnx 1.2 + * makefiles/DEFAULTS_ENG/Defaults.osf1 1.2 + * makefiles/DEFAULTS_ENG/Defaults.os2 1.2 + * makefiles/DEFAULTS_ENG/Defaults.openbsd 1.2 + * makefiles/DEFAULTS_ENG/Defaults.nextstep 1.2 + * makefiles/DEFAULTS_ENG/Defaults.newsos6 1.2 + * makefiles/DEFAULTS_ENG/Defaults.netbsd 1.2 + * makefiles/DEFAULTS_ENG/Defaults.irix 1.2 + * makefiles/DEFAULTS_ENG/Defaults.ms-dos 1.2 + * makefiles/DEFAULTS_ENG/Defaults.mingw32_nt 1.2 + * makefiles/DEFAULTS_ENG/Defaults.mac-os10 1.2 + * makefiles/DEFAULTS_ENG/Defaults.dgux4 1.2 + * makefiles/DEFAULTS_ENG/Defaults.domainos 1.2 + * makefiles/DEFAULTS_ENG/Defaults.darwin 1.2 + * makefiles/DEFAULTS_ENG/Defaults.beos 1.2 + * makefiles/DEFAULTS_ENG/Defaults.amigaos 1.2 + * makefiles/DEFAULTS_ENG/Defaults.aix 1.2 + * makefiles/DEFAULTS_ENG/Defaults.cygwin32_nt 1.4 + * makefiles/DEFAULTS_ENG/Defaults.bsd-os3 1.2 + * makefiles/DEFAULTS_ENG/Defaults.bsd-os 1.2 + * makefiles/DEFAULTS/Defaults.netbsd 1.2 + * makefiles/DEFAULTS/Defaults.dgux 1.2 + * makefiles/DEFAULTS/Defaults.dgux3 1.2 + * makefiles/DEFAULTS/Defaults.dgux4 1.2 + * makefiles/DEFAULTS/Defaults.domainos 1.2 + * makefiles/DEFAULTS/Defaults.dragonfly 1.2 + * makefiles/DEFAULTS/Defaults.freebsd 1.2 + * makefiles/DEFAULTS/Defaults.gnu 1.2 + * makefiles/DEFAULTS/Defaults.hp-ux 1.2 + * makefiles/DEFAULTS/Defaults.irix 1.2 + * makefiles/DEFAULTS/Defaults.linux 1.2 + * makefiles/DEFAULTS/Defaults.mac-os10 1.2 + * makefiles/DEFAULTS/Defaults.mingw32_nt 1.2 + * makefiles/DEFAULTS/Defaults.ms-dos 1.2 + * makefiles/DEFAULTS/Defaults.newsos6 1.2 + * makefiles/DEFAULTS/Defaults.nextstep 1.2 + * makefiles/DEFAULTS/Defaults.openbsd 1.2 + * makefiles/DEFAULTS/Defaults.os2 1.2 + * makefiles/DEFAULTS/Defaults.osf1 1.2 + * makefiles/DEFAULTS/Defaults.qnx 1.2 + * makefiles/DEFAULTS/Defaults.rhapsody 1.2 + * makefiles/DEFAULTS/Defaults.sunos4 1.2 + * makefiles/DEFAULTS/Defaults.sunos5 1.2 + * makefiles/DEFAULTS/Defaults.aix 1.2 + * makefiles/DEFAULTS/Defaults.darwin 1.2 + * makefiles/DEFAULTS/Defaults.beos 1.2 + * makefiles/DEFAULTS/Defaults.cygwin32_nt 1.4 + * makefiles/DEFAULTS/Defaults.bsd-os 1.2 + * makefiles/DEFAULTS/Defaults.bsd-os3 1.2 + * makefiles/DEFAULTS/Defaults.amigaos 1.2 + '-R ' -> '-R' + +Tue May 8 16:35:36 2007 joerg + * makefiles/DEFAULTS_ENG/Defaults.osf1 1.1 + * makefiles/DEFAULTS_ENG/Defaults.hp-ux 1.1 + * makefiles/DEFAULTS_ENG/Defaults.gnu 1.1 + * makefiles/DEFAULTS_ENG/Defaults.unixware 1.1 + * makefiles/DEFAULTS_ENG/Defaults.netbsd 1.1 + * makefiles/DEFAULTS_ENG/Defaults.os2 1.1 + * makefiles/DEFAULTS_ENG/Defaults.mingw32_nt 1.1 + * makefiles/DEFAULTS_ENG/Defaults.openserver 1.1 + * makefiles/DEFAULTS_ENG/Defaults.openbsd 1.1 + * makefiles/DEFAULTS_ENG/Defaults.linux 1.1 + * makefiles/DEFAULTS_ENG/Defaults.ms-dos 1.1 + * makefiles/DEFAULTS_ENG/Defaults.sunos4 1.1 + * makefiles/DEFAULTS_ENG/Defaults.nextstep 1.1 + * makefiles/DEFAULTS_ENG/Defaults.qnx 1.1 + * makefiles/DEFAULTS_ENG/Defaults.sunos5 1.1 + * makefiles/DEFAULTS_ENG/Defaults.mac-os10 1.1 + * makefiles/DEFAULTS_ENG/Defaults.irix 1.1 + * makefiles/DEFAULTS_ENG/Defaults.rhapsody 1.1 + * makefiles/DEFAULTS_ENG/Defaults.newsos6 1.1 + date and time created 07/05/08 16:35:36 by joerg + +Tue May 8 16:35:35 2007 joerg + * makefiles/DEFAULTS_ENG/Defaults.dgux 1.1 + * makefiles/DEFAULTS_ENG/Defaults.dgux4 1.1 + * makefiles/DEFAULTS_ENG/Defaults.bsd-os3 1.1 + * makefiles/DEFAULTS_ENG/Defaults.darwin 1.1 + * makefiles/DEFAULTS_ENG/Defaults.bsd-os 1.1 + * makefiles/DEFAULTS_ENG/Defaults.domainos 1.1 + * makefiles/DEFAULTS_ENG/Defaults.beos 1.1 + * makefiles/DEFAULTS_ENG/Defaults.dragonfly 1.1 + * makefiles/DEFAULTS_ENG/Defaults.amigaos 1.1 + * makefiles/DEFAULTS_ENG/Defaults.aix 1.1 + * makefiles/DEFAULTS_ENG/Defaults.freebsd 1.1 + * makefiles/DEFAULTS_ENG/Defaults.dgux3 1.1 + date and time created 07/05/08 16:35:35 by joerg + +Tue May 8 16:19:50 2007 joerg + * makefiles/DEFAULTS/Defaults.unixware 1.1 + * makefiles/DEFAULTS/Defaults.sunos4 1.1 + * makefiles/DEFAULTS/Defaults.sunos5 1.1 + date and time created 07/05/08 16:19:50 by joerg + +Tue May 8 16:19:49 2007 joerg + * makefiles/DEFAULTS/Defaults.bsd-os 1.1 + * makefiles/DEFAULTS/Defaults.mingw32_nt 1.1 + * makefiles/DEFAULTS/Defaults.beos 1.1 + * makefiles/DEFAULTS/Defaults.ms-dos 1.1 + * makefiles/DEFAULTS/Defaults.dgux 1.1 + * makefiles/DEFAULTS/Defaults.rhapsody 1.1 + * makefiles/DEFAULTS/Defaults.qnx 1.1 + * makefiles/DEFAULTS/Defaults.osf1 1.1 + * makefiles/DEFAULTS/Defaults.freebsd 1.1 + * makefiles/DEFAULTS/Defaults.darwin 1.1 + * makefiles/DEFAULTS/Defaults.nextstep 1.1 + * makefiles/DEFAULTS/Defaults.os2 1.1 + * makefiles/DEFAULTS/Defaults.openserver 1.1 + * makefiles/DEFAULTS/Defaults.openbsd 1.1 + * makefiles/DEFAULTS/Defaults.newsos6 1.1 + * makefiles/DEFAULTS/Defaults.amigaos 1.1 + * makefiles/DEFAULTS/Defaults.irix 1.1 + * makefiles/DEFAULTS/Defaults.linux 1.1 + * makefiles/DEFAULTS/Defaults.mac-os10 1.1 + * makefiles/DEFAULTS/Defaults.netbsd 1.1 + * makefiles/DEFAULTS/Defaults.bsd-os3 1.1 + * makefiles/DEFAULTS/Defaults.aix 1.1 + * makefiles/DEFAULTS/Defaults.hp-ux 1.1 + * makefiles/DEFAULTS/Defaults.dgux3 1.1 + * makefiles/DEFAULTS/Defaults.domainos 1.1 + * makefiles/DEFAULTS/Defaults.dgux4 1.1 + * makefiles/DEFAULTS/Defaults.dragonfly 1.1 + * makefiles/DEFAULTS/Defaults.gnu 1.1 + date and time created 07/05/08 16:19:49 by joerg + +Tue May 8 13:07:57 2007 joerg + * makefiles/RULES/i386-bsd-os3-cc.rul 1.11 + * makefiles/RULES/i386-mingw32_nt-gcc.rul 1.7 + * makefiles/RULES/i386-bsd-os-gcc.rul 1.13 + * makefiles/RULES/i786-mingw32_nt-gcc.rul 1.7 + * makefiles/RULES/i586-mingw32_nt-gcc.rul 1.7 + * makefiles/RULES/bemac-beos-cc.rul 1.9 + * makefiles/RULES/i686-mingw32_nt-gcc.rul 1.7 + * makefiles/RULES/powerpc-beos-mwcc.rul 1.10 + * makefiles/RULES/bemac-beos-mwcc.rul 1.9 + * makefiles/RULES/i386-bsd-os3-gcc.rul 1.11 + * makefiles/RULES/i386-bsd-os-cc.rul 1.13 + * makefiles/RULES/i486-mingw32_nt-gcc.rul 1.7 + * makefiles/RULES/cc-sunpro64.rul 1.8 + * makefiles/RULES/cc-sunpro.rul 1.7 + * makefiles/RULES/cc-sony.rul 1.6 + * makefiles/RULES/cc-sgi.rul 1.6 + * makefiles/RULES/cc-sco_uw.rul 1.7 + * makefiles/RULES/cc-sco_os.rul 1.8 + * makefiles/RULES/cc-msc.rul 1.16 + * makefiles/RULES/cc-msposix.rul 1.18 + * makefiles/RULES/cc-sun.rul 1.6 + * makefiles/RULES/cc-apollo.rul 1.8 + * makefiles/RULES/cc-ibm.rul 1.6 + * makefiles/RULES/cc-hp.rul 1.6 + * makefiles/RULES/cc-gcc64.rul 1.9 + * makefiles/RULES/cc-gcc.rul 1.8 + * makefiles/RULES/cc-dumb.rul 1.7 + * makefiles/RULES/cc-dg.rul 1.7 + * makefiles/RULES/cc-dec.rul 1.7 + * makefiles/RULES/cc-bemwcc.rul 1.9 + INCDIRSX neu + +Tue May 8 13:03:07 2007 joerg + * makefiles/RULES/powerpc-beos-gcc.rul 1.7 + * makefiles/RULES/sun4-sunos4-gcc.rul 1.8 + * makefiles/RULES/rs6000-aix-gcc.rul 1.8 + * makefiles/RULES/rs6000-aix-cc.rul 1.10 + * makefiles/RULES/sun4-sunos4-cc.rul 1.8 + * makefiles/RULES/sun4-sunos5-cc64.rul 1.6 + * makefiles/RULES/sun4-sunos5-gcc.rul 1.13 + * makefiles/RULES/sun3-sunos4-gcc.rul 1.9 + * makefiles/RULES/sun4-sunos5-gcc64.rul 1.7 + * makefiles/RULES/sun3-sunos4-cc.rul 1.8 + * makefiles/RULES/powerpc-beos-mwcc.rul 1.9 + * makefiles/RULES/sun4-sunos5-cc.rul 1.11 + * makefiles/RULES/power-macintosh-rhapsody-gcc.rul 1.10 + * makefiles/RULES/x86-interix-gcc.rul 1.4 + * makefiles/RULES/x86pc-qnx-gcc.rul 1.6 + * makefiles/RULES/os-cygwin_nt-5.2.id 1.3 + * makefiles/RULES/m68k-amigaos-gcc.rul 1.6 + * makefiles/RULES/os-cygwin_nt-5.1.id 1.3 + * makefiles/RULES/os-cygwin_98-4.10.id 1.2 + * makefiles/RULES/os-interix-nt-5.1.id 1.2 + * makefiles/RULES/os-interix-nt-5.0.id 1.2 + * makefiles/RULES/os-cygwin_nt-5.0.id 1.3 + * makefiles/RULES/os-interix-nt-4.0.id 1.2 + * makefiles/RULES/pci-qnx-cc.rul 1.7 + * makefiles/RULES/os-interix-nt-5.2.id 1.2 + * makefiles/RULES/os-cygwin32_nt.id 1.4 + * makefiles/RULES/power-macintosh-rhapsody-cc.rul 1.10 + * makefiles/RULES/os-cygwin_me-4.90.id 1.2 + * makefiles/RULES/news4000-newsos6-cc.rul 1.6 + * makefiles/RULES/power-macintosh-darwin-cc.rul 1.12 + * makefiles/RULES/os-cygwin_nt-4.0.id 1.3 + * makefiles/RULES/power-macintosh-darwin-gcc.rul 1.12 + * makefiles/RULES/os-cygwin_95-4.0.id 1.2 + * makefiles/RULES/os-interix.id 1.3 + * makefiles/RULES/i386-unixware-gcc.rul 1.6 + * makefiles/RULES/ip22-irix-cc.rul 1.9 + * makefiles/RULES/i86pc-sunos5-gcc64.rul 1.7 + * makefiles/RULES/i386-unixware-cc.rul 1.7 + * makefiles/RULES/ip22-irix-gcc.rul 1.10 + * makefiles/RULES/i686-mingw32_nt-gcc.rul 1.6 + * makefiles/RULES/i386-openbsd-cc.rul 1.9 + * makefiles/RULES/i586-mingw32_nt-gcc.rul 1.6 + * makefiles/RULES/i386-openserver-cc.rul 1.4 + * makefiles/RULES/i786-mingw32_nt-gcc.rul 1.6 + * makefiles/RULES/i586-linux-cc.rul 1.9 + * makefiles/RULES/i586-linux-gcc.rul 1.9 + * makefiles/RULES/i386-os2-gcc.rul 1.12 + * makefiles/RULES/i386-openserver-gcc.rul 1.7 + * makefiles/RULES/i86pc-sunos5-gcc.rul 1.13 + * makefiles/RULES/i86pc-sunos5-cc64.rul 1.5 + * makefiles/RULES/i486-mingw32_nt-gcc.rul 1.6 + * makefiles/RULES/i386-openbsd-gcc.rul 1.9 + * makefiles/RULES/i86pc-sunos5-cc.rul 1.11 + * makefiles/RULES/bemac-beos-cc.rul 1.8 + * makefiles/RULES/bemac-beos-mwcc.rul 1.8 + * makefiles/RULES/bepc-beos-cc.rul 1.9 + * makefiles/RULES/bepc-beos-gcc.rul 1.11 + * makefiles/RULES/dn5500-domainos-cc.rul 1.6 + * makefiles/RULES/hppa-nextstep-cc.rul 1.9 + * makefiles/RULES/hppa-nextstep-gcc.rul 1.9 + * makefiles/RULES/i386-at386-gnu-gcc.rul 1.6 + * makefiles/RULES/i386-bsd-os-cc.rul 1.12 + * makefiles/RULES/i386-bsd-os-gcc.rul 1.12 + * makefiles/RULES/i386-bsd-os3-cc.rul 1.10 + * makefiles/RULES/i386-bsd-os3-gcc.rul 1.10 + * makefiles/RULES/i386-freebsd-cc.rul 1.8 + * makefiles/RULES/i386-freebsd-gcc.rul 1.8 + * makefiles/RULES/i386-mingw32_nt-gcc.rul 1.6 + * makefiles/RULES/i386-ms-dos-gcc.rul 1.5 + * makefiles/RULES/i386-netbsd-cc.rul 1.10 + * makefiles/RULES/i386-at386-gnu-cc.rul 1.6 + * makefiles/RULES/i386-netbsd-gcc.rul 1.10 + * makefiles/RULES/9000-725-hp-ux-cc.rul 1.13 + * makefiles/RULES/alpha-osf1-cc.rul 1.7 + * makefiles/RULES/alpha-osf1-gcc.rul 1.7 + * makefiles/RULES/aviion-dgux3-cc.rul 1.8 + * makefiles/RULES/9000-725-hp-ux-gcc.rul 1.9 + * makefiles/RULES/aviion-dgux4-cc.rul 1.8 + * makefiles/RULES/aviion-dgux4-gcc.rul 1.9 + * makefiles/RULES/aviion-dgux3-gcc.rul 1.9 + OSDEFS= -> OSDEFS += + +Tue May 8 12:18:59 2007 joerg + * makefiles/RULES/x86-interix-cc.rul 1.1 + date and time created 07/05/08 12:18:59 by joerg + +Tue May 8 12:17:57 2007 joerg + * makefiles/RULES/cc-msposix.rul 1.17 + Erster Versuch cc-msc.rul wieder auf UNIS Optionen umzustellen + +Sun May 6 23:13:32 2007 joerg + * include/schily/iconv.h 1.1 + date and time created 07/05/06 23:13:32 by joerg + +Sun May 6 15:09:42 2007 joerg + * makefiles/RULES/rules.htm 1.3 + ALLTARGETS += beseitigt + +Sun May 6 14:56:12 2007 joerg + * makefiles/RULES/rules.man 1.4 + Ser Inhalt von rules.loc ist nun expandiert damit nicht sub.htm mit includiert wird und html/htmlx doppelt definiert sind + +Sun May 6 14:54:06 2007 joerg + * makefiles/RULES/rules.htm 1.2 + * makefiles/RULES/sub.htm 1.2 + html htmlx sind nun immer in ALLTARGETS + +Sun May 6 14:51:39 2007 joerg + * makefiles/RULES/rules1.top 1.39 + * makefiles/RULES/rules.hlp 1.13 + html, htmlx neu + +Sun May 6 14:50:26 2007 joerg + * makefiles/RULES/rules.sps 1.13 + * makefiles/RULES/rules.c4x-lib 1.5 + * makefiles/RULES/rules.aux 1.8 + * makefiles/RULES/rules.inc 1.8 + * makefiles/RULES/rules.shl 1.13 + * makefiles/RULES/rules.lib 1.10 + * makefiles/RULES/rules.drv 1.7 + * makefiles/RULES/rules.loc 1.7 + * makefiles/RULES/rules.mod 1.7 + * makefiles/RULES/rules.c4x 1.3 + * makefiles/RULES/rules.cmd 1.12 + include $(SRCROOT)/$(RULESDIR)/sub.htm neu + +Fri May 4 16:23:48 2007 joerg + * autoconf/configure.in 1.125 + Diverse Schreibfehler $lib_lib_* statt $lib_* behoben + +Fri May 4 15:51:34 2007 joerg + * autoconf/rules.cnf.in 1.14 + * autoconf/xconfig.h.in 1.121 + * autoconf/configure.in 1.124 + libiconv Test verbessert + +Fri May 4 14:13:19 2007 joerg + * include/schily/Mrel 1.3 + * include/schily/Makefile 1.3 + iconv.mk neu + +Fri May 4 12:18:27 2007 joerg + * include/schily/iconv.mk 1.1 + date and time created 07/05/04 12:18:27 by joerg + +Fri May 4 12:08:51 2007 joerg + * makefiles/RULES/MKLINKS 1.64 + pentium-4-unixware-cc.rul / pentium-4-unixware-gcc.rul neu + +Thu May 3 23:47:40 2007 joerg + * autoconf/xconfig.h.in 1.120 + * autoconf/configure.in 1.123 + iconv Tests neu + +Thu May 3 21:38:52 2007 joerg + * mkisofs/mkisofs.c 1.211 + -J ist nicht mehr -l + +Thu May 3 21:25:40 2007 joerg + * makefiles/RULES/os-sco_sv.id 1.3 + Support fuer OpenServer-6.x == UnixWare-7.14 neu + +Thu May 3 17:34:07 2007 joerg + * conf/oarch.sh 1.13 + Bei Interix (SF) P_ARCH=${K_ARCH} + +Thu May 3 17:28:10 2007 joerg + * makefiles/RULES/os-interix-nt-5.1.id 1.1 + * makefiles/RULES/os-interix-nt-4.0.id 1.1 + * makefiles/RULES/os-interix-nt-5.0.id 1.1 + * makefiles/RULES/os-interix-nt-5.2.id 1.1 + date and time created 07/05/03 17:28:10 by joerg + +Thu May 3 17:27:52 2007 joerg + * makefiles/RULES/x86-interix-cl.rul 1.4 + * makefiles/RULES/os-interix.id 1.2 + OSDEFS= -D_WIN32_WINNT=0x0403 -> os-interix.id + os-interix.id macht nun -include $(SRCROOT)/$(RULESDIR)/os-interix-nt-$(MAKE_HOST_OSREL).id + +Thu May 3 15:49:25 2007 joerg + * makefiles/RULES/os-cygwin32_nt.id 1.3 + Defaultwert fuer _WIN32_WINNT setzen + +Thu May 3 14:58:59 2007 joerg + * makefiles/RULES/mk-smake.id 1.6 + * makefiles/RULES/mk-.id 1.12 + * makefiles/RULES/mk-gmake.id 1.16 + OSVERSION neu + +Thu May 3 14:57:17 2007 joerg + * makefiles/DEFAULTS/Defaults.interix 1.3 + * makefiles/DEFAULTS_ENG/Defaults.interix 1.3 + P_ARCH= $(K_ARCH) neu + +Fri Apr 27 15:43:45 2007 joerg + * conf/oarch.sh 1.12 + Workaround fuer Interix ksh Parser Bug + +Fri Apr 27 15:19:19 2007 joerg + * autoconf/xconfig.h.in 1.119 + * autoconf/configure.in 1.122 + * autoconf/aclocal.m4 1.55 + HAVE_UTSNAME_PROCESSOR/HAVE_UTSNAME_SYSNAME_HOST/HAVE_UTSNAME_RELEASE_HOST/HAVE_UTSNAME_VERSION_HOST neu fuer Interix/SFU + +Fri Apr 27 11:41:26 2007 joerg + * makefiles/RULES/cc-msposix.rul 1.16 + Variante fuer POSIX /bin/cc + +Fri Apr 27 11:34:00 2007 joerg + * makefiles/RULES/cc-msc.rul 1.15 + * makefiles/RULES/r-smake.obj 1.9 + * makefiles/RULES/cc-msposix.rul 1.15 + * makefiles/RULES/r-make.obj 1.7 + $(CC_OUTPUT_FILTER) neu um das Echo des Filenamens mit cl.exe wegzufiltern + +Thu Apr 26 17:04:35 2007 joerg + * makefiles/RULES/x86-interix-cl.rul 1.3 + OSDEFS += -D_WIN32_WINNT=0x0403 neu + +Thu Apr 26 17:04:16 2007 joerg + * makefiles/RULES/cc-msc.rul 1.14 + * makefiles/RULES/cc-msposix.rul 1.14 + Kommentar fuer include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from Defaults.* neu + +Thu Apr 26 17:02:24 2007 joerg + * makefiles/DEFAULTS_ENG/Defaults.interix 1.2 + * makefiles/DEFAULTS/Defaults.interix 1.2 + include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) + +Thu Apr 26 17:01:03 2007 joerg + * makefiles/DEFAULTS_ENG/Defaults.cygwin32_nt 1.3 + * makefiles/DEFAULTS/Defaults.cygwin32_nt 1.3 + $(_PLATFORM) neu + +Thu Apr 26 10:13:09 2007 joerg + * cdda2wav/cdda2wav.c 1.80 + Neue -version Ausgabe auf stdout und nach gleichem System wie bei den anderen cdrtools Programmen + +Wed Apr 25 23:24:51 2007 joerg + * libschily/fexec.c 1.28 + Umstellung auf STDIN_FILENO/STDOUT_FILENO/STDERR_FILENO + +Wed Apr 25 21:05:27 2007 joerg + * cdrecord/drv_dvdplus.c 1.40 + * cdrecord/drv_dvd.c 1.142 + printf Format strings korrigiert + +Wed Apr 25 18:54:45 2007 joerg + * include/schily/wchar.h 1.4 + #undef iswalnum .... vor Neudefinition + +Wed Apr 25 18:52:34 2007 joerg + * mkisofs/mkisofs.c 1.210 + Printf() Formatstring korrigiert + +Wed Apr 25 18:50:18 2007 joerg + * libscg/scsi-mac-iokit.c 1.13 + GCC-4.x Warnungen beseitigt + Besseres Beispiel bei dev=help + +Wed Apr 25 16:54:03 2007 joerg + * include/schily/time.h 1.18 + Workyround fuer winsock2.h: #define HAVE_STRUCT_TIMEVAL + +Wed Apr 25 16:30:13 2007 joerg + * cdrecord/cdrecord.c 1.343 + cdrecord -version bringt nun auch Copyright -> 2007 + +Wed Apr 25 13:05:27 2007 joerg + * autoconf/config.guess 1.7 + "i386":"Darwin" neu + +Wed Apr 25 00:12:21 2007 joerg + * cdrecord/cdrecord.h 1.184 + * cdrecord/scsi_mmc.c 1.34 + Neue Funktion sessstatus() + +Tue Apr 24 18:05:07 2007 joerg + * conf/mkdep-msc-interix.sh 1.4 + 3x sed -> 1x sed + s,^a:,/dev/fs/A .... neu + +Tue Apr 24 16:24:21 2007 joerg + * makefiles/DEFAULTS/vc7-interix-setup 1.7 + Gross/Kleinschreibung beachten + +Tue Apr 24 15:43:20 2007 joerg + * makefiles/RULES/rules.hlp 1.12 + shell Target neu + +Tue Apr 24 15:39:42 2007 joerg + * makefiles/DEFAULTS/vc7-interix-setup 1.6 + .../VC/BIN -> .../VC/bin + +Tue Apr 24 15:36:05 2007 joerg + * makefiles/RULES/rules.cnf 1.11 + * makefiles/RULES/local.cnf 1.6 + CFLAGS="$(CFLAGS) $(OSDEFS)" (OSDEFS neu) damit bei Interix korrekt konfiguriert wird + +Tue Apr 24 14:20:11 2007 joerg + * autoconf/xconfig.h.in 1.118 + * autoconf/configure.in 1.121 + HAVE_WAIT neu + +Tue Apr 24 00:36:59 2007 joerg + * scgcheck/scgcheck.c 1.9 + Copyright -> 2007 + +Tue Apr 24 00:32:46 2007 joerg + * scgcheck/Makefile 1.7 + * scgcheck/scgcheck.c 1.8 + Umbau auf ../cdrecord/version.h + +Tue Apr 24 00:26:47 2007 joerg + * cdrecord/cdrecord.c 1.342 + * cdrecord/readcd.c 1.87 + Umstellung auf version.h + +Tue Apr 24 00:20:08 2007 joerg + * cdda2wav/Makefile 1.13 + * cdda2wav/local.cnf.in 1.7 + * cdda2wav/toc.c 1.70 + * cdda2wav/cdda2wav.c 1.79 + * cdda2wav/configure.in 1.9 + * mkisofs/mkisofs.c 1.209 + Umstellung auf ../cdrecord/version.h + +Mon Apr 23 23:29:25 2007 joerg + * cdrecord/Makefile 1.40 + version.h neu + +Mon Apr 23 23:28:13 2007 joerg + * mkisofs/diag/isoinfo.c 1.54 + * mkisofs/diag/isovfy.c 1.28 + * mkisofs/diag/isodump.c 1.29 + * mkisofs/diag/dump.c 1.26 + * mkisofs/diag/isodebug.c 1.16 + Umstellung auf ../../cdrecord/version.h + +Mon Apr 23 23:24:00 2007 joerg + * cdrecord/version.h 1.1 + date and time created 07/04/23 23:24:00 by joerg + +Mon Apr 23 23:13:33 2007 joerg + * libscg/scsi-linux-sg.c 1.92 + SG_GET_MAX_TRANSFER_LENGTH Hack (experimentell) neu. Es kommt weg wenn SG_GET_RESERVED_SIZE korrekt funktioniert + +Mon Apr 23 22:42:08 2007 joerg + * mkisofs/volume.c 1.20 + Bessere Fehlermeldung von Helios in copy_to_mac_vol() + +Sun Apr 22 23:36:15 2007 joerg + * mkisofs/write.c 1.107 + Zeitzone korrekt berechnen auch fuer westlich von GMT + +Fri Apr 20 17:05:36 2007 joerg + * libfind/idcache.c 1.23 + Endlosrekursion in nameinit() verhundern in dem name_init = TRUE gesetzt wird + +Fri Apr 20 16:47:01 2007 joerg + * makefiles/RULES/x86-interix-cl.rul 1.2 + Umgestelle auf /conf/mkdep-msc-interix.sh + +Fri Apr 20 16:46:43 2007 joerg + * makefiles/RULES/rules1.top 1.38 + shell: Target neu + +Fri Apr 20 16:46:14 2007 joerg + * conf/mkdep-msc-interix.sh 1.3 + Anpassungen fuer Interix + +Fri Apr 20 15:01:10 2007 joerg + * makefiles/RULES/cc-msposix.rul 1.13 + * makefiles/RULES/cc-msc.rul 1.13 + * makefiles/RULES/i486-cygwin32_nt-cl.rul 1.7 + _PLATFORM fuer DEFAUTLT/vc7-cygwin-setup neu + +Fri Apr 20 15:00:29 2007 joerg + * makefiles/RULES/x86-interix-cl.rul 1.1 + date and time created 07/04/20 15:00:29 by joerg + +Fri Apr 20 14:53:13 2007 joerg + * makefiles/DEFAULTS/vc7-interix-setup 1.5 + * makefiles/DEFAULTS/vc6-interix-setup 1.4 + cygdrive/c/ -> /dev/fs/C/ + +Fri Apr 20 14:44:42 2007 joerg + * makefiles/RULES/cc-msposix.rul 1.12 + * makefiles/RULES/cc-msc.rul 1.12 + cl -> cl.exe, lib -> lib.exe + +Fri Apr 20 14:08:11 2007 joerg + * makefiles/RULES/rules.cmd 1.11 + * makefiles/RULES/rules.inc 1.7 + * autoconf/rules.cnf.in 1.13 + XEXEEXT neu + +Fri Apr 20 13:46:39 2007 joerg + * autoconf/acspecific.m4 1.5 + Statt AC_STRUCT_TIMEZONE AC_STRUCT_TM_ZONE rufen + XEXEEXT neu + +Fri Apr 20 13:04:49 2007 joerg + * autoconf/acgeneral.m4 1.4 + ac_xexeext= neu + +Thu Apr 19 15:42:13 2007 joerg + * include/schily/time.h 1.17 + HAVE_STRUCT_TIMEVAL / HAVE_STRUCT_TIMEZONE neu + +Thu Apr 19 15:36:06 2007 joerg + * autoconf/aclocal.m4 1.54 + * autoconf/xconfig.h.in 1.117 + * autoconf/configure.in 1.120 + HAVE_STRUCT_TIMEZONE neu + +Thu Apr 19 15:30:54 2007 joerg + * autoconf/acoldnames.m4 1.2 + AC_STRUCT_TIMEZONE -> AC_STRUCT_TM_ZONE + +Thu Apr 19 14:55:26 2007 joerg + * autoconf/xconfig.h.in 1.116 + * autoconf/configure.in 1.119 + * autoconf/aclocal.m4 1.53 + HAVE_STRUCT_TIMEVAL neu + +Mon Apr 9 10:50:56 2007 joerg + * cdrecord/scsi_scan.c 1.27 + scgp->silent wieder auf 0 setzen nachdem das Target (ohne dev=) im Auto-Modus gefunden wurde + +Sun Apr 8 18:05:45 2007 joerg + * cdrecord/drv_dvdplus.c 1.39 + * cdrecord/drv_dvd.c 1.141 + Versuch besser mit einem Pioneer Firmwarebug bei der max. Speed umzugehen + +Sun Apr 8 16:29:17 2007 joerg + * cdrecord/cue.c 1.33 + Cstyle + +Sat Apr 7 21:47:57 2007 joerg + * libparanoia/p_block.c 1.23 + paranoia_init() enthielt Schreibfehler d_track_audiop = d_track_audiop statt p->d_track_audiop = d_track_audiop + +Sat Apr 7 12:09:40 2007 joerg + * cdrecord/drv_jvc.c 1.88 + Copyright -> 2007 + 0xDf -> 0xDF, 0xCe -> 0xCE + +Fri Apr 6 23:50:20 2007 joerg + * libfind/fetchdir.c 1.21 + * libfind/cmpdir.c 1.21 + Copyright -> 2007 + +Fri Apr 6 15:45:51 2007 joerg + * cdrecord/readcd.mk 1.10 + XRELFILES += Mreadcd.man + +Fri Apr 6 15:45:32 2007 joerg + * cdrecord/Mreadcd.man 1.1 + date and time created 07/04/06 15:45:32 by joerg + +Fri Apr 6 15:39:57 2007 joerg + * cdrecord/readcd.mk 1.9 + Makefile.man -> Mreadcd.man + +Thu Apr 5 14:25:38 2007 joerg + * scgskeleton/Makefile 1.3 + -DUSE_LARGEFILES neu + +Wed Apr 4 15:08:48 2007 joerg + * libfind/find.c 1.62 + * libfind/find_main.c 1.57 + Version -> 1.3 + +Wed Apr 4 14:49:46 2007 joerg + * libfind/find_misc.c 1.11 + * libfind/walk.h 1.21 + * libfind/find_misc.h 1.6 + * libfind/find_list.h 1.7 + * include/schily/walk.h 1.21 + * cdda2wav/toc.c 1.69 + * cdrecord/scsilog.c 1.20 + * cdrecord/drv_dvdplus.c 1.38 + * cdrecord/drv_mmc.c 1.180 + Copyright -> 2007 + +Wed Apr 4 12:19:49 2007 joerg + * mkisofs/mkisofs.c 1.208 + * cdrecord/cdrecord.c 1.341 + Version -> 2.01.01a25 + +Wed Apr 4 11:34:17 2007 joerg + * libfind/find.c 1.61 + filewrite(), putchar(), fexec(), .... auch auf state->std[] umstellen + +Wed Apr 4 01:28:29 2007 joerg + * libfind/walk.c 1.28 + * libfind/walk.h 1.20 + * include/schily/walk.h 1.20 + sqfun_t quitfun / void *qfarg neu in struct WALK + WALK_WF_QUIT neu + +Wed Apr 4 01:27:00 2007 joerg + * libfind/find_main.c 1.56 + find_main() auf squit_t *quit umgebaut + Abbruch ist nun mittels quitfun() Return Wert moeglich + file_raise(std[i], FALSE) waehrend find_main() laeuft + clearerr(std[i]) am Ende + +Wed Apr 4 01:24:06 2007 joerg + * libfind/find.h 1.17 + * include/schily/find.h 1.17 + find_main() auf squit_t *quit umgebaut + +Tue Apr 3 18:41:14 2007 joerg + * include/schily/schily.h 1.67 + file_getraise() neu + _INCL_SETJMP_H -> _SCHILY_JMPDEFS_H + JM_EXIT / JM_RETURN neu + +Tue Apr 3 18:39:50 2007 joerg + * libschily/Targets 1.9 + * libschily/libschily-mapvers 1.10 + file_getraise.c neu + +Tue Apr 3 18:38:03 2007 joerg + * libschily/stdio/fileread.c 1.15 + * libschily/stdio/filereopen.c 1.16 + * libschily/stdio/fileseek.c 1.13 + * libschily/stdio/file_raise.c 1.9 + * libschily/stdio/fcons.c 2.18 + * libschily/stdio/flag.c 2.13 + * libschily/stdio/filewrite.c 1.15 + * libschily/stdio/schilyio.h 2.26 + Copyright -> 2007 + _IONORAISE -> _JS_IONORAISE, _IOUNBUF -> _JS_IOUNBUF + +Tue Apr 3 18:35:22 2007 joerg + * libschily/stdio/file_getraise.c 1.1 + date and time created 07/04/03 18:35:22 by joerg + +Tue Apr 3 18:30:35 2007 joerg + * libschily/jmem.c 1.10 + * libschily/fjmem.c 1.11 + JM_EXIT fuer comexit(err) statt siglongjmp() neu + +Tue Apr 3 18:28:58 2007 joerg + * cdrecord/cdrecord.1 1.113 + mkisofs Option heisst -quiet statt -q + +Tue Apr 3 01:41:05 2007 joerg + * libfind/walk.c 1.27 + Besserer Kommentar + WALK_WF_PRUNE nur noch auswerten nachdem die Directory vor dem Inhalt bearbeitet wurde + +Tue Apr 3 00:58:57 2007 joerg + * libfind/find.h 1.16 + * libfind/find.c 1.60 + * libfind/find_main.c 1.55 + * include/schily/find.h 1.16 + find_parse() hat nun kein Speicherleck mehr bei Syntayfehlern in der Kommandozeile + +Sun Apr 1 00:25:32 2007 joerg + * libfind/find.c 1.59 + * libfind/find.h 1.15 + * include/schily/find.h 1.15 + * libfind/find_list.c 1.18 + * libfind/find_main.c 1.54 + * libfind/find_list.h 1.6 + * libfind/find_misc.c 1.10 + * libfind/find_misc.h 1.5 + * include/schily/walk.h 1.19 + * libfind/walk.c 1.26 + * libfind/walk.h 1.19 + Umbauten damit I/O Umlenkung im Shell funktioniert + +Sat Mar 31 14:43:59 2007 joerg + * include/schily/archdefs.h 1.5 + Cstyle + +Sat Mar 31 13:01:57 2007 joerg + * libfind/libfind-mapvers 1.8 + Copyright -> 2007 + Version erstmal -> 0.1 + find_free neu + b_find -> find_main + +Fri Mar 30 13:08:41 2007 joerg + * include/schily/wchar.h 1.3 + Fehlendes #endif + +Fri Mar 30 13:07:26 2007 joerg + * include/schily/wchar.h 1.2 + Klammerung von stdio.h mit _INCL_STDIO_H + +Thu Mar 29 23:26:51 2007 joerg + * libfind/find.c 1.58 + Kommentar warum comerr() im geforkten Prozess aufgerufen werden darf + +Wed Mar 28 15:52:55 2007 joerg + * mkisofs/mkisofs.c 1.207 + find_node -> findn_t * + +Wed Mar 28 15:28:28 2007 joerg + * libfind/find.c 1.57 + "{}" nicht mehr durch NULL Pointer ersetzen + +Wed Mar 28 14:14:11 2007 joerg + * libfind/find_main.c 1.53 + * libfind/find.c 1.56 + * libfind/find.h 1.14 + * include/schily/find.h 1.14 + node -> findn_t + +Wed Mar 28 12:23:33 2007 joerg + * libfind/find.c 1.55 + * libfind/find_main.c 1.52 + * libfind/find.h 1.13 + * include/schily/find.h 1.13 + find_free() neu + +Sun Mar 25 22:18:56 2007 joerg + * libscg/scsi-bsd.c 1.44 + scgo_numbus() repariert - path_id ist unsigned und wurde mit (unsigned)-1 verglichen + +Sun Mar 25 16:06:47 2007 joerg + * cdrecord/drv_dvdplus.c 1.37 + Debug Meldung an aktuelle Struktur angepasst + +Wed Mar 14 22:32:33 2007 joerg + * cdda2wav/toc.c 1.68 + _nixread() -> _niread() weil _nixread() durch die Schleife haengt + +Sun Mar 11 13:13:44 2007 joerg + * libfind/find.c 1.54 + GCC parameter hides Warnung beseitigt + +Sun Mar 11 13:02:45 2007 joerg + * mkisofs/mkisofs.8 1.116 + -stream-media-size Doku neu + +Sun Mar 11 11:53:21 2007 joerg + * cdrecord/cue.c 1.32 + Copyright -> 2007 + +Sun Mar 11 11:52:45 2007 joerg + * cdrecord/cue.c 1.31 + wdebug() nun mit #ifdef DEBUG + +Thu Mar 8 14:22:25 2007 joerg + * libscg/libscg-mapvers 1.2 + scg_numbus() neu + +Thu Mar 8 13:08:02 2007 joerg + * makefiles/RULES/cc-dec.rul 1.6 + * makefiles/RULES/cc-sco_os.rul 1.7 + * makefiles/RULES/cc-sco_uw.rul 1.6 + * makefiles/RULES/cc-dumb.rul 1.6 + * makefiles/RULES/cc-sony.rul 1.5 + * makefiles/RULES/cc-sun.rul 1.5 + * makefiles/RULES/cc-ibm.rul 1.5 + * makefiles/RULES/cc-bemwcc.rul 1.8 + * makefiles/RULES/cc-gcc64.rul 1.8 + * makefiles/RULES/cc-sunpro64.rul 1.7 + * makefiles/RULES/cc-gcc.rul 1.7 + * makefiles/RULES/cc-sgi.rul 1.5 + * makefiles/RULES/cc-msc.rul 1.11 + * makefiles/RULES/rules1.top 1.37 + * makefiles/RULES/cc-dg.rul 1.6 + * makefiles/RULES/cc-msposix.rul 1.11 + * makefiles/RULES/cc-apollo.rul 1.7 + * makefiles/RULES/rules.cmd 1.10 + * makefiles/RULES/rules.inc 1.6 + * makefiles/RULES/cc-sunpro.rul 1.6 + * makefiles/RULES/rules.c4x 1.2 + * makefiles/RULES/top.c4x 1.4 + * makefiles/RULES/cc-hp.rul 1.5 + LIBS_PATH_STATIC / OLIBSDIR_STATIC neu + +Thu Mar 8 13:02:26 2007 joerg + * libfind/libfind-mapvers 1.7 + walkinitstate() neu + +Thu Mar 8 12:27:32 2007 joerg + * makefiles/RULES/bepc-beos-cc.rul 1.8 + * makefiles/RULES/bepc-beos-gcc.rul 1.10 + * makefiles/RULES/i386-bsd-os-cc.rul 1.11 + * makefiles/RULES/i386-bsd-os-gcc.rul 1.11 + LIBS_PATH= -L$(OLIBSDIR) beseitigt, ist bereits in cc-gcc.rul + +Wed Mar 7 17:45:03 2007 joerg + * makefiles/RULES/i486-cygwin32_nt-gcc.rul 1.9 + * makefiles/RULES/i486-cygwin32_nt-cc.rul 1.9 + * makefiles/RULES/cc-sco_uw.rul 1.5 + * makefiles/RULES/rules.shl 1.12 + * makefiles/RULES/i386-bsd-os3-gcc.rul 1.9 + * makefiles/RULES/i386-bsd-os3-cc.rul 1.9 + * makefiles/RULES/i386-bsd-os-gcc.rul 1.10 + * makefiles/RULES/i386-bsd-os-cc.rul 1.10 + * makefiles/RULES/cc-sunpro64.rul 1.6 + * makefiles/RULES/cc-sco_os.rul 1.6 + * makefiles/RULES/cc-gcc64.rul 1.7 + * makefiles/RULES/cc-apollo.rul 1.6 + * makefiles/RULES/cc-sunpro.rul 1.5 + * makefiles/RULES/cc-dg.rul 1.5 + * makefiles/RULES/cc-bemwcc.rul 1.7 + * makefiles/RULES/cc-dec.rul 1.5 + * makefiles/RULES/cc-dumb.rul 1.5 + * makefiles/RULES/cc-gcc.rul 1.6 + $(RM) $(RM_FORCE) $(PTARGET_BASE).so vor Anlegen eines Shared Lib Symlinks + +Tue Mar 6 16:05:43 2007 joerg + * autoconf/configure.in 1.118 + * autoconf/xconfig.h.in 1.115 + sys/sysctl.h und mach/machine.h neu + +Tue Mar 6 15:51:04 2007 joerg + * conf/oarch.sh 1.11 + Doku erweitert + -debug & -x neu + +Mon Feb 26 17:42:21 2007 joerg + * libfind/libfind-mapvers 1.6 + nameinit beseitigt + +Mon Feb 26 17:23:11 2007 joerg + * libfind/cmpdir.c 1.20 + * libfind/fetchdir.c 1.20 + dfetchdir() neu + +Mon Feb 26 17:18:59 2007 joerg + * libschily/fjmem.c 1.10 + Keine Fehlermeldung wenn FILE *f == NULL + +Mon Feb 26 16:46:48 2007 joerg + * cdrecord/readcd.c 1.86 + Version -> 2.01.01a24 + +Mon Feb 26 16:17:56 2007 joerg + * include/schily/schily.h 1.66 + * libschily/Targets 1.8 + * libschily/libschily-mapvers 1.9 + fjmem.c neu + +Mon Feb 26 16:17:20 2007 joerg + * libschily/jmem.c 1.9 + Copyright -> 2007 + +Mon Feb 26 16:13:12 2007 joerg + * libschily/fjmem.c 1.9 + Umbau auf __fj*() + +Mon Feb 26 16:00:26 2007 joerg + * mkisofs/mkisofs.c 1.206 + walkinitstate() neu + walkflags |= WALK_NOEXIT neu + +Mon Feb 26 15:58:59 2007 joerg + * libfind/find_main.c 1.51 + * libfind/find.c 1.53 + * include/schily/walk.h 1.18 + * libfind/walk.c 1.25 + * libfind/walk.h 1.18 + walkinitstate() neu + +Mon Feb 26 13:02:14 2007 joerg + * include/schily/schily.h 1.65 + * libschily/comerr.c 1.32 + * libschily/libschily-mapvers 1.8 + * libschily/Targets 1.7 + fcomerr()/fcomerrno()/ferrmsg()/ferrmsgno() neu, _comerr() nun nicht mehr LOCAL + +Mon Feb 26 13:00:26 2007 joerg + * libschily/fcomerr.c 1.1 + date and time created 07/02/26 13:00:26 by joerg + +Fri Feb 23 11:27:04 2007 joerg + * makefiles/RULES/cc-msc.rul 1.10 + * makefiles/RULES/cc-msposix.rul 1.10 + C++OPTS= -EHsc neu + +Thu Feb 22 21:21:43 2007 joerg + * mkisofs/mkisofs.c 1.205 + Umbau auf neue libfind + +Thu Feb 22 21:21:17 2007 joerg + * mkisofs/mac_label.c 1.12 + * mkisofs/apple.c 1.24 + * cdrecord/drv_dvd.c 1.140 + * cdrecord/drv_mmc.c 1.179 + * cdrecord/scsilog.c 1.19 + * cdrecord/drv_dvdplus.c 1.36 + -I. beseitigt, lokale Files nun mit #include "" includieren + +Thu Feb 22 21:12:51 2007 joerg + * include/schily/maxpath.h 1.8 + Copyright -> 2007 + Nun auch _MAX_PATH / _MAX_FNAME von stdlib.h bei MSVC nutzen + +Thu Feb 22 18:13:05 2007 joerg + * include/schily/dirent.h 1.23 + Korrigiert fuer Systeme ohne opendir() + +Thu Feb 22 14:36:44 2007 joerg + * libschily/avoffset.c 1.27 + #include -> #include "getfp.c" + +Thu Feb 22 14:33:16 2007 joerg + * makefiles/RULES/top.c4x 1.3 + * makefiles/RULES/i386-bsd-os-cc.rul 1.9 + * makefiles/RULES/i686-mingw32_nt-gcc.rul 1.5 + * makefiles/RULES/cc-sun.rul 1.4 + * makefiles/RULES/cc-sony.rul 1.4 + * makefiles/RULES/i586-mingw32_nt-gcc.rul 1.5 + * makefiles/RULES/i386-bsd-os-gcc.rul 1.9 + * makefiles/RULES/i486-mingw32_nt-gcc.rul 1.5 + * makefiles/RULES/i386-mingw32_nt-gcc.rul 1.5 + * makefiles/RULES/i786-mingw32_nt-gcc.rul 1.5 + * makefiles/RULES/powerpc-beos-mwcc.rul 1.8 + * makefiles/RULES/i386-bsd-os3-cc.rul 1.8 + * makefiles/RULES/i386-bsd-os3-gcc.rul 1.8 + * makefiles/RULES/cc-sunpro.rul 1.4 + * makefiles/RULES/cc-sunpro64.rul 1.5 + * makefiles/RULES/bemac-beos-cc.rul 1.7 + * makefiles/RULES/cc-apollo.rul 1.5 + * makefiles/RULES/bemac-beos-mwcc.rul 1.7 + * makefiles/RULES/cc-bemwcc.rul 1.6 + * makefiles/RULES/cc-dec.rul 1.4 + * makefiles/RULES/cc-sgi.rul 1.4 + * makefiles/RULES/cc-sco_uw.rul 1.4 + * makefiles/RULES/cc-sco_os.rul 1.5 + * makefiles/RULES/cc-dg.rul 1.4 + * makefiles/RULES/cc-dumb.rul 1.4 + * makefiles/RULES/cc-msposix.rul 1.9 + * makefiles/RULES/cc-gcc.rul 1.5 + * makefiles/RULES/cc-gcc64.rul 1.6 + * makefiles/RULES/cc-hp.rul 1.4 + * makefiles/RULES/cc-ibm.rul 1.4 + * makefiles/RULES/cc-msc.rul 1.9 + -I. beseitigt + +Thu Feb 22 10:14:20 2007 joerg + * libfind/walk.c 1.24 + Bei einem Fehler nicht mehr die Callbackfunktion aufrufen sondern abbrechen + +Thu Feb 22 00:43:35 2007 joerg + * libfind/find_main.c 1.50 + Copyright in -version -> 2007 + fa.walkflags |= WALK_NOEXIT; + +Wed Feb 21 23:39:11 2007 joerg + * libfind/find.c 1.52 + * libfind/find_main.c 1.49 + find_args->jmp und find_args->error neu + ENDARGS -> FIND_ENDARGS, FIND_ERRARG neu + find_usage(int ret) -> find_usage(void) + find_parse() hat nun Aussnahmebehandlung mit sigsetjmp()/siglongjmp() + +Wed Feb 21 20:37:39 2007 joerg + * libfind/libfind-mapvers 1.5 + * libfind/Targets 1.4 + find_main.c neu + +Wed Feb 21 20:36:46 2007 joerg + * libfind/find.h 1.12 + * include/schily/find.h 1.12 + Copyright -> 2007 + Besserer Kommentar + find_args->jmp und find_args->error neu + ENDARGS -> FIND_ENDARGS, FIND_ERRARG neu + find_usage(int ret) -> find_usage(void) + b_find(int ac, char **av, void *dummy) neu + +Wed Feb 21 00:11:02 2007 joerg + * libschily/libschily-mapvers 1.7 + * libschily/Targets 1.6 + jmem.c neu + +Wed Feb 21 00:00:18 2007 joerg + * libschily/fjmem.c 1.8 + * libschily/jmem.c 1.8 + __malloc() -> __jmalloc, statt comerr() nun errmsg()/siglongjmp() + +Tue Feb 20 23:58:38 2007 joerg + * libschily/getargs.c 2.48 + Copyright -> 2007 + checkeql() erlaubt nun auch '+' in longopt= + +Tue Feb 20 15:51:48 2007 joerg + * autoconf/configure.in 1.117 + * autoconf/aclocal.m4 1.52 + Umbau auf AC_FUNC_SIGSETJMP / AC_FUNC_SIGLONGJMP + +Tue Feb 20 10:48:28 2007 joerg + * include/schily/schily.h 1.64 + js_j*alloc()/js_jsavestr() neu + +Tue Feb 20 10:47:55 2007 joerg + * include/schily/jmpdefs.h 1.7 + Auch sigsetjmp()/siglongjmp() werden auf setjmp()/longjmp() abgebildet falls sig*() fehlt + +Mon Feb 19 20:50:09 2007 joerg + * libfind/find_main.c 1.48 + Copyright -> 2007 + main() -> b_find() + +Mon Feb 19 20:08:42 2007 joerg + * include/schily/jmpdefs.h 1.6 + #define sigjmps_t jmps_t wenn sigsetjmp nicht verfügbar + +Mon Feb 19 19:41:42 2007 joerg + * include/schily/jmpdefs.h 1.5 + sigjmps_t neu + +Mon Feb 19 18:32:01 2007 joerg + * autoconf/configure.in 1.116 + * autoconf/xconfig.h.in 1.114 + sigsetjmp()/siglongjmp() neu + +Sun Feb 18 19:20:38 2007 joerg + * include/schily/fetchdir.h 1.3 + * libfind/fetchdir.h 1.3 + dfetchdir() neu + +Sun Feb 18 17:21:25 2007 joerg + * autoconf/xconfig.h.in 1.113 + * autoconf/configure.in 1.115 + AC_CHECK_FUNCS(openat attropen fstatat fchownat futimesat renameat unlinkat) neu + +Sun Feb 18 14:26:55 2007 joerg + * libfind/idcache.c 1.22 + uid_nobody()/gid_nobody() sind nun nicht mehr Variablen sondern Funktionen + nameinit() -> LOCAL und automatisch + +Sat Feb 17 16:59:07 2007 joerg + * cdrecord/cdrecord.c 1.340 + Copyright -> 2007 + Version -> 2.01.01a24 + +Sat Feb 17 16:48:16 2007 joerg + * mkisofs/write.c 1.106 + * mkisofs/boot.c 1.20 + * mkisofs/mkisofs.c 1.204 + * mkisofs/stream.c 1.9 + Copyright -> 2007 + version -> 2.01.01a24 + +Thu Feb 15 14:32:15 2007 joerg + * cdrecord/skel.mk 1.4 + -DSCHILY_PRINT neu + +Wed Feb 14 18:22:40 2007 joerg + * libfind/idcache.c 1.21 + * libfind/find.c 1.51 + * libfind/find_list.c 1.17 + * libfind/walk.c 1.23 + * cdrecord/scsi_mmc.c 1.33 + * cdrecord/drv_dvd.c 1.139 + * cdrecord/diskid.c 1.40 + * cdda2wav/interface.h 1.19 + * cdda2wav/cdda2wav.c 1.78 + Copyright -> 2007 + +Tue Feb 13 16:51:30 2007 joerg + * mkisofs/write.c 1.105 + Zeitzone korrekt berechnen wenn GMT==31.12.2006 und Local 1.1.2007 + +Tue Feb 13 15:58:00 2007 joerg + * include/schily/schilyp.mk 1.1 + date and time created 07/02/13 15:58:00 by joerg + +Tue Feb 13 15:55:19 2007 joerg + * include/schily/schilyp.h 1.1 + date and time created 07/02/13 15:55:19 by joerg + +Tue Feb 13 15:51:00 2007 joerg + * include/schily/Makefile 1.2 + * include/schily/Mrel 1.2 + schilyp.mk neu + +Tue Feb 13 15:48:42 2007 joerg + * include/schily/Mrel 1.1 + * include/schily/Makefile 1.1 + date and time created 07/02/13 15:48:42 by joerg + +Tue Feb 13 15:46:50 2007 joerg + * makefiles/DEFAULTS_ENG/Defaults.cygwin32_nt 1.2 + * makefiles/DEFAULTS/Defaults.cygwin32_nt 1.2 + include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) neu + +Tue Feb 13 15:45:43 2007 joerg + * makefiles/DEFAULTS_ENG/Defaults.cygwin32_nt 1.1 + date and time created 07/02/13 15:45:43 by joerg + +Tue Feb 13 15:41:30 2007 joerg + * makefiles/DEFAULTS/Defaults.cygwin32_nt 1.1 + date and time created 07/02/13 15:41:30 by joerg + +Tue Feb 13 15:40:22 2007 joerg + * makefiles/RULES/rules1.top 1.36 + cc-config.sh mit neuem Parameter default-cc + +Tue Feb 13 15:39:45 2007 joerg + * conf/cc-config.sh 1.8 + Neuer Parameter default-cc, viele kleinere Verbesserungen + +Tue Feb 13 15:22:04 2007 joerg + * conf/oarch.sh 1.10 + cc-config num mit zusaetzlichem default-cc Parameter sh ./conf/cc-config.sh cc default-cc incs/Dcc. + +Sat Feb 10 19:42:33 2007 joerg + * makefiles/RULES/rules.shl 1.11 + Ueberzaehlige alte ___DYNLD.o= Zeile beseitigt + +Sat Feb 10 19:39:10 2007 joerg + * makefiles/RULES/sub.htm 1.1 + * makefiles/RULES/rules.htm 1.1 + date and time created 07/02/10 19:39:10 by joerg + +Sat Feb 10 19:38:30 2007 joerg + * makefiles/RULES/rules.man 1.3 + rules.htm neu + +Fri Feb 9 12:28:35 2007 joerg + * libparanoia/cdda_paranoia.h 1.23 + * libparanoia/p_block.h 1.18 + * libparanoia/p_block.c 1.22 + * libparanoia/paranoia.c 1.36 + Callbackfundtionen zu cdda2wav sind nun in struct cdrom_paranoia + und paranoia_init() hat zusaetzliche Parameter fuer diese Funktionen. + Diese Aenderung war notwendig weil der Mac OS X Linker nicht von der Lib Zum Hauptprogramm linken kann + +Fri Feb 9 12:07:06 2007 joerg + * cdda2wav/cdda2wav.c 1.77 + * cdda2wav/interface.h 1.18 + paranoia_init() bekommt nun die cdda_*() Funktionen als Parameter + extern Deklarationen fuer cdda_*() Funktionen fuer libparanoia + +Thu Feb 8 16:03:45 2007 joerg + * autoconf/configure.in 1.114 + * autoconf/xconfig.h.in 1.112 + * autoconf/aclocal.m4 1.51 + AC_SHELL_BASH Test neu + +Thu Feb 8 13:07:10 2007 joerg + * makefiles/RULES/power-macintosh-darwin-cc.rul 1.11 + * makefiles/RULES/rules.shl 1.10 + * makefiles/RULES/power-macintosh-darwin-gcc.rul 1.11 + Shared Library Support fuer Mac OS X neu + +Thu Feb 8 13:04:26 2007 joerg + * libfind/find.c 1.50 + "common" varaible "environ" -> *_NSGetEnviron() wegen Mac OS X Linker Problemen + +Thu Feb 8 12:57:40 2007 joerg + * libfile/shlfile.mk 1.3 + -lschily neu + +Thu Feb 8 10:55:44 2007 joerg + * libhfs_iso/gdata.c 1.3 + * libfind/idcache.c 1.20 + * libfind/find_list.c 1.16 + * libfile/apprentice.c 1.10 + "common" varaible -> "data" wegen Mac OS X Linker Problemen + +Wed Feb 7 21:51:50 2007 joerg + * libedc/shledc_dec.mk 1.2 + LIBS= -ledc_ecc neu + +Wed Feb 7 17:24:11 2007 joerg + * include/schily/schily.h 1.63 + #undef *printf bevor sie auf js_* umdefiniert werden + +Wed Feb 7 14:59:01 2007 joerg + * libschily/fexec.c 1.27 + * libschily/raisecond.c 1.21 + * libschily/stdio/flag.c 2.12 + "common" varaible -> "data" wegen Mac OS X Linker Problemen + +Wed Feb 7 13:58:49 2007 joerg + * autoconf/configure.in 1.113 + * autoconf/xconfig.h.in 1.111 + HAVE_CRT_EXTERNS_H fuer Mac OS X neu + +Wed Feb 7 12:37:36 2007 joerg + * libfile/apprentice.c 1.9 + cgetstr() -> apgetstr() wegen Mac OS X + +Mon Feb 5 23:34:22 2007 joerg + * mkisofs/stream.c 1.8 + .. Eintrag nun korrrekt auf ^A + +Mon Feb 5 23:31:52 2007 joerg + * mkisofs/mkisofs.c 1.203 + -stream-file-name nun aktiviert mit iso9660_level = 4 + diverse %d -> %u Änderungen weil extent-number nun unsigned ist + +Mon Feb 5 22:48:07 2007 joerg + * libfind/walk.c 1.22 + NULL twprivate erkennen und coredump bei find -exec + vermeiden + +Mon Feb 5 22:33:33 2007 joerg + * libschily/libschily-mapvers 1.6 + printf.c snprintf.c sprintf.c beseitigt + getnum.c getxnum.c gettnum.c getxtnum.c neu + +Mon Feb 5 22:31:44 2007 joerg + * cdrecord/drv_dvd.c 1.138 + %d -> %u denn Parameter ist unsigned + +Mon Feb 5 08:59:38 2007 joerg + * include/schily/schily.h 1.62 + getnum()/getllnum()/getxnum()/getllxnum()/gettnum()/getlltnum()/getxtnum()/getllxtnum() neu + +Mon Feb 5 00:34:22 2007 joerg + * cdrecord/Makefile 1.39 + * mkisofs/diag/isodump.mk 1.7 + * mkisofs/diag/isovfy.mk 1.7 + * mkisofs/diag/isoinfo.mk 1.8 + * mkisofs/diag/dump.mk 1.7 + * mkisofs/diag/isodebug.mk 1.5 + * cdrecord/readcd.mk 1.8 + * cdrecord/skel.mk 1.3 + * mkisofs/Makefile 1.26 + * cdda2wav/Makefile 1.12 + * btcflash/Makefile 1.3 + getnum() -> libschily + +Mon Feb 5 00:13:02 2007 joerg + * cdrecord/diskid.c 1.39 + #include neu wegen js_printf() + +Sun Feb 4 23:51:14 2007 joerg + * libfind/libfind-mapvers 1.4 + * libfind/Targets 1.3 + gettnum.c -> libschily + +Sun Feb 4 23:50:38 2007 joerg + * libfind/find.c 1.49 + gettnum.h beseitigt + +Sun Feb 4 23:31:41 2007 joerg + * libschily/Targets 1.5 + printf.c snprintf.c sprintf.c beseitigt + getnum.c getxnum.c gettnum.c getxtnum.c neu + +Sun Feb 4 23:19:10 2007 joerg + * libschily/getxtnum.c 1.7 + * libschily/getnum.c 1.4 + * libschily/getxnum.c 1.4 + * libschily/gettnum.c 1.7 + Umstellung auf struct gnmult + +Sun Feb 4 02:23:46 2007 joerg + * scgskeleton/Makefile 1.2 + * scgcheck/Makefile 1.6 + * libfile/shlfile.mk 1.2 + * libfile/libfile.mk 1.2 + * libfile/libfile_p.mk 1.2 + * mkisofs/diag/isodump.mk 1.6 + * mkisofs/diag/isovfy.mk 1.6 + * mkisofs/diag/isoinfo.mk 1.7 + * mkisofs/diag/dump.mk 1.6 + * mkisofs/diag/isodebug.mk 1.4 + * mkisofs/Makefile 1.25 + * cdrecord/readcd.mk 1.7 + * cdda2wav/Makefile 1.11 + * cdrecord/Makefile 1.38 + * btcflash/Makefile 1.2 + * libfind/libfind_p.mk 1.2 + * libfind/libfind.mk 1.2 + * libfind/shlfind.mk 1.2 + * libscg/libscg.mk 1.2 + * libscg/librscg.mk 1.3 + * libscg/librscg_p.mk 1.2 + * libscg/libscg_p.mk 1.2 + * libscg/shlrscg.mk 1.2 + * libscg/shlscg.mk 1.2 + -DSCHILY_PRINT neu + +Sun Feb 4 02:01:57 2007 joerg + * libfile/apprentice.c 1.8 + getstr() -> cgetstr() + +Sun Feb 4 01:59:07 2007 joerg + * libfile/softmagic.c 1.9 + * libfile/apprentice.c 1.7 + * mkisofs/mac_label.c 1.11 + * mkisofs/volume.c 1.19 + schily/schily.h neu + +Sat Feb 3 23:37:09 2007 joerg + * include/schily/standard.h 1.36 + Kommentar stdxlib.h/unixstd.h -> schily/stdlib.h/schily/unistd.h + +Fri Jan 26 14:27:18 2007 joerg + * makefiles/DEFAULTS/vc6-setup 1.3 + * makefiles/DEFAULTS/vc7-interix-setup 1.4 + * makefiles/DEFAULTS/vc6-interix-setup 1.3 + * makefiles/DEFAULTS/vc6-cygwin-setup 1.3 + * makefiles/DEFAULTS/vc7-cygwin-setup 1.4 + * makefiles/DEFAULTS/vc7-setup 1.4 + .NO_WARN: neu + +Wed Jan 24 16:37:51 2007 joerg + * makefiles/RULES/rules.inc 1.5 + * makefiles/RULES/rules.cmd 1.9 + * makefiles/RULES/cc-msposix.rul 1.8 + * makefiles/RULES/cc-msc.rul 1.8 + LD_OUTPUT_OPTION neu + +Wed Jan 24 15:55:20 2007 joerg + * makefiles/RULES/i486-cygwin32_nt-cl.rul 1.6 + OSDEFS += -D_CRT_SECURE_NO_DEPRECATE neu + +Wed Jan 24 14:47:19 2007 joerg + * include/schily/wchar.h 1.1 + date and time created 07/01/24 14:47:19 by joerg + +Wed Jan 24 14:47:08 2007 joerg + * include/schily/wchar.mk 1.1 + date and time created 07/01/24 14:47:08 by joerg + +Wed Jan 24 14:45:39 2007 joerg + * autoconf/configure.in 1.112 + * autoconf/rules.cnf.in 1.12 + LIB_SCSI neu als Alias fuer SCSILIB + LIB_RESOLV neu + +Mon Jan 22 18:29:44 2007 joerg + * include/schily/param.h 1.3 + _SCHILY_TYPES_H -> _SCHILY_PARAM_H + +Mon Jan 22 14:37:47 2007 joerg + * autoconf/xconfig.h.in 1.110 + * autoconf/configure.in 1.111 + ctime cftime ascftime strftime tests neu + +Sun Jan 21 19:30:40 2007 joerg + * include/schily/mconfig.h 1.59 + NO_LARGEFILES neu + +Tue Jan 16 15:19:12 2007 joerg + * include/schily/stat.h 1.13 + * include/schily/termios.h 1.30 + * include/schily/param.h 1.2 + * include/schily/fcntl.h 1.16 + * include/schily/time.h 1.16 + * include/schily/xconfig.h 1.5 + * include/schily/types.h 1.2 + * include/schily/unistd.h 1.19 + * include/schily/mman.h 1.4 + * include/schily/libport.h 1.14 + * include/schily/librmt.h 1.20 + * include/schily/utime.h 1.8 + * include/schily/utypes.h 1.26 + * include/schily/wait.h 1.13 + * include/schily/dirent.h 1.22 + * include/schily/btorder.h 1.19 + * include/schily/device.h 1.18 + * include/schily/archdefs.h 1.4 + Copyright -> 2007 + +Tue Jan 16 14:00:57 2007 joerg + * include/schily/utypes.h 1.25 + int8_t .... Typen fuer _MSC_VER definieren + +Tue Jan 16 13:29:22 2007 joerg + * cdrecord/scsi_mmc.c 1.32 + prdiskstatus() initialisiert nun nwa und rz immer + +Tue Jan 16 12:23:54 2007 joerg + * include/schily/dirent.h 1.21 + sys/stat.h -> schily/stat.h + +Tue Jan 16 12:21:48 2007 joerg + * include/schily/libport.h 1.13 + * include/schily/dirent.h 1.20 + * include/schily/utypes.h 1.24 + sys/param.h -> schily/param.h + +Tue Jan 16 12:09:30 2007 joerg + * include/schily/wait.h 1.12 + * include/schily/fcntl.h 1.15 + * include/schily/mman.h 1.3 + * include/schily/btorder.h 1.18 + * include/schily/termios.h 1.29 + * include/schily/time.h 1.15 + * include/schily/device.h 1.17 + * include/schily/stat.h 1.12 + * include/schily/utime.h 1.7 + * include/schily/dirent.h 1.19 + * include/schily/librmt.h 1.19 + * include/schily/utypes.h 1.23 + sys/types.h -> schily/types.h + +Tue Jan 16 12:07:21 2007 joerg + * makefiles/RULES/cc-gcc64.rul 1.5 + * makefiles/RULES/cc-gcc.rul 1.4 + -Wtraditional beseitigt + -Wno-unknown-pragmas neu + +Tue Jan 16 11:32:03 2007 joerg + * include/schily/schily.h 1.61 + Schreibfehler beseitigt + +Tue Jan 16 11:29:04 2007 joerg + * include/schily/unistd.h 1.18 + Umbau auf schily/types.h + +Tue Jan 16 10:53:37 2007 joerg + * include/schily/unistd.h 1.17 + _exit() mit #ifndef _MSC_VER verstecken + +Mon Jan 15 18:42:43 2007 joerg + * makefiles/DEFAULTS/vc7-cygwin-setup 1.3 + * makefiles/DEFAULTS/vc7-interix-setup 1.3 + * makefiles/DEFAULTS/vc7-setup 1.3 + vsins -> VSINS (Schreibfehler) + +Mon Jan 15 00:25:12 2007 joerg + * autoconf/xconfig.h.in 1.109 + * autoconf/configure.in 1.110 + HAVE_WCHAR_H neu + +Fri Jan 12 13:08:09 2007 joerg + * autoconf/configure.in 1.109 + Vergessenen Testcode fuer MAY_LINUX_SRC_INCLUDE entfernt + +Fri Jan 12 13:07:36 2007 joerg + * autoconf/configure.in 1.108 + * autoconf/rules.cnf.in 1.11 + MAY_LINUX_SRC_INCLUDE neu + +Mon Jan 8 18:17:49 2007 joerg + * mkisofs/boot.c 1.19 + * mkisofs/write.c 1.104 + Umstellungen auf %u weil last_extent nun ein UInt32_t ist + +Mon Jan 8 18:17:00 2007 joerg + * libfile/softmagic.c 1.8 + signed/unsigned Format String Problem beseitigt + +Mon Jan 8 18:15:43 2007 joerg + * cdrecord/sccslog.c 1.11 + sccslog ist nun sicher bis 2068 auch im 32 Bit Modus + +Mon Jan 8 18:12:21 2007 joerg + * include/schily/archdefs.h 1.3 + * include/schily/xconfig.h 1.4 + Statische include Definitionen fuer Cygwin-gcc neu + +Mon Jan 8 15:51:02 2007 joerg + * makefiles/DEFAULTS/vc6-cygwin-setup 1.2 + * makefiles/DEFAULTS/vc6-setup 1.2 + * makefiles/DEFAULTS/vc6-interix-setup 1.2 + PATH auf /cygdrive/c/ umgestellt + +Mon Jan 8 15:44:39 2007 joerg + * makefiles/DEFAULTS/vc7-interix-setup 1.2 + * makefiles/DEFAULTS/vc7-cygwin-setup 1.2 + * makefiles/DEFAULTS/vc7-setup 1.2 + Englische Installation beruecksichtigen + PATH mit /cygdrive/c beginnen lassen + +Mon Jan 8 15:41:10 2007 joerg + * makefiles/DEFAULTS/vc7-cygwin-setup 1.1 + * makefiles/DEFAULTS/vc7-interix-setup 1.1 + * makefiles/DEFAULTS/vc7-setup 1.1 + date and time created 07/01/08 15:41:10 by joerg + +Mon Jan 8 14:34:40 2007 joerg + * makefiles/RULES/os-cygwin_nt-5.1.id 1.2 + * makefiles/RULES/os-cygwin_nt-4.0.id 1.2 + * makefiles/RULES/os-cygwin_nt-5.0.id 1.2 + * makefiles/RULES/os-cygwin_nt-5.2.id 1.2 + -DWINVER=xxx beseitigt wegen Problemen mit sys/cygwin.h (cdda2wav) + -DWINVER scheit auch nicht gebraucht zu werden + +Sat Jan 6 12:44:23 2007 joerg + * cdrecord/sccslog.c 1.10 + Umstellung auf include schily/* + +Fri Jan 5 14:09:09 2007 joerg + * makefiles/RULES/sun4-sunos5-gcc.rul 1.12 + * makefiles/RULES/sun4-sunos5-gcc64.rul 1.6 + * makefiles/RULES/i86pc-sunos5-gcc64.rul 1.6 + * makefiles/RULES/i86pc-sunos5-gcc.rul 1.12 + -ztext beseitigt und dafuer GCC Kommentar angebracht + +Thu Jan 4 18:06:26 2007 joerg + * makefiles/RULES/os-cygwin_nt-5.2.id 1.1 + date and time created 07/01/04 18:06:26 by joerg + +Thu Jan 4 16:44:13 2007 joerg + * makefiles/RULES/i486-cygwin32_nt-cc.rul 1.8 + * makefiles/RULES/i486-cygwin32_nt-cl.rul 1.5 + * makefiles/RULES/i486-cygwin32_nt-gcc.rul 1.8 + OSDEFS auf += umgestellt, damit os-cygwin_*.id passende Werte setzen koennen + +Thu Jan 4 16:43:19 2007 joerg + * makefiles/RULES/MKLINKS 1.63 + os-cygwin_*.id sind nun eigenstaendige Files und keine Symlinks mehr + +Thu Jan 4 16:40:38 2007 joerg + * makefiles/RULES/os-cygwin_nt-5.1.id 1.1 + * makefiles/RULES/os-cygwin_95-4.0.id 1.1 + * makefiles/RULES/os-cygwin_98-4.10.id 1.1 + * makefiles/RULES/os-cygwin_me-4.90.id 1.1 + * makefiles/RULES/os-cygwin_nt-5.0.id 1.1 + * makefiles/RULES/os-cygwin_nt-4.0.id 1.1 + date and time created 07/01/04 16:40:38 by joerg + +Wed Jan 3 14:54:07 2007 joerg + * include/schily/xconfig.h 1.3 + * include/schily/archdefs.h 1.2 + __MSWIN_X86_CL32 neu + +Wed Jan 3 14:28:49 2007 joerg + * include/schily/types.h 1.1 + * include/schily/param.h 1.1 + date and time created 07/01/03 14:28:49 by joerg + +Wed Jan 3 14:16:57 2007 joerg + * include/schily/param.mk 1.1 + date and time created 07/01/03 14:16:57 by joerg + +Wed Jan 3 14:16:11 2007 joerg + * include/schily/types.mk 1.1 + date and time created 07/01/03 14:16:11 by joerg + +Tue Jan 2 23:25:38 2007 joerg + * autoconf/xconfig.h.in 1.108 + * autoconf/configure.in 1.107 + AC_VAR_TIMEZONE neu + Tests fuer ftime tzset mktime gmtime localtime timegm timelocal neu + +Tue Jan 2 23:24:30 2007 joerg + * autoconf/aclocal.m4 1.50 + AC_VAR_TIMEZONE neu + +Mon Jan 1 16:15:08 2007 joerg + * autoconf/xconfig.h.in 1.107 + * autoconf/configure.in 1.106 + HAVE_MKTEMP / HAVE_MKSTEMP neu + +Mon Jan 1 14:27:06 2007 joerg + * makefiles/RULES/rules1.top 1.35 + INSTALLTARGETS neu, damit man "install" in rules.dir ausschliessen kann + +Fri Dec 29 17:44:21 2006 joerg + * cdrecord/scsi_mmc.c 1.31 + 0x0014, "DVD-RW sequential overwrite" -> 0x0014, "DVD-RW sequential recording" + +Thu Dec 28 01:16:23 2006 joerg + * include/schily/nlsdefs.h 1.2 + #ifdef HAVE_GETTEXT -> #ifndef HAVE_GETTEXT + #ifdef NO_NLS neu + neben gettext() nun auch dgettext()/dcgettext()/textdomain()/bindtextdomain()/bind_textdomain_codeset() bearbeiten + +Mon Dec 25 00:38:48 2006 joerg + * include/schily/errno.h 1.6 + Schreibfehler defin -> define + +Sat Dec 23 13:11:06 2006 joerg + * mkisofs/mkisofs.8 1.115 + Schreibfehler + +Mon Dec 18 01:24:19 2006 joerg + * mkisofs/mkisofs.c 1.202 + Version -> 2.01.01a23 + +Mon Dec 18 01:18:45 2006 joerg + * cdrecord/cdrecord.c 1.339 + Version -> 2.01.01a23 + Ausgeben um wieviel Bytes ein Sektor gepaddet wird + Bei CDRWIN CUE BINARY Modus (2352 Bytes / Sektor) muessen die Subkanaldaten hinzugefuegt werden + +Mon Dec 18 01:16:39 2006 joerg + * cdrecord/cue.c 1.30 + Trackrestgroesse korrekt nach isecsize berechnen + Copyright -> 2006 + +Sun Dec 17 22:52:13 2006 joerg + * include/schily/utypes.mk 1.1 + * include/schily/xconfig.mk 1.1 + * include/schily/xmconfig.mk 1.1 + * include/schily/varargs.mk 1.1 + * include/schily/utime.mk 1.1 + * include/schily/wait.mk 1.1 + date and time created 06/12/17 22:52:13 by joerg + +Sun Dec 17 22:52:12 2006 joerg + * include/schily/nlsdefs.mk 1.1 + * include/schily/maxpath.mk 1.1 + * include/schily/termcap.mk 1.1 + * include/schily/standard.mk 1.1 + * include/schily/unls.mk 1.1 + * include/schily/stat.mk 1.1 + * include/schily/mman.mk 1.1 + * include/schily/unistd.mk 1.1 + * include/schily/termios.mk 1.1 + * include/schily/mtio.mk 1.1 + * include/schily/sigblk.mk 1.1 + * include/schily/schily.mk 1.1 + * include/schily/mconfig.mk 1.1 + * include/schily/signal.mk 1.1 + * include/schily/string.mk 1.1 + * include/schily/prototyp.mk 1.1 + * include/schily/stkframe.mk 1.1 + * include/schily/stdlib.mk 1.1 + * include/schily/patmatch.mk 1.1 + * include/schily/rmtio.mk 1.1 + * include/schily/time.mk 1.1 + date and time created 06/12/17 22:52:12 by joerg + +Sun Dec 17 22:52:11 2006 joerg + * include/schily/fcntl.mk 1.1 + * include/schily/librmt.mk 1.1 + * include/schily/errno.mk 1.1 + * include/schily/dirent.mk 1.1 + * include/schily/fnmatch.mk 1.1 + * include/schily/device.mk 1.1 + * include/schily/deflts.mk 1.1 + * include/schily/libport.mk 1.1 + * include/schily/jos_maxp.mk 1.1 + * include/schily/ccomdefs.mk 1.1 + * include/schily/btorder.mk 1.1 + * include/schily/getargs.mk 1.1 + * include/schily/jos_io.mk 1.1 + * include/schily/avoffset.mk 1.1 + * include/schily/archdefs.mk 1.1 + * include/schily/getcwd.mk 1.1 + * include/schily/alloca.mk 1.1 + * include/schily/align.mk 1.1 + * include/schily/intcvt.mk 1.1 + * include/schily/jos_defs.mk 1.1 + * include/schily/jmpdefs.mk 1.1 + date and time created 06/12/17 22:52:11 by joerg + +Sun Dec 17 21:47:44 2006 joerg + * libschily/format.c 1.41 + Copyright -> 2006 + #define USE_LONGLONG abgesichert + +Sun Dec 17 20:59:22 2006 joerg + * libfind/walk.c 1.21 + ;; -> ; + +Sun Dec 17 20:55:27 2006 joerg + * libfind/idcache.c 1.19 + nameuid()/namegid() muessen #ifdef PROTOTYPES haben da uid_t/gid_t evt short sind + +Sun Dec 17 20:50:41 2006 joerg + * libfind/walk.c 1.20 + Schreibfehler "intruduced" + +Sun Dec 17 20:40:14 2006 joerg + * libfind/find.c 1.48 + * libfind/find_list.c 1.15 + -type P fuer Solaris 10 Event Ports neu + +Sun Dec 17 20:37:05 2006 joerg + * include/schily/stat.h 1.11 + S_ISPORT fuer Solaris 10 ff. neu + +Sun Dec 17 20:34:38 2006 joerg + * include/schily/xconfig.h 1.2 + xmconfig.h -> schily/xmconfig.h (VMS only) + +Sun Dec 17 20:28:29 2006 joerg + * cdrecord/xio.c 1.16 + Copyright -> 2006 + +Sun Dec 17 20:26:44 2006 joerg + * cdrecord/xio.c 1.15 + * cdrecord/cdrecord.c 1.338 + * cdda2wav/cdda2wav.c 1.76 + Aenderungen fuer VMS + +Wed Dec 13 23:42:23 2006 joerg + * cdrecord/cdrecord.1 1.112 + cuefile= geht nun auch im RAW Modus + +Wed Dec 13 00:23:30 2006 joerg + * cdrecord/cue.c 1.29 + sp->index0 = -1; am Anfang eines Tracks + sectype -> sp->sectype wenn LIB_EDC fehlt + +Sun Dec 10 20:05:26 2006 joerg + * cdrecord/cdrecord.c 1.337 + * cdrecord/cue.c 1.28 + RAW Mode wird nun auch mit cuefile= unterstuetzt. + +Sun Dec 10 20:00:03 2006 joerg + * cdrecord/subchan.c 1.22 + Eingerueckt + +Sat Dec 9 22:31:26 2006 joerg + * cdrecord/cue.c 1.27 + parse_performer()/parse_songwriter()/parse_title() nun mit besserer Ueberpruefung auf korrekte Position im CUE File + +Sat Dec 9 22:19:40 2006 joerg + * cdrecord/cue.c 1.26 + Mehrere FILE Zeilen erlauben fuer mehrere Tracks + +Sun Dec 3 20:10:14 2006 joerg + * cdrecord/cdrecord.c 1.336 + Version -> 2.01.01a22 + +Sun Dec 3 20:09:40 2006 joerg + * cdrecord/scsi_mmc.c 1.30 + Remaining writable size: Ausgabe bei -minfo neu + +Sat Dec 2 23:47:58 2006 joerg + * cdrecord/scsi_mmc.c 1.29 + przone() -> scsi_mmc.c + prdiskstatus() neu + +Sat Dec 2 23:33:52 2006 joerg + * cdrecord/cdrecord.h 1.183 + * cdrecord/drv_dvdplus.c 1.35 + * cdrecord/drv_dvd.c 1.137 + przone() -> scsi_mmc.c + +Sat Dec 2 23:27:17 2006 joerg + * cdrecord/drv_dvd.c 1.136 + Diverse Erweiterungen fuer print_dvd00() (Aktualisiert fuer DVD+R/DL & HD-DVD) + +Sat Dec 2 23:10:16 2006 joerg + * cdrecord/scsimmc.h 1.19 + dvd_structure_00 minimum_rate -> maximum_rate + +Sat Dec 2 21:00:03 2006 joerg + * include/schily/getargs.h 1.16 + Parameter Typen fuer getargfun/getpargfun korrigiert + +Sat Dec 2 20:50:01 2006 joerg + * mkisofs/mkisofs.c 1.201 + Version -> 2.01.01a22 + susage() gibt nun die wichtigsten Optionen auf 24x80 aus + +Sat Dec 2 19:01:13 2006 joerg + * mkisofs/mkisofs.8 1.114 + -posix-H/-posix-L/-posix-P neu + +Sat Dec 2 19:00:26 2006 joerg + * mkisofs/mkisofs.c 1.200 + -posix-H/-posix-L/-posix-P neu + Warnung fue -L/-f abgeschaltet + usage() macht nun korrekt ein Komma vor Optionen die einen NULL Pointer als Kurzhilfe haben + +Thu Nov 30 01:21:12 2006 joerg + * cdrecord/drv_dvdplus.c 1.34 + * cdrecord/drv_dvd.c 1.135 + next_writable_address fuer naechste Session korrekt berechnen + +Wed Nov 29 20:50:52 2006 joerg + * cdrecord/drv_mmc.c 1.178 + * cdrecord/drv_dvd.c 1.134 + * cdrecord/drv_dvdplus.c 1.33 + * cdrecord/cdrecord.h 1.182 + Neuer BOOL is_cd Parameter fuer prdiskstatus() + +Wed Nov 29 12:18:21 2006 joerg + * libscg/scsi-linux-sg.c 1.91 + #define USER_HZ wenn HZ/USER_HZ fehlen + +Wed Nov 29 00:40:51 2006 joerg + * cdrecord/readcd.c 1.85 + * cdrecord/xio.c 1.14 + Cstyle + +Wed Nov 29 00:34:59 2006 joerg + * cdrecord/cdrecord.h 1.181 + prdiskstatus() neu + +Wed Nov 29 00:34:36 2006 joerg + * cdrecord/drv_dvd.c 1.133 + * cdrecord/drv_mmc.c 1.177 + * cdrecord/drv_dvdplus.c 1.32 + prdiskstatus -> scsi_mmc.c + +Wed Nov 29 00:33:59 2006 joerg + * cdrecord/scsi_scan.c 1.26 + numbus auf 1024 setzen wenn scg_numbus() -1 liefert + +Wed Nov 29 00:04:53 2006 joerg + * libscg/scsi-linux-sg.c 1.90 + Bei Linux-2.4 nicht automatisch /dev/hd* oeffnen + EROFS Fehler ingnorieren + +Tue Nov 28 22:18:26 2006 joerg + * libscg/scsi-linux-sg.c 1.89 + USER_HZ statt HZ verwenden wenn vorhanden + +Tue Nov 28 17:49:24 2006 joerg + * cdda2wav/cdda2wav.c 1.75 + mode_t Cast fuer open + +Tue Nov 28 17:46:05 2006 joerg + * libschily/stdio/openfd.c 1.10 + * libschily/stdio/schilyio.h 2.25 + open() mit mode_t Cast + +Mon Nov 27 01:17:21 2006 joerg + * cdrecord/scsi_mmc.c 1.28 + BG format status Ausgabe neu + +Sun Nov 26 23:58:58 2006 joerg + * cdda2wav/toc.c 1.67 + Speicherverletzung durch negativen Returncode von readn() beseitigt + +Sun Nov 26 23:10:12 2006 joerg + * cdrecord/cdrecord.1 1.111 + -minfo/-media-info + +Sun Nov 26 23:09:18 2006 joerg + * cdrecord/drv_dvdplus.c 1.31 + * cdrecord/drv_mmc.c 1.176 + * cdrecord/drv_dvd.c 1.132 + Erste Version von prdiskstatus_*() + +Sun Nov 26 22:40:22 2006 joerg + * libscg/scsitransp.c 1.95 + _scg_version -> 0.9 + +Sun Nov 26 22:34:48 2006 joerg + * libscg/scsi-linux-sg.c 1.88 + ATA: auf Busnummer 1000 ... 1012 mappen + +Sun Nov 26 21:58:49 2006 joerg + * libscg/scsi-linux-ata.c 1.13 + schilly -> atapi + +Sun Nov 26 21:38:12 2006 joerg + * rscsi/rscsi.c 1.32 + scg_numbus() neu + Copyright -> 2006 + +Sun Nov 26 21:15:59 2006 joerg + * cdrecord/scsi_scan.c 1.25 + * cdrecord/drv_sony.c 1.77 + * cdrecord/drv_philips.c 1.73 + * cdrecord/drv_simul.c 1.53 + * cdrecord/drv_7501.c 1.22 + * cdrecord/drv_jvc.c 1.87 + * cdrecord/cdr_drv.c 1.39 + Copyright -> 2006 + +Sun Nov 26 20:55:08 2006 joerg + * cdrecord/cdrecord.c 1.335 + * cdrecord/drv_simul.c 1.52 + * cdrecord/drv_sony.c 1.76 + * cdrecord/drv_philips.c 1.72 + * cdrecord/drv_jvc.c 1.86 + * cdrecord/cdrecord.h 1.180 + * cdrecord/drv_7501.c 1.21 + -minfo/-media-info und dp->cdrprdiskstatus() neu + +Sun Nov 26 20:46:40 2006 joerg + * cdrecord/cdr_drv.c 1.38 + no_diskstatus() neu + -minfo/-media-info und dp->cdrprdiskstatus() neu + +Sun Nov 26 18:12:57 2006 joerg + * libscg/scsi-sgi.c 1.37 + * libscg/scsi-wnt.c 1.46 + * libscg/scsi-unixware.c 1.38 + * libscg/scsi-vms.c 1.34 + * libscg/scsi-linux-pg.c 1.45 + * libscg/scsi-mac-iokit.c 1.12 + * libscg/scsi-linux-sg.c 1.87 + * libscg/scsi-linux-ata.c 1.12 + * libscg/scsi-openserver.c 1.32 + * libscg/scsi-qnx.c 1.4 + * libscg/scsi-osf.c 1.27 + * libscg/scsi-next.c 1.33 + * libscg/scsi-os2.c 1.26 + * libscg/scsi-hpux.c 1.33 + * libscg/scsi-amigaos.c 1.8 + * libscg/scsi-aix.c 1.37 + * libscg/scsi-apollo.c 1.7 + * libscg/scsi-beos.c 1.24 + * libscg/scsi-bsd-os.c 1.29 + * libscg/scsi-bsd.c 1.43 + * libscg/scsi-dos.c 1.12 + * libscg/scg/scgops.h 1.6 + * libscg/scg/scsitransp.h 1.55 + * libscg/scsitransp.c 1.94 + * libscg/scsihack.c 1.48 + * libscg/scsi-sun.c 1.86 + * libscg/scsi-remote.c 1.21 + * cdrecord/scsi_scan.c 1.24 + scg_numbus() neu + +Sun Nov 26 15:30:29 2006 joerg + * cdrecord/drv_dvd.c 1.131 + get_diskinfo()/print_di() -> scsi_mmc.c get_diskinfo()/print_diskinfo() + przone() mit besseren Groessentests + +Sun Nov 26 15:24:11 2006 joerg + * cdrecord/scsimmc.h 1.18 + struct disk_info auf DVD erweitert + +Sun Nov 26 15:23:34 2006 joerg + * cdrecord/drv_dvdplus.c 1.30 + * cdrecord/scsi_mmc.c 1.27 + * cdrecord/drv_mmc.c 1.175 + * cdrecord/cdrecord.h 1.179 + get_diskinfo()/print_di() -> scsi_mmc.c get_diskinfo()/print_diskinfo() + +Sun Nov 26 01:47:48 2006 joerg + * cdrecord/drv_dvd.c 1.130 + Layer Break align nicht pruefen bei dp->cdr_dstat->ds_layer_break == -1 + Manual Layerbreak mit driveropts=layerbreak=# + przone() erweritert um die layer break Funktionen + +Sun Nov 26 01:39:41 2006 joerg + * cdrecord/scsi_scan.c 1.23 + * cdrecord/scsi_scan.h 1.5 + index -> idx wegen GCC Warnung + +Sun Nov 26 01:31:29 2006 joerg + * cdrecord/scsimmc.h 1.17 + struct rzone_info erweitert fuer DVD dual layer + +Sun Nov 26 01:30:14 2006 joerg + * cdda2wav/interface.c 1.52 + Meldungen vom Autotarget Code auf stderr + +Sun Nov 26 01:29:47 2006 joerg + * cdrecord/cdrecord.c 1.334 + * cdrecord/readcd.c 1.84 + Meldungen vom Autotarget Code auf stderr + Version -> 2.01.01a21 + +Sat Nov 25 16:50:40 2006 joerg + * mkisofs/mkisofs.c 1.199 + Version -> 2.01.01a21 + +Sat Nov 25 16:49:32 2006 joerg + * mkisofs/tree.c 1.96 + set_de_path() neu um find_or_create_directory() korrekter zu machen + +Sat Nov 25 16:44:46 2006 joerg + * mkisofs/mkisofs.h 1.116 + struct directory->de_path neu um find_or_cdreate_directory() besser zu machen + +Sun Nov 19 22:59:15 2006 joerg + * mkisofs/tree.c 1.95 + * mkisofs/volume.c 1.18 + * mkisofs/write.c 1.103 + * mkisofs/eltorito.c 1.39 + * mkisofs/mkisofs.c 1.198 + * mkisofs/rock.c 1.50 + * mkisofs/name.c 1.31 + immer strcmp() == 0 / strcmp() != 0 schreiben fuer bessere lesbarkeit + +Wed Nov 15 22:57:38 2006 joerg + * autoconf/configure.in 1.105 + * autoconf/xconfig.h.in 1.106 + HAVE_YIELD neu + +Mon Nov 13 16:35:44 2006 joerg + * makefiles/RULES/i486-cygwin32_nt-cl.rul 1.4 + LIB_SOCKET= Ws2_32.lib + +Sun Nov 12 15:09:58 2006 joerg + * mkisofs/mkisofs.8 1.113 + Bessere -R Doku + +Sun Nov 12 01:08:33 2006 joerg + * libfind/find_misc.c 1.9 + Wenn acl(info->f_name, GETACLCNT, 0, NULL) ENOSYS returniert, dann keine Fehlermeldung + +Sun Nov 12 01:04:31 2006 joerg + * mkisofs/mkisofs.c 1.197 + Version -> 2.01.01a20 + +Sat Nov 11 22:42:43 2006 joerg + * mkisofs/defaults.h 1.20 + * libscg/scsihack.c 1.47 + * cdda2wav/mycdrom.h 1.13 + * cdda2wav/ioctl.c 1.30 + * cdda2wav/setuid.c 1.16 + * cdda2wav/interface.c 1.51 + __FreeBSD_kernel__ fuer Debian auf FreeBSD neu + +Sat Nov 11 21:22:28 2006 joerg + * mkisofs/tree.c 1.94 + Alten auskommentierten HIDE_RR Code beseitigt + Kommentar neu formatiert + +Sat Nov 11 20:49:07 2006 joerg + * cdrecord/cdrecord.c 1.333 + Version -> 2.01.01a20 + Default Write Modus ist nun -sao (bei -multi -tao) + +Sat Nov 11 20:05:37 2006 joerg + * cdrecord/xio.c 1.13 + * cdrecord/xio.h 1.4 + xopen() mit neuem xflags Parameter und X_NOREWIND wegen mehrfachem Oeffnen mit xopen() + Neue Funktion xmarkpos() + +Sat Nov 11 20:04:49 2006 joerg + * cdrecord/cue.c 1.25 + xopen() mit neuem xflags Parameter und X_NOREWIND wegen mehrfachem Oeffnen mit xopen() + +Sat Nov 11 20:04:20 2006 joerg + * cdrecord/cdrecord.c 1.332 + xopen() mit neuem xflags Parameter wegen mehrfachem Oeffnen mit xopen() + Aufruf von xmarkpos() nach ausize() und wavsize(), damit nach xclose() der seek-Pointer nach dem AU/WAV-Header zeigt + +Sat Nov 11 19:59:55 2006 joerg + * cdrecord/audiosize.c 1.21 + ausize() und wavsize() machen nun am Anfang ein lseek(f, (off_t)0L, SEEK_SET); damit auch doppelt geoeffnete Files mit xopen() korrekt funktionieren + +Sat Nov 11 17:59:54 2006 joerg + * cdrecord/fifo.c 1.52 + await_faio() ruft nun kill_faio() statt kill() damit fio_pid <= 0 keine Probleme machen kann + +Mon Nov 6 15:12:32 2006 joerg + * autoconf/aclocal.m4 1.49 + access(".", E_OK|F_OK) fuer _MSC_VER disablen wegen bug in MS libc -> execption -> pop-up + +Mon Nov 6 02:02:02 2006 joerg + * cdrecord/readcd.1 1.25 + * cdrecord/scsi_scan.h 1.4 + * cdrecord/scsi_scan.c 1.22 + * cdrecord/cdrecord.1 1.110 + * cdrecord/cdrecord.c 1.331 + * cdrecord/readcd.c 1.83 + Wenn ohne dev= aufgerufen, dann wird nun nach einem Laufwerk gesucht und es genutzt es wenn es genau ein CD-ROM gibt. + +Mon Nov 6 01:57:41 2006 joerg + * cdda2wav/cdda2wav.1 1.19 + dev= ist nun unnoetig wenn genau ein LW gefunden wird + +Mon Nov 6 01:49:24 2006 joerg + * cdda2wav/interface.c 1.50 + Wenn ohne dev= aufgerufen, dann sucht cdda2wav nun nach einem Laufwerk und nutzt es wenn es genau ein CD-ROM gibt. + +Sun Nov 5 19:28:28 2006 joerg + * libfind/libfind-mapvers 1.3 + mem.c -> libschily + +Sun Nov 5 18:43:52 2006 joerg + * mkisofs/inode.c 1.5 + Da generate_reloc_directory() nun NEED_RE setzt, reduzieren wir den / Link Count um 1 wenn reloc_dir != NULL ist + +Sun Nov 5 18:42:51 2006 joerg + * mkisofs/tree.c 1.93 + generate_reloc_directory() setzt nun NEED_RE + +Sun Nov 5 14:51:25 2006 joerg + * libscg/scsi-sun.c 1.85 + -scanbus liefert nun nicht nur den Fehlertext des ersten Fehlers sondern auch errno dazu + +Sun Nov 5 02:49:11 2006 joerg + * libfind/cmpdir.c 1.19 + * libfind/fetchdir.c 1.19 + * mkisofs/mkisofs.c 1.196 + * libfind/find_main.c 1.47 + * libfind/walk.c 1.19 + * libfind/find.c 1.47 + * libschily/fjmem.c 1.7 + * libschily/mem.c 1.7 + * libschily/jmem.c 1.7 + #include "mem.h" beseitigt + +Sun Nov 5 02:30:12 2006 joerg + * libfind/Targets 1.2 + mem.c / mem.h beseitigt + +Sun Nov 5 02:25:57 2006 joerg + * libschily/Targets 1.4 + mem.c neu + +Sun Nov 5 02:24:54 2006 joerg + * libschily/libschily-mapvers 1.5 + js_malloc/js_realloc/js_savestr neu + +Sun Nov 5 02:21:18 2006 joerg + * include/schily/schily.h 1.60 + __malloc()/__realloc()/__savestr() neu + +Wed Nov 1 01:10:00 2006 joerg + * include/schily/schily.h 1.59 + Wenn SCHILY_PRINTn dann printf... -> js_printf + +Tue Oct 31 18:13:11 2006 joerg + * libfind/mem.h 1.2 + * libfind/gettnum.h 1.2 + * include/schily/fetchdir.h 1.2 + * libfind/find_misc.h 1.4 + * libfind/find_list.h 1.5 + * libfind/fetchdir.h 1.2 + * libschily/gettnum.c 1.6 + * libfind/find_misc.c 1.8 + * libfind/mem.c 1.6 + * libschily/getxtnum.c 1.6 + * libfind/gettnum.c 1.6 + * libschily/mem.c 1.6 + * libfind/find_list.c 1.14 + * libschily/fjmem.c 1.6 + * libschily/jmem.c 1.6 + * libfind/idcache.c 1.18 + * libschily/checkerr.c 1.15 + Copyright -> 2006 + +Tue Oct 31 16:31:01 2006 joerg + * libfind/libfind-mapvers 1.2 + init_findargs() -> find_argsinit(), init_findtime() -> find_timeinit() + +Tue Oct 31 15:03:53 2006 joerg + * conf/Makefile 1.5 + install ist nun offizielles Target + +Tue Oct 31 14:57:25 2006 joerg + * conf/Makefile 1.4 + XMK_FILE= xconfig.mk neu + +Tue Oct 31 14:57:05 2006 joerg + * conf/xconfig.mk 1.1 + date and time created 06/10/31 14:57:05 by joerg + +Tue Oct 31 14:43:27 2006 joerg + * inc/avoffset.mk 1.2 + * inc/btorder_test.mk 1.2 + * inc/align_test.mk 1.2 + INSDIR= -> include/schily/$(OARCH) + +Mon Oct 30 14:48:01 2006 joerg + * libscg/scsi-linux-ata.c 1.11 + "Warning: dev=ATA: is preferred over dev=ATAPI:.\n") neu + +Mon Oct 30 14:03:06 2006 joerg + * mkisofs/multi.c 1.81 + Multi session Hinweis "ISO-9660 image includes checksum signature..." nun -> stderr wegen mkisofs | cdrecord + +Sun Oct 29 13:50:10 2006 joerg + * mkisofs/mkisofs.c 1.195 + * cdrecord/cdrecord.c 1.330 + Version -> 2.01.01a19 + +Sun Oct 29 13:43:07 2006 joerg + * cdda2wav/cdda2wav.1 1.18 + * cdda2wav/interface.c 1.49 + * cdda2wav/cdda2wav.c 1.74 + Neue Option ts=# wie bei cdrecord + Neue globale Variable global.bufsize wegen ts= + +Sun Oct 29 13:41:42 2006 joerg + * cdda2wav/global.h 1.15 + * cdda2wav/scsi_cmds.h 1.16 + Copyright -> 2006 + +Sun Oct 29 13:18:03 2006 joerg + * cdda2wav/scsi_cmds.h 1.15 + * cdda2wav/scsi_cmds.c 1.38 + init_scsibuf() nun mit long amt Parameter + +Sun Oct 29 12:57:57 2006 joerg + * cdda2wav/cdda2wav.1 1.17 + SCCS Text wieder mit %Z%... restauriert + +Sun Oct 29 12:53:38 2006 joerg + * cdda2wav/interface.h 1.17 + DEF_BUFSIZE neu (3 MB) fuer die maximal versuchte SCSI DMA Groesse + +Sun Oct 29 12:51:32 2006 joerg + * cdda2wav/global.h 1.14 + bufsize neu + +Sun Oct 29 12:46:30 2006 joerg + * libschily/fconv.c 1.36 + Schreibfehler HAVE_99_ISINF -> HAVE_C99_ISINF + comments? isinf()/isnan() nicht auf (0) definieren wenn HAVE_C99_ISNAN / HAVE_C99_ISINF defininet sind + +Sun Oct 29 02:08:00 2006 joerg + * mkisofs/tree.c 1.92 + dup_relocated_dir() neu + dir_nesting_warn() jetzt mit zusaetzlichem contflag + generate_reloc_directory() setzt nun root_statbuf aus fstatbuf wenn root_statbuf noch nicht initialisiert wurde + Warnung ausgeben wenn readdir() scheitert + generate_xa_rr_attributes() mit DID_CHDIR in deep_flags aufrufen wenn find im CHDIR Modus lief + find_or_create_directory() prueft nun auch den gesamten Pfad damit die richtige Dir hinter rr_moved gefunden wird + find_or_create_directory() reloziet nun auch neue Directories ueber rr_moved wenn tief geschachtelte graft-points vorliegen + attach_dot_entries() setzt nun auch NEED_PL wenn dirnode->parent == reloc_dir ist. + +Sat Oct 28 21:28:54 2006 joerg + * mkisofs/mkisofs.h 1.115 + cont char * -> char * bei find_or_create_directory() + +Sat Oct 28 20:59:30 2006 joerg + * mkisofs/rock.c 1.49 + DID_CHDIR fuer readlink() auswerten + errmsg() wenn readlink() scheitert + +Sat Oct 28 20:58:17 2006 joerg + * mkisofs/mkisofs.h 1.114 + DID_CHDIR fuer deep_flag neu + +Thu Oct 26 18:04:26 2006 joerg + * mkisofs/stream.c 1.7 + * mkisofs/udf.c 1.21 + Fehlende Konsequenzen aus unsigned -> UInt32_t Wechsel nachgezogen + +Wed Oct 25 20:21:10 2006 joerg + * cdrecord/drv_dvdplus.c 1.29 + Sicherstellen, dasz -1 nicht groesser als (unsigned) 12345 angesehen wird + +Tue Oct 24 11:03:49 2006 joerg + * makefiles/RULES/MKLINKS 1.62 + sun4us (Sparc64) neu + +Sun Oct 22 13:55:44 2006 joerg + * mkisofs/tree.c 1.91 + dir_nesting_warn() neu + Abbruch bei zu tief geschachtelten Directories ist nun in insert_file_entry() + find_or_create_directory() verfolgt nun vorhandene Directories korrekt ueber die relocation Directory + +Sun Oct 22 13:47:01 2006 joerg + * mkisofs/walk.c 1.5 + state->flags |= WALK_WF_PRUNE wenn insert_file_entry() 0 zurueckliefert + +Sat Oct 21 14:57:34 2006 joerg + * mkisofs/inode.c 1.4 + mkisofs -T & mkisofs -b boot-file geht nun auch weil s_entry->inode == TABLE_INODE behandelt wird + +Sat Oct 21 10:30:03 2006 joerg + * include/schily/mconfig.h 1.58 + #include statt #include + +Sat Oct 21 10:28:39 2006 joerg + * include/schily/xconfig.h 1.1 + date and time created 06/10/21 10:28:39 by joerg + +Sat Oct 21 10:27:44 2006 joerg + * include/schily/xmconfig.h 1.34 + Dies ist nun nur noch die manuelle Konfiguration fuer VMS + +Fri Oct 20 16:55:59 2006 joerg + * libfind/find.c 1.46 + mode_t ist unsignged short und kann daher nicht ohne Cast mit -1 verglichen werden + +Fri Oct 20 15:33:49 2006 joerg + * autoconf/configure.in 1.104 + pthread_create() zuerst in -lpthread und dann in -lc suchen + +Thu Oct 19 14:58:31 2006 joerg + * cdrecord/cue.c 1.24 + getdelim() -> getworddelim() wegen Cygwin + +Thu Oct 19 12:31:36 2006 joerg + * mkisofs/diag/isoinfo.c 1.53 + * cdrecord/cdrecord.c 1.329 + Version -> 2.01.01a18 + +Thu Oct 19 12:22:53 2006 joerg + * mkisofs/mkisofs.8 1.112 + Linux kann doch rrip V1.12 lesen + +Tue Oct 17 17:19:32 2006 joerg + * makefiles/DEFAULTS/vc6-interix-setup 1.1 + * makefiles/DEFAULTS/vc6-setup 1.1 + * makefiles/DEFAULTS/vc6-cygwin-setup 1.1 + date and time created 06/10/17 17:19:32 by joerg + +Mon Oct 16 15:41:23 2006 joerg + * makefiles/RULES/cc-msposix.rul 1.7 + * makefiles/RULES/cc-msc.rul 1.7 + include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) neu + +Tue Oct 10 16:50:58 2006 joerg + * conf/mkdep-msc-interix.sh 1.2 + * conf/mkdep-msc.sh 1.2 + .SPACE_IN_NAMES: neu + +Tue Oct 10 14:31:38 2006 joerg + * include/schily/xmconfig.h 1.33 + Halbsttische Kompilation fuer SunOS5 Sparc/x86 + +Tue Oct 10 14:30:35 2006 joerg + * include/schily/mconfig.h 1.57 + #include cuer halbstatische Kompilation + +Tue Oct 10 14:30:07 2006 joerg + * include/schily/archdefs.h 1.1 + date and time created 06/10/10 14:30:07 by joerg + +Tue Oct 10 10:31:58 2006 joerg + * include/schily/nlsdefs.h 1.1 + date and time created 06/10/10 10:31:58 by joerg + +Tue Oct 10 10:31:53 2006 joerg + * include/schily/avoffset.h 1.4 + #include + +Tue Oct 10 10:24:14 2006 joerg + * include/schily/librmt.h 1.18 + * include/schily/getargs.h 1.15 + * include/schily/libport.h 1.12 + * include/schily/string.h 1.10 + * include/schily/patmatch.h 1.12 + * include/schily/device.h 1.16 + * include/schily/fnmatch.h 8.6 + * include/schily/deflts.h 1.8 + * include/schily/unls.h 1.8 + * include/schily/standard.h 1.35 + schily/prototyp.h wird nicht benoetigt weil durch schily/mconfig inkludiert + +Tue Oct 10 09:27:57 2006 joerg + * include/schily/termcap.h 1.8 + #include fuer BOOL + +Tue Oct 10 09:27:32 2006 joerg + * include/schily/jmpdefs.h 1.4 + #include + +Mon Oct 9 00:32:06 2006 joerg + * libschily/fconv.c 1.35 + Versuch C99 isinf()/isnan() in math.h zu nutzen + +Sun Oct 8 22:45:45 2006 joerg + * autoconf/xconfig.h.in 1.105 + * autoconf/aclocal.m4 1.48 + * autoconf/configure.in 1.103 + HAVE_C99_ISINF/HAVE_C99_ISNAN neu + +Sun Oct 8 20:27:20 2006 joerg + * mkisofs/diag/isoinfo.c 1.52 + Rrip 1.12 Support neu + Bessere "ls -l" Ausgabe + +Sun Oct 8 20:14:17 2006 joerg + * mkisofs/diag/isodebug.c 1.15 + Die Checksumme im MKI Block geht nun über den PVD + +Sun Oct 8 19:55:11 2006 joerg + * mkisofs/mkisofs.h 1.113 + * mkisofs/multi.c 1.80 + * mkisofs/rock.c 1.48 + * mkisofs/mkisofs.c 1.194 + * mkisofs/mkisofs.8 1.111 + * mkisofs/inode.c 1.3 + -rrip110/-rip112 neu + +Sun Oct 8 16:31:23 2006 joerg + * mkisofs/multi.c 1.79 + isonum_xxx() beseitigt + Umstellung auf UInt32_t + +Sun Oct 8 16:29:28 2006 joerg + * mkisofs/inode.c 1.2 + * mkisofs/isonum.c 1.6 + Cstyle + +Sun Oct 8 16:28:24 2006 joerg + * mkisofs/isonum.c 1.5 + pnt -> p + +Sun Oct 8 16:26:15 2006 joerg + * mkisofs/mkisofs.h 1.112 + * mkisofs/isonum.c 1.4 + get_711()/get_721()/get_723() neu + +Sun Oct 8 15:49:56 2006 joerg + * mkisofs/udf.c 1.20 + * mkisofs/write.c 1.102 + * mkisofs/stream.c 1.6 + * mkisofs/boot.c 1.18 + * mkisofs/mkisofs.h 1.111 + * mkisofs/volume.c 1.17 + * mkisofs/mkisofs.c 1.193 + * mkisofs/joliet.c 1.44 + *extent* -> UInt32_t + +Sun Oct 8 14:44:15 2006 joerg + * mkisofs/write.c 1.101 + * mkisofs/mkisofs.c 1.192 + isonum_733() -> get_733() + +Sun Oct 8 14:37:10 2006 joerg + * mkisofs/scsi.c 1.25 + * mkisofs/multi.c 1.78 + * mkisofs/scsi.h 1.2 + readsecs() nun mit UInt32_t startsecno Parameter + +Sun Oct 8 14:27:18 2006 joerg + * mkisofs/mkisofs.h 1.110 + isonum_733() besetigt + +Sun Oct 8 14:13:22 2006 joerg + * mkisofs/mkisofs.h 1.109 + * mkisofs/isonum.c 1.3 + Umbau von {get!set}_7xx zu void * und UInt32_t + +Sun Oct 8 13:54:14 2006 joerg + * mkisofs/isonum.c 1.2 + get_7xx -> UInt32_t + +Sun Oct 8 13:53:06 2006 joerg + * mkisofs/isonum.c 1.1 + date and time created 06/10/08 13:53:06 by joerg + +Sun Oct 8 13:51:43 2006 joerg + * mkisofs/Makefile 1.24 + * mkisofs/mkisofs.h 1.108 + * mkisofs/write.c 1.100 + {get!set}_7xx Routinen -> isonum.c + +Sun Oct 8 13:24:20 2006 joerg + * mkisofs/write.c 1.99 + Kommentare fuer die die {get!set}_7xx Routinen + +Sat Oct 7 20:22:01 2006 joerg + * mkisofs/inode.c 1.1 + date and time created 06/10/07 20:22:01 by joerg + +Sat Oct 7 20:10:15 2006 joerg + * mkisofs/mkisofs.c 1.191 + getfind() Prototyp neu + GCC Warnungen vermeien + +Sat Oct 7 20:08:39 2006 joerg + * libfind/walk.h 1.17 + * libfind/find.h 1.11 + * include/schily/walk.h 1.17 + * include/schily/find.h 1.11 + #include neu + +Sat Oct 7 20:08:17 2006 joerg + * mkisofs/walk.c 1.4 + * mkisofs/mkisofs.h 1.107 + Prototyp fuer walkfunc() neu + +Sat Oct 7 20:07:26 2006 joerg + * mkisofs/tree.c 1.90 + GCC Warnungen beseitigen + +Sat Oct 7 19:51:19 2006 joerg + * libfind/find.h 1.10 + * include/schily/find.h 1.10 + #include neu + +Sat Oct 7 17:15:13 2006 joerg + * mkisofs/mkisofs.c 1.190 + * mkisofs/mkisofs.h 1.106 + #define NULL_INO_MAX fuer null_inodes neu + +Fri Oct 6 23:50:36 2006 joerg + * mkisofs/write.c 1.98 + Checksummengenerierung fuer PVD in MKI Block neu + Aufruf von do_inode(root) & do_dir_nlink(root) neu + +Fri Oct 6 23:49:18 2006 joerg + * mkisofs/multi.c 1.77 + Checksummenpruefung fuer MKI Block neu + curr_entry->starting_block von altem ISO Directory Record uebernehmen bei -multi + Bei -multi neue Inode Nummer vegeben fuer alte Dateien mit size 0 + +Thu Oct 5 21:14:58 2006 joerg + * cdrecord/drv_dvdplus.c 1.28 + Layer Break align nicht pruefen bei dp->cdr_dstat->ds_layer_break == -1 + +Thu Oct 5 21:07:47 2006 joerg + * cdrecord/cd_misc.c 1.14 + Cstyle + +Thu Oct 5 17:56:50 2006 joerg + * libschily/raisecond.c 1.20 + * libschily/saveargs.c 1.13 + * libschily/getfp.c 1.16 + * libschily/handlecond.c 1.24 + * libschily/setfp.c 1.13 + * libschily/getav0.c 1.18 + #include -> #include + +Wed Oct 4 20:04:12 2006 joerg + * mkisofs/hash.c 1.23 + * mkisofs/mkisofs.c 1.189 + Cstyle + +Wed Oct 4 00:48:19 2006 joerg + * mkisofs/tree.c 1.89 + update_nlink()/update_nlink_field() ist nun in deutliche verbesserter Form in inode.c + increment_nlink() beseitigt weil nicht mehr noetig + increment_nlink() wird nun nicht mehr beim Anlegen von rr_moved aufgerufen weil do_dir_nlink() (neu) korrekt arbeitet + +Wed Oct 4 00:44:22 2006 joerg + * mkisofs/mkisofs.c 1.188 + Version -> 2.01.01a18 + cache_inodes bei Cygwin mit 64 Bit Inodes wieder per Default aktivieren + null_inodes/correct_inodes neu + Mehr Verbose Meldungen + Korrekte Meldung ueber geschriebene Datenmenge bei Multi-Session + +Wed Oct 4 00:21:24 2006 joerg + * mkisofs/mkisofs.h 1.105 + do_dir_nlink() neu + +Wed Oct 4 00:20:54 2006 joerg + * mkisofs/apple_driver.mk 1.2 + * mkisofs/Makefile 1.23 + -DHAVE_CONFIG_H & -DUSE_LIBSCHILY beseitigt weil nicht mehr noetig + +Tue Oct 3 15:13:34 2006 joerg + * mkisofs/udf.c 1.19 + * mkisofs/stream.c 1.5 + * mkisofs/scsi.c 1.24 + * mkisofs/rock.c 1.47 + * mkisofs/name.c 1.30 + Copyright -> 2006 + +Tue Oct 3 13:48:36 2006 joerg + * mkisofs/write.c 1.97 + * mkisofs/tree.c 1.88 + * mkisofs/multi.c 1.76 + * mkisofs/mkisofs.c 1.187 + * mkisofs/joliet.c 1.43 + * mkisofs/match.c 1.23 + * mkisofs/rock.c 1.46 + * mkisofs/scsi.c 1.23 + * mkisofs/hash.c 1.22 + * mkisofs/files.c 1.15 + * mkisofs/exclude.c 1.11 + * mkisofs/udf.c 1.18 + * mkisofs/ifo_read.c 1.8 + * mkisofs/eltorito.c 1.38 + * mkisofs/dvd_reader.c 1.6 + * mkisofs/dvd_file.c 1.6 + * mkisofs/apple.c 1.23 + USE_LIBSCHILY beseitigt + +Tue Oct 3 13:30:03 2006 joerg + * mkisofs/tree.c 1.87 + Bessere Definitionen fuer PREV_SESS_DEV/TABLE_INODE/UNCACHED_INODE/UNCACHED_DEVICE + +Mon Oct 2 16:57:53 2006 joerg + * mkisofs/mkisofs.h 1.104 + Sruct file_hash nun mit "nlink" Member + Neue Variablen null_inodes & correct_inodes + Bessere Definitionen fuer PREV_SESS_DEV/TABLE_INODE/UNCACHED_INODE/UNCACHED_DEVICE + +Mon Oct 2 16:48:52 2006 joerg + * mkisofs/rock.c 1.45 + Support fuer Rock Ridge:1995 + +Mon Oct 2 16:30:22 2006 joerg + * mkisofs/multi.c 1.75 + Nur noch die wirkliche wahre Groesse vom Iso Directory Record in read_merging_directory() kopieren. Bug Report von Fukuhara Kazuhiko <00kazuhiko@bb.excite.co.jp> + +Mon Oct 2 16:25:02 2006 joerg + * mkisofs/Makefile 1.22 + inode.c neu + +Mon Oct 2 16:24:42 2006 joerg + * mkisofs/hash.c 1.21 + Hash size von 1024 -> 16*1024 + Neuer besserer Inode Hash Algorithmus + hash_table und directory_hash_table nun im BSS Segment + debug_hash() neu + "assigned zero extent" Abbruchbedingung war falsch + UNCACHED Bedingung verbessert + struct file_hash directory_hash_table nat nun zusaetzliche Summe ueber den Namen um find_file_hash() effektiver zu machen + +Sat Sep 30 01:52:25 2006 joerg + * mkisofs/diag/isodebug.c 1.14 + Test auf Checksum Signatur + +Fri Sep 29 14:02:07 2006 joerg + * cdrecord/scsi_mmc.c 1.26 + gcc Warnungen ueber ungenutze Variablen + +Fri Sep 29 13:49:21 2006 joerg + * cdrecord/scsi_mmc.c 1.25 + gconf() Code beseitigt + print_format_capacities() verbessert + +Fri Sep 29 13:48:16 2006 joerg + * cdrecord/Makefile 1.37 + * cdrecord/cdrecord.c 1.328 + gconf() Code beseitigt + +Fri Sep 29 13:46:07 2006 joerg + * cdrecord/drv_dvdplus.c 1.27 + * cdrecord/drv_mmc.c 1.174 + Aufruf von print_format_capacities(scgp); bei -atip neu + +Thu Sep 28 17:45:59 2006 joerg + * cdrecord/drv_dvdplus.c 1.26 + Manual Layerbreak mit driveropts=layerbreak=# + +Thu Sep 28 17:40:23 2006 joerg + * cdrecord/drv_mmc.c 1.173 + Bei lverbose > 1 print_features() + +Thu Sep 28 17:39:09 2006 joerg + * cdrecord/scsi_mmc.c 1.24 + Neue Features 0x33, 0x38, 0x3A, 0x40, 0x41, 0x42, 0x50, 0x51, 0x80, 0x10C, 0x10D, 0x110 + fname_known() neu + print_features() neu + +Thu Sep 28 17:33:17 2006 joerg + * cdrecord/cdrecord.c 1.327 + Version -> 2.01.01a17 + -prcap ruft nun auch print_profiles() und print_features() + +Thu Sep 28 17:32:36 2006 joerg + * cdrecord/cdrecord.h 1.178 + print_features() neu + +Thu Sep 28 15:51:25 2006 joerg + * cdrecord/scsi_mmc.c 1.23 + DVD+RW/DL Profil neu + +Thu Sep 28 15:00:01 2006 joerg + * cdrecord/drv_mmc.c 1.172 + mmc_opthelp() nun mit scgp Parameter wegen DVD+R/DL layerbreak + hasdrvoptx() neu wegen layerbreak vs. layerbreak=# + hasdrvoptx()/hasdrvopt() beruecksichtigt nun korrekt die Stringlaenge der Optionen und verbietet damit beliebige Abkuerzungen + Test auf DVD-R/DL layer jump recording prueft nun auch mit has_profile(scgp, 0x16) == 1 bevor CDR_LAYER_JUMP gesetzt wird + varirec=/gigarec= -> varirec/gigarec wegen beruecksichtigt der Stringlaenge der Optionen + +Thu Sep 28 14:54:17 2006 joerg + * cdrecord/cdrecord.h 1.177 + mmc_opthelp() nun mit scgp Parameter wegen DVD+R/DL layerbreak + +Thu Sep 28 14:52:52 2006 joerg + * cdrecord/cdrecord.1 1.109 + driveropts=layerbreak dokumentiert + +Thu Sep 28 04:43:23 2006 joerg + * cdrecord/cdrecord.c 1.326 + dsp->ds_layer_break (neu) mit -1 initialisieren + +Thu Sep 28 04:42:52 2006 joerg + * cdrecord/cdrecord.h 1.176 + dp->cdr_dstat->ds_layer_break und hasdrvoptx() neu + +Wed Sep 27 21:56:13 2006 joerg + * cdrecord/scsi_mmc.c 1.22 + * cdrecord/cdrecord.h 1.175 + has_profile() neu + +Wed Sep 27 02:01:35 2006 joerg + * libfind/walk.h 1.16 + * include/schily/walk.h 1.16 + * libfind/walk.c 1.18 + walkopen()/walkgethome() neu + +Tue Sep 26 21:01:49 2006 joerg + * mkisofs/mkisofs.c 1.186 + * libfind/find.h 1.9 + * libfind/find.c 1.45 + * include/schily/find.h 1.9 + * libfind/find_main.c 1.46 + init_findargs() -> find_argsinit(), init_findtime() -> find_timeinit() + +Tue Sep 26 16:10:46 2006 joerg + * libschily/libschily-mapvers 1.4 + getvargs getvallargs getvfiles getargerror neu + +Tue Sep 26 16:08:06 2006 joerg + * libscg/scsihack.c 1.46 + * scgskeleton/scgskeleton.c 1.22 + * scgskeleton/doit.c 1.22 + * libhfs_iso/low.c 1.6 + * libhfs_iso/record.c 1.3 + * libhfs_iso/node.c 1.4 + * libhfs_iso/volume.c 1.6 + * libhfs_iso/btree.c 1.5 + * libhfs_iso/hfs.c 1.11 + * libhfs_iso/block.c 1.5 + * libhfs_iso/file.c 1.5 + * mkisofs/volume.c 1.16 + * mkisofs/tree.c 1.86 + * mkisofs/apple.c 1.22 + * mkisofs/multi.c 1.74 + * mkisofs/mkisofs.c 1.185 + * mkisofs/write.c 1.96 + * mkisofs/files.c 1.14 + * cdda2wav/interface.c 1.48 + * cdda2wav/toc.c 1.66 + * cdda2wav/semshm.c 1.20 + * cdda2wav/cdda2wav.c 1.73 + * cdda2wav/ioctl.c 1.29 + * rscsi/rscsi.c 1.31 + * cdrecord/scsi_scan.c 1.21 + * cdrecord/scsi_mmc.c 1.21 + * cdrecord/scsi_cdr_mmc4.c 1.3 + * cdrecord/fifo.c 1.51 + * cdrecord/scsi_cdr.c 1.142 + * cdrecord/scsi_mmc4.c 1.3 + * cdrecord/drv_simul.c 1.51 + * cdrecord/drv_mmc.c 1.171 + * cdrecord/drv_sony.c 1.75 + * cdrecord/drv_jvc.c 1.85 + * cdrecord/cue.c 1.23 + * cdrecord/cdrecord.c 1.325 + * cdrecord/drv_7501.c 1.20 + * libscg/scsitransp.c 1.93 + * libscg/scsiopen.c 1.97 + * libscg/scsi-remote.c 1.20 + * libschily/geterrno.c 1.11 + * libschily/seterrno.c 1.10 + * libschily/fexec.c 1.26 + * libschily/gethostid.c 1.17 + * libschily/presume.c 1.2 + * libschily/spawn.c 1.19 + * libschily/rename.c 1.8 + * libschily/strtod.c 1.3 + * libschily/comerr.c 1.31 + * libfind/walk.c 1.17 + errno.h -> schily/errno.h + +Tue Sep 26 15:58:27 2006 joerg + * include/schily/errno.h 1.5 + EEXIST / ENDOFFILE neu + +Tue Sep 26 15:03:28 2006 joerg + * include/schily/errno.h 1.4 + JOS EBADHEADER EACCESS ENOFILE neu + +Tue Sep 26 14:58:31 2006 joerg + * include/schily/errno.h 1.3 + #define EMISSDIR ENOENT bei UNIX + +Tue Sep 26 14:18:17 2006 joerg + * include/schily/avoffset.h 1.3 + * include/schily/align.h 1.3 + * include/schily/xmconfig.h 1.32 + #ifdef SCHILY_BUILD neu + +Tue Sep 26 13:59:02 2006 joerg + * makefiles/RULES/cc-sunpro64.rul 1.4 + * makefiles/RULES/cc-sunpro.rul 1.3 + * makefiles/RULES/cc-bemwcc.rul 1.5 + * makefiles/RULES/cc-gcc64.rul 1.4 + * makefiles/RULES/cc-msc.rul 1.6 + * makefiles/RULES/cc-sun.rul 1.3 + * makefiles/RULES/cc-sony.rul 1.3 + * makefiles/RULES/cc-sgi.rul 1.3 + * makefiles/RULES/cc-dec.rul 1.3 + * makefiles/RULES/cc-dg.rul 1.3 + * makefiles/RULES/cc-sco_uw.rul 1.3 + * makefiles/RULES/cc-hp.rul 1.3 + * makefiles/RULES/cc-sco_os.rul 1.4 + * makefiles/RULES/cc-dumb.rul 1.3 + * makefiles/RULES/cc-msposix.rul 1.6 + * makefiles/RULES/cc-gcc.rul 1.3 + * makefiles/RULES/cc-ibm.rul 1.3 + * makefiles/RULES/cc-apollo.rul 1.4 + -DSCHILY_BUILD neu + +Tue Sep 26 13:45:07 2006 joerg + * include/schily/errno.h 1.2 + JOS error.h, HAVE_STRERROR, geterrno()/seterrno() Prototypen + +Tue Sep 26 13:19:50 2006 joerg + * libschily/astoull.c 1.1 + date and time created 06/09/26 13:19:50 by joerg + +Tue Sep 26 13:17:09 2006 joerg + * libschily/stdio/schilyio.h 2.24 + #include neu + +Tue Sep 26 13:16:36 2006 joerg + * libschily/stdio/ffileread.c 1.11 + * libschily/stdio/nixwrite.c 1.6 + * libschily/stdio/niread.c 1.13 + * libschily/stdio/nixread.c 1.13 + * libschily/stdio/niwrite.c 1.6 + errno.h -> schilyio.h + +Tue Sep 26 13:07:50 2006 joerg + * include/schily/errno.h 1.1 + date and time created 06/09/26 13:07:50 by joerg + +Tue Sep 26 13:06:57 2006 joerg + * include/schily/jos_defs.h 1.5 + /* BEGIN CSTYLED */ ... um VOID + +Tue Sep 26 13:05:35 2006 joerg + * include/schily/jos_defs.h 1.4 + * include/schily/standard.h 1.34 + VOID -> jos_defs.h + +Tue Sep 26 00:16:19 2006 joerg + * include/schily/align.h 1.2 + * include/schily/avoffset.h 1.2 + Gegerscher Kopyright Kommentar neu + +Mon Sep 25 23:45:37 2006 joerg + * libedc/edc_ecc.c 1.24 + * libschily/fillbytes.c 1.15 + * libschily/findbytes.c 1.4 + * libschily/cmpbytes.c 1.17 + * libschily/cmpnullbytes.c 1.4 + * libschily/movebytes.c 1.15 + align.h -> schily/align.h + +Mon Sep 25 23:38:38 2006 joerg + * libschily/align_test.c 1.22 + #include ist nach schily/align.h verlegt worden + +Mon Sep 25 23:14:26 2006 joerg + * include/schily/align.h 1.1 + * include/schily/avoffset.h 1.1 + date and time created 06/09/25 23:14:26 by joerg + +Mon Sep 25 22:51:10 2006 joerg + * include/schily/mconfig.h 1.56 + Copyright -> 2006 + +Mon Sep 25 22:48:41 2006 joerg + * include/schily/mconfig.h 1.55 + Entscheidung statische/dynamische Autokonfiguration faellt nun in schily/xmconfig.h + +Mon Sep 25 22:48:06 2006 joerg + * include/schily/xmconfig.h 1.31 + Entscheidung statische/dynamische Autokonfiguration faellt nun hier statt in mconfig.h + Nur VMS hat noch eine statische Konfiguration + +Mon Sep 25 13:59:47 2006 joerg + * cdrecord/cdrecord.c 1.324 + Version -> 2.01.01a16 + +Mon Sep 25 13:55:43 2006 joerg + * cdrecord/readcd.c 1.82 + Copyright -> 2006 + Version -> 2.01.01a16 + Umstellung auf include schily/* + -edc-corr/fread_2048() neu (eigentlich vom 15.Mai 2006) + meshpoints -factor gibt nun um secsize korrigierte Werte + +Sun Sep 24 15:59:31 2006 joerg + * mkisofs/diag/isodebug.c 1.13 + Version -> 2.01.01a16 + +Sun Sep 24 15:57:56 2006 joerg + * mkisofs/diag/isodebug.c 1.12 + Der Debug Block wird nun auch gefunden wenn UDF auf dem Medium ist + +Sun Sep 24 15:52:24 2006 joerg + * cdrecord/cue.c 1.22 + * cdrecord/scsi_mmc.c 1.20 + * cdrecord/io.c 1.3 + * cdrecord/drv_7501.c 1.19 + * cdrecord/drv_dvdplus.c 1.25 + * cdrecord/drv_dvd.c 1.129 + * mkisofs/udf.c 1.17 + * mkisofs/write.c 1.95 + Cstyle + +Sun Sep 24 15:44:20 2006 joerg + * cdrecord/cdrecord.c 1.323 + Schreibfehler bei CLONE_WRITE not yet implemented -> not compiled in + +Sun Sep 24 15:22:58 2006 joerg + * mkisofs/mkisofs.c 1.184 + Version -> 2.01.01a16 + Umstellung auf strlcpy() + "struct directory de" in get_graft() nun mit fillbytes() initialsiert + +Sun Sep 24 15:19:54 2006 joerg + * mkisofs/multi.c 1.73 + * mkisofs/tree.c 1.85 + Umstellung auf strlcpy() + +Sun Sep 24 15:13:52 2006 joerg + * mkisofs/write.c 1.94 + xfwrite macht nun abort() wenn size oder count == 0 + Umstellung auf strlcpy() + +Fri Sep 22 15:07:49 2006 joerg + * include/schily/utypes.h 1.22 + #undef SIZE_T_MAX fuer FreeBSD + +Tue Sep 19 18:30:43 2006 joerg + * mkisofs/joliet.c 1.42 + * mkisofs/boot.c 1.17 + * mkisofs/hash.c 1.20 + * mkisofs/eltorito.c 1.37 + * mkisofs/apple.c 1.21 + * mkisofs/write.c 1.93 + * mkisofs/scsi.c 1.22 + * mkisofs/multi.c 1.72 + Cstyle + +Tue Sep 19 15:56:27 2006 joerg + * mkisofs/dvd_reader.c 1.5 + * mkisofs/ifo_read.c 1.7 + * mkisofs/dvd_file.c 1.5 + Schreibfehler + +Tue Sep 19 15:02:04 2006 joerg + * cdrecord/cdrecord.c 1.322 + * cdrecord/drv_mmc.c 1.170 + * cdrecord/cdrecord.h 1.174 + Test auf Layer Jump Recording (DVD-R/DL) + +Tue Sep 19 13:36:55 2006 joerg + * cdrecord/cdrecord.h 1.173 + * cdrecord/drv_philips.c 1.71 + * cdrecord/drv_simul.c 1.50 + * cdrecord/drv_mmc.c 1.169 + * cdrecord/drv_jvc.c 1.84 + * cdrecord/drv_dvdplus.c 1.24 + * cdrecord/drv_sony.c 1.74 + * cdrecord/drv_dvd.c 1.128 + * cdrecord/drv_7501.c 1.18 + cdr_wrmodedef neu + +Tue Sep 19 13:21:58 2006 joerg + * cdrecord/drv_dvd.c 1.127 + print_dvd22()/print_dvd23() neu + set_layerbreak() neu + +Sun Sep 17 22:28:30 2006 joerg + * cdrecord/cdrecord.h 1.172 + WT_LAYER_JUMP Page 5 write_mode neu + +Sun Sep 17 22:27:57 2006 joerg + * cdrecord/scsimmc.h 1.16 + dvd_structure_22 & dvd_structure_23 neu + +Sun Sep 17 22:18:35 2006 joerg + * libfind/find_main.c 1.45 + Umbau auf -lfind + +Sun Sep 17 14:43:29 2006 joerg + * cdrecord/scsimmc.h 1.15 + struct dvd_structure_20 neu + +Sun Sep 17 14:43:10 2006 joerg + * cdrecord/drv_dvd.c 1.126 + DVD-RAM Support neu + +Sun Sep 17 14:40:19 2006 joerg + * cdrecord/drv_mmc.c 1.168 + DVD-RAM auf DVD- Treiber lenken + +Sun Sep 17 14:33:53 2006 joerg + * cdrecord/scsi_cdr.c 1.141 + DEV_MMC_DVD_WR nun auch mit DVD-RAM Text + +Sun Sep 17 14:32:23 2006 joerg + * cdrecord/cdrecord.h 1.171 + Definitionen fuer ds_type neu + +Sun Sep 17 12:41:51 2006 joerg + * cdrecord/drv_dvd.c 1.125 + * cdrecord/drv_dvdplus.c 1.23 + przone() nicht mehr LOCAL + print_dvd20() neu + alte send_dvd_structure() Funktion auskommentiert - ist nun in scsi_cdr.c + set_p_layerbreak() neu + +Sat Sep 16 22:03:53 2006 joerg + * mkisofs/Makefile 1.21 + $(LIB_INTL) fue rgettext() in libfind neu + +Sat Sep 16 22:01:40 2006 joerg + * autoconf/configure.in 1.102 + * autoconf/xconfig.h.in 1.104 + * autoconf/rules.cnf.in 1.10 + HAVE_GETTEXT und LIB_INTL neu + +Sat Sep 16 17:24:29 2006 joerg + * cdrecord/cdrecord.h 1.170 + * cdrecord/scsi_cdr.c 1.140 + send_dvd_structure() neu + +Fri Sep 15 22:57:28 2006 joerg + * libscg/libscg-mapvers 1.1 + date and time created 06/09/15 22:57:28 by joerg + +Fri Sep 15 22:53:16 2006 joerg + * libscg/Targets 1.1 + date and time created 06/09/15 22:53:16 by joerg + +Fri Sep 15 20:47:13 2006 joerg + * cdrecord/cdrecord.c 1.321 + Version -> 2.01.01a15 + +Fri Sep 15 17:04:56 2006 joerg + * mkisofs/mkisofs.c 1.183 + now/sixmonths beseitigt + +Fri Sep 15 16:17:50 2006 joerg + * libfind/find.c 1.44 + * libfind/find.h 1.8 + * libfind/find_main.c 1.44 + * include/schily/find.h 1.8 + find_printnode()/find_addprint() neu + usage() -> find_usage() + +Fri Sep 15 16:10:46 2006 joerg + * libfind/libfind-mapvers 1.1 + date and time created 06/09/15 16:10:46 by joerg + +Fri Sep 15 15:30:10 2006 joerg + * libfind/find_list.c 1.13 + * include/schily/find.h 1.7 + * libfind/find_main.c 1.43 + * libfind/find.h 1.7 + * libfind/find.c 1.43 + now -> find_now, sixmonth -> find_sixmonth, init_findtime() neu + +Fri Sep 15 15:28:32 2006 joerg + * mkisofs/mkisofs.c 1.182 + init_findtime() neu + +Fri Sep 15 15:06:21 2006 joerg + * libfind/walk.c 1.16 + Cstyle + +Fri Sep 15 15:02:14 2006 joerg + * libfind/walk.h 1.15 + * include/schily/walk.h 1.15 + * libfind/find_list.c 1.12 + acctime -> WALK_LS_ATIME, Ctime -> WALK_LS_CTIME + +Fri Sep 15 14:49:56 2006 joerg + * libfind/walk.c 1.15 + Anmerkungen zu thread safe Kernvertierung + +Fri Sep 15 14:14:46 2006 joerg + * include/schily/walk.h 1.14 + * libfind/walk.h 1.14 + * libfind/walk.c 1.14 + WALK_NOMSG neu + +Fri Sep 15 13:39:21 2006 joerg + * libfind/walk.c 1.13 + * include/schily/walk.h 1.13 + * libfind/walk.h 1.13 + Globale Variablen beseitigt + +Fri Sep 15 13:01:21 2006 joerg + * libfind/walk.h 1.12 + * libfind/find.c 1.42 + * libfind/find.h 1.6 + * libfind/find_main.c 1.42 + * libfind/walk.c 1.12 + * include/schily/find.h 1.6 + * include/schily/walk.h 1.12 + walkhome()/walkclose() nun mit struct WALK * Parameter + auxi/auxp neu in struct WALK + Umstellung auf include schily/* + +Fri Sep 15 01:53:32 2006 joerg + * libedc/Makefile 1.3 + libedc_dec neu + +Fri Sep 15 01:53:11 2006 joerg + * libedc/libedc_dec_p.mk 1.1 + * libedc/shledc_dec.mk 1.1 + * libedc/noshledc_dec.mk 1.1 + * libedc/libedc_p.mk 1.1 + date and time created 06/09/15 01:53:11 by joerg + +Fri Sep 15 01:51:31 2006 joerg + * libhfs_iso/Makefile 1.4 + Es ist jetzt ein unterverteil Makefile + +Fri Sep 15 01:50:09 2006 joerg + * libhfs_iso/libhfs_p.mk 1.1 + date and time created 06/09/15 01:50:09 by joerg + +Fri Sep 15 01:49:04 2006 joerg + * libfile/Makefile 1.2 + Nun ist es ein unterterverteil Makefile + +Fri Sep 15 01:48:35 2006 joerg + * libfile/libfile_p.mk 1.1 + date and time created 06/09/15 01:48:35 by joerg + +Fri Sep 15 01:47:18 2006 joerg + * libdeflt/Makefile 1.1 + date and time created 06/09/15 01:47:18 by joerg + +Fri Sep 15 01:47:05 2006 joerg + * libdeflt/libdeflt_p.mk 1.1 + date and time created 06/09/15 01:47:05 by joerg + +Fri Sep 15 01:46:17 2006 joerg + * libparanoia/Makefile 1.1 + date and time created 06/09/15 01:46:17 by joerg + +Fri Sep 15 01:46:07 2006 joerg + * libparanoia/paranoia_p.mk 1.1 + date and time created 06/09/15 01:46:07 by joerg + +Fri Sep 15 01:44:46 2006 joerg + * libscg/Makefile 1.1 + date and time created 06/09/15 01:44:46 by joerg + +Fri Sep 15 01:43:51 2006 joerg + * libscg/libscg_p.mk 1.1 + * libscg/rscg.mk 1.1 + * libscg/librscg_p.mk 1.1 + date and time created 06/09/15 01:43:51 by joerg + +Thu Sep 14 23:11:51 2006 joerg + * libfile/file.h 1.9 + optind/optarg beseitigt + +Thu Sep 14 23:10:32 2006 joerg + * mkisofs/mkisofs.c 1.181 + optarg Parameter diverser Funktionen zur besseren Lesbarkeit -> opt_arg + +Thu Sep 14 23:07:39 2006 joerg + * mkisofs/mkisofs.c 1.180 + get_pnames() funktioniert nun auch ohne USE_FIND + vergessenere Referenz auf optarg beseitigt + +Thu Sep 14 23:04:31 2006 joerg + * mkisofs/mkisofs.h 1.103 + getopt beseitigt + +Thu Sep 14 22:59:03 2006 joerg + * cdda2wav/scsi_cmds.c 1.37 + %hd nun doch besser -> %d mit cast + +Thu Sep 14 22:38:10 2006 joerg + * include/schily/termios.h 1.28 + Schreibfehler _INCL_SYS_IOCTl_H -> _INCL_SYS_IOCTL_H + +Thu Sep 14 14:41:05 2006 joerg + * libfind/libfind_p.mk 1.1 + date and time created 06/09/14 14:41:05 by joerg + +Thu Sep 14 14:32:27 2006 joerg + * libfind/Makefile 1.1 + date and time created 06/09/14 14:32:27 by joerg + +Thu Sep 14 14:18:40 2006 joerg + * libfind/noshlfind.mk 1.1 + date and time created 06/09/14 14:18:40 by joerg + +Wed Sep 13 23:07:15 2006 joerg + * mkisofs/Makefile 1.20 + config.h beseitigt + +Wed Sep 13 19:39:48 2006 joerg + * scgskeleton/scgskeleton.c 1.21 + * scgskeleton/doit.c 1.21 + * libschily/fstream.c 1.21 + * libfind/cmpdir.c 1.18 + * libfind/fetchdir.c 1.18 + * libfind/idcache.c 1.17 + * libschily/checkerr.c 1.14 + * mkisofs/diag/isovfy.c 1.27 + * mkisofs/diag/isodebug.c 1.11 + * mkisofs/diag/dump.c 1.25 + * mkisofs/diag/isoinfo.c 1.51 + * mkisofs/diag/isodump.c 1.28 + * mkisofs/volume.c 1.15 + * mkisofs/walk.c 1.3 + * mkisofs/vms.c 1.10 + * mkisofs/udf.c 1.16 + * mkisofs/write.c 1.92 + * mkisofs/mac_label.c 1.10 + * mkisofs/tree.c 1.84 + * mkisofs/stream.c 1.4 + * mkisofs/scsi.c 1.21 + * mkisofs/rock.c 1.44 + * mkisofs/name.c 1.29 + * mkisofs/multi.c 1.71 + * mkisofs/mkisofs.c 1.179 + * mkisofs/match.c 1.22 + * mkisofs/boot.c 1.16 + * mkisofs/hash.c 1.19 + * mkisofs/desktop.c 1.7 + * mkisofs/dvd_file.c 1.4 + * mkisofs/apple_driver.c 1.7 + * mkisofs/ifo_read.c 1.6 + * mkisofs/dvd_reader.c 1.4 + * mkisofs/apple.c 1.20 + * mkisofs/joliet.c 1.41 + * mkisofs/files.c 1.13 + * mkisofs/exclude.c 1.10 + * mkisofs/eltorito.c 1.36 + * mkisofs/dvd_reader.h 1.3 + * mkisofs/mkisofs.h 1.102 + * mkisofs/bswap.h 1.3 + * rscsi/rscsi.c 1.30 + * scgcheck/scgcheck.c 1.7 + * scgcheck/dmaresid.c 1.8 + * scgcheck/sense.c 1.5 + * scgskeleton/skel.c 1.8 + * cdrecord/skel.c 1.8 + * cdda2wav/toc.c 1.65 + * cdda2wav/wav.c 1.7 + * cdda2wav/sun.c 1.8 + * cdda2wav/ringbuff.c 1.14 + * cdda2wav/scsi_cmds.c 1.36 + * cdda2wav/raw.c 1.7 + * cdda2wav/resample.c 1.23 + * cdda2wav/interface.c 1.47 + * cdda2wav/setuid.c 1.15 + * cdda2wav/semshm.c 1.19 + * cdda2wav/sndconfig.c 1.25 + * cdda2wav/ioctl.c 1.28 + * cdda2wav/sha_func.c 1.5 + * cdda2wav/base64.c 1.7 + * cdda2wav/aifc.c 1.9 + * cdda2wav/aiff.c 1.8 + * cdda2wav/cdda2wav.c 1.72 + * cdda2wav/sndfile.h 1.7 + * cdda2wav/config.h 1.11 + * cdda2wav/sha.h 1.6 + * cdrecord/io.c 1.2 + * cdrecord/movesect.c 1.4 + * cdrecord/wm_track.c 1.5 + * cdrecord/sector.c 1.14 + * cdrecord/wm_packet.c 1.26 + * cdrecord/wm_session.c 1.5 + * cdrecord/scsilog.c 1.18 + * cdrecord/scsi_scan.c 1.20 + * cdrecord/xio.c 1.12 + * cdrecord/scsi_mmc4.c 1.2 + * cdrecord/scsi_mmc.c 1.19 + * cdrecord/subchan.c 1.21 + * cdrecord/scsi_cdr_mmc4.c 1.2 + * cdrecord/scsi_cdr.c 1.139 + * cdrecord/misc.c 1.5 + * cdrecord/drv_jvc.c 1.83 + * cdrecord/drv_sony.c 1.73 + * cdrecord/fifo.c 1.50 + * cdrecord/getnum.c 1.3 + * libschily/getnum.c 1.3 + * libschily/getxnum.c 1.3 + * cdrecord/isosize.c 1.10 + * cdrecord/drv_simul.c 1.49 + * cdrecord/drv_philips.c 1.70 + * cdrecord/modes.c 1.26 + * cdrecord/drv_mmc.c 1.167 + * cdrecord/crc16.c 1.7 + * cdrecord/drv_7501.c 1.17 + * cdrecord/drv_dvd.c 1.124 + * cdrecord/cue.c 1.21 + * cdrecord/diskid.c 1.38 + * cdrecord/cdtext.c 1.11 + * cdrecord/defaults.c 1.20 + * cdrecord/drv_dvdplus.c 1.22 + * cdrecord/clone.c 1.8 + * cdrecord/auinfo.c 1.24 + * cdrecord/cdr_drv.c 1.37 + * cdrecord/audiosize.c 1.20 + * cdrecord/cdrecord.c 1.320 + * cdrecord/cd_misc.c 1.13 + * btcflash/btcflash.c 1.9 + * btcflash/skel.c 1.12 + * libparanoia/cdda_paranoia.h 1.22 + * libschily/usleep.c 1.19 + * libschily/printf.c 1.16 + * libschily/swabbytes.c 1.7 + * libschily/strtod.c 1.2 + * libschily/strncpy.c 1.2 + * libschily/strlcpy.c 1.2 + * libschily/streql.c 1.8 + * libschily/strdup.c 1.2 + * libschily/strcatl.c 1.13 + * libschily/sprintf.c 1.15 + * libschily/spawn.c 1.18 + * libschily/snprintf.c 1.10 + * libschily/setfp.c 1.12 + * libschily/seterrno.c 1.9 + * libschily/serrmsg.c 1.4 + * libschily/saveargs.c 1.12 + * libschily/raisecond.c 1.19 + * libschily/rename.c 1.7 + * libschily/jsprintf.c 1.16 + * libschily/getav0.c 1.17 + * libschily/getdomainname.c 1.17 + * libschily/getargs.c 2.47 + * libschily/jssnprintf.c 1.11 + * libschily/handlecond.c 1.23 + * libschily/jssprintf.c 1.16 + * libschily/geterrno.c 1.10 + * libschily/match.c 1.22 + * libschily/movebytes.c 1.14 + * libschily/gethostid.c 1.16 + * libschily/gethostname.c 1.16 + * libschily/getpagesize.c 1.2 + * libschily/format.c 1.40 + * libschily/fillbytes.c 1.14 + * libschily/error.c 1.14 + * libschily/comerr.c 1.30 + * libschily/cmpbytes.c 1.16 + * libschily/fnmatch.c 8.6 + * libschily/astoi.c 1.9 + * libschily/cmpnullbytes.c 1.3 + * libschily/breakline.c 1.11 + * libschily/astoll.c 1.4 + * libschily/findline.c 1.17 + * libschily/findbytes.c 1.3 + * libschily/fexec.c 1.25 + * libschily/fconv.c 1.34 + * libschily/cvt.c 1.8 + * libschily/stdio/filestat.c 1.10 + * libschily/stdio/filesize.c 1.14 + * libschily/stdio/flag.c 2.11 + * libschily/stdio/schilyio.h 2.23 + * libscg/scsi-unixware.c 1.37 + * libscg/scsiopen.c 1.96 + * libscg/scsi-sun.c 1.84 + * libscg/scsi-mac-iokit.c 1.11 + * libscg/scsierrs.c 2.30 + * libscg/scsihack.c 1.45 + * libscg/scsihelp.c 1.5 + * libscg/scsitransp.c 1.92 + * libscg/rdummy.c 1.2 + * libscg/scgsettarget.c 1.3 + * libscg/scgtimes.c 1.2 + * libscg/scsi-linux-ata.c 1.10 + * libscg/scsi-amigaos.c 1.7 + * libscg/scsi-remote.c 1.19 + * libhfs_iso/low.c 1.5 + * libhfs_iso/node.c 1.3 + * libhfs_iso/gdata.c 1.2 + * libhfs_iso/hfs.c 1.10 + * libhfs_iso/volume.c 1.5 + * libhfs_iso/record.c 1.2 + * libhfs_iso/file.c 1.4 + * libhfs_iso/block.c 1.4 + * libhfs_iso/btree.c 1.4 + * libhfs_iso/data.c 1.6 + * libfind/mem.c 1.5 + * libfind/gettnum.c 1.5 + * libschily/fjmem.c 1.5 + * libschily/getxtnum.c 1.5 + * libschily/mem.c 1.5 + * libschily/gettnum.c 1.5 + * libschily/jmem.c 1.5 + * libfind/find_list.c 1.11 + * libfind/find_misc.c 1.7 + * libfind/find_misc.h 1.3 + * libfile/file.h 1.8 + * libfile/file.c 1.6 + * libfile/softmagic.c 1.7 + * libfile/apprentice.c 1.6 + * libedc/repair.c 1.2 + * libedc/edcspeed.c 1.2 + * libedc/edc_ecc_dec.c 1.4 + * libedc/edc_ecc.c 1.23 + * libdeflt/default.c 1.6 + * libschily/getfp.c 1.15 + * libschily/align_test.c 1.21 + * libschily/avoffset.c 1.26 + Umstellung auf include schily/* + +Wed Sep 13 19:10:56 2006 joerg + * include/schily/signal.h 1.7 + _SCHILY/SIGNAL_H -> _SCHILY_SIGNAL_H + +Wed Sep 13 17:56:41 2006 joerg + * mkisofs/udf.c 1.15 + config.h -> mconfig.h + +Wed Sep 13 16:42:18 2006 joerg + * libschily/usleep.c 1.18 + nanosleep() Check geaendert + +Wed Sep 13 16:15:05 2006 joerg + * libparanoia/pmalloc.c 1.4 + * libparanoia/paranoia.c 1.35 + * libparanoia/p_block.c 1.21 + * libparanoia/overlap.c 1.13 + * libparanoia/gap.c 1.14 + * libparanoia/isort.c 1.16 + Umstellung auf schily/* + +Wed Sep 13 16:04:15 2006 joerg + * libhfs_iso/internal.h 1.3 + * libhfs_iso/hfs.h 1.5 + UMstellung auf include schily/* + +Wed Sep 13 15:01:03 2006 joerg + * cdrecord/xio.h 1.3 + * cdrecord/scsimmc.h 1.14 + * cdrecord/cdrecord.h 1.169 + * cdrecord/mmcvendor.h 1.4 + * cdrecord/adip.h 1.2 + * cdrecord/scsilog.h 1.5 + Include -> schily/* + +Wed Sep 13 14:51:53 2006 joerg + * include/schily/schily.h 1.58 + _UTYPES_H -> _SCHILY_UTYPES_H + +Wed Sep 13 14:42:57 2006 joerg + * autoconf/xconfig.h.in 1.103 + utypes.h -> schily/utypes.h + +Wed Sep 13 14:24:12 2006 joerg + * libscg/scg/scgcmd.h 2.23 + * libscg/scg/scsireg.h 1.32 + * libscg/scg/scsicdb.h 2.20 + Umstellung auf include/schily/* + +Wed Sep 13 13:42:04 2006 joerg + * mkisofs/mkisofs.h 1.101 + Kommentar fuer struct wargs + +Wed Sep 13 03:35:18 2006 joerg + * include/schily/alloca.h 1.6 + Anpasungen an schily/* + +Wed Sep 13 03:33:32 2006 joerg + * include/schily/schily.h 1.57 + Kommentare an schily/* angepasst + +Wed Sep 13 03:26:59 2006 joerg + * include/schily/jos_defs.h 1.3 + * include/schily/getargs.h 1.14 + * include/schily/device.h 1.15 + * include/schily/mconfig.h 1.54 + * include/schily/maxpath.h 1.7 + * include/schily/intcvt.h 1.5 + * include/schily/libport.h 1.11 + * include/schily/jos_io.h 1.8 + * include/schily/jmpdefs.h 1.3 + * include/schily/jos_maxp.h 1.2 + * include/schily/getcwd.h 1.4 + * include/schily/rmtio.h 1.6 + * include/schily/patmatch.h 1.11 + * include/schily/prototyp.h 1.12 + * include/schily/librmt.h 1.17 + * include/schily/schily.h 1.56 + * include/schily/utypes.h 1.21 + * include/schily/ccomdefs.h 1.4 + * include/schily/fnmatch.h 8.5 + * include/schily/unls.h 1.7 + * include/schily/stkframe.h 1.11 + * include/schily/standard.h 1.33 + * include/schily/deflts.h 1.7 + * include/schily/termcap.h 1.7 + * include/schily/sigblk.h 1.11 + * include/schily/btorder.h 1.17 + Umbau auf schily/* + +Wed Sep 13 02:44:11 2006 joerg + * include/schily/signal.h 1.6 + * include/schily/dirent.h 1.18 + * include/schily/fcntl.h 1.14 + * include/schily/stat.h 1.10 + * include/schily/stdlib.h 1.7 + * include/schily/string.h 1.9 + * include/schily/alloca.h 1.5 + * include/schily/mtio.h 1.5 + * include/schily/mman.h 1.2 + * include/schily/time.h 1.14 + * include/schily/varargs.h 1.6 + * include/schily/unistd.h 1.16 + * include/schily/utime.h 1.6 + * include/schily/termios.h 1.27 + * include/schily/wait.h 1.11 + Umbau auf schily/* und Namensaenderung + +Tue Sep 12 11:44:33 2006 joerg + * mkisofs/mkisofs.c 1.178 + Fehlender Code fuer -sectype, -joliet-long & -jcharset + +Tue Sep 12 01:41:02 2006 joerg + * mkisofs/mkisofs.c 1.177 + Kurzusage nun mit -find + +Mon Sep 11 19:07:00 2006 joerg + * mkisofs/mkisofs.c 1.176 + ! ist kein Optionstyp mehr + +Mon Sep 11 18:29:47 2006 joerg + * mkisofs/mkisofs.8 1.110 + -find Option neu + +Mon Sep 11 18:02:31 2006 joerg + * libschily/getargs.c 2.46 + Singlecharflags werden nun auch dann erkannt, wenn sie am Anfang von Formatstrings stehen die nicht im Ersten Indes des Optionsarrays definiert wurden + +Mon Sep 11 17:21:53 2006 joerg + * mkisofs/mkisofs.c 1.175 + graft-point gehen nun auch mit -find + +Mon Sep 11 17:14:15 2006 joerg + * mkisofs/mkisofs.h 1.100 + * mkisofs/walk.c 1.2 + struct wargs neu um nun auch mit -find graft-points verarbeiten zu koennen + +Mon Sep 11 17:04:27 2006 joerg + * mkisofs/mkisofs.c 1.174 + Weitere Schreibfehler bei Optionen beseitigt + +Mon Sep 11 11:47:38 2006 joerg + * mkisofs/mkisofs.c 1.173 + Weitere Optionen gefunden die Parameter benoetigen und wie andere anfangen + +Sun Sep 10 20:50:53 2006 joerg + * mkisofs/Makefile 1.19 + $(LIB_ACL) fuer -lfind neu + +Sun Sep 10 20:40:24 2006 joerg + * libschily/getargs.c 2.45 + return (BADFMT) wenn flagp->ga_funcp == NULL + Zusaetzlicher Parameter fuer die getpargfun: "opt" ist das unveraenderte Kommandozeilenargument + +Sun Sep 10 20:37:49 2006 joerg + * include/schily/getargs.h 1.13 + Zusaetzlicher Parameter fuer die getpargfun: "opt" ist das unveraenderte Kommandozeilenargument + +Sun Sep 10 20:03:26 2006 joerg + * mkisofs/write.c 1.91 + Warnung ueber fehlendes VIDEO_TS nur in Verbindung mit -dvd-video + +Sun Sep 10 17:47:47 2006 joerg + * libschily/getargs.c 2.44 + f*_ Format zum Verbieten von -f foo neu + +Sun Sep 10 16:47:30 2006 joerg + * mkisofs/mkisofs.c 1.172 + getargs() Format % -> %0 + +Sun Sep 10 16:46:50 2006 joerg + * libschily/getargs.c 2.43 + Neues Format '%' (erweiterbar) Implementiert %0 & %1 + Neue Funktionen getvargs(), getvallargs() und getvfiles() + ' ' Format modifier umgearbeitet: ' ' musz nun direkt hinter dem Typ stehen (vor dem Size Modifier) + Debug Ausgabe verbessert/korrigiert + Neue Funktion getargerror() + +Sun Sep 10 15:32:08 2006 joerg + * mkisofs/mkisofs.c 1.171 + Version -> 2.01.01a14 + Diverse Bugfixes im ZUsammenhang mit der Umstellung auf getvargs() + +Sun Sep 10 01:05:47 2006 joerg + * mkisofs/write.c 1.90 + Bessere VIDEO_TS Erkennung + +Fri Sep 8 11:18:25 2006 joerg + * mkisofs/mkisofs.c 1.170 + -find Option neu + +Fri Sep 8 11:13:14 2006 joerg + * mkisofs/tree.c 1.83 + EXPORT attach_dot_entries() neu, insert_file_entry() mit neuem struct stat * Parameter - Beides fuer mkisofs -find + Generelle Verbesserungen fuer attach_dot_entries() + +Fri Sep 8 11:08:41 2006 joerg + * mkisofs/mkisofs.h 1.99 + attach_dot_entries() neu, insert_file_entry() mit neuem struct stat * Parameter - Beides fuer mkisofs -find + +Fri Sep 8 11:07:51 2006 joerg + * mkisofs/Makefile 1.18 + -find Support neu + +Fri Sep 8 11:07:32 2006 joerg + * mkisofs/walk.c 1.1 + date and time created 06/09/08 11:07:32 by joerg + +Thu Sep 7 14:49:38 2006 joerg + * mkisofs/match.c 1.21 + * mkisofs/Makefile 1.17 + * mkisofs/match.h 1.12 + Umbau um mkisofs das System fnmatch() nutzen zu lassen statt GNU fnmatch + +Thu Sep 7 14:30:55 2006 joerg + * include/schily/fnmatch.h 8.4 + -> schily/fnmatch.h + +Thu Sep 7 14:30:19 2006 joerg + * libschily/Targets 1.3 + fnmatch.c neu + +Thu Sep 7 14:30:10 2006 joerg + * libschily/libschily-mapvers 1.3 + Hinweis auf nicht immer vorhandene Funktionen + +Thu Sep 7 14:29:39 2006 joerg + * libschily/fnmatch.c 8.5 + #include -> #include + nur moch kompilieren wenn ! HAVE_FNMATCH + +Thu Sep 7 13:54:16 2006 joerg + * include/schily/fnmatch.h 8.3 + * libschily/fnmatch.c 8.4 + Original Berkeley Version erawehnen + +Thu Sep 7 13:52:18 2006 joerg + * libschily/fnmatch.c 8.3 + * include/schily/fnmatch.h 8.2 + Umbau auf Schily Portabilitaetsmethoden + +Tue Sep 5 00:17:00 2006 joerg + * cdrecord/cdrecord.c 1.319 + Release -> 2.01.01a12 + +Mon Sep 4 23:47:00 2006 joerg + * libschily/avoffset.c 1.25 + Signalhandler fuer SIGILL wegen FreeBSD sparc 64 Bit + +Mon Sep 4 23:44:46 2006 joerg + * include/schily/getargs.h 1.12 + getvallargs()/getvargs()/getvfiles() neu + struct ga_flags neu + +Mon Sep 4 23:42:31 2006 joerg + * mkisofs/mkisofs.c 1.169 + * mkisofs/multi.c 1.70 + * mkisofs/mkisofs.h 1.98 + * mkisofs/match.h 1.11 + * mkisofs/match.c 1.20 + * mkisofs/joliet.c 1.40 + * mkisofs/eltorito.c 1.35 + Copyright -> 2006 + +Mon Sep 4 23:41:28 2006 joerg + * mkisofs/mkisofs.c 1.168 + Umstellung von GNU getopt_long() zu getvargs() + +Mon Sep 4 14:57:22 2006 joerg + * mkisofs/boot.c 1.15 + Copyricht -> 2006 + +Mon Sep 4 14:48:21 2006 joerg + * mkisofs/Makefile 1.16 + Beseitigen von getopt.c getopt1.c getopt.h wegen Umstellung auf getargs() + +Mon Sep 4 14:47:44 2006 joerg + * mkisofs/boot.c 1.14 + * mkisofs/mkisofs.h 1.97 + * mkisofs/eltorito.c 1.34 + Rueckgabe eines Rereturncodes fuer getargs() + +Mon Sep 4 14:47:01 2006 joerg + * mkisofs/match.c 1.19 + * mkisofs/match.h 1.10 + Rueckgabe eines Rereturncodes fuer getargs() + Diverse #defines durch Funktionen ersetzt fuer getargs() + +Tue Aug 29 11:39:12 2006 joerg + * autoconf/xconfig.h.in 1.102 + * autoconf/configure.in 1.101 + nanosleep() ist nicht in libc sondern in librt + +Tue Aug 29 11:36:26 2006 joerg + * autoconf/xconfig.h.in 1.101 + * autoconf/configure.in 1.100 + gethrtime() & nanosleep Test neu + +Thu Aug 24 16:08:51 2006 joerg + * autoconf/rules.cnf.in 1.9 + * autoconf/configure.in 1.99 + * autoconf/xconfig.h.in 1.100 + Neue tests fuer -lpthread und lrt + +Wed Aug 23 23:49:23 2006 joerg + * libschily/getargs.c 2.42 + 'f# ' Format funktioniert nun auch mit Size Modifizierern + +Wed Aug 23 21:32:41 2006 joerg + * libschily/getargs.c 2.41 + -f '' geht nun um den nul Character anzugeben + Es geht nun sowohl -fc als auch -f c + Das Erzwingen einer Trennung zwischen Optionsname und Argument kann nun nicht nur fuer das '*' Format, sondern auch fuer '#', '?' und '&' verwendet werden + +Wed Aug 23 00:18:41 2006 joerg + * cdrecord/cdrecord.c 1.318 + * cdda2wav/cdda2wav.c 1.71 + nice(-20) -> nice(-NZERO) + +Wed Aug 23 00:18:00 2006 joerg + * cdda2wav/resample.c 1.22 + outlen <= 0 -> outlen == 0, denn outlen ist unsigned + +Wed Aug 23 00:17:02 2006 joerg + * cdda2wav/scsi_cmds.h 1.14 + * cdda2wav/scsi_cmds.c 1.35 + * cdda2wav/interface.c 1.46 + Inquiry(scgp) -> ScsiInquiry(scgp) wegen VMS (alle Symbole in Grossbuchstaben) + Cast 2+datalength -> (short)2+datalength wegen %h Format + +Wed Aug 23 00:11:33 2006 joerg + * mkisofs/mkisofs.h 1.96 + PREV_SESS_DEV/TABLE_INODE/UNCACHED_INODE/UNCACHED_DEVICE nach dev_t/ino_t casten + +Wed Aug 23 00:10:02 2006 joerg + * mkisofs/joliet.c 1.39 + Version des Joliet VD's auf 1 zuruecksetzen wenn vorher ein ISO-9660:1999 SVD geschrieben wurde + +Wed Aug 23 00:01:53 2006 joerg + * mkisofs/multi.c 1.69 + * mkisofs/write.c 1.89 + Kompilation ohne libschily & libscg ermoeglichen + +Tue Aug 22 00:15:52 2006 joerg + * include/schily/utypes.h 1.20 + #define NZERO neu + +Sun Aug 20 12:06:38 2006 joerg + * libschily/getargs.c 2.40 + setargs -> flags & SETARGS + +Sat Aug 19 23:38:28 2006 joerg + * include/schily/getargs.h 1.11 + getpargfun neu + +Sat Aug 19 23:37:20 2006 joerg + * libschily/getargs.c.old 2.39 + * libschily/getargs.c 2.39 + Func call fuer Boolean type arg mit '~' Format + getpargfun hat nun 4 Argumente (argp, funarg, pac, pav) + +Thu Aug 17 15:00:09 2006 joerg + * autoconf/xconfig.h.in 1.99 + * autoconf/configure.in 1.98 + Neue Tests: sys/stypes.h sys/filedesc.h strncpy() strlcpy() + +Thu Aug 17 14:58:45 2006 joerg + * include/schily/dirent.h 1.17 + Schreibfehler HAVE_SYS_TYES_H -> HAVE_SYS_STYPES_H + +Thu Aug 17 14:53:58 2006 joerg + * include/schily/libport.h 1.10 + strncpy()/strlcpy() neu + +Thu Aug 17 14:37:08 2006 joerg + * libschily/Targets 1.2 + strlcpy.c strncpy.c neu + +Thu Aug 17 14:35:58 2006 joerg + * libschily/strncpy.c 1.1 + * libschily/strlcpy.c 1.1 + date and time created 06/08/17 14:35:58 by joerg + +Wed Aug 2 00:53:20 2006 joerg + * libfind/shlfind.mk 1.1 + date and time created 06/08/02 00:53:20 by joerg + +Wed Aug 2 00:46:45 2006 joerg + * libfind/libfind.mk 1.1 + date and time created 06/08/02 00:46:45 by joerg + +Wed Aug 2 00:45:41 2006 joerg + * libfind/Targets 1.1 + date and time created 06/08/02 00:45:41 by joerg + +Mon Jul 31 14:38:52 2006 joerg + * conf/mkdep-msc-interix.sh 1.1 + * conf/mkdep-msc.sh 1.1 + date and time created 06/07/31 14:38:52 by joerg + +Mon Jul 31 14:38:36 2006 joerg + * makefiles/RULES/cc-msposix.rul 1.5 + * makefiles/RULES/cc-msc.rul 1.5 + Support fuer MKDEP neu + +Mon Jul 31 14:38:02 2006 joerg + * makefiles/RULES/r-smake.dep 1.12 + C++DEP_FILE -> C++DEP_FILES + +Sun Jul 30 16:32:48 2006 joerg + * libfind/walk.h 1.11 + * include/schily/walk.h 1.11 + * libfind/walk.c 1.11 + * libfind/find.c 1.41 + * libfind/find_main.c 1.41 + -dostat und WALK_NOSTAT neu + +Fri Jul 21 17:36:32 2006 joerg + * autoconf/rules.cnf.in 1.8 + OBJEXT neu + +Fri Jul 21 16:35:08 2006 joerg + * makefiles/RULES/version 1.3 + Version -> 1.5a04 + +Fri Jul 21 15:45:44 2006 joerg + * libparanoia/noshlparanoia.mk 1.1 + * libscg/noshlrscg.mk 1.1 + * libscg/noshlscg.mk 1.1 + * libdeflt/noshldeflt.mk 1.1 + * libedc/noshledc.mk 1.1 + * libfile/noshlfile.mk 1.1 + * libhfs_iso/noshlhfs.mk 1.1 + date and time created 06/07/21 15:45:44 by joerg + +Fri Jul 21 15:21:56 2006 joerg + * libschily/Makefile 1.5 + Support fuer $(NO_SHL)shlxx.mk neu + +Fri Jul 21 15:21:37 2006 joerg + * libschily/noshlschily.mk 1.1 + date and time created 06/07/21 15:21:37 by joerg + +Fri Jul 21 15:20:42 2006 joerg + * makefiles/RULES/rules.mks 1.11 + include rules.dyn damit $(NO_SHL)shlxxx.mk funktioniert + +Fri Jul 21 14:56:41 2006 joerg + * makefiles/DEFAULTS_ENG/Defaults.interix 1.1 + date and time created 06/07/21 14:56:41 by joerg + +Fri Jul 21 14:53:14 2006 joerg + * makefiles/DEFAULTS/Defaults.interix 1.1 + date and time created 06/07/21 14:53:14 by joerg + +Fri Jul 21 14:40:56 2006 joerg + * makefiles/RULES/rules.cpl 1.1 + date and time created 06/07/21 14:40:56 by joerg + +Fri Jul 21 14:39:43 2006 joerg + * makefiles/RULES/r-smake.obj 1.8 + * makefiles/RULES/r-make.obj 1.6 + * makefiles/RULES/r-gmake.dep 1.13 + * makefiles/RULES/r-smake.dep 1.11 + * makefiles/RULES/r-make.dep 1.8 + Erweiterungen fuer C++ + +Fri Jul 21 14:12:23 2006 joerg + * makefiles/RULES/cc-sgi.rul 1.2 + * makefiles/RULES/cc-sony.rul 1.2 + * makefiles/RULES/cc-sun.rul 1.2 + * makefiles/RULES/cc-ibm.rul 1.2 + * makefiles/RULES/cc-dumb.rul 1.2 + * makefiles/RULES/cc-hp.rul 1.2 + * makefiles/RULES/cc-dg.rul 1.2 + * makefiles/RULES/cc-dec.rul 1.2 + * makefiles/RULES/cc-bemwcc.rul 1.4 + * makefiles/RULES/cc-apollo.rul 1.3 + * makefiles/RULES/cc-sco_os.rul 1.3 + * makefiles/RULES/cc-sco_uw.rul 1.2 + Dummy Erweiterungen fuer C++ neu + +Fri Jul 21 13:10:53 2006 joerg + * makefiles/RULES/cc-msc.rul 1.4 + * makefiles/RULES/cc-msposix.rul 1.4 + * makefiles/RULES/cc-sunpro64.rul 1.3 + * makefiles/RULES/cc-sunpro.rul 1.2 + * makefiles/RULES/cc-gcc64.rul 1.3 + * makefiles/RULES/cc-gcc.rul 1.2 + C++ Erweiterungen + +Fri Jul 21 11:18:01 2006 joerg + * makefiles/RULES/rules.shl 1.9 + DYNLD.o Makro neu wegen MSVC, C++OPTS neu + +Thu Jul 20 18:28:43 2006 joerg + * makefiles/RULES/rules.cmd 1.8 + include $(SRCROOT)/$(RULESDIR)/rules.dyn, um shared/static Linking auswaehlen zu koennen + +Thu Jul 20 18:27:57 2006 joerg + * makefiles/RULES/rules1.top 1.34 + $(SUBARCHDIR)$(SUBARCH)$(SHLDIR) bei OLIBSDIR neu um shared libs in searate dir packen zu koennen (wegen Importlibs .lib zu .dll) + +Thu Jul 20 18:25:19 2006 joerg + * makefiles/RULES/dynamic.lnk 1.1 + * makefiles/RULES/rules.dyn 1.1 + * makefiles/RULES/static.lnk 1.1 + date and time created 06/07/20 18:25:19 by joerg + +Tue Jul 18 16:39:11 2006 joerg + * makefiles/RULES/sun4-sunos5-gcc64.rul 1.5 + * makefiles/RULES/i86pc-sunos5-gcc64.rul 1.5 + * makefiles/RULES/sun4-sunos5-gcc.rul 1.11 + * makefiles/RULES/i86pc-sunos5-gcc.rul 1.11 + -Mlib... -> -Wl,-Mlib... + +Sun Jul 9 22:37:39 2006 joerg + * cdrecord/cdrecord.c 1.317 + Version -> 2.01.01a11 + +Sun Jul 9 16:38:23 2006 joerg + * cdrecord/drv_dvd.c 1.123 + #define offsetof ueber #ifdef absichern wegen Include File Umstellung fuer MSVC "cl" + +Sun Jul 9 16:37:32 2006 joerg + * cdrecord/cdrecord.c 1.316 + GCC Warnung verhindern bei der DMA Geschwindigkeitsmessung + +Fri Jul 7 14:33:48 2006 joerg + * makefiles/RULES/rules.sps 1.12 + * makefiles/RULES/rules.cnf 1.10 + * makefiles/RULES/local.cnf 1.5 + * makefiles/RULES/cc-bemwcc.rul 1.3 + * makefiles/RULES/cc-apollo.rul 1.2 + * makefiles/RULES/cc-sunpro64.rul 1.2 + * makefiles/RULES/cc-gcc64.rul 1.2 + * makefiles/RULES/cc-msposix.rul 1.3 + * makefiles/RULES/cc-msc.rul 1.3 + CCCOM -> CC_COM um Verwechslungen durch die Einfuehrung von C++ Unterstuetzung zu vermeiden + +Fri Jul 7 11:43:58 2006 joerg + * makefiles/RULES/r-gmake.dep 1.12 + * makefiles/RULES/r-make.obj 1.5 + * makefiles/RULES/r-make.dep 1.7 + * makefiles/RULES/r-smake.obj 1.7 + * makefiles/RULES/r-smake.dep 1.10 + .o -> .$o um .o/.obj zu unterstuetzen + +Fri Jul 7 11:42:38 2006 joerg + * makefiles/RULES/rules.prg 1.15 + o= $(OBJEXT) neu fuer .obj bei MSVC + +Thu Jul 6 15:01:34 2006 joerg + * makefiles/RULES/r-make.obj 1.4 + * makefiles/RULES/r-smake.obj 1.6 + Erweiterungen fuer MSVC + +Thu Jul 6 14:50:14 2006 joerg + * makefiles/RULES/rules.lib 1.9 + Umstellungen wegen MSVC + +Thu Jul 6 14:28:51 2006 joerg + * makefiles/RULES/i386-unixware-cc.rul 1.6 + UMstallung auf cc-sco_uw.rul + +Thu Jul 6 14:16:54 2006 joerg + * makefiles/RULES/cc-sco_uw.rul 1.1 + date and time created 06/07/06 14:16:54 by joerg + +Thu Jul 6 14:16:01 2006 joerg + * makefiles/RULES/cc-sco_os.rul 1.2 + $(SRCROOT)/conf/mkdep-sco.sh -> sh $(SRCROOT)/conf/mkdep-sco.sh + +Thu Jul 6 14:13:50 2006 joerg + * makefiles/RULES/i386-openserver-cc.rul 1.3 + Umstellung auf cc-sco_os.rul + +Thu Jul 6 14:13:02 2006 joerg + * makefiles/RULES/cc-sco_os.rul 1.1 + date and time created 06/07/06 14:13:02 by joerg + +Thu Jul 6 14:06:27 2006 joerg + * makefiles/RULES/i486-cygwin32_nt-cl.rul 1.3 + include $(SRCROOT)/$(RULESDIR)/cl.rul -> include $(SRCROOT)/$(RULESDIR)/cc-msc.rul + +Thu Jul 6 13:27:46 2006 joerg + * makefiles/RULES/news4000-newsos6-cc.rul 1.5 + include $(SRCROOT)/$(RULESDIR)/sonycc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-sony.rul + +Thu Jul 6 13:27:08 2006 joerg + * makefiles/RULES/dn5500-domainos-cc.rul 1.5 + include $(SRCROOT)/$(RULESDIR)/apollocc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-apollo.rul + +Thu Jul 6 13:26:32 2006 joerg + * makefiles/RULES/pci-qnx-cc.rul 1.6 + include $(SRCROOT)/$(RULESDIR)/dumbcc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-dumb.rul + +Thu Jul 6 13:25:40 2006 joerg + * makefiles/RULES/bemac-beos-mwcc.rul 1.6 + * makefiles/RULES/powerpc-beos-mwcc.rul 1.7 + * makefiles/RULES/bemac-beos-cc.rul 1.6 + include $(SRCROOT)/$(RULESDIR)/bemwcc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-bemwcc.rul + +Thu Jul 6 13:22:17 2006 joerg + * makefiles/RULES/alpha-osf1-cc.rul 1.6 + include $(SRCROOT)/$(RULESDIR)/deccc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-dec.rul + +Thu Jul 6 13:21:40 2006 joerg + * makefiles/RULES/rs6000-aix-cc.rul 1.9 + include $(SRCROOT)/$(RULESDIR)/ibmcc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-ibm.rul + +Thu Jul 6 13:20:49 2006 joerg + * makefiles/RULES/sun3-sunos4-cc.rul 1.7 + * makefiles/RULES/sun4-sunos4-cc.rul 1.7 + include $(SRCROOT)/$(RULESDIR)/suncc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-sun.rul + +Thu Jul 6 13:19:45 2006 joerg + * makefiles/RULES/ip22-irix-cc.rul 1.8 + include $(SRCROOT)/$(RULESDIR)/sgicc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-sgi.rul + +Thu Jul 6 13:18:52 2006 joerg + * makefiles/RULES/9000-725-hp-ux-cc.rul 1.12 + include $(SRCROOT)/$(RULESDIR)/hpcc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-hp.rul + +Thu Jul 6 13:17:49 2006 joerg + * makefiles/RULES/sun4-sunos5-cc.rul 1.10 + * makefiles/RULES/sun4-sunos5-cc64.rul 1.5 + * makefiles/RULES/i86pc-sunos5-cc.rul 1.10 + * makefiles/RULES/i86pc-sunos5-cc64.rul 1.4 + include $(SRCROOT)/$(RULESDIR)/sunprocc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-sunpro.rul + include $(SRCROOT)/$(RULESDIR)/sunprocc64.rul -> include $(SRCROOT)/$(RULESDIR)/cc-sunpro64.rul + +Thu Jul 6 13:10:36 2006 joerg + * makefiles/RULES/sun4-sunos5-gcc64.rul 1.4 + * makefiles/RULES/i86pc-sunos5-gcc64.rul 1.4 + include $(SRCROOT)/$(RULESDIR)/gcc64.rul -> include $(SRCROOT)/$(RULESDIR)/cc-gcc64.rul + +Thu Jul 6 13:08:30 2006 joerg + * makefiles/RULES/x86-interix-gcc.rul 1.3 + * makefiles/RULES/x86pc-qnx-gcc.rul 1.5 + * makefiles/RULES/rs6000-aix-gcc.rul 1.7 + * makefiles/RULES/sun4-sunos5-gcc.rul 1.10 + * makefiles/RULES/i586-linux-cc.rul 1.8 + * makefiles/RULES/sun4-sunos4-gcc.rul 1.7 + * makefiles/RULES/i586-linux-gcc.rul 1.8 + * makefiles/RULES/i586-mingw32_nt-gcc.rul 1.4 + * makefiles/RULES/i686-mingw32_nt-gcc.rul 1.4 + * makefiles/RULES/i786-mingw32_nt-gcc.rul 1.4 + * makefiles/RULES/powerpc-beos-gcc.rul 1.6 + * makefiles/RULES/power-macintosh-rhapsody-gcc.rul 1.9 + * makefiles/RULES/power-macintosh-rhapsody-cc.rul 1.9 + * makefiles/RULES/power-macintosh-darwin-gcc.rul 1.10 + * makefiles/RULES/power-macintosh-darwin-cc.rul 1.10 + * makefiles/RULES/i86pc-sunos5-gcc.rul 1.10 + * makefiles/RULES/ip22-irix-gcc.rul 1.9 + * makefiles/RULES/sun3-sunos4-gcc.rul 1.8 + * makefiles/RULES/m68k-amigaos-gcc.rul 1.5 + * makefiles/RULES/i386-netbsd-cc.rul 1.9 + * makefiles/RULES/i386-ms-dos-gcc.rul 1.4 + * makefiles/RULES/i386-mingw32_nt-gcc.rul 1.4 + * makefiles/RULES/i386-freebsd-gcc.rul 1.7 + * makefiles/RULES/i386-freebsd-cc.rul 1.7 + * makefiles/RULES/i386-bsd-os3-gcc.rul 1.7 + * makefiles/RULES/i386-os2-gcc.rul 1.11 + * makefiles/RULES/i386-openserver-gcc.rul 1.6 + * makefiles/RULES/i486-cygwin32_nt-gcc.rul 1.7 + * makefiles/RULES/i486-cygwin32_nt-cc.rul 1.7 + * makefiles/RULES/i386-openbsd-gcc.rul 1.8 + * makefiles/RULES/i386-unixware-gcc.rul 1.5 + * makefiles/RULES/i386-openbsd-cc.rul 1.8 + * makefiles/RULES/i386-bsd-os3-cc.rul 1.7 + * makefiles/RULES/i386-netbsd-gcc.rul 1.9 + * makefiles/RULES/i486-mingw32_nt-gcc.rul 1.4 + * makefiles/RULES/alpha-osf1-gcc.rul 1.6 + * makefiles/RULES/bepc-beos-cc.rul 1.7 + * makefiles/RULES/bepc-beos-gcc.rul 1.9 + * makefiles/RULES/i386-at386-gnu-cc.rul 1.5 + * makefiles/RULES/hppa-nextstep-gcc.rul 1.8 + * makefiles/RULES/hppa-nextstep-cc.rul 1.8 + * makefiles/RULES/9000-725-hp-ux-gcc.rul 1.8 + * makefiles/RULES/aviion-dgux4-gcc.rul 1.8 + * makefiles/RULES/aviion-dgux3-gcc.rul 1.8 + * makefiles/RULES/i386-bsd-os-gcc.rul 1.8 + * makefiles/RULES/i386-at386-gnu-gcc.rul 1.5 + * makefiles/RULES/i386-bsd-os-cc.rul 1.8 + include $(SRCROOT)/$(RULESDIR)/gcc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +Thu Jul 6 13:07:42 2006 joerg + * makefiles/RULES/aviion-dgux4-cc.rul 1.7 + * makefiles/RULES/aviion-dgux3-cc.rul 1.7 + include $(SRCROOT)/$(RULESDIR)/dgcc.rul -> include $(SRCROOT)/$(RULESDIR)/cc-dg.rul + +Tue Jul 4 18:03:29 2006 joerg + * makefiles/RULES/cc-msc.rul 1.2 + * makefiles/RULES/cc-msposix.rul 1.2 + LIBS_PATH= -libpath:$(OLIBSDIR) + LDLIBS= $(LIBS:-l%=%.lib) .... + LDOPTS= -link .... + OUTPUT_OPTION= -Fo$(O:%=%/)$@ + ARFLAGS= -lib -out: + Alles fuer korrekten integrierten Support von cl.exe + +Mon Jul 3 16:48:46 2006 joerg + * makefiles/TEMPLATES/temp-gcc.rul 1.2 + Umstellung auf gcc.rul + +Mon Jul 3 16:46:33 2006 joerg + * makefiles/TEMPLATES/temp-xcc.rul 1.2 + * makefiles/RULES/pci-qnx-cc.rul 1.5 + Umstellung auf dumbcc.rul + +Mon Jul 3 16:38:59 2006 joerg + * makefiles/RULES/cc-dumb.rul 1.1 + date and time created 06/07/03 16:38:59 by joerg + +Mon Jul 3 16:34:02 2006 joerg + * makefiles/RULES/i486-cygwin32_nt-cl.rul 1.2 + Umstellung auf cl.rul + +Mon Jul 3 16:33:24 2006 joerg + * makefiles/RULES/cc-msposix.rul 1.1 + * makefiles/RULES/cc-msc.rul 1.1 + date and time created 06/07/03 16:33:24 by joerg + +Mon Jul 3 16:12:42 2006 joerg + * makefiles/RULES/rs6000-aix-cc.rul 1.8 + Umstellung auf ibmcc.rul + +Mon Jul 3 16:12:12 2006 joerg + * makefiles/RULES/cc-ibm.rul 1.1 + date and time created 06/07/03 16:12:12 by joerg + +Mon Jul 3 16:09:07 2006 joerg + * makefiles/RULES/powerpc-beos-mwcc.rul 1.6 + * makefiles/RULES/bemac-beos-mwcc.rul 1.5 + * makefiles/RULES/bemac-beos-cc.rul 1.5 + Umstellung auf bemwcc.rul + +Mon Jul 3 16:08:31 2006 joerg + * makefiles/RULES/cc-bemwcc.rul 1.2 + Kommentarr fuer powerpc-beos-mwcc.rul neu + +Mon Jul 3 15:58:28 2006 joerg + * makefiles/RULES/ip22-irix-cc.rul 1.7 + Umstellung auf sgicc.rul + +Mon Jul 3 15:58:03 2006 joerg + * makefiles/RULES/cc-sgi.rul 1.1 + date and time created 06/07/03 15:58:03 by joerg + +Mon Jul 3 15:55:22 2006 joerg + * makefiles/RULES/news4000-newsos6-cc.rul 1.4 + Umstellung auf sonycc.rul + +Mon Jul 3 15:54:43 2006 joerg + * makefiles/RULES/cc-sony.rul 1.1 + date and time created 06/07/03 15:54:43 by joerg + +Mon Jul 3 15:51:43 2006 joerg + * makefiles/RULES/alpha-osf1-cc.rul 1.5 + Umstellung auf deccc.rul + +Mon Jul 3 15:51:16 2006 joerg + * makefiles/RULES/cc-dec.rul 1.1 + date and time created 06/07/03 15:51:16 by joerg + +Mon Jul 3 15:47:21 2006 joerg + * makefiles/RULES/aviion-dgux3-cc.rul 1.6 + * makefiles/RULES/aviion-dgux4-cc.rul 1.6 + Umstellung auf dgcc.rul + +Mon Jul 3 15:46:52 2006 joerg + * makefiles/RULES/cc-dg.rul 1.1 + date and time created 06/07/03 15:46:52 by joerg + +Mon Jul 3 15:42:02 2006 joerg + * makefiles/RULES/cc-bemwcc.rul 1.1 + date and time created 06/07/03 15:42:02 by joerg + +Mon Jul 3 15:31:34 2006 joerg + * makefiles/RULES/dn5500-domainos-cc.rul 1.4 + Umstellung auf apollocc.rul + +Mon Jul 3 15:30:49 2006 joerg + * makefiles/RULES/cc-apollo.rul 1.1 + date and time created 06/07/03 15:30:49 by joerg + +Mon Jul 3 15:25:23 2006 joerg + * makefiles/RULES/9000-725-hp-ux-cc.rul 1.11 + Umstellung auf hpcc.rul + +Mon Jul 3 15:24:26 2006 joerg + * makefiles/RULES/cc-hp.rul 1.1 + date and time created 06/07/03 15:24:26 by joerg + +Mon Jul 3 15:21:07 2006 joerg + * makefiles/RULES/sun4-sunos4-cc.rul 1.6 + * makefiles/RULES/sun3-sunos4-cc.rul 1.6 + OSDEFS= neu + +Mon Jul 3 14:42:21 2006 joerg + * makefiles/RULES/sun3-sunos4-cc.rul 1.5 + * makefiles/RULES/sun4-sunos4-cc.rul 1.5 + Umstellung auf suncc.rul + +Mon Jul 3 14:41:43 2006 joerg + * makefiles/RULES/cc-sun.rul 1.1 + date and time created 06/07/03 14:41:43 by joerg + +Mon Jul 3 14:34:20 2006 joerg + * makefiles/RULES/i86pc-sunos5-cc.rul 1.9 + * makefiles/RULES/sun4-sunos5-cc.rul 1.9 + * makefiles/RULES/sun4-sunos5-cc64.rul 1.4 + * makefiles/RULES/i86pc-sunos5-cc64.rul 1.3 + Umstellung auf sunprocc.rul/sunprocc64.rul + +Mon Jul 3 14:33:10 2006 joerg + * makefiles/RULES/cc-sunpro.rul 1.1 + * makefiles/RULES/cc-sunpro64.rul 1.1 + date and time created 06/07/03 14:33:10 by joerg + +Mon Jul 3 12:36:42 2006 joerg + * makefiles/RULES/power-macintosh-darwin-cc.rul 1.9 + * makefiles/RULES/hppa-nextstep-cc.rul 1.7 + * makefiles/RULES/power-macintosh-rhapsody-cc.rul 1.8 + * makefiles/RULES/i386-bsd-os3-cc.rul 1.6 + * makefiles/RULES/i386-freebsd-cc.rul 1.6 + * makefiles/RULES/i386-netbsd-cc.rul 1.8 + * makefiles/RULES/i386-openbsd-cc.rul 1.7 + * makefiles/RULES/i486-cygwin32_nt-cc.rul 1.6 + * makefiles/RULES/i586-linux-cc.rul 1.7 + * makefiles/RULES/i386-bsd-os-cc.rul 1.7 + * makefiles/RULES/i386-at386-gnu-cc.rul 1.4 + * makefiles/RULES/bepc-beos-cc.rul 1.6 + Umstellung auf gcc.rul/gcc64.rul + +Mon Jul 3 12:11:50 2006 joerg + * makefiles/RULES/bepc-beos-gcc.rul 1.8 + LN= /bin/ln -s neu + +Sun Jul 2 16:31:09 2006 joerg + * libfind/find_main.c 1.40 + * libfind/find.c 1.40 + DEV_BSIZE definieren falls nicht vorhanden + +Sun Jul 2 16:30:25 2006 joerg + * libfind/fetchdir.c 1.17 + * libfind/cmpdir.c 1.17 + lstat() nutzen fuer die inode Nummer falls HAVE_DIRENT_D_INO fehlt + +Sun Jul 2 16:06:42 2006 joerg + * libfind/fetchdir.c 1.16 + * libfind/cmpdir.c 1.16 + #ifndef __DJGPP__ -> #ifdef HAVE_DIRENT_D_INO, denn auch neuere Cygwin Versionen haben kein dirent->d_ino + +Fri Jun 30 17:23:31 2006 joerg + * makefiles/RULES/MKLINKS 1.61 + i386-cygwin32_nt-cl.rul i586-cygwin32_nt-cl.rul i686-cygwin32_nt-cl.rul i786-cygwin32_nt-cl.rul neu + +Fri Jun 30 17:23:02 2006 joerg + * makefiles/RULES/rules.prg 1.14 + RANLIB= und ARFLAGS= von der Compilerdefinition nach rules.prg bewegt + +Fri Jun 30 17:16:31 2006 joerg + * makefiles/RULES/i486-cygwin32_nt-cl.rul 1.1 + date and time created 06/06/30 17:16:31 by joerg + +Fri Jun 30 17:00:19 2006 joerg + * makefiles/RULES/hppa-nextstep-gcc.rul 1.7 + * makefiles/RULES/x86pc-qnx-gcc.rul 1.4 + * makefiles/RULES/i86pc-sunos5-gcc64.rul 1.3 + * makefiles/RULES/power-macintosh-rhapsody-gcc.rul 1.8 + * makefiles/RULES/sun4-sunos5-gcc64.rul 1.3 + * makefiles/RULES/powerpc-beos-gcc.rul 1.5 + * makefiles/RULES/sun4-sunos5-gcc.rul 1.9 + * makefiles/RULES/x86-interix-gcc.rul 1.2 + * makefiles/RULES/power-macintosh-darwin-gcc.rul 1.9 + * makefiles/RULES/sun4-sunos4-gcc.rul 1.6 + * makefiles/RULES/sun3-sunos4-gcc.rul 1.7 + * makefiles/RULES/rs6000-aix-gcc.rul 1.6 + * makefiles/RULES/i486-mingw32_nt-gcc.rul 1.3 + * makefiles/RULES/i486-cygwin32_nt-gcc.rul 1.6 + * makefiles/RULES/i586-linux-gcc.rul 1.7 + * makefiles/RULES/i586-mingw32_nt-gcc.rul 1.3 + * makefiles/RULES/i686-mingw32_nt-gcc.rul 1.3 + * makefiles/RULES/i786-mingw32_nt-gcc.rul 1.3 + * makefiles/RULES/i386-unixware-gcc.rul 1.4 + * makefiles/RULES/i86pc-sunos5-gcc.rul 1.9 + * makefiles/RULES/ip22-irix-gcc.rul 1.8 + * makefiles/RULES/i386-os2-gcc.rul 1.10 + * makefiles/RULES/i386-openserver-gcc.rul 1.5 + * makefiles/RULES/m68k-amigaos-gcc.rul 1.4 + * makefiles/RULES/i386-freebsd-gcc.rul 1.6 + * makefiles/RULES/i386-mingw32_nt-gcc.rul 1.3 + * makefiles/RULES/i386-ms-dos-gcc.rul 1.3 + * makefiles/RULES/i386-openbsd-gcc.rul 1.7 + * makefiles/RULES/i386-netbsd-gcc.rul 1.8 + * makefiles/RULES/aviion-dgux4-gcc.rul 1.7 + * makefiles/RULES/aviion-dgux3-gcc.rul 1.7 + * makefiles/RULES/i386-at386-gnu-gcc.rul 1.4 + * makefiles/RULES/bepc-beos-gcc.rul 1.7 + * makefiles/RULES/9000-725-hp-ux-gcc.rul 1.7 + * makefiles/RULES/alpha-osf1-gcc.rul 1.5 + * makefiles/RULES/i386-bsd-os-gcc.rul 1.7 + * makefiles/RULES/i386-bsd-os3-gcc.rul 1.6 + Umstellung auf gcc.rul/gcc64.rul + +Fri Jun 30 16:57:22 2006 joerg + * makefiles/RULES/cc-gcc.rul 1.1 + * makefiles/RULES/cc-gcc64.rul 1.1 + date and time created 06/06/30 16:57:22 by joerg + +Thu Jun 29 23:03:25 2006 joerg + * autoconf/xconfig.h.in 1.98 + * autoconf/configure.in 1.97 + * autoconf/aclocal.m4 1.47 + AC_STRUCT_DIRENT_D_INO / HAVE_DIRENT_D_INO neu + +Thu Jun 29 23:00:25 2006 joerg + * include/schily/dirent.h 1.16 + HAVE_SYS_TYES_H / HAVE_SYS_STAT_H neu + +Thu Jun 29 18:01:02 2006 joerg + * makefiles/RULES/x86-interix-gcc.rul 1.1 + * makefiles/RULES/os-interix.id 1.1 + * makefiles/RULES/os-interix.def 1.1 + date and time created 06/06/29 18:01:02 by joerg + +Thu Jun 29 15:15:03 2006 joerg + * autoconf/config.guess 1.6 + x86:Interix neu + +Thu Jun 29 15:11:48 2006 joerg + * autoconf/config.sub 1.3 + interisx uwin mks neu + +Thu Jun 29 14:56:59 2006 joerg + * makefiles/TEMPLATES/temp-xcc.rul 1.1 + date and time created 06/06/29 14:56:59 by joerg + +Thu Jun 29 14:56:51 2006 joerg + * makefiles/TEMPLATES/temp-gcc.rul 1.1 + date and time created 06/06/29 14:56:51 by joerg + +Tue Jun 27 11:17:33 2006 joerg + * include/schily/utypes.h 1.19 + #include fuer MSVC damit stze_t definiert ist + +Tue Jun 27 11:16:46 2006 joerg + * include/schily/schily.h 1.55 + * include/schily/standard.h 1.32 + #undef FOUND_SIZE_T wenn defined(_MSC_VER) && !defined(_SIZE_T_DEFINED) + +Tue Jun 27 11:15:26 2006 joerg + * include/schily/unistd.h 1.15 + write(int, void *, size_t) -> write(int, const void *, size_t) + +Mon Jun 26 16:58:05 2006 joerg + * include/schily/alloca.h 1.4 + * include/schily/device.h 1.14 + * include/schily/utypes.h 1.18 + * include/schily/mconfig.h 1.53 + Cstyle + +Mon Jun 26 15:20:07 2006 joerg + * autoconf/xconfig.h.in 1.97 + * autoconf/configure.in 1.96 + popen()/pclose()/_popen()/_pclose() Tests neu + +Mon Jun 26 14:37:17 2006 joerg + * autoconf/xconfig.h.in 1.96 + * autoconf/configure.in 1.95 + getpid()getppid() Tests neu + +Mon Jun 26 13:23:00 2006 joerg + * autoconf/xconfig.h.in 1.95 + * autoconf/configure.in 1.94 + truncate / ftruncate Test neu + +Mon Jun 26 12:53:08 2006 joerg + * autoconf/acgeneral.m4 1.3 + grep Test auf Ergebnisse erst nach tr -d '\015' wegen DOS Newline + +Sat Jun 24 13:24:08 2006 joerg + * autoconf/configure.in 1.93 + * autoconf/aclocal.m4 1.46 + * autoconf/xconfig.h.in 1.94 + Neuer Test fuer sys/times.h wegen clock_t test mit MSVC + size_t auch in stdlib.h, stddef.h, stdio.h suchen wegen MSVC + Neuer Test auf direct.h wegen MSVC + +Fri Jun 23 15:59:14 2006 joerg + * cdda2wav/sun.c 1.7 + * cdda2wav/aifc.c 1.8 + #include "mytype.h" weiter nach hinten wegen offsetof() + +Fri Jun 23 15:34:58 2006 joerg + * include/schily/unistd.h 1.14 + #include wegen MSVC size_t + +Fri Jun 23 14:35:31 2006 joerg + * include/schily/unistd.h 1.13 + #include fuer MSVC + +Fri Jun 23 14:17:22 2006 joerg + * autoconf/configure.in 1.92 + * autoconf/xconfig.h.in 1.93 + * autoconf/aclocal.m4 1.45 + __int64 Tests fuer MSVC neu + +Fri Jun 23 13:12:23 2006 joerg + * include/schily/utypes.h 1.17 + * include/schily/mconfig.h 1.52 + __int64 / long long Kommentar neu + +Fri Jun 23 13:10:03 2006 joerg + * libschily/align_test.c 1.20 + long long -> Llong + +Fri Jun 23 11:32:17 2006 joerg + * include/schily/utypes.h 1.16 + long long Datentypen kommen nun auch mit __int64 von MSVC klar + +Fri Jun 23 11:31:40 2006 joerg + * include/schily/mconfig.h 1.51 + HAVE_LONGLONG setzten wenn bei MSVC HAVE___INT64 gesetzt ist + +Mon Jun 5 21:55:22 2006 joerg + * cdrecord/scsi_mmc.c 1.18 + scsi_get_perf_curspeed() liest nun die gesamte Liste und returniert die Maximalwerte + +Mon Jun 5 20:35:55 2006 joerg + * cdrecord/cdrecord.c 1.315 + Version -> 2.01.01a10 + Bessere Meldungen bei Tracks > 0 mit -toc und Aehnlichem + +Mon Jun 5 15:28:50 2006 joerg + * cdrecord/drv_dvdplus.c 1.21 + Workaround fuer NEC Brenner mit halb beschriebener DVD+RW (phys end - phys start) ist kleiner als der beschreibbare Bereich + Daher verwenden wir nun end_lba von GET PERFORMANCE + +Mon Jun 5 00:08:29 2006 joerg + * cdrecord/scsimmc.h 1.13 + * cdrecord/cdrecord.1 1.108 + * cdrecord/cdrecord.h 1.168 + * cdrecord/drv_dvd.c 1.122 + * cdrecord/cd_misc.c 1.12 + * cdrecord/scsi_mmc.c 1.17 + Copyright -> 2006 + +Sun Jun 4 23:54:40 2006 joerg + * cdrecord/cd_misc.c 1.11 + * cdrecord/drv_dvd.c 1.121 + * cdrecord/cdrecord.h 1.167 + * cdrecord/drv_dvdplus.c 1.20 + is_cdspeed() neu + NEC DVD Firmwarebugerkennung nun mit is_cdspeed() + +Sun Jun 4 15:50:22 2006 joerg + * cdrecord/scsi_mmc.c 1.16 + HD-DVD & BD Profile Texte neu + +Sun Jun 4 15:38:13 2006 joerg + * cdrecord/scsi_mmc.c 1.15 + scsi_get_perf_maxspeed()/scsi_get_perf_curspeed() neu + scsi_get_performance() als universeller Low Level + +Sun Jun 4 15:33:15 2006 joerg + * cdrecord/drv_dvdplus.c 1.19 + * cdrecord/drv_dvd.c 1.120 + scsi_get_perf_maxspeed()/scsi_get_perf_curspeed() als Workaround fuer NEC Speed error in mode page 2A neu + +Sun Jun 4 15:20:36 2006 joerg + * cdrecord/cdrecord.h 1.166 + scsi_get_perf_maxspeed()/scsi_get_perf_curspeed() neu + +Fri Jun 2 22:39:20 2006 joerg + * cdrecord/cdrecord.c 1.314 + Besserer DMA Speed Test der hoffentlich erkennt wenn es nicht klappt + +Tue May 30 00:32:54 2006 joerg + * cdrecord/drv_mmc.c 1.166 + profile == 0x2B fuer DVD+R/DL beruecksichtigen (das wurde durch die Umstellung der profile Auswertung notwendig) + +Tue May 30 00:04:27 2006 joerg + * cdrecord/CONTRIBUTING 1.3 + Schreibfehler + +Tue May 30 00:00:18 2006 joerg + * libscg/scsi-linux-ata.c 1.9 + Versuch des UID Hanling wie bei scsi-linux-sg.c + +Sun May 21 21:24:01 2006 joerg + * cdrecord/Makefile 1.36 + Alte IFDEF= Zuweisung geloescht + +Sun May 21 21:22:39 2006 joerg + * cdrecord/Makefile 1.35 + Kommentar Umgestellt + +Sun May 21 15:02:30 2006 joerg + * cdrecord/Makefile 1.34 + CPPOPTS += -I../libedc neu + +Sun May 21 14:53:12 2006 joerg + * cdrecord/CONTRIBUTING 1.2 + §8 / §9 neu + +Sun May 21 14:43:27 2006 joerg + * cdrecord/drv_mmc.c 1.165 + Bessere Erkennung des DVD-Medientyps wegen eines Problems mit Pioneer DVR-110 + +Sun May 21 14:21:14 2006 joerg + * cdrecord/Makefile 1.33 + Umbau der "make rel" Regeln fuer CDDL & DVD OSS Support + +Wed May 17 08:40:52 2006 joerg + * libscg/scsi-hpux.c 1.32 + * libscg/scsi-apollo.c 1.6 + Cstyle + +Wed May 17 08:30:26 2006 joerg + * libscg/scsi-linux-ata.c 1.8 + sg_cgc.buffer ist unsigned char *, daher (void *) Cast + +Tue May 16 22:01:31 2006 joerg + * cdda2wav/sndconfig.c 1.24 + Schreibfehler errmsg(EX_BAD -> errmsgno(EX_BAD + +Tue May 16 21:57:56 2006 joerg + * cdda2wav/interface.c 1.45 + Schreibfehler errmsgno/ -> errmsgno( + +Tue May 16 21:57:33 2006 joerg + * cdda2wav/cdda2wav.c 1.70 + Schreibfehler ermsgno() -> errmsgno() + +Tue May 16 21:56:17 2006 joerg + * cdrecord/readcd.mk 1.6 + -ledc_ecc ... neu + +Tue May 16 21:55:23 2006 joerg + * cdrecord/scsimmc.h 1.12 + * cdrecord/defaults.c 1.19 + Schreibfehler execptions -> exceptions + +Mon May 15 23:17:41 2006 joerg + * libscg/scsi-linux-pg.c 1.44 + * libscg/pg.h 1.2 + GPL Hinweis mit Einverstaendnis des Autors beseitigt + +Mon May 15 21:14:02 2006 joerg + * libedc/repair.mk 1.1 + date and time created 06/05/15 21:14:02 by joerg + +Mon May 15 21:10:29 2006 joerg + * libedc/repair.c 1.1 + date and time created 06/05/15 21:10:29 by joerg + +Mon May 15 20:56:46 2006 joerg + * libedc/libedc_dec.mk 1.1 + date and time created 06/05/15 20:56:46 by joerg + +Mon May 15 20:48:47 2006 joerg + * libedc/Makefile 1.2 + libedc_dec.mk neu + +Mon May 15 20:48:28 2006 joerg + * libedc/edc_ecc_dec.c 1.3 + Core-dumps durch gdp->global_erasures == NULL vermeiden + +Sun May 14 22:57:09 2006 joerg + * cdrecord/skel.mk 1.2 + * cdrecord/readcd.mk 1.5 + MAKE_LICENSE=MKCDDL neu + +Sun May 14 22:56:43 2006 joerg + * cdrecord/readcd.1 1.24 + * cdrecord/cdrecord.1 1.107 + GPL Kommentar beseitigt + +Sun May 14 22:45:04 2006 joerg + * libedc/edc_ecc_dec.c 1.2 + EDC_DECODER_HACK neu + mconfig.h neu + DECODE_SUB_IN_ENCODER neu + edc.h neu + +Sun May 14 22:43:58 2006 joerg + * libedc/edc.h 1.2 + EDC_DECODER_HACK neu + +Sun May 14 22:42:56 2006 joerg + * libedc/edc_code_tables 1.1 + date and time created 06/05/14 22:42:56 by joerg + +Sun May 14 21:53:14 2006 joerg + * libedc/libedc_ecc-mapvers 1.2 + * libedc/ecc.h 1.5 + * libedc/edc_ecc.c 1.22 + Die Funktionen encode_L2_Q()/encode_L2_P() werden fuer libedc_ecc_dec global benoetigt + +Sun May 14 21:32:00 2006 joerg + * cdrecord/CONTRIBUTING 1.1 + date and time created 06/05/14 21:32:00 by joerg + +Sun May 14 15:32:56 2006 joerg + * scgcheck/scgcheck.1 1.10 + GPL entfernt + +Sun May 14 14:18:55 2006 joerg + * conf/Makefile 1.3 + * makefiles/RULES/sun4-sunos4-cc.rul 1.4 + * makefiles/RULES/sun4-sunos5-cc64.rul 1.3 + * makefiles/RULES/sun4-sunos5-gcc64.rul 1.2 + * makefiles/RULES/sun4-sunos5-gcc.rul 1.8 + * makefiles/RULES/sun4-sunos4-gcc.rul 1.5 + * makefiles/RULES/sun4-sunos5-cc.rul 1.8 + * makefiles/RULES/sun3-sunos4-gcc.rul 1.6 + * makefiles/RULES/x86pc-qnx-gcc.rul 1.3 + * makefiles/RULES/rules1.dir 1.12 + * makefiles/RULES/rules1.top 1.33 + * makefiles/RULES/rules.tpk 1.4 + * makefiles/RULES/rules.mod 1.6 + * makefiles/RULES/rules.scr 1.2 + * makefiles/RULES/rules.rel 1.6 + * makefiles/RULES/rules.shl 1.8 + * makefiles/RULES/rules.tag 1.2 + * makefiles/RULES/rules.rdi 1.9 + * makefiles/RULES/rules.mks 1.10 + * makefiles/RULES/sun3-sunos4-cc.rul 1.4 + * makefiles/RULES/rules.sps 1.11 + * makefiles/RULES/rules.top 1.16 + * makefiles/RULES/rules.prg 1.13 + * makefiles/RULES/rules.obj 1.4 + * makefiles/RULES/rules.cnf 1.9 + * makefiles/RULES/rules.loc 1.6 + * makefiles/RULES/rules.dir 1.8 + * makefiles/RULES/rules.aux 1.7 + * makefiles/RULES/rules.clr 1.6 + * makefiles/RULES/rules.cmd 1.7 + * makefiles/RULES/rules.drv 1.6 + * makefiles/RULES/rules.hlp 1.11 + * makefiles/RULES/rules.inc 1.4 + * makefiles/RULES/rules.lib 1.8 + * makefiles/RULES/rules.man 1.2 + * makefiles/RULES/rules.ins 1.15 + * makefiles/RULES/rules.dep 1.2 + * makefiles/RULES/rules.lnt 1.3 + * makefiles/RULES/power-macintosh-darwin-gcc.rul 1.8 + * makefiles/RULES/powerpc-beos-mwcc.rul 1.5 + * makefiles/RULES/power-macintosh-rhapsody-cc.rul 1.7 + * makefiles/RULES/rs6000-aix-gcc.rul 1.5 + * makefiles/RULES/r-smake.dep 1.9 + * makefiles/RULES/r-smake.obj 1.5 + * makefiles/RULES/r-make.obj 1.3 + * makefiles/RULES/powerpc-beos-gcc.rul 1.4 + * makefiles/RULES/r-gmake.tag 1.2 + * makefiles/RULES/r-make.dep 1.6 + * makefiles/RULES/r-smake.tag 1.3 + * makefiles/RULES/r-make.tag 1.2 + * makefiles/RULES/rs6000-aix-cc.rul 1.7 + * makefiles/RULES/r-gmake.dep 1.11 + * makefiles/RULES/power-macintosh-rhapsody-gcc.rul 1.7 + * makefiles/RULES/os-sco_sv.id 1.2 + * makefiles/RULES/os-unixware.id 1.2 + * makefiles/RULES/os-unixware.def 1.2 + * makefiles/RULES/os-rhapsody.id 1.2 + * makefiles/RULES/os-osf1.def 1.2 + * makefiles/RULES/os-os2.def 1.2 + * makefiles/RULES/os-osf1.id 1.2 + * makefiles/RULES/os-rhapsody.def 1.2 + * makefiles/RULES/os-qnx.id 1.2 + * makefiles/RULES/os-qnx.def 1.2 + * makefiles/RULES/os-sunos5.def 1.3 + * makefiles/RULES/os-unix_sv.id 1.2 + * makefiles/RULES/os-sunos4.def 1.3 + * makefiles/RULES/os-sunos.id 1.2 + * makefiles/RULES/pci-qnx-cc.rul 1.4 + * makefiles/RULES/power-macintosh-darwin-cc.rul 1.8 + * makefiles/RULES/os-mingw32_nt-5.1.id 1.2 + * makefiles/RULES/os-mingw32_nt-5.2.id 1.2 + * makefiles/RULES/os-mingw32_nt.def 1.2 + * makefiles/RULES/os-mingw32_nt.id 1.2 + * makefiles/RULES/os-ms-dos.def 1.2 + * makefiles/RULES/os-ms-dos.id 1.2 + * makefiles/RULES/os-netbsd.def 1.2 + * makefiles/RULES/os-netbsd.id 1.2 + * makefiles/RULES/os-news-os.id 1.2 + * makefiles/RULES/os-newsos6.def 1.2 + * makefiles/RULES/os-nextstep.def 1.2 + * makefiles/RULES/os-nextstep.id 1.2 + * makefiles/RULES/os-openbsd.def 1.3 + * makefiles/RULES/os-openbsd.id 1.3 + * makefiles/RULES/os-openserver.def 1.2 + * makefiles/RULES/os-os-2.id 1.2 + * makefiles/RULES/os-hp-ux.def 1.3 + * makefiles/RULES/os-hp-ux.id 1.2 + * makefiles/RULES/os-mingw32_nt-5.0.id 1.2 + * makefiles/RULES/os-mingw32_nt-4.0.id 1.2 + * makefiles/RULES/os-mingw32_me-4.90.id 1.2 + * makefiles/RULES/os-irix.def 1.3 + * makefiles/RULES/os-irix.id 1.2 + * makefiles/RULES/os-linux.def 1.3 + * makefiles/RULES/os-linux.id 1.2 + * makefiles/RULES/os-mac-os.id 1.2 + * makefiles/RULES/os-mac-os10.def 1.2 + * makefiles/RULES/os-mingw32_95-4.0.id 1.2 + * makefiles/RULES/os-mingw32_98-4.0.id 1.2 + * makefiles/RULES/os-mingw32_98-4.10.id 1.2 + * makefiles/RULES/os-dgux.id 1.2 + * makefiles/RULES/os-gnu.id 1.2 + * makefiles/RULES/os-gnu.def 1.2 + * makefiles/RULES/os-freebsd.id 1.2 + * makefiles/RULES/os-freebsd.def 1.2 + * makefiles/RULES/os-dragonfly.id 1.2 + * makefiles/RULES/os-dragonfly.def 1.2 + * makefiles/RULES/os-domainos.id 1.2 + * makefiles/RULES/os-domainos.def 1.2 + * makefiles/RULES/os-dgux4.def 1.3 + * makefiles/RULES/os-dgux3.def 1.3 + * makefiles/RULES/os-darwin.id 1.2 + * makefiles/RULES/os-darwin.def 1.2 + * makefiles/RULES/os-cygwin32_nt.id 1.2 + * makefiles/RULES/os-cygwin32_nt.def 1.2 + * makefiles/RULES/os-bsd-os3.def 1.2 + * makefiles/RULES/man-sysv.def 1.2 + * makefiles/RULES/news4000-newsos6-cc.rul 1.3 + * makefiles/RULES/os-aix.def 1.3 + * makefiles/RULES/os-aix.id 1.2 + * makefiles/RULES/os-amigaos.def 1.2 + * makefiles/RULES/mk-smake.id 1.5 + * makefiles/RULES/os-amigaos.id 1.2 + * makefiles/RULES/mk-gmake.id 1.15 + * makefiles/RULES/man-bsd.def 1.2 + * makefiles/RULES/os-beos.def 1.2 + * makefiles/RULES/MKLINKS 1.60 + * makefiles/RULES/os-beos.id 1.2 + * makefiles/RULES/os-bsd-os.def 1.2 + * makefiles/RULES/os-bsd-os.id 1.3 + * makefiles/RULES/i86pc-sunos5-cc64.rul 1.2 + * makefiles/RULES/mk-.id 1.11 + * makefiles/RULES/i86pc-sunos5-cc.rul 1.8 + * makefiles/RULES/i586-linux-cc.rul 1.6 + * makefiles/RULES/i586-linux-gcc.rul 1.6 + * makefiles/RULES/m68k-amigaos-gcc.rul 1.3 + * makefiles/RULES/i586-mingw32_nt-gcc.rul 1.2 + * makefiles/RULES/i686-mingw32_nt-gcc.rul 1.2 + * makefiles/RULES/i786-mingw32_nt-gcc.rul 1.2 + * makefiles/RULES/local.cnf 1.4 + * makefiles/RULES/ldummy.cnf 1.2 + * makefiles/RULES/ip22-irix-gcc.rul 1.7 + * makefiles/RULES/ip22-irix-cc.rul 1.6 + * makefiles/RULES/i86pc-sunos5-gcc64.rul 1.2 + * makefiles/RULES/i86pc-sunos5-gcc.rul 1.8 + * makefiles/RULES/i386-netbsd-gcc.rul 1.7 + * makefiles/RULES/i386-openbsd-cc.rul 1.6 + * makefiles/RULES/i486-cygwin32_nt-cc.rul 1.5 + * makefiles/RULES/i386-openserver-gcc.rul 1.4 + * makefiles/RULES/i386-mingw32_nt-gcc.rul 1.2 + * makefiles/RULES/i386-freebsd-gcc.rul 1.5 + * makefiles/RULES/i386-ms-dos-gcc.rul 1.2 + * makefiles/RULES/i486-mingw32_nt-gcc.rul 1.2 + * makefiles/RULES/i386-netbsd-cc.rul 1.7 + * makefiles/RULES/i386-unixware-gcc.rul 1.3 + * makefiles/RULES/i486-cygwin32_nt-gcc.rul 1.5 + * makefiles/RULES/i386-openserver-cc.rul 1.2 + * makefiles/RULES/i386-openbsd-gcc.rul 1.6 + * makefiles/RULES/i386-os2-gcc.rul 1.9 + * makefiles/RULES/i386-unixware-cc.rul 1.5 + * makefiles/RULES/i386-freebsd-cc.rul 1.5 + * makefiles/RULES/i386-bsd-os3-gcc.rul 1.5 + * makefiles/RULES/i386-bsd-os3-cc.rul 1.5 + * makefiles/RULES/bepc-beos-gcc.rul 1.6 + * makefiles/RULES/bepc-beos-cc.rul 1.5 + * makefiles/RULES/bemac-beos-mwcc.rul 1.4 + * makefiles/RULES/i386-bsd-os-gcc.rul 1.6 + * makefiles/RULES/i386-bsd-os-cc.rul 1.6 + * makefiles/RULES/i386-at386-gnu-gcc.rul 1.3 + * makefiles/RULES/i386-at386-gnu-cc.rul 1.3 + * makefiles/RULES/hppa-nextstep-gcc.rul 1.6 + * makefiles/RULES/hppa-nextstep-cc.rul 1.6 + * makefiles/RULES/dn5500-domainos-cc.rul 1.3 + * makefiles/RULES/dummy.dep 1.2 + * makefiles/RULES/alpha-osf1-gcc.rul 1.4 + * makefiles/RULES/9000-725-hp-ux-cc.rul 1.10 + * makefiles/RULES/bemac-beos-cc.rul 1.4 + * makefiles/RULES/alpha-osf1-cc.rul 1.4 + * makefiles/RULES/aviion-dgux4-cc.rul 1.5 + * makefiles/RULES/aviion-dgux3-cc.rul 1.5 + * makefiles/RULES/aviion-dgux4-gcc.rul 1.6 + * makefiles/RULES/9000-725-hp-ux-gcc.rul 1.6 + * makefiles/RULES/aviion-dgux3-gcc.rul 1.6 + Copyright J. Schilling neu + +Sun May 14 13:48:40 2006 joerg + * makefiles/RULES/version 1.2 + Version -> 1.5a03 + +Sun May 14 13:42:26 2006 joerg + * makefiles/RULES/MKLINKS 1.59 + i386-darwin-cc.rul/i386-darwin-gcc.rul neu + +Sun May 14 13:27:06 2006 joerg + * cdrecord/cdrecord.c 1.313 + Version -> 2.01.01a09 + GPL bezogene Hinweise im Kommentar beseitigt + SuSE spezifischer Code beseitigt + +Sat May 13 23:20:54 2006 joerg + * cdda2wav/setuid.c 1.14 + * cdda2wav/setuid.h 1.4 + * cdda2wav/ringbuff.h 1.7 + * cdda2wav/byteorder.h 1.5 + * cdda2wav/scsi_cmds.h 1.13 + * cdda2wav/resample.h 1.5 + * cdda2wav/sndconfig.h 1.4 + * cdda2wav/mytype.h 1.4 + * cdda2wav/global.h 1.13 + * cdda2wav/mycdrom.h 1.12 + * cdda2wav/mmsystem.h 1.6 + * cdda2wav/lowlevel.h 1.3 + * cdda2wav/sndfile.h 1.6 + * cdda2wav/semshm.h 1.5 + * cdda2wav/toc.h 1.10 + * cdda2wav/exitcodes.h 1.2 + * cdda2wav/ringbuff.c 1.13 + * cdda2wav/raw.c 1.6 + * cdda2wav/resample.c 1.21 + * cdda2wav/scsi_cmds.c 1.34 + * cdda2wav/semshm.c 1.18 + * cdda2wav/sndconfig.c 1.23 + * cdda2wav/cd_extra.c 1.13 + * cdda2wav/cd_text.c 1.7 + Generischer Lizenskommentar + +Sat May 13 22:31:29 2006 joerg + * cdda2wav/wav.c 1.6 + * cdda2wav/interface.h 1.16 + * cdda2wav/interface.c 1.44 + * cdda2wav/config.h 1.10 + * cdda2wav/aiff.c 1.7 + * cdda2wav/toc.c 1.64 + * cdda2wav/cdda2wav.c 1.69 + * cdda2wav/cdda2wav.h 1.8 + * cdda2wav/ioctl.c 1.27 + * cdda2wav/sun.c 1.6 + * cdda2wav/aifc.c 1.7 + GPL beseitigt + +Sat May 13 21:53:54 2006 joerg + * cdda2wav/cd_extra.c 1.12 + sccsid[] -> _sccsid[] + +Sat May 13 21:40:40 2006 joerg + * cdda2wav/toc.c 1.63 + Text fuer CDDB Copyright korrigiert + +Sat May 13 19:16:28 2006 joerg + * cdrecord/defaults.c 1.18 + * cdda2wav/cd_extra.c 1.11 + * cdda2wav/toc.c 1.62 + * cdda2wav/sndconfig.c 1.22 + * cdda2wav/resample.c 1.20 + * cdda2wav/cdda2wav.h 1.7 + * cdda2wav/semshm.c 1.17 + * cdda2wav/ringbuff.c 1.12 + * cdda2wav/scsi_cmds.c 1.33 + Copyright -> 2006 + +Sat May 13 19:08:23 2006 joerg + * cdda2wav/sndconfig.c 1.21 + * cdda2wav/toc.c 1.61 + * cdda2wav/semshm.c 1.16 + * cdda2wav/scsi_cmds.c 1.32 + * cdda2wav/ringbuff.c 1.11 + * cdda2wav/resample.c 1.19 + * cdda2wav/ioctl.c 1.26 + * cdda2wav/interface.c 1.43 + * cdda2wav/cdda2wav.c 1.68 + Weitere Umstellungen auf errmsg() + +Sat May 13 19:01:46 2006 joerg + * cdda2wav/Makefile 1.10 + Infrastruktur fuer make rel neu + +Sat May 13 16:45:56 2006 joerg + * cdda2wav/cd_extra.c 1.10 + fprintf(stderr -> errmsg + +Sat May 13 16:40:53 2006 joerg + * cdda2wav/setuid.c 1.13 + * cdda2wav/semshm.c 1.15 + * cdda2wav/sndconfig.c 1.20 + * cdda2wav/ringbuff.c 1.10 + * cdda2wav/resample.c 1.18 + * cdda2wav/ioctl.c 1.25 + * cdda2wav/toc.c 1.60 + perror -> errmsg + +Sat May 13 16:31:53 2006 joerg + * cdda2wav/interface.c 1.42 + * cdda2wav/scsi_cmds.c 1.31 + * cdda2wav/cdda2wav.c 1.67 + perror -> errmsg + FatalError() nun mit zusaetzlichem err Parameter + +Sat May 13 16:18:01 2006 joerg + * cdda2wav/cdda2wav.h 1.6 + FatalError() nun mit zusaetzlichem err Parameter + +Thu May 11 23:24:25 2006 joerg + * cdrecord/readcd.c 1.81 + * btcflash/skel.c 1.11 + * scgskeleton/skel.c 1.7 + * cdrecord/skel.c 1.7 + * cdrecord/drv_dvdplus.c 1.18 + * cdrecord/cdrecord.c 1.312 + * cdda2wav/resample.c 1.17 + * cdda2wav/sndconfig.c 1.19 + * cdda2wav/ioctl.c 1.24 + * cdda2wav/cdda2wav.c 1.66 + * cdda2wav/toc.c 1.59 + Cstyle + +Thu May 11 23:00:12 2006 joerg + * cdrecord/scsi_cdr.c 1.138 + Copyright -> 2006 + +Sun May 7 21:42:23 2006 joerg + * cdda2wav/mycdrom.h 1.11 + Cstyle + +Sun May 7 21:20:32 2006 joerg + * cdda2wav/mycdrom.h 1.10 + BSD HAVE_IOCTL_INTERFACE Definitionen korrigiert - nun hofentlich OK + +Sat May 6 18:20:59 2006 joerg + * libparanoia/cdda_paranoia.h 1.21 + * libparanoia/gap.c 1.13 + * libparanoia/paranoia.c 1.34 + * libparanoia/p_block.h 1.17 + * libparanoia/p_block.c 1.20 + * libparanoia/overlap.h 1.8 + * libparanoia/isort.h 1.11 + * libparanoia/gap.h 1.11 + * libparanoia/overlap.c 1.12 + * libparanoia/isort.c 1.15 + GPL -> LGPL mit Erlaubnis von Monty + +Tue May 2 22:08:58 2006 joerg + * cdda2wav/toc.c 1.58 + * cdda2wav/cdda2wav.c 1.65 + * cdda2wav/scsi_cmds.c 1.30 + * cdda2wav/resample.c 1.16 + * cdda2wav/interface.c 1.41 + * cdda2wav/ioctl.c 1.23 + * cdda2wav/sndconfig.c 1.18 + * cdda2wav/cd_text.c 1.6 + * cdda2wav/md5c.c 1.4 + * cdda2wav/semshm.c 1.14 + * cdda2wav/cd_extra.c 1.9 + * cdda2wav/setuid.c 1.12 + * cdda2wav/ringbuff.c 1.9 + Cstyle + +Mon May 1 16:18:16 2006 joerg + * cdda2wav/aiff.c 1.6 + * cdda2wav/sun.c 1.5 + * cdda2wav/raw.c 1.5 + * cdda2wav/wav.c 1.5 + * cdda2wav/aifc.c 1.6 + Ctyle + WriteSound nun mit size_t Parameter damit es kompatibel zu write() wird + +Mon May 1 16:17:20 2006 joerg + * cdda2wav/sndfile.h 1.5 + WriteSound nun mit size_t Parameter damit es kompatibel zu write() wird + +Sun Apr 30 02:11:20 2006 joerg + * cdda2wav/base64.c 1.6 + Cstyle + +Sun Apr 30 02:04:32 2006 joerg + * cdda2wav/base64.c 1.5 + * cdda2wav/base64.h 1.3 + Code ist nicht GPL sondern BSDv2 + +Wed Apr 19 13:45:46 2006 joerg + * cdda2wav/config.h 1.9 + * cdda2wav/config.h 1.8 + * cdda2wav/global.h 1.12 + * cdda2wav/md5.h 1.3 + * cdda2wav/saveargs.h 1.3 + * cdda2wav/interface.h 1.15 + * cdda2wav/mmsystem.h 1.5 + * cdda2wav/cdda2wav.h 1.5 + * cdda2wav/byteorder.h 1.4 + * cdda2wav/mytype.h 1.3 + * cdda2wav/resample.h 1.4 + Cstyle + +Wed Apr 19 09:50:14 2006 joerg + * cdda2wav/ringbuff.h 1.6 + * cdda2wav/scsi_cmds.h 1.12 + Cstyle & abgesichert + +Tue Apr 18 14:59:37 2006 joerg + * cdda2wav/semshm.h 1.4 + * cdda2wav/setuid.h 1.3 + * cdda2wav/sndconfig.h 1.3 + Cstyle & abgesichert + +Tue Apr 18 14:46:03 2006 joerg + * cdda2wav/sha_func.c 1.4 + * cdda2wav/sha.h 1.5 + Cstyle + Code ist nicht GPL sondern Public Domain + +Sun Mar 19 14:29:41 2006 joerg + * cdrecord/cdrecord.c 1.311 + PRIV_DEBUG -> PRIVILEGES_DEBUG weil PRIV_DEBUG schon in definiert ist + +Fri Mar 17 14:13:31 2006 joerg + * makefiles/RULES/MKLINKS 1.58 + mips64-linux-cc.rul/mips64-linux-gcc.rul neu + +Sun Feb 26 19:01:09 2006 joerg + * cdrecord/scsi_mmc.c 1.14 + Profil 0x016 "DVD-R/DL layer jump recording" neu + +Fri Feb 24 11:54:30 2006 joerg + * cdrecord/drv_mmc.c 1.164 + driveropts=gigarec=0.8,varirec=0 gab den Fehler: cdrecord: Bad gigarec value '0.8,varirec=0'. (von Stefano Vesa ) + +Sun Feb 19 16:14:42 2006 joerg + * cdda2wav/sndfile.h 1.4 + * cdda2wav/toc.h 1.9 + Cstyle + +Sun Feb 19 16:05:02 2006 joerg + * cdda2wav/toc.c 1.57 + GCC Hidden variable 'p' vermeiden + +Sun Feb 19 15:41:17 2006 joerg + * cdda2wav/mycdrom.h 1.9 + * cdda2wav/cdda2wav.c 1.64 + * cdda2wav/ioctl.c 1.22 + * cdda2wav/interface.c 1.40 + * cdda2wav/interface.h 1.14 + * cdda2wav/setuid.c 1.11 + Copyright -> 2006 + +Sun Feb 19 15:22:21 2006 joerg + * cdda2wav/cdda2wav.c 1.63 + kill(getppid(), SIGINT) kann nun nicht mehr das System herunterfahren wenn getppid() 1 liefert weil unser Vater tot ist + +Sun Feb 19 15:10:10 2006 joerg + * cdda2wav/interface.c 1.39 + Ab FreeBSD 600021 sind alle Major Device Nummern 0. Hinweis von Marius Strobl + +Sat Feb 18 23:17:40 2006 joerg + * libfind/cmpdir.c 1.15 + * libfind/fetchdir.c 1.15 + cmpdir() korrigiert, so dasz gleichlange Directories bei denen das letzte Element unertschiedlich ist korrekt behandelt werden + +Wed Feb 15 03:16:39 2006 joerg + * cdda2wav/semshm.c 1.13 + * cdda2wav/cdda2wav.c 1.62 + comerr() -> comerrno() fuer BeOS *_area() Aufrufe + +Wed Feb 15 02:57:29 2006 joerg + * cdrecord/defaults.c 1.17 + Uninitialisierte Variable bei fehlendem /etc/default/cdrecord & CDR_MAXFIFOSIZE= korrigiert + +Wed Feb 15 02:30:37 2006 joerg + * cdda2wav/ioctl.c 1.21 + * cdda2wav/interface.c 1.36 + * cdda2wav/mycdrom.h 1.8 + __DragonFly__ Support neu + +Wed Feb 15 02:07:45 2006 joerg + * cdda2wav/configure.in 1.8 + * cdda2wav/lconfig.h.in 1.6 + Test aus sys/cdrio.h neu + +Wed Feb 15 01:59:52 2006 joerg + * cdda2wav/interface.c 1.38 + priv_init()/priv_on()/priv_off() neu fuer Solaris 10 + +Wed Feb 15 01:58:57 2006 joerg + * cdda2wav/interface.c 1.37 + Umstellungen fuer Linux RLIMIT_MEMLOCK Problem mit init_scsibuf() + +Wed Feb 15 00:57:15 2006 joerg + * cdda2wav/mycdrom.h 1.7 + FreeBSD Inteface Anpassungen umgestellt + +Wed Feb 15 00:35:31 2006 joerg + * cdda2wav/autoconf_ 1.1 + date and time created 06/02/15 00:35:31 by joerg + +Tue Feb 14 11:26:06 2006 joerg + * cdda2wav/setuid.c 1.10 + Support fuer DragonFly BSD neu + +Sun Feb 12 18:40:16 2006 joerg + * libfind/find_main.c 1.39 + * libfind/find.c 1.39 + Sonderbehandlung fuer sfind gegen star beseitigt + +Thu Feb 9 00:15:05 2006 joerg + * cdrecord/cdrecord.c 1.310 + Version -> 2.01.01a06 + +Thu Feb 9 00:10:31 2006 joerg + * cdrecord/cdrecord.1 1.106 + * cdrecord/defaults.c 1.16 + CDR_MAXFIFOSIZE= neu fuer /etc/default/cdrecord + +Wed Feb 8 23:50:41 2006 joerg + * rscsi/Makefile.man 1.1 + date and time created 06/02/08 23:50:41 by joerg + +Wed Feb 8 23:44:35 2006 joerg + * mkisofs/diag/isodebug_man.mk 1.1 + date and time created 06/02/08 23:44:35 by joerg + +Wed Feb 8 23:40:16 2006 joerg + * mkisofs/diag/isovfy.mk 1.5 + * mkisofs/diag/dump.mk 1.5 + * mkisofs/diag/isoinfo.mk 1.6 + * mkisofs/diag/isodump.mk 1.5 + * mkisofs/diag/isodebug.mk 1.3 + Neue xxx_man.mk Makefiles + +Wed Feb 8 23:39:10 2006 joerg + * mkisofs/diag/devdump_man.mk 1.1 + * mkisofs/diag/isodump_man.mk 1.1 + * mkisofs/diag/isovfy_man.mk 1.1 + * mkisofs/diag/isoinfo_man.mk 1.1 + date and time created 06/02/08 23:39:10 by joerg + +Wed Feb 8 23:38:05 2006 joerg + * mkisofs/diag/isodebug.8 1.1 + date and time created 06/02/08 23:38:05 by joerg + +Wed Feb 8 23:19:59 2006 joerg + * mkisofs/diag/isodump.8 1.1 + * mkisofs/diag/isovfy.8 1.1 + * mkisofs/diag/devdump.8 1.1 + date and time created 06/02/08 23:19:59 by joerg + +Wed Feb 8 23:14:28 2006 joerg + * btcflash/Makefile.man 1.1 + date and time created 06/02/08 23:14:28 by joerg + +Wed Feb 8 23:13:24 2006 joerg + * btcflash/btcflash.1 1.2 + p -> btcflash + +Wed Feb 8 23:12:39 2006 joerg + * btcflash/btcflash.1 1.1 + date and time created 06/02/08 23:12:39 by joerg + +Wed Feb 8 23:12:29 2006 joerg + * btcflash/skel.c 1.10 + f= Option korrigiert + +Wed Feb 8 20:50:48 2006 joerg + * cdrecord/drv_dvdplus.c 1.17 + Workaround fuer Pioneer DVD+ close session bug + +Wed Feb 8 20:48:45 2006 joerg + * cdrecord/fifo.c 1.49 + Copyright -> 2006 + +Wed Feb 8 01:03:01 2006 joerg + * cdrecord/fifo.c 1.48 + Support fuer BeOS shard memory areas neu + +Tue Feb 7 17:23:13 2006 joerg + * autoconf/xconfig.h.in 1.92 + * autoconf/configure.in 1.91 + BeOS/Zeta Test fuer clone_area()/create_area()/delete_area() neu + +Mon Feb 6 23:14:58 2006 joerg + * cdrecord/cdrecord.c 1.309 + write_secs() wartet nun nicht mehr 100 ms bei scsi_in_progress() sondern 10ms..60ms wegen Pioneer A010 und Buffer unerrun bei 1 MB Cache und 16x DVD Brennen + +Sun Feb 5 17:01:38 2006 joerg + * libfind/find_list.c 1.10 + * libfind/find_main.c 1.38 + * libfind/find.c 1.38 + HAVE_ST_BLOCKS neu + +Sun Feb 5 16:58:50 2006 joerg + * libscg/scsi-beos.c 1.23 + Fehlerbehandlung korrigiert + +Sun Feb 5 16:04:46 2006 joerg + * scgcheck/dmaresid.c 1.7 + DMA Overrun test repariert + +Sun Feb 5 15:22:47 2006 joerg + * libfind/find.h 1.5 + * libfind/walk.h 1.10 + * libfind/find_main.c 1.37 + * include/schily/walk.h 1.10 + * include/schily/find.h 1.5 + * libfind/find.c 1.37 + -maxdepth/-mindepth neu + +Sun Feb 5 15:14:05 2006 joerg + * cdrecord/readcd.c 1.80 + Hack end = 10000000; korrigiert + +Sun Feb 5 15:10:59 2006 joerg + * btcflash/skel.c 1.9 + * cdrecord/readcd.c 1.79 + * scgskeleton/skel.c 1.6 + * cdrecord/skel.c 1.6 + Weiterer -scanbus Fehler beseitigt + +Sun Feb 5 13:47:18 2006 joerg + * autoconf/configure.in 1.90 + * autoconf/xconfig.h.in 1.91 + Test auf /dev/tty neu + +Sun Feb 5 12:58:13 2006 joerg + * makefiles/RULES/bepc-beos-cc.rul 1.4 + * makefiles/RULES/bepc-beos-gcc.rul 1.5 + CONFFLAGS= beseitigen + LIB_SOCKET= ---> -lsocket -lbind neu + +Wed Feb 1 20:09:47 2006 joerg + * mkisofs/write.c 1.88 + ???) -> ??%s) + "?" gegen GCC bad trigraph Meldung + +Mon Jan 30 15:48:48 2006 joerg + * makefiles/RULES/MKLINKS 1.57 + armv5teb-linux neu + +Mon Jan 30 11:44:13 2006 joerg + * include/schily/xmconfig.h 1.30 + * libscg/scsihack.c 1.44 + * mkisofs/defaults.h 1.19 + DragonFly BSD neu + +Mon Jan 30 11:37:29 2006 joerg + * mkisofs/mkisofs.c 1.167 + Version -> 2.01.01a05 + +Sun Jan 29 21:46:50 2006 joerg + * cdda2wav/cdda2wav.c 1.61 + * cdda2wav/interface.h 1.13 + priv_on()/priv_off() fuer Solaris fine grained privs + +Sun Jan 29 20:52:03 2006 joerg + * cdrecord/cdrecord.c 1.308 + SuSE Warnung deaktiviert + +Sun Jan 29 20:38:49 2006 joerg + * cdrecord/cdrecord.c 1.307 + raise_memlock() fuer Linux neu + Unterstuetzung fuer PRIV_FILE_DAC_READ, PRIV_NET_PRIVADDR, PRIV_SYS_DEVICES PRIV_PROC_PRIOCNTL, PRIV_NET_PRIVADDR + +Sun Jan 29 20:33:47 2006 joerg + * cdrecord/readcd.c 1.78 + Suid spezialbehandlung nun auch bei pfexec + +Sun Jan 29 15:53:19 2006 joerg + * scgskeleton/skel.c 1.5 + * cdrecord/skel.c 1.5 + * cdrecord/readcd.c 1.77 + * btcflash/skel.c 1.7 + Unterstuetzung fuer PRIV_FILE_DAC_READ, PRIV_NET_PRIVADDR, PRIV_SYS_DEVICES + +Sun Jan 29 15:43:08 2006 joerg + * scgskeleton/skel.c 1.4 + * cdrecord/readcd.c 1.76 + * cdrecord/skel.c 1.4 + -scanbus funktioniert nun + +Sun Jan 29 15:40:43 2006 joerg + * btcflash/skel.c 1.8 + Abbruch mit usage() wenn kein SCSI Geraet angegeben wurde + +Sat Jan 28 16:21:00 2006 joerg + * btcflash/skel.c 1.6 + Usage korrigiert und -version + (C) 2004 David Huang + +Sat Jan 28 16:04:32 2006 joerg + * btcflash/skel.c 1.5 + Copyright -> 2006 + -scanbus funktioniert nun + +Sat Jan 28 00:19:07 2006 joerg + * autoconf/xconfig.h.in 1.90 + * autoconf/configure.in 1.89 + priv_set() Test neu + +Fri Jan 27 11:32:16 2006 joerg + * makefiles/RULES/MKLINKS 1.56 + DragonFly BSD + +Fri Jan 27 11:05:23 2006 joerg + * makefiles/RULES/os-dragonfly.id 1.1 + * makefiles/RULES/os-dragonfly.def 1.1 + date and time created 06/01/27 11:05:23 by joerg + +Mon Jan 23 11:59:09 2006 joerg + * autoconf/xconfig.h.in 1.89 + * autoconf/configure.in 1.88 + lgetxattr() lsetxattr() llistxattr() Test fuer Linux neu + +Sun Jan 22 18:26:52 2006 joerg + * cdrecord/cdrecord.c 1.306 + padsize=xxx wirkt nun wie in der Manpage beschrieben nur fuer das naechste File + +Tue Jan 17 17:20:05 2006 joerg + * makefiles/RULES/rules.tpk 1.3 + * makefiles/RULES/rules.hlp 1.10 + * makefiles/RULES/rules1.top 1.32 + tarpkg ueberarbeitet + +Tue Jan 17 16:58:30 2006 joerg + * makefiles/RULES/MKLINKS 1.55 + sun4v neu + sun4*cc64 neu + +Tue Jan 17 16:56:26 2006 joerg + * makefiles/RULES/sun4-sunos5-gcc64.rul 1.1 + * makefiles/RULES/i86pc-sunos5-gcc64.rul 1.1 + date and time created 06/01/17 16:56:26 by joerg + +Fri Jan 13 14:10:08 2006 joerg + * libfind/find_main.c 1.36 + * libfind/find.c 1.36 + Schreibfehler is st_* -> if st_* + +Fri Jan 13 01:04:23 2006 joerg + * libfind/walk.c 1.10 + call walkhome() nach walk() in treewalk() + +Thu Jan 12 02:05:14 2006 joerg + * libscg/scsi-remote.c 1.18 + ppriv_ok() statt (geteuid() == 0) bei SOlaris & HAVE_GETPPRIV + +Thu Jan 12 01:31:22 2006 joerg + * cdrecord/cdrecord.c 1.305 + * mkisofs/mkisofs.c 1.166 + Version -> 2.01.01a04 + +Thu Jan 12 00:26:07 2006 joerg + * include/schily/schily.h 1.54 + * cdrecord/drv_mmc.c 1.163 + * cdrecord/readcd.1 1.23 + * cdrecord/Makefile 1.32 + * cdrecord/cdrecord.c 1.304 + Copyright -> 2006 + +Thu Jan 12 00:03:30 2006 joerg + * cdrecord/drv_mmc.c 1.162 + Schreibfehler beseitigt + +Thu Jan 5 15:34:42 2006 joerg + * cdda2wav/cdda2wav.c 1.60 + Added a workaround for the _POSIX_PRIORITY_SCHEDULING behavior on MacosX: defined but not supported + Hint from Emanuele Giaquinta + +Tue Dec 20 12:41:02 2005 joerg + * autoconf/xconfig.h.in 1.88 + * autoconf/rules.cnf.in 1.7 + * autoconf/configure.in 1.87 + RBAC & ppriv Tests neu + +Tue Nov 22 23:09:39 2005 joerg + * libscg/scsi-linux-sg.c 1.86 + Fix fuer #undef __user bei Linux-2.6.8.11 + +Sun Nov 20 22:05:13 2005 joerg + * libscg/scsi-sun.c 1.83 + Warnung fuer "Medialess Drives" bei aktivem volmgt fuer Solaris 11 deaktiviert + +Thu Nov 17 17:12:59 2005 joerg + * makefiles/RULES/rules.rel 1.5 + unifdef & chmod duerfen scheitern + +Wed Nov 16 23:30:11 2005 joerg + * autoconf/configure.in 1.86 + * autoconf/xconfig.h.in 1.87 + tcgetpgrp() / tcsetpgrp() Test neu + +Sat Nov 12 19:46:12 2005 joerg + * makefiles/RULES/MKLINKS 1.54 + sun4-sunos5-cc64.rul neu + +Fri Nov 11 14:57:19 2005 joerg + * conf/setup.sh 1.16 + do_compile()::smake -> smake CC="$CC" CFLAGS=-O + ./configure <-> ./Configure nimmt nun elif wegen Cygwin + +Tue Nov 8 00:37:03 2005 joerg + * libfind/walk.c 1.9 + Zweiter Stat Aufruf wenn ein "autofs" File gefunden wurde. Damit kommen korrekte st_dev/st_ino Werte in den dir cache + +Tue Nov 8 00:11:35 2005 joerg + * libfind/walk.c 1.8 + * autoconf/configure.in 1.85 + * autoconf/xconfig.h.in 1.86 + HAVE_DECL_STAT/HAVE_DECL_LSTAT neu + +Mon Nov 7 23:56:36 2005 joerg + * autoconf/aclocal.m4 1.44 + AC_CHECK_DECLARE neu + +Mon Nov 7 22:49:07 2005 joerg + * libfind/walk.c 1.7 + walkhome() erzeugt keinen Fehler mehr wenn WHome nicht initialisiert ist + xchdotdot() stellt nun Curdir[tail] wieder her + +Mon Nov 7 22:45:58 2005 joerg + * include/schily/walk.h 1.9 + * libfind/walk.h 1.9 + Kommentar verbessert + +Sun Nov 6 14:55:10 2005 joerg + * include/schily/utypes.h 1.15 + LLONG_MIN LLONG_MAX ULLONG_MAX neu + +Sun Nov 6 00:45:14 2005 joerg + * libfind/find_main.c 1.35 + * libfind/find.c 1.35 + getsperm(char *p, node *t, ...) -> getsperm(char *p, mode_t *mp, ...) + +Sun Nov 6 00:36:28 2005 joerg + * libfind/find.c 1.34 + * libfind/find_main.c 1.34 + getperm()/getsperm()/isperm() nun mit zusaetzlichem isX Parameter fuer -chmod *'X' + 07777 -> S_ALLMODES + +Sat Nov 5 22:20:02 2005 joerg + * cdda2wav/toc.c 1.56 + Returnwert von realloc() wird nun nicht mehr ignoriert + +Sat Nov 5 15:18:37 2005 joerg + * cdrecord/cdrecord.c 1.303 + ultraspeed CD-RW SPeed Test korrigiert + +Tue Nov 1 21:27:32 2005 joerg + * libfind/find.h 1.4 + * libfind/find_main.c 1.33 + * libfind/find.c 1.33 + * include/schily/find.h 1.4 + find_pname() neu + FHome beseitigt und durch walkhome() ersetzt + +Tue Nov 1 21:24:01 2005 joerg + * include/schily/walk.h 1.8 + * libfind/walk.c 1.6 + * libfind/walk.h 1.8 + Copyright -> 2005 + WALK_NOEXIT neu + WALK_PRUNE/WALK_NOCHDIR -> WALK_WF_PRUNE/WALK_WF_NOCHDIR + WALK_WF_NOCWD/WALK_WF_NOHOME neu + walkhome()/walkclose() neu + +Tue Nov 1 16:01:47 2005 joerg + * libfind/find_misc.c 1.6 + * libfind/find_list.c 1.9 + * libfind/find_list.h 1.4 + Copyright -> 2005 + +Tue Nov 1 00:19:21 2005 joerg + * libfind/find_main.c 1.32 + * libfind/find.h 1.3 + * include/schily/find.h 1.3 + * libfind/find.c 1.32 + find_plusflush() nun mit void * Pointer aud struct plusargs *plusp statt finda_t *fap + +Tue Nov 1 00:01:41 2005 joerg + * include/schily/find.h 1.2 + * libfind/find.c 1.31 + * libfind/find.h 1.2 + * libfind/find_main.c 1.31 + find_primary()/find_firstprim() neu + +Mon Oct 31 23:38:49 2005 joerg + * libfind/find.c 1.30 + * libfind/find_main.c 1.30 + usage() enthaelt nun Texte fuer -chown/-chgrp/-chmod + +Mon Oct 31 23:32:50 2005 joerg + * libfind/find.c 1.29 + * libfind/find_main.c 1.29 + -chown/-chgrp/-chmod neu + +Mon Oct 31 23:19:33 2005 joerg + * libfind/find.h 1.1 + * include/schily/find.h 1.1 + date and time created 05/10/31 23:19:33 by joerg + +Mon Oct 31 23:18:33 2005 joerg + * libfind/find_main.c 1.28 + * libfind/find.c 1.28 + Support fuer state->pflags & state->lname neu + getperm()/getsperm() vorbereitet fuer -chmod + +Mon Oct 31 23:14:20 2005 joerg + * libfind/find_list.c 1.8 + lnamep Initialisierung so dasz GCC nicht wegen "might be uninialized" meckert + +Mon Oct 31 23:12:27 2005 joerg + * libfind/find_list.c 1.7 + * libfind/find_list.h 1.3 + Support fuer state->pflags & state->lname neu + +Mon Oct 31 22:29:14 2005 joerg + * libfind/find_main.c 1.27 + * libfind/find.c 1.27 + find_expr() nicht mehr "inline" wenn EXPORT + getflg()/main() Prototypen deaktivieren wenn FIND_MAIN nicht definiert ist + +Mon Oct 31 21:38:46 2005 joerg + * libfind/find_list.c 1.6 + * libfind/find.c 1.26 + * libfind/find_main.c 1.26 + * libfind/find_misc.c 1.5 + list.[hc] -> find_list.[hc] + misc.[hc] -> find_misc.[hc] + +Mon Oct 31 21:06:23 2005 joerg + * libfind/find.c 1.25 + * libfind/find_main.c 1.25 + Copyright -> 2005 + Version -> 1.2 + init_findargs()/find_parse()/find_plusflush() neu + die meisten globalen Variabel beseitigt + BOOL have_print -> LOCAL node Printnode = { 0, 0, 0, PRINT }; + "Found '%s', but ')' expected.\n" nun mit korrektem fap->Argv[-1] Argument + +Sun Oct 30 15:03:12 2005 joerg + * libfind/find.c 1.24 + * libfind/find_main.c 1.24 + find_token()/find_tname() neu + +Sun Oct 30 14:30:21 2005 joerg + * libfind/find.c 1.23 + * libfind/find_main.c 1.23 + ENDARGS -> ENDPRIM, ENDARGS -> find.h + +Sun Oct 30 14:18:36 2005 joerg + * libfind/find_list.c 1.5 + * libfind/find_list.h 1.2 + * libfind/find.c 1.22 + * libfind/find_main.c 1.22 + list() -> find_list() + +Sun Oct 30 13:41:18 2005 joerg + * libfind/find_main.c 1.21 + * libfind/find.c 1.21 + * libfind/walk.c 1.5 + * include/schily/walk.h 1.7 + * libfind/walk.h 1.7 + treewalk() umgebaut auf struct WALK * Parameter + +Sun Oct 30 12:38:04 2005 joerg + * libfind/walk.c 1.4 + Return -1/(errno=EINVAL) wenn (flags & WALK_CHDIR) == 0 + while Schleife ueber alle stat Aufrufe wenn errno == EINTR + +Tue Oct 25 00:00:00 2005 joerg + * libsiconv/tables/koi8-u 1.1 + date and time created 05/10/25 00:00:00 by joerg + +Sun Oct 23 14:51:45 2005 joerg + * libschily/libschily-mapvers 1.2 + SCHILY_1.1 mit astoull/astoullb neu + +Wed Oct 19 11:48:37 2005 joerg + * libfind/find_main.c 1.20 + * libfind/find.c 1.20 + -true/-false neu + +Fri Oct 14 10:34:15 2005 joerg + * include/schily/utypes.h 1.14 + OTT_T_MAX/OFF_T_MIN und aenhliches neu + +Thu Oct 13 11:30:11 2005 joerg + * libfind/idcache.c 1.16 + nameuid()/namegid() liefern nun immer nobody wenn der Return Wert FALSE ist + +Tue Oct 11 10:51:05 2005 joerg + * autoconf/configure.in 1.84 + * autoconf/xconfig.h.in 1.85 + major_t/minor_t neu + +Wed Oct 5 00:18:34 2005 joerg + * include/schily/schily.h 1.53 + astoull() / astoullb() neu + +Mon Sep 12 16:32:54 2005 joerg + * include/schily/utypes.h 1.13 + #include sys/param.h fuer NBBY neu + TYPE_ISUNSIGNED(t) neu + +Mon Sep 12 15:53:17 2005 joerg + * include/schily/utypes.h 1.12 + Neuer Typ ULlong (langfristig statt Ullong) + +Sat Sep 3 00:29:33 2005 joerg + * include/schily/checkerr.h 1.8 + * libschily/checkerr.c 1.13 + checkerr=WARN|... neu + errwarnonly() fuer checkerr=WARN neu + BOOL dchangeflag -> errconfig("WARN|GROW|SHRINK *"); + +Mon Aug 29 15:43:09 2005 joerg + * cdrecord/readcd.1 1.22 + Schreibfehler maimum -> maximum + +Sun Aug 28 20:47:13 2005 joerg + * libschily/checkerr.c 1.12 + ec_state = __malloc() -> ec_state = __realloc(ec_state, ...) + +Sun Aug 28 17:37:31 2005 joerg + * libschily/checkerr.c 1.11 + errctl= kann nun auch direkt errror control Spezifikationen als errctl= Parameter + Es koennen nun mehrere errctl= Optionen verwendet werden. + +Sun Aug 28 13:10:38 2005 joerg + * include/schily/checkerr.h 1.7 + * libschily/checkerr.c 1.10 + errabort() neu + Neue errctl= identifier: ABORT, ALL, DIFF + Neue Option -e (Sun star error abort exit()) + +Mon Aug 22 00:01:41 2005 joerg + * include/schily/time.h 1.13 + #undef timeradd/timersub neu wegen FreeBSD + +Thu Aug 18 12:14:22 2005 joerg + * libschily/stdio/fileopen.c 1.11 + * libschily/stdio/filemopen.c 1.4 + _fcons() Flag | FI_CLOSE damit file bei fdopen() Problemen geschlossen wird + +Sun Aug 14 17:48:08 2005 joerg + * include/schily/time.h 1.12 + timeradd() / timersub neu + +Tue Aug 9 15:21:53 2005 joerg + * makefiles/RULES/rules.tpk 1.2 + $(MAKE_FILE) neu + POST_STRIP_CMDS neu + +Tue Aug 9 15:19:58 2005 joerg + * rscsi/Makefile 1.4 + Makefile.dfl neu + +Tue Aug 9 15:19:33 2005 joerg + * rscsi/Makefile.dfl 1.1 + date and time created 05/08/09 15:19:33 by joerg + +Tue Aug 9 15:19:20 2005 joerg + * rscsi/default-rscsi.sample 1.1 + date and time created 05/08/09 15:19:20 by joerg + +Tue Aug 9 15:19:20 2005 joerg + * rscsi/rscsi.dfl 1.3 + Bessere Deafults + +Tue Aug 9 15:18:27 2005 joerg + * cdrecord/Makefile.dfl 1.1 + date and time created 05/08/09 15:18:27 by joerg + +Tue Aug 9 15:18:09 2005 joerg + * cdrecord/Makefile 1.31 + cdrecord.dfl Makefile.dfl neu + +Tue Aug 9 15:17:41 2005 joerg + * cdrecord/cdrecord.dfl 1.5 + CDR_SECURITY= neu + +Sun Aug 7 18:13:55 2005 joerg + * libfind/find_main.c 1.19 + * libfind/find.c 1.19 + -sparse neu + Bessere -exec + Debugs + -exec + flusht nun korrekt die letzten Argumente am Ende + +Sun Aug 7 16:50:48 2005 joerg + * mkisofs/write.c 1.87 + Bessere shrink/grow Erkennung + +Sun Aug 7 16:22:00 2005 joerg + * mkisofs/write.c 1.86 + "File '%s' did shrink.\n" error Message neu + +Sat Aug 6 16:06:18 2005 joerg + * makefiles/RULES/rules1.top 1.31 + cc-config.sh $(C_ARCH) -> cc-config.sh $(C_ARCH:%64=%) damit CCOM=cc64 geht + +Sat Aug 6 16:05:33 2005 joerg + * makefiles/RULES/rules.sps 1.10 + * makefiles/RULES/rules1.top 1.30 + * makefiles/RULES/rules.hlp 1.9 + Neue Targets tarpkg tarpkg1 & neues Rule File rules.tpk + +Sat Aug 6 16:03:23 2005 joerg + * makefiles/RULES/rules.tpk 1.1 + date and time created 05/08/06 16:03:23 by joerg + +Sat Aug 6 14:50:17 2005 joerg + * libedc/shledc.mk 1.2 + * libedc/libedc.mk 1.5 + -fast ist ein Makro fuer -O5 -xarch=generic, wir muessen also bei CCOM=cc64 aufpassen + +Sun Jul 31 22:37:11 2005 joerg + * libschily/Targets 1.1 + date and time created 05/07/31 22:37:11 by joerg + +Fri Jul 29 02:10:02 2005 joerg + * libfind/idcache.c 1.15 + uid_nobody / gid_nobody -> EXPORT + +Thu Jul 28 13:16:23 2005 joerg + * conf/oarch.sh 1.9 + MARCH & PARCH dirch $ARCH ueberschreiben (wie in rules1.top) + +Thu Jul 28 12:27:38 2005 joerg + * conf/oarch.sh 1.8 + * makefiles/RULES/mk-gmake.id 1.14 + tr ',/' ',-' -> tr ',/' ',\-' weil /usr/ucb/tr auf Solaris sonst eine Endlosschleife bringt + +Thu Jul 28 12:26:42 2005 joerg + * conf/cc-config.sh 1.7 + erweiterte Warnung fuer /usr/ucb/cc auf Solaris + +Wed Jul 27 01:10:54 2005 joerg + * libfind/idcache.c 1.14 + Copyright -> 2005 + +Tue Jul 26 14:49:03 2005 joerg + * libfind/find_list.c 1.4 + comments? nameuid()/namegid() nun mit uid_t/gid_t Parameter + +Tue Jul 26 14:16:07 2005 joerg + * libfind/idcache.c 1.13 + nameuid()/namegid()uidname()/gidname() verwenden nun uid_t/gid_t Parameter + info->f_uid/info->f_gid nun auch uid_t/gid_t + Globale Variable uid -> my_uid + +Sat Jul 23 23:02:23 2005 joerg + * libschily/checkerr.c 1.9 + Copyright -> 2005 + +Fri Jul 22 14:57:05 2005 joerg + * conf/setup.sh 1.15 + gpatch Symlink neu + +Thu Jul 14 16:06:24 2005 joerg + * conf/cc-config.sh 1.6 + LC_ALL=C / LANG=C damit Meldungen (die ausgewertet werden) in Englisch kommen + eval bei Compiler Tests verwenden um unerwartete command not found Ausgaben zu unterdruecken + +Thu Jul 14 13:35:21 2005 joerg + * autoconf/acspecific.m4 1.4 + Nun wird unteschieden zwischen "compiler cannot create executables." und "C compiler ${CC-cc} not found." + +Tue Jul 12 16:18:23 2005 joerg + * autoconf/aclocal.m4 1.43 + AC_CHECK_MINOR_BITS & AC_CHECK_MINOR_NONCONTIG testen nun auch bis 64 Bits + +Sun Jul 10 13:16:24 2005 joerg + * makefiles/RULES/rules.hlp 1.8 + * makefiles/RULES/rules1.top 1.29 + make .version neu + +Sun Jul 10 13:09:05 2005 joerg + * makefiles/RULES/version 1.1 + date and time created 05/07/10 13:09:05 by joerg + +Fri Jul 8 14:54:58 2005 joerg + * makefiles/RULES/rules.sps 1.9 + MAKEOPTS neu + $(POSTCONFIG) Rule neu + ../../$(SRC_DIR)/$(CONFSCRIPT) -> $(PCONFSCRIPT) + +Thu Jul 7 15:27:26 2005 joerg + * makefiles/RULES/rules.sps 1.8 + LNDIR_PRG neu + +Thu Jul 7 15:11:22 2005 joerg + * conf/setup.sh 1.14 + * conf/src-get 1.18 + lndir neu in bins/ + +Mon Jul 4 15:05:33 2005 joerg + * makefiles/RULES/rules.sps 1.7 + [ ! -f config.status ] lieferte im Erfolgsfall != 0 + +Mon Jul 4 14:13:21 2005 joerg + * makefiles/RULES/rules.sps 1.6 + CONF_SCRIPT neu + +Fri Jun 17 09:04:16 2005 joerg + * makefiles/RULES/rules.sps 1.5 + MAKEMACS neu + +Mon Jun 13 01:26:56 2005 joerg + * libscg/libscg.mk 1.1 + date and time created 05/06/13 01:26:56 by joerg + +Mon Jun 13 01:26:31 2005 joerg + * libscg/shlrscg.mk 1.1 + * libscg/shlscg.mk 1.1 + date and time created 05/06/13 01:26:31 by joerg + +Mon Jun 13 01:25:51 2005 joerg + * libparanoia/paranoia.mk 1.1 + * libparanoia/shlparanoia.mk 1.1 + date and time created 05/06/13 01:25:51 by joerg + +Mon Jun 13 01:25:12 2005 joerg + * libhfs_iso/shlhfs.mk 1.1 + date and time created 05/06/13 01:25:12 by joerg + +Mon Jun 13 01:24:39 2005 joerg + * libfile/shlfile.mk 1.1 + date and time created 05/06/13 01:24:39 by joerg + +Mon Jun 13 01:24:17 2005 joerg + * libedc/shledc.mk 1.1 + date and time created 05/06/13 01:24:17 by joerg + +Mon Jun 13 01:23:36 2005 joerg + * libdeflt/libdeflt.mk 1.1 + * libdeflt/shldeflt.mk 1.1 + date and time created 05/06/13 01:23:36 by joerg + +Mon Jun 13 01:13:05 2005 joerg + * makefiles/RULES/rules.shl 1.7 + SYMLINKS += $(TARGET_BASE).so neu + +Mon Jun 13 01:12:40 2005 joerg + * makefiles/RULES/rules.sps 1.4 + MAKE="$MAKE" -> MAKE="$(MAKE)" korrigiert + +Mon Jun 13 01:10:06 2005 joerg + * makefiles/RULES/sun4-sunos5-cc.rul 1.7 + * makefiles/RULES/sun4-sunos5-gcc.rul 1.7 + * makefiles/RULES/i86pc-sunos5-gcc.rul 1.7 + * makefiles/RULES/sun4-sunos5-cc64.rul 1.2 + * makefiles/RULES/i86pc-sunos5-cc.rul 1.7 + -Mlib$(TARGETLIB)-mapvers neu bei LDOPTDYN= + +Mon Jun 13 01:08:43 2005 joerg + * makefiles/RULES/i86pc-sunos5-cc64.rul 1.1 + date and time created 05/06/13 01:08:43 by joerg + +Mon Jun 13 01:02:42 2005 joerg + * makefiles/RULES/sun4-sunos5-cc64.rul 1.1 + date and time created 05/06/13 01:02:42 by joerg + +Mon Jun 13 00:54:50 2005 joerg + * libschily/shlschily.mk 1.5 + LIBS= -lc neu + +Sun Jun 12 21:48:16 2005 joerg + * libscg/librscg-mapvers 1.1 + date and time created 05/06/12 21:48:16 by joerg + +Sun Jun 12 20:51:58 2005 joerg + * libedc/libedc_ecc-mapvers 1.1 + date and time created 05/06/12 20:51:58 by joerg + +Sun Jun 12 20:39:59 2005 joerg + * libschily/libschily-mapvers 1.1 + date and time created 05/06/12 20:39:59 by joerg + +Sun Jun 12 20:37:57 2005 joerg + * libschily/stdio/flag.c 2.10 + _fl_inc / _io_smyfl / -> LOCAL + +Sun Jun 12 20:22:09 2005 joerg + * libschily/getargs.c 2.38 + * libschily/getargs.c.old 2.38 + retnames[] -> LOCAL + +Sat Jun 11 16:03:15 2005 joerg + * cdrecord/drv_dvdplus.c 1.16 + dummy_plextor() neu + CDR_CDRW_ALL neu + profile == 0x002B "DVD+R/DL" neu + +Sat Jun 11 16:00:50 2005 joerg + * cdrecord/subchan.c 1.20 + * cdrecord/drv_mmc.c 1.161 + * cdrecord/readcd.c 1.75 + * cdrecord/cdrecord.h 1.165 + Cstyle + +Tue May 31 11:52:33 2005 joerg + * cdrecord/defaults.c 1.15 + Management fuer "CDR_SECURITY=" in /etc/default/cdrecord neu + +Mon May 30 23:18:57 2005 joerg + * conf/src-get 1.17 + * conf/setup.sh 1.13 + wget nun mit --passive-ftp + +Mon May 30 12:36:25 2005 joerg + * conf/src-get 1.16 + * conf/wget.sh 1.3 + passive -> passive on + +Tue May 17 12:15:49 2005 joerg + * cdrecord/cdrecord.c 1.302 + Version -> 2.01.01a03 + +Mon May 16 23:48:37 2005 joerg + * libscg/scsi-linux-sg.c 1.85 + seteuid(0) um ioctl(f, SG_IO wenn noetig + +Mon May 16 23:08:13 2005 joerg + * cdrecord/Makefile 1.30 + scsi_cdr_mmc4.c & scsi_mmc4.c neu + +Mon May 16 23:07:44 2005 joerg + * cdrecord/scsi_cdr_mmc4.c 1.1 + * cdrecord/scsi_mmc4.c 1.1 + date and time created 05/05/16 23:07:44 by joerg + +Mon May 16 23:07:33 2005 joerg + * cdrecord/drv_mmc.c 1.160 + * cdrecord/drv_philips.c 1.69 + * cdrecord/scsi_mmc.c 1.13 + * cdrecord/drv_simul.c 1.48 + * cdrecord/drv_jvc.c 1.82 + * cdrecord/drv_dvd.c 1.119 + * cdrecord/drv_sony.c 1.72 + * cdrecord/drv_7501.c 1.16 + * cdrecord/cdrecord.h 1.164 + * cdrecord/cdrecord.c 1.301 + CD-RW Ultraspeed+ Support neu + +Mon May 16 23:04:55 2005 joerg + * cdrecord/defaults.c 1.14 + Copyright -> 2005 + +Mon May 16 15:19:26 2005 joerg + * cdrecord/defaults.c 1.13 + Keine Fehlermeldung mehr wenn speed in Environment oder /etc/default/cdrecord == -1 + +Mon May 16 14:59:33 2005 joerg + * rscsi/rscsi.c 1.29 + Warnung wegen Sicherheitsrisiko beim Debugging + +Mon May 16 14:53:05 2005 joerg + * rscsi/rscsi.dfl 1.2 + Warnung fuer /tmp/RSCSI Debug File + +Mon May 16 13:06:30 2005 joerg + * libscg/scsi-linux-sg.c 1.84 + Workarounds fuer defekte Linux scsi/scsi.h & scsi/sg.h + +Mon May 16 13:04:15 2005 joerg + * autoconf/aclocal.m4 1.42 + * autoconf/configure.in 1.83 + * autoconf/xconfig.h.in 1.84 + Neue Tests AC_BROKEN_SCSI_SCSI_H / AC_BROKEN_SRC_SCSI_SCSI_H / AC_BROKEN_SCSI_SG_H / AC_BROKEN_SRC_SCSI_SG_H + +Sun May 15 16:21:05 2005 joerg + * mkisofs/diag/isoinfo.c 1.50 + * mkisofs/diag/isovfy.c 1.26 + * mkisofs/diag/isodump.c 1.27 + * mkisofs/diag/dump.c 1.24 + GPL texte erneuert + +Sun May 15 16:03:22 2005 joerg + * mkisofs/apple_driver_man.mk 1.1 + * mkisofs/apple_driver.mk 1.1 + * mkisofs/hybridman.mk 1.1 + date and time created 05/05/15 16:03:22 by joerg + +Sun May 15 15:46:35 2005 joerg + * scgcheck/scgcheck.1 1.9 + * cdrecord/readcd.1 1.21 + GPL ueberarbeitet + +Sun May 15 14:41:01 2005 joerg + * cdrecord/cdrecord.1 1.105 + GPL Text ueberarbeitet + +Sun May 15 01:30:20 2005 joerg + * makefiles/RULES/i386-os2-gcc.rul 1.8 + -Zexe ist dank .EXEEXT nicht mehr notwendig + +Sun May 15 01:03:50 2005 joerg + * cdrecord/cdrecord.c 1.300 + Version -> 2.01.01a02, Shorttrack auch im RAW Modus erlauben + +Sun May 15 00:51:38 2005 joerg + * mkisofs/multi.c 1.68 + Warnung ueber 8.3 -> ISO-9660 + +Sun May 15 00:47:10 2005 joerg + * libscg/scg/aspi-dos.h 1.2 + Eingerueckt + +Sun May 15 00:42:43 2005 joerg + * libscg/scsi-mac-iokit.c 1.10 + Schreibfehler bei Hilfe beseitigt + +Sun May 8 22:03:37 2005 joerg + * autoconf/aclocal.m4 1.41 + * autoconf/xconfig.h.in 1.83 + * autoconf/configure.in 1.82 + Neue Tests: AC_BROKEN_LINUX_EXT2_FS_H + +Sun May 8 15:04:22 2005 joerg + * cdrecord/drv_sony.c 1.71 + klarerer Kode zum Zeigen dasz xp in getdisktype_sony() initializert wird + +Fri May 6 00:20:27 2005 joerg + * conf/src-get 1.15 + . $TGT geht nicht aber . ./$TGT + +Thu May 5 23:27:07 2005 joerg + * conf/src-get 1.14 + server_url braucht slash am Ende + +Thu May 5 23:10:35 2005 joerg + * conf/src-get 1.13 + Neues Kommando compile + Dependencies und Patches neu + Support fuer file:/// neu + +Wed May 4 23:53:13 2005 joerg + * conf/mkdir.sh 1.4 + Voller -T Support + +Wed May 4 23:49:23 2005 joerg + * conf/mkdir.sh 1.3 + Erster Umbauschritt zu -T (Template) + +Wed May 4 09:16:27 2005 joerg + * conf/mslotdir.sh 1.2 + SRCROOT= ./.. verhindern + +Wed May 4 01:36:37 2005 joerg + * conf/src-get 1.12 + conf/setup.sh -> src-get setup + +Wed May 4 01:35:52 2005 joerg + * conf/mslotdir.sh 1.1 + date and time created 05/05/04 01:35:52 by joerg + +Tue May 3 17:47:54 2005 joerg + * conf/setup.sh 1.12 + Alles -> ftp://ftp.berlios.de/pub/makefiles/testing/ damit ich es auch von intern testen kann + +Tue May 3 17:27:13 2005 joerg + * conf/src-get 1.11 + * conf/setup.sh 1.11 + tar xpf -> tar xp wegen HP-UX-10.x + +Tue May 3 16:27:29 2005 joerg + * conf/setup.sh 1.10 + CFLAGS=-O neu + +Tue May 3 16:08:30 2005 joerg + * conf/setup.sh 1.9 + patch URL -> ftp://ftp.berlios.de/pub/makefiles/testing/patch-2.5.4-1.tar.bz wegen BSDi Bug + +Tue May 3 15:04:43 2005 joerg + * conf/install-sh 1.7 + PATH="${PATH}:/usr/sbin" wegen chown unter BSDi + +Tue May 3 15:00:30 2005 joerg + * conf/setup.sh 1.8 + -e ./configure -> -r ./configure + +Tue May 3 14:43:34 2005 joerg + * conf/setup.sh 1.7 + $CC & $MAKE fuer ./configure neu + ./configure nur rufen wenn auch da + +Tue May 3 14:36:31 2005 joerg + * conf/oarch.sh 1.7 + Neue Optionen -c -> C_ARCH, -o -> O_ARCH, -p -> P_ARCH + +Tue May 3 14:25:25 2005 joerg + * makefiles/RULES/rules.sps 1.3 + MAKE="$MAKE" uebergeben fuer ./configure + +Tue May 3 14:24:14 2005 joerg + * makefiles/RULES/rules.sps 1.2 + CC="$(XCCCOM)" CFLAGS="$(CFLAGS)" uebergeben fuer ./configure + +Tue May 3 14:01:53 2005 joerg + * conf/src-get 1.10 + get_bins Aufruf nach need_bins() verlagert damit es auch ohne mfs klappt + +Tue May 3 13:26:47 2005 joerg + * conf/src-get 1.9 + viele neue Checks + src-get shell neu + +Tue May 3 12:20:00 2005 joerg + * conf/setup.sh 1.6 + WGET nun von aussen aenderbar + Das aktuelle Makefilesystem wird nun nach Kompilation von smake gleich mitkonfiguriert + +Tue May 3 00:30:36 2005 joerg + * conf/setup.sh 1.5 + -> wget-1.9.1-2.tar + +Mon May 2 23:38:24 2005 joerg + * conf/setup.sh 1.4 + PATH="${BINS}:${PATH}" -> PATH="${PWD}/${BINS}:${PATH}" + psmake/smake -r rufen + COPTX=-DDEFAULTS_PATH_SEARCH_FIRST damit zuerst nach defaults.smk gesucht wird + libschily/defaults.smk installieren + Files vor dem Installieren loeschen + Testen ob Ergebnis erzeugt wurde + +Mon May 2 23:34:50 2005 joerg + * conf/src-get 1.8 + Schreibfehler + +Mon May 2 09:23:18 2005 joerg + * conf/src-get 1.7 + SRCROOT Ausgabe nur wenn get_srcroot klappt + +Mon May 2 00:00:19 2005 joerg + * conf/src-get 1.6 + src-get init enthaelt nicht mehr setup + +Sun May 1 23:39:40 2005 joerg + * conf/src-get 1.5 + * conf/setup.sh 1.3 + URL Kommentar -> setup.sh + +Sun May 1 23:32:44 2005 joerg + * conf/makeinc 1.4 + * conf/src-get 1.4 + * conf/srcroot.sh 1.3 + * conf/setup.sh 1.2 + SRCROOT Suche verbessert + +Sun May 1 20:59:29 2005 joerg + * mkisofs/scsi.c 1.20 + Bessere fehlermeldung bei Short reads auf dem alten Image + +Sun May 1 20:46:15 2005 joerg + * mkisofs/mkisofs.8 1.109 + Hinweis auf AUDIO_TS neu + +Sun May 1 20:43:12 2005 joerg + * mkisofs/diag/isodebug.c 1.10 + * mkisofs/diag/isovfy.c 1.25 + * mkisofs/diag/dump.c 1.23 + * mkisofs/diag/isodump.c 1.26 + Version -> 2.01.01a03 + +Sun May 1 20:39:22 2005 joerg + * mkisofs/diag/isoinfo.c 1.49 + * mkisofs/rock.c 1.43 + * mkisofs/mkisofs.h 1.95 + * mkisofs/joliet.c 1.38 + * mkisofs/mkisofs.c 1.165 + Version -> 2.01.01a03 + Anpassungen fuer Aenderungen in + +Sat Apr 30 11:48:15 2005 joerg + * conf/src-get 1.3 + Neue SRCROOT Suchfunktion + wget als Funktion + Neue Funktionen init & setup + +Fri Apr 29 15:32:38 2005 joerg + * conf/src-get 1.2 + 2. Versuch + +Fri Apr 29 14:37:18 2005 joerg + * conf/setup.sh 1.1 + date and time created 05/04/29 14:37:18 by joerg + +Fri Apr 29 14:35:51 2005 joerg + * conf/oarch.sh 1.6 + * conf/wget.sh 1.2 + * conf/srcroot.sh 1.2 + Copyr -> Copyright + +Fri Apr 29 12:12:35 2005 joerg + * conf/srcroot.sh 1.1 + date and time created 05/04/29 12:12:35 by joerg + +Fri Apr 29 11:12:01 2005 joerg + * conf/oarch.sh 1.5 + cc-config.sh korrekt mit $confdir/../conf/cc-config.sh rufen + +Fri Apr 29 00:41:49 2005 joerg + * conf/oarch.sh 1.4 + grep nun mit 2>/dev/null + +Fri Apr 29 00:38:11 2005 joerg + * conf/wget.sh 1.1 + date and time created 05/04/29 00:38:11 by joerg + +Fri Apr 29 00:04:23 2005 joerg + * conf/cc-config.sh 1.5 + -echo Option fuer oarch.sh neu + +Fri Apr 29 00:02:34 2005 joerg + * conf/oarch.sh 1.3 + Nun wird incs/Dcc.${PARCH}-${O_ARCH} & DEFAULTS/Defaults.${O_ARCH} beruecksichtigt + +Thu Apr 21 23:55:57 2005 joerg + * makefiles/RULES/rules.sps 1.1 + date and time created 05/04/21 23:55:57 by joerg + +Thu Apr 21 14:47:06 2005 joerg + * conf/oarch.sh 1.2 + Generischier Copyright Kommentar neu + +Thu Apr 21 14:45:13 2005 joerg + * conf/oarch.sh 1.1 + date and time created 05/04/21 14:45:13 by joerg + +Thu Apr 21 12:12:27 2005 joerg + * include/schily/unls.h 1.6 + Ueberarbeitet + +Thu Apr 21 10:37:32 2005 joerg + * makefiles/RULES/rules1.top 1.28 + * makefiles/RULES/rules.ins 1.14 + $(DEST_DIR) neu + +Mon Apr 18 22:32:15 2005 joerg + * cdrecord/defaults.c 1.12 + Bessere Fehlermeldungen + +Mon Apr 18 22:23:28 2005 joerg + * mkisofs/diag/isovfy.c 1.24 + * mkisofs/diag/isoinfo.c 1.48 + * mkisofs/diag/isodump.c 1.25 + * mkisofs/diag/dump.c 1.22 + Coredump durch fclose(infile) mit infile == NULL vermeiden + +Thu Apr 14 16:21:07 2005 jes + * conf/src-get 1.1 + date and time created 05/04/14 16:21:07 by joerg + +Thu Apr 14 11:34:35 2005 joerg + * makefiles/RULES/rules1.dir 1.11 + [ -d TARGETS -a -f TARGETS/__slot ] && -> if [ -d TARGETS -a -f TARGETS/__slot ]; then wegen Bug in /bin/sh bei BSDi + +Sun Apr 10 17:50:02 2005 joerg + * makefiles/RULES/mk-gmake.id 1.13 + Warnung sleep time von 5 -> 2 Sekunden + +Sun Apr 10 17:48:42 2005 joerg + * makefiles/RULES/gmake.wrn 1.2 + Schreibfehler 1988 -> 1998 + +Tue Apr 5 09:08:57 2005 joerg + * makefiles/RULES/rules.rel 1.4 + MAKE_LICENSE=MKGNU -> MAKE_LICENSE=MKGNU2 + +Tue Apr 5 00:00:00 2005 joerg + * libsiconv/tables/cp10000 1.1 + * libsiconv/tables/cp10006 1.1 + * libsiconv/tables/cp10079 1.1 + * libsiconv/tables/cp10081 1.1 + * libsiconv/tables/cp10007 1.1 + date and time created 05/04/05 00:00:00 by joerg + +Sat Apr 2 13:26:01 2005 joerg + * cdrecord/README.ATAPI 1.5 + kleinere Verbesserungen bei der SCSI Emulations Erklaerung + +Fri Mar 25 14:22:43 2005 joerg + * libschily/checkerr.c 1.8 + errhidden() ist nun immun gegen fname == NULL + +Sun Feb 27 23:57:43 2005 joerg + * cdrecord/README.ATAPI 1.4 + Beispiel fuer SCSI Emulation/Integration bei Win NT + +Sun Feb 27 13:37:45 2005 joerg + * mkisofs/multi.c 1.67 + Endlossschleife bei mkisofs -R -M old-session vermeiden wenn CD Records vorhanden: Fix von Patrick Ohly + +Sun Feb 27 13:33:07 2005 joerg + * mkisofs/mkisofs.c 1.164 + Version -> 2.01.01a02 + Bessere Fehlermeldungen bei File-open Fehlern + +Sun Feb 27 13:31:28 2005 joerg + * mkisofs/eltorito.c 1.33 + Coredump verhindern bei -no-emul-boot und fehlendem -b bootfile + +Fri Feb 25 13:14:20 2005 joerg + * mkisofs/README.sunx86boot 1.3 + Schreibfehler isek -> iseek + +Wed Feb 16 01:08:41 2005 joerg + * cdrecord/cdrecord.h 1.163 + MIN_GRACE_TIME -> 3 Sekunden wegen Solaris vold + +Thu Feb 10 00:41:21 2005 joerg + * pkgdefs/CSW/CSWschilyutils/copyright 1.1 + * pkgdefs/CSW/CSWcdrtools/copyright 1.1 + * pkgdefs/CSW/CSWsccs/copyright 1.1 + * pkgdefs/CSW/CSWstar/copyright 1.1 + * pkgdefs/CSW/CSWschilybase/copyright 1.1 + * pkgdefs/CSW/CSWsmake/copyright 1.1 + date and time created 05/02/10 00:41:21 by joerg + +Mon Feb 7 12:45:42 2005 joerg + * autoconf/configure.in 1.81 + * autoconf/xconfig.h.in 1.82 + HAVE_FUTIMES/HAVE_LUTIMES/HAVE_CHMOD/HAVE_FCHMOD/HAVE_LCHMOD/HAVE_FCHOWN neu + +Mon Jan 24 17:28:31 2005 joerg + * include/schily/device.h 1.13 + # define makedev(a,b) mkdev((a),(b)) fuer Interic + +Tue Jan 11 10:52:42 2005 joerg + * mkisofs/README.sunx86boot 1.2 + Fehlerkorrektur (es gab falsche Kommandos zum Erzeugen der Boot Files) + +Mon Nov 29 11:57:16 2004 joerg + * autoconf/configure.in 1.80 + * autoconf/xconfig.h.in 1.81 + Test fuer procfs.h + +Wed Nov 24 16:47:16 2004 joerg + * cdrecord/README.solaris-x86-ATAPI-DMA 1.1 + date and time created 04/11/24 16:47:16 by joerg + +Thu Nov 4 10:40:50 2004 joerg + * libfind/find.c 1.18 + * libfind/find_main.c 1.18 + -newerXY neu + -linkedto neu + Bessere Texte + node.val2 ist nun auch typ union + +Mon Nov 1 11:40:26 2004 joerg + * cdrecord/drv_mmc.c 1.159 + Unsinnige Initialisierung damit GCC ruhig bleibt + +Sun Oct 31 23:21:04 2004 joerg + * cdrecord/drv_jvc.c 1.81 + Buffer Cap Debug wieder beseitigt + +Sun Oct 31 23:07:27 2004 joerg + * cdrecord/scsi_mmc.c 1.12 + Neue Tebellenwerte fuer DVD+R/DL + pname_known(curprofile) -> pname_known(profile) Bug beseitigt + +Thu Oct 21 08:06:52 2004 joerg + * autoconf/configure.in 1.79 + * autoconf/xconfig.h.in 1.80 + HAVE_FDOPENDIR neu + +Sun Oct 17 13:50:58 2004 joerg + * libscg/scsi-remote.c 1.17 + Vor dem exec() auf rsh/RSH wird nun auch die Effektive uid zurueckgesetzt + +Sun Oct 17 13:44:57 2004 joerg + * cdrecord/cdrecord.c 1.299 + Version -> 2.01.01a01 + +Sun Oct 17 13:33:34 2004 joerg + * cdrecord/cdrecord.1 1.104 + driveropts=gigarec neu + +Sun Oct 17 13:05:31 2004 joerg + * cdrecord/drv_mmc.c 1.158 + * cdrecord/cdrecord.c 1.298 + * cdrecord/cdrecord.h 1.162 + Plextor GigaRec Support neu + +Thu Oct 14 15:29:52 2004 joerg + * libfind/find_main.c 1.17 + * libfind/find.c 1.17 + ARG_MAX um LINE_MAX verringern, damit -exec cmd {} + "cmd" erlaubt env[] oder das Kommando zu modifizieren und noch exec(2) zu rufen + +Thu Oct 14 15:09:19 2004 joerg + * libfind/find_misc.c 1.4 + -acl sollte nun auch mit Linux / POSIX gehen + +Wed Oct 13 23:59:17 2004 joerg + * libfind/find_misc.h 1.2 + #endif _MISC_H -> #endif /* _MISC_H */ + +Wed Oct 13 15:13:30 2004 joerg + * autoconf/config.guess 1.5 + s390:Linux neu + +Wed Oct 13 15:13:24 2004 joerg + * autoconf/config.sub 1.2 + hppa2.0? neu + ia64 neu + x86_64 neu + parisc-unknown neu + s390 neu + -os2* | -rhapsody* | -macos* neu + Apollo neu + +Sun Oct 10 23:50:37 2004 joerg + * autoconf/configure.in 1.78 + * autoconf/xconfig.h.in 1.79 + HAVE_ACL_LIBACL_H / HAVE_ACL_EXTENDED_FILE neu + +Sun Oct 10 22:15:54 2004 joerg + * libfind/walk.c 1.3 + * libfind/find_misc.c 1.3 + * libfind/mem.c 1.4 + * libfind/find.c 1.16 + * libfind/gettnum.c 1.4 + * libschily/mem.c 1.4 + * libschily/fjmem.c 1.4 + * libfind/find_list.c 1.3 + * libschily/gettnum.c 1.4 + * libschily/jmem.c 1.4 + * libschily/getxtnum.c 1.4 + * libfind/find_main.c 1.16 + gettext() neu + +Sat Oct 9 13:42:57 2004 joerg + * libfind/fetchdir.c 1.14 + * libfind/cmpdir.c 1.14 + * libfind/idcache.c 1.12 + #ifdef STAR -> #ifdef __STAR__ wegen patmatch.h + +Fri Oct 8 17:11:49 2004 joerg + * autoconf/xconfig.h.in 1.78 + * autoconf/configure.in 1.77 + Test auf libintl.h locale.h langinfo.h neu + +Thu Oct 7 20:48:55 2004 joerg + * libfind/find_misc.c 1.2 + Support fuer POSIX ACLs + +Thu Oct 7 20:32:26 2004 joerg + * autoconf/configure.in 1.76 + * autoconf/rules.cnf.in 1.6 + LIB_ACL_TEST= neu fuer sfind(1) ACL Test + +Thu Oct 7 16:53:10 2004 joerg + * libfind/find.c 1.15 + * libfind/find_main.c 1.15 + Version -> 1.1 + +Thu Oct 7 16:46:10 2004 joerg + * libfind/find_misc.h 1.1 + * libfind/find_misc.c 1.1 + date and time created 04/10/07 16:46:10 by joerg + +Thu Oct 7 16:44:27 2004 joerg + * libfind/find_list.c 1.2 + * libfind/find.c 1.14 + * libfind/find_main.c 1.14 + -acl & -xattr new + +Thu Oct 7 15:54:25 2004 joerg + * libfind/idcache.c 1.11 + Copyright -> 2004 + #ifdef STAR neu + +Thu Oct 7 15:40:53 2004 joerg + * libfind/fetchdir.c 1.13 + * libfind/cmpdir.c 1.13 + Copyright -> 2004 + +Thu Oct 7 15:26:39 2004 joerg + * libfind/cmpdir.c 1.12 + * libfind/fetchdir.c 1.12 + #ifdef STAR neu fuer find.c + +Wed Oct 6 15:46:50 2004 joerg + * autoconf/aclocal.m4 1.40 + * autoconf/xconfig.h.in 1.77 + * autoconf/configure.in 1.75 + HAVE_ST_ACLCNT / HAVE_EXT2FS_EXT2_FS_H neu + +Mon Oct 4 02:30:10 2004 joerg + * libfind/find.c 1.13 + * libfind/find_main.c 1.13 + Lint + +Sun Oct 3 23:01:38 2004 joerg + * libfind/find.c 1.12 + * libfind/find_main.c 1.12 + Cstyle + +Sun Oct 3 12:46:27 2004 joerg + * libfind/find_main.c 1.11 + * libfind/find.c 1.11 + Version > 1.0 + +Sun Oct 3 12:42:10 2004 joerg + * libfind/walk.c 1.2 + WHome bei HAVE_FCHDIR am Ende von treewalk() wieder schliessen + +Tue Sep 28 14:59:08 2004 joerg + * mkisofs/mkisofs.c 1.163 + Cstyle + +Tue Sep 28 14:56:28 2004 joerg + * mkisofs/mkisofs.c 1.162 + lint + +Mon Sep 27 19:13:04 2004 joerg + * cdrecord/scsi_mmc.c 1.11 + pname_known() neu fuer das bessere Ausgeben von unbekannten Profilen + +Sat Sep 25 14:47:53 2004 joerg + * libschily/printf.c 1.15 + * libschily/spawn.c 1.17 + * libschily/jsprintf.c 1.15 + * libschily/match.c 1.21 + * libschily/getargs.c 2.37 + * libschily/getargs.c.old 2.37 + * libschily/breakline.c 1.10 + * libschily/findline.c 1.16 + * libschily/format.c 1.39 + * libschily/stdio/fgetstr.c 1.9 + * libschily/stdio/fgetline.c 1.8 + * libschily/stdio/ffileread.c 1.10 + * libschily/checkerr.c 1.7 + lint + +Sat Sep 25 14:34:17 2004 joerg + * makefiles/RULES/rules.lib 1.7 + include $(SRCROOT)/$(RULESDIR)/rules.lnt neu + +Sat Sep 25 14:34:00 2004 joerg + * makefiles/RULES/rules.lnt 1.2 + $(CFILES) -> $^ + +Sat Sep 25 14:32:05 2004 joerg + * libschily/getargs.c 2.36 + * libschily/getargs.c.old 2.36 + Besserer Kommentar + +Sat Sep 25 12:38:27 2004 joerg + * include/schily/getargs.h 1.10 + getallargs()/getargs()/getfiles() Prototypen hinzu diff --git a/Changelog.1 b/Changelog.1 new file mode 100644 index 0000000..f98f2d3 --- /dev/null +++ b/Changelog.1 @@ -0,0 +1,7752 @@ +***** Version 2.01 ******** + +Wed Sep 8 20:26:34 2004 Joerg Schilling + * cdrecord.c 1.297 + * readcd.c 1.74 + * cdrecord.c 1.296 + Version -> 2.01 + +Sat Sep 4 22:28:05 2004 Joerg Schilling + * scsidefs.h 1.28 + * scsisense.h 2.18 + * scsicdb.h 2.19 + * scsireg.h 1.31 + * scgcmd.h 2.22 + Cstyle + +Wed Aug 25 13:28:57 2004 Joerg Schilling + * cdrecord.c 1.295 + Warnung fuer Linux-2.6.8.1 neu + +Tue Aug 24 01:11:42 2004 Joerg Schilling + * scsi-remote.c 1.16 + Auch die euid auf pw->pw_uid setzen bevor exec(RSH gemacht wird + +Thu Aug 19 12:14:09 2004 Joerg Schilling + * cdrecord.c 1.294 + Version -> 2.01a38 + +Thu Aug 19 12:08:26 2004 Joerg Schilling + * cdrecord.c 1.293 + linuxcheck() im %I% verbessert ;-) + +Mon Aug 16 16:42:17 2004 Joerg Schilling + * cdrecord.c 1.292 + Version -> 2.01a37 + SuSE Kommentar erweitert. + +Sun Aug 8 23:04:39 2004 Joerg Schilling + * scsi_mmc.c 1.10 + struct features & struct profiles -> LOCAL + +Thu Aug 5 10:26:18 2004 Joerg Schilling + * cdrecord.c 1.291 + Kommentar vor linuxcheck() erweitert + +Wed Aug 4 02:30:51 2004 Joerg Schilling + * cdrecord.c 1.290 + Version -> 2.01a36 + max_dma ist nun 4/5 der DMA Speed statt 1/2 + Warnung wegen Linux-2.6 eingebaut + Warnung wegen SuSE Linux eingebaut + +Sat Jul 31 17:41:06 2004 Joerg Schilling + * cdrecord.c 1.289 + Version -> 2.01a35 + Check auf dma_speed > 0, dma_speed Test nur wenn tracks > 0 + +Mon Jul 19 11:10:00 2004 Joerg Schilling + * scsi-wnt.c 1.45 + SPTI nicht bei NT-4.0 als Default + +Sun Jul 18 01:26:08 2004 Joerg Schilling + * cdrecord.c 1.288 + Version -> 2.01a34 + Mehr Tests auf Korektheit der Werte (sinnvoller Bereich in get_dmaspeed()) + dma_speed nur dann auswerten wenn > 0 + +Sun Jul 11 02:28:23 2004 Joerg Schilling + * cdrecord.1 1.103 + CDR_FORCESPEED domumentiert + +Sun Jul 11 01:57:27 2004 Joerg Schilling + * skel.c 1.3 + * readcd.c 1.73 + * xio.c 1.11 + -> NEED_O_BINARY + +Sun Jul 11 01:32:49 2004 Joerg Schilling + * readcd.c 1.72 + * skel.c 1.2 + MINGW32 neu + +Sun Jul 11 01:30:12 2004 Joerg Schilling + * xio.c 1.10 + setmode() auch bei MINGW32 + +Fri Jul 9 00:05:39 2004 Joerg Schilling + * cdrecord.c 1.287 + Version -> 2.01a33 + get_dmaspeed() neu + kein nice() bei __DJGPP__ + +Fri Jun 18 17:46:20 2004 Joerg Schilling + * scsi-wnt.c 1.44 + if (isdigit(vers) -> if (isdigit(vers[0]) (bug korrigiert + +Fri Jun 18 01:17:54 2004 Joerg Schilling + * drv_dvdplus.c 1.15 + * drv_dvd.c 1.118 + long dvd_next_addr -> LOCAL long dvd_next_addr + +Thu Jun 17 23:20:27 2004 Joerg Schilling + * scsierrs.c 2.29 + * scsitransp.c 1.91 + Bitfeld Typen fuer printf() auf int casten wegen IRIX cc + +Thu Jun 17 11:24:48 2004 Joerg Schilling + * readcd.c 1.71 + Verbose Ausgabe fuer Fehlerkorrekturen nochmals angepasst + +Sun Jun 13 16:28:28 2004 Joerg Schilling + * readcd.c 1.70 + maxtry neu + +Sun Jun 13 16:00:20 2004 Joerg Schilling + * readcd.c 1.69 + Ausgabe der maximale Anzahl der Retries + +Sat Jun 12 15:14:49 2004 Joerg Schilling + * drv_dvdplus.c 1.14 + * drv_dvd.c 1.117 + RAW & TAO Schreibmodi nach check_writemodes() loeschen damit niemand cdrecord -raw fuer DVDs aufruft + +Sat Jun 12 13:48:12 2004 Joerg Schilling + * scsi-linux-ata.c 1.7 + Warntext geaendert + +Fri Jun 11 16:49:15 2004 Joerg Schilling + * readcd.c 1.68 + Version -> 2.01a32 + -scanbus funktioniert nun auch wenn dev= nicht angegeben und /etc/default/cdrecord vorhanden + Auflistung der defekten Sektoren in allozierter Liste + +Thu Jun 10 10:58:19 2004 Joerg Schilling + * cdrecord.1 1.102 + Schreibfehler + +Wed Jun 2 22:54:33 2004 Joerg Schilling + * cdrecord.1 1.101 + -clone dokumentiert + +Tue May 25 17:33:15 2004 Joerg Schilling + * readcd.c 1.67 + Vsersion -> 2.01a31 + +Tue May 25 17:32:29 2004 Joerg Schilling + * readcd.c 1.66 + -scanbus neu + +Tue May 25 01:36:00 2004 Joerg Schilling + * cdrecord.h 1.161 + * scsi_cdr.c 1.137 + * drv_mmc.c 1.157 + write_buffer() neu und write_buffer() in drv_mmc.c -> yamaha_write_buffer() + +Thu May 20 16:42:12 2004 Joerg Schilling + * scsi-linux-sg.c 1.83 + Kommentar gegen die Debian patches fuer /dev/hd* + +Thu May 20 16:24:11 2004 Joerg Schilling + * scsi-linux-ata.c 1.6 + Bis zu 25 /dev/hd%c Files oeffnen + +Thu May 20 16:14:33 2004 Joerg Schilling + * scsi-linux-sg.c 1.82 + Kommentare um dumme Leute von SuSE davon abzuhalten wichtige Warnungen wegzupatchen + +Thu May 20 15:50:38 2004 Joerg Schilling + * cdrecord.1 1.100 + Kommentar zu benoetigten Root Rechten neu + +Thu May 20 15:35:52 2004 Joerg Schilling + * cdrecord.c 1.286 + Bessere Kommentare gegen SuSE die cdrecord nicht als root laufen lasse wollen + +Wed May 19 00:54:29 2004 Joerg Schilling + * cdrecord.c 1.285 + Make sure you are root. nur ausgeben wenn euid != 0 + +Wed May 19 00:47:48 2004 Joerg Schilling + * cdrecord.c 1.284 + Version -> 2.01a29 + reload geht nun auch fuer Notebook Laufwerke wieder + +Wed May 19 00:45:26 2004 Joerg Schilling + * cdrecord.h 1.160 + * scsi_mmc.c 1.9 + print_format_capacities() neu + +Wed May 19 00:27:28 2004 Joerg Schilling + * cdrecord.1 1.99 + Bessere beschreibung der Hintergruende fuer eine gute Wahl der FIFO Groesse (fs=) + +Mon May 17 00:38:17 2004 Joerg Schilling + * cdrecord.1 1.98 + Bessere Dokumentation fuer DVD + +Mon May 17 00:18:21 2004 Joerg Schilling + * scsilog.c 1.17 + Besserer Kommentar + +Sun May 16 23:46:51 2004 Joerg Schilling + * drv_mmc.c 1.156 + bei OPC "Power calibration area almost full" nicht als Fehler auffassen + +Sun May 16 17:01:24 2004 Joerg Schilling + * cdrecord.1 1.97 + Bessere Dokumentation der driver= Option + +Sun May 16 01:37:11 2004 Joerg Schilling + * cdrecord.1 1.96 + Diverse kleinere Schreibfehler beseitigt + +Sun May 16 01:26:52 2004 Joerg Schilling + * cdrecord.1 1.95 + Eißfeldt -> Ei\*sfeldt + µsec -> \*msec + +Sat May 15 23:14:18 2004 Joerg Schilling + * subchan.c 1.19 + index Variable -> curindex wegen GCC Shadow Warnung + +Sun May 9 17:59:31 2004 Joerg Schilling + * skel.c 1.1 + date and time created 04/05/09 16:59:31 by joerg + +Fri Apr 23 00:51:24 2004 Joerg Schilling + * scsi-wnt.c 1.43 + Padding fuer ASPI CMD Struktur damit auch 32 Byte Sense Daten von SPTI gehen + +Wed Apr 21 01:48:32 2004 Joerg Schilling + * scsi-wnt.c 1.42 + Support fuer SPTI & Kontroller mit mehr als einem SCSI Bus + Bei SPTI ist SENSE_LEN max nun 32 + +Sun Apr 18 13:26:43 2004 Joerg Schilling + * scsi-linux-sg.c 1.81 + MAX-SCG -> 256 wegen Linux USB Implementierung + +Fri Apr 16 15:29:34 2004 Joerg Schilling + * scsi_scan.c 1.19 + Bis zu 256 Busse scannen. + +Thu Apr 15 16:35:46 2004 Joerg Schilling + * cdrecord.c 1.283 + Version -> 2.01a28 + +Mon Apr 12 16:13:47 2004 Joerg Schilling + * cdrecord.1 1.94 + Read Book -> Red Book + +Tue Apr 6 11:59:03 2004 Joerg Schilling + * cdrecord.c 1.282 + Bessere Fehlermeldung bei fehlendem -pad/-shorttrack + +Mon Mar 15 01:59:49 2004 Joerg Schilling + * cdrecord.c 1.281 + Kommentar fuer cuefile= & -raw + +Wed Mar 10 21:54:36 2004 Joerg Schilling + * readcd.c 1.65 + * cdrecord.1 1.93 + * cdrecord.c 1.280 + ts= Doku besser + +Mon Mar 8 00:43:39 2004 Joerg Schilling + * scsi-linux-sg.c 1.80 + Fehler if (sp->u_sense.cmd_sense != 0 -> if (sp->u_sense.cmd_sense[0] != 0 korrigiert + Wenn ASC/ASQ und auch alle zusaetzlichen Bits/Key in Byte 2 0 sind, dann loeschen wir CHECK CONDITION wieder + weil das ein Linux USB Problem ist wo z.B. wegen einem DMA Underrun REQUEST SENSE geschickt wurde + und das Laufwerk erwartungemaesz mit NO SENSE geantwortet hat + +Sun Mar 7 23:43:08 2004 Joerg Schilling + * cdrecord.c 1.279 + Version -> 2.01a27 + +Thu Mar 4 09:24:11 2004 Joerg Schilling + * cdrecord.c 1.278 + Bugfix: Nach Umstellung des Tests auf Schreibmodus Option ging nur noch TAO + +Wed Mar 3 01:27:14 2004 Joerg Schilling + * drv_dvd.c 1.115 + * cue.c 1.20 + * isosize.c 1.9 + * drv_simul.c 1.47 + * getnum.c 1.2 + * movesect.c 1.3 + Cstyle + +Tue Mar 2 21:02:42 2004 Joerg Schilling + * misc.c 1.4 + * cue.c 1.19 + Copyright -> 2004 + +Tue Mar 2 02:53:06 2004 Joerg Schilling + * modes.c 1.25 + * fifo.c 1.47 + * drv_mmc.c 1.155 + * drv_sony.c 1.70 + * drv_dvdplus.c 1.13 + * drv_7501.c 1.15 + * diskid.c 1.37 + * defaults.c 1.11 + * crc16.c 1.6 + * cdr_drv.c 1.36 + * clone.c 1.7 + * drv_philips.c 1.68 + * readcd.c 1.64 + * scsi_cdr.c 1.136 + * scsi_scan.c 1.18 + * iso9660.h 1.5 + * xio.h 1.2 + * cdtext.h 1.5 + Cstyle + +Tue Mar 2 01:13:42 2004 Joerg Schilling + * wm_track.c 1.4 + Copyright -> 2004 + +Mon Mar 1 11:08:40 2004 Joerg Schilling + * cdrecord.h 1.159 + * mmcvendor.h 1.3 + * scsilog.h 1.4 + * scsimmc.h 1.10 + * drv_jvc.c 1.80 + * scsi_mmc.c 1.8 + * cdtext.c 1.10 + * scsilog.c 1.16 + * auinfo.c 1.23 + * cdrecord.c 1.277 + * audiosize.c 1.19 + * sector.c 1.12 + * subchan.c 1.17 + * wm_packet.c 1.24 + * xio.c 1.8 + Cstyle + +Mon Mar 1 11:02:43 2004 Joerg Schilling + * scsimmc.h 1.11 + * subchan.c 1.18 + * wm_packet.c 1.25 + * xio.c 1.9 + * sector.c 1.13 + Copyright -> 2004 + +Sun Feb 29 21:49:03 2004 Joerg Schilling + * cdrecord.c 1.276 + Cstyle + +Sun Feb 29 18:19:58 2004 Joerg Schilling + * cdrecord.c 1.275 + Version -> 2.01a26 + -tao/-sao neu + +Sun Feb 29 18:13:20 2004 Joerg Schilling + * cdrecord.1 1.92 + -tao Option neu, -sao Option als Alias fuer -dao + +Sun Feb 22 16:41:57 2004 Joerg Schilling + * cdrecord.1 1.91 + Schreibfehler + +Sun Feb 22 15:53:51 2004 Joerg Schilling + * readcd.c 1.63 + * cdrecord.h 1.158 + * defaults.c 1.10 + cdr_defaults() Prototy -> neues defaults.h + +Sun Feb 22 15:53:00 2004 Joerg Schilling + * defaults.h 1.1 + date and time created 04/02/22 15:53:00 by joerg + +Sun Feb 1 21:32:58 2004 Joerg Schilling + * adip.h 1.1 + date and time created 04/02/01 21:32:58 by joerg + +Fri Jan 23 23:10:42 2004 Joerg Schilling + * scsi-wnt.c 1.41 + dev=ATAPI:1,0 geht nun wieder + +Mon Jan 19 21:29:24 2004 Joerg Schilling + * drv_dvd.c 1.113 + * cdrecord.c 1.274 + * drv_dvdplus.c 1.12 + * wm_packet.c 1.23 + trackp[i].padsecs * secsize -> (Llong)trackp[i].padsecs * secsize, damit kein Integeroverflow mehr stattfindet + +Thu Jan 15 22:24:39 2004 Joerg Schilling + * scsi-wnt.c 1.40 + w2k_or_newer() neu um bei NT-4.0 wegen DMA Problemen mit SPTI per Default mit ASPI zu betreiben + Debug prints fuer bessere Beurteilung der Funktionsweise + +Thu Jan 15 02:22:38 2004 Joerg Schilling + * scsi-mac-iokit.c 1.9 + memset sense 0 wieder eingebaut bis endgueltig geklaert ist wie es sein sollte + +Thu Jan 15 01:55:36 2004 Joerg Schilling + * scsi-hpux.c 1.31 + * scsi-linux-pg.c 1.43 + * scsi-vms.c 1.33 + * scsi-os2.c 1.25 + * scsi-wnt.c 1.39 + * scsi-remote.c 1.15 + * scsi-unixware.c 1.36 + * scsi-qnx.c 1.3 + * scsi-osf.c 1.26 + * scsi-sgi.c 1.36 + * scsi-bsd.c 1.42 + * scsi-bsd-os.c 1.28 + * scsi-beos.c 1.22 + Umbau fuer Cstyle + +Thu Jan 15 01:05:25 2004 Joerg Schilling + * scsi-openserver.c 1.31 + Aenderungen fuer Cstyle + +Thu Jan 15 00:50:11 2004 Joerg Schilling + * scsi-next.c 1.32 + * scsi-linux-ata.c 1.5 + Umbau wegen Cstyle + +Wed Jan 14 20:05:52 2004 Joerg Schilling + * drv_dvd.c 1.112 + Unbenutzte Variablen beseitigt + +Wed Jan 14 20:04:33 2004 Joerg Schilling + * scsi-sun.c 1.82 + Aumbau fuer Cstyle + +Wed Jan 14 19:57:28 2004 Joerg Schilling + * scsi-sun.c 1.81 + Ueberfluessige Variable sb beseitigt + +Wed Jan 14 18:54:48 2004 Joerg Schilling + * scsi-apollo.c 1.5 + * scsi-amigaos.c 1.6 + * scsi-aix.c 1.36 + * scsi-linux-sg.c 1.79 + * scsiopen.c 1.95 + * scsitransp.c 1.90 + * scgsettarget.c 1.2 + * scsihelp.c 1.4 + Umbau fuer cstyle + +Wed Jan 14 15:37:47 2004 Joerg Schilling + * scsi-linux-sg.c 1.78 + LF_ATA Flag neu + +Wed Jan 14 01:14:27 2004 Joerg Schilling + * scsi-mac-iokit.c 1.8 + ux_errno wird nun korrekt gesetzt wenn ein Kommando schiefgeht + Die Sense Daten werden nicht mehr gelöscht + Author ist nun "schily", denn das Modul kommt nun teilweise dirch scgcheck + +Tue Jan 13 20:43:44 2004 Joerg Schilling + * scsi-mac-iokit.c 1.7 + Umbau fuer Cstyle + +Mon Jan 12 00:36:04 2004 Joerg Schilling + * drv_mmc.c 1.154 + Besserer Kommentar bei den Profilen in identify + +Mon Jan 12 00:33:39 2004 Joerg Schilling + * cdr_drv.c 1.35 + dp bei error() ueberpruefen um coredumps bei cdrecord -xd zu verhindern + +Sun Jan 11 18:42:14 2004 Joerg Schilling + * scsi-linux-sg.c 1.77 + Versuch das /dev/hd* Interface von Linux-2.6 besser zu unterstützen. + +Sun Jan 11 16:18:48 2004 Joerg Schilling + * scsi-linux-sg.c 1.76 + Kommentar verbessert + +Sun Jan 11 14:39:45 2004 Joerg Schilling + * scsi-wnt.c 1.38 + w2kstyle_create() umgestellt und so repariert, dasy kein unzulaessiger Speicherzugriff mehr erfolgt + +Sun Jan 11 14:09:19 2004 Joerg Schilling + * scsi-wnt.c 1.37 + loas_aspi() neu + +Sun Jan 11 13:28:56 2004 Joerg Schilling + * scsi-wnt.c 1.36 + Aenderungen damit cdrecord -scanbus dev=ASPI geht + +Wed Jan 7 00:38:26 2004 Joerg Schilling + * cdrecord.h 1.157 + * scsi_scan.c 1.17 + * scsi-mac-iokit.c 1.6 + * scsi-sun.c 1.80 + * scsi-wnt.c 1.34 + * scsitransp.c 1.89 + * cdrecord.c 1.273 + Copyright -> 2004 + +Wed Jan 7 00:20:32 2004 Joerg Schilling + * scsi-wnt.c 1.35 + Anderer Version String fuer SPTI + +Wed Jan 7 00:03:55 2004 Joerg Schilling + * cdrecord.c 1.272 + Version -> 2.01a24 + +Tue Jan 6 23:58:43 2004 Joerg Schilling + * cue.c 1.18 + Wenn FILE Anweisung im CUE Sheet keinen Slash (/) enthaelt, dann wird der Filename auch im Directory des CUE Sheets gesucht + +Tue Jan 6 23:52:52 2004 Joerg Schilling + * scsitransp.c 1.88 + Version -> 0.8 + +Tue Jan 6 23:33:20 2004 Joerg Schilling + * scsi-wnt.c 1.33 + Cstyle + +Tue Jan 6 23:21:14 2004 Joerg Schilling + * scsi-wnt.c 1.32 + SPTI Unterdrueckung von nocht CD-ROM deaktiviert + +Tue Jan 6 23:10:18 2004 Joerg Schilling + * scsi-wnt.c 1.31 + Erste Version mit SPTI Support + +Tue Jan 6 17:58:47 2004 Joerg Schilling + * scsi-mac-iokit.c 1.5 + scgo_havebus() korrigiert (war immer FALSE) damit pxupgrade funktioniert + +Tue Jan 6 01:01:59 2004 Joerg Schilling + * drv_mmc.c 1.153 + cmd_dummy statt init_mmc in den Treiberstrukturen fuer CD-ROM Leser + +Sun Jan 4 15:26:25 2004 Joerg Schilling + * scsi-sun.c 1.79 + Erste Version einer UID Verwaltung die fuer Solaris 9 USCSI gebraucht wird + +Fri Jan 2 16:05:57 2004 Joerg Schilling + * scsi-sun.c 1.78 + Erste Version die mit Volume Management arbeitet + +Fri Jan 2 16:05:21 2004 Joerg Schilling + * cdrecord.c 1.271 + Version -> 2.01a23 + +Fri Jan 2 16:05:06 2004 Joerg Schilling + * scsi_scan.c 1.16 + Hack fuer fd == -1 -> Kein Zugriff auf LW -> '?' statt '*' + +Tue Dec 30 14:20:00 2003 Joerg Schilling + * cdrecord.c 1.270 + Schreibfehler will not not Korrigiert + +Mon Dec 29 15:25:05 2003 Joerg Schilling + * cdrecord.1 1.90 + Bessere Beschreibung und Beispiel fuer -setdropts driveropts= + +Wed Dec 24 11:51:56 2003 Joerg Schilling + * drv_mmc.c 1.152 + Hinweis auf RAW bei nicht funktionierendem CUE Sheet + +Tue Dec 23 13:48:33 2003 Joerg Schilling + * cdrecord.c 1.269 + Version -> 2.01a21 + Hack fuer POSIX_PRIORITY_SCHEDULING Bug (wir brauchen root Rechte um die Pri zu verringern) + +Sun Dec 21 14:29:21 2003 Joerg Schilling + * cdrecord.1 1.89 + Neuer Absatz ueber ATAPI auf erster Seite. + +Thu Dec 18 17:10:58 2003 Joerg Schilling + * scsitransp.c 1.87 + Aehnlicher Text wie in cdrecord.c wenn !defined(IS_SCHILY_XCONFIG) + +Thu Dec 18 17:10:26 2003 Joerg Schilling + * cdrecord.c 1.268 + Neuer Text fuer modifizierte Versionen ohne Support + +Thu Dec 18 17:09:41 2003 Joerg Schilling + * cdrecord.1 1.88 + .sp verschoben auf Wunsch von Eric Raymond + +Tue Dec 16 00:42:16 2003 Joerg Schilling + * cdrecord.c 1.267 + Security Test Ausgabe nun auch ohne Root Zugriff sichtbar + +Mon Dec 15 16:40:59 2003 Joerg Schilling + * cdrecord.c 1.266 + Ausgabe des Resultats des Security Checks + +Mon Dec 15 09:19:24 2003 Joerg Schilling + * drv_mmc.c 1.151 + Copyright -> 2003 + +Mon Dec 15 09:18:14 2003 Joerg Schilling + * drv_mmc.c 1.150 + Ein DVD Brenner wird nun auch erkannt wenn er nur MMC-3 und nicht MMC-2 konform ist + Hinweis auf ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ + +Mon Dec 15 07:32:55 2003 Joerg Schilling + * cdrecord.c 1.265 + comexit(0); nach "erstem" -force blank unit entfernt damit auch mit dem Ricoh-5125 Medien erweckt werden koennen + +Thu Dec 11 12:59:54 2003 Joerg Schilling + * scsireg.h 1.30 + #ifdef __SCG_COMPAT_ zum enablen von info/ident/revision -> vendor_info/prod_ident/prod_revision + +Thu Dec 11 12:55:42 2003 Joerg Schilling + * scsi_scan.c 1.15 + * scsi_cdr.c 1.135 + info -> vendor_info, ident -> prod_ident, revision -> prod_revision + +Wed Dec 10 00:42:39 2003 Joerg Schilling + * scsi-dos.c 1.11 + Hinweis auf http://bootcd.narod.ru/ + +Wed Dec 10 00:40:49 2003 Joerg Schilling + * cdrecord.c 1.264 + Hinweis auf ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ + +Wed Dec 10 00:19:03 2003 Joerg Schilling + * cdrecord.c 1.263 + Version -> 2.01a20 + FIFO Abschalten wenn fifosize < 2*bufsize + +Tue Dec 9 20:52:14 2003 Joerg Schilling + * cdrecord.1 1.87 + ..sp -> .sp Schreibfehler + +Sun Nov 30 13:50:31 2003 Joerg Schilling + * scsi-dos.c 1.10 + schcgeck funktioniert nun, kein DMAresid und max sense_count 18 + +Sun Nov 30 00:00:01 2003 Joerg Schilling + * xio.c 1.7 + * readcd.c 1.62 + #include auch fuer DJGPP + +Sat Nov 29 23:36:39 2003 Joerg Schilling + * scsi-dos.c 1.9 + Srb.Type.ExecSCSICmd.SenseLen = DEF_SENSE_LEN; -> Srb.Type.ExecSCSICmd.SenseLen = (SENSE_LEN+2); + +Sat Nov 29 23:11:56 2003 Joerg Schilling + * readcd.c 1.61 + Version -> 2.01a20 + +Sat Nov 29 23:10:16 2003 Joerg Schilling + * xio.c 1.6 + setmode(fileno, O_BINARY) auch fuer DJGPP + +Sat Nov 29 23:10:00 2003 Joerg Schilling + * readcd.c 1.60 + #include fuer __CYGWIN32__/__EMX__ + setmode(fileno, O_BINARY) auch fuer DJGPP + +Sat Nov 29 23:03:06 2003 Joerg Schilling + * scsi-dos.c 1.8 + Sense_len & sense_count korrekt beachten + SS_ERR -> vor die invalid Device & Cannot Select Bus cases im switch in send_cmd() + +Sat Nov 29 22:28:57 2003 Joerg Schilling + * scsi-dos.c 1.7 + Schreibfehler is statt if beseitigt + +Sat Nov 29 19:11:41 2003 Joerg Schilling + * scsi-os2.c 1.24 + Return (0) statt -1 bei FATAL Error in send_cmd() wenn kein gueltiges Target gesetzt ist + +Sat Nov 29 19:10:48 2003 Joerg Schilling + * scsi-dos.c 1.6 + Neuer AspiLoaded Counter fuer mehrfaches Oeffnen + +Sat Nov 29 19:06:55 2003 Joerg Schilling + * scsi-wnt.c 1.30 + Return (0) statt -1 bei FATAL Error in send_cmd() wenn kein gueltiges Target gesetzt ist + SS_ERR mit cp->SRB_TargStat != 0 ist nun SCG_NO_ERROR + AspiLoaded ist nun integer Counter damit mehrere open()s moeglich sind + +Sat Nov 29 19:04:36 2003 Joerg Schilling + * scsi-dos.c 1.5 + Return (0) statt -1 bei FATAL Error in send_cmd() wenn kein gueltiges Target gesetzt ist + SS_ERR mit Srb.Type.ExecSCSICmd.TargStat != 0 ist nun SCG_NO_ERROR + +Sat Nov 29 18:58:35 2003 Joerg Schilling + * scsi-dos.c 1.4 + Cstyle + +Sat Nov 29 18:30:44 2003 Joerg Schilling + * scsi-dos.c 1.3 + Umbau auf _go32_dpmi_allocate_real_mode_callback_retf() + +Fri Nov 28 10:25:15 2003 Joerg Schilling + * scsi-dos.c 1.2 + Callback Funktion neu + +Fri Nov 28 02:33:18 2003 Joerg Schilling + * scsihack.c 1.43 + scsi-dos.c neu + +Fri Nov 14 10:55:14 2003 Joerg Schilling + * scsi-dos.c 1.1 + date and time created 03/11/14 10:55:14 by joerg + +Sun Nov 2 23:50:22 2003 Joerg Schilling + * fifo.c 1.46 + fifo_percent() fragt nun (sp == NULL) ab um festzustellen of der FIFO aus ist + +Wed Oct 29 15:33:45 2003 Joerg Schilling + * scsi-remote.c 1.14 + strcatl()/concat()/*execl() casten nun NULL im letzten Arg nach (char *)NULL + +Wed Oct 1 00:39:23 2003 Joerg Schilling + * cdrecord.h 1.156 + Kommentar ueber minimale FIFO Groesse + +Sun Aug 24 13:15:10 2003 Joerg Schilling + * cdrecord.1 1.86 + driveropts in /Etc/default/cdrecord dokumentiert + +Tue Jul 22 21:43:08 2003 Joerg Schilling + * cdrecord.c 1.262 + Version -> 2.01a17 + +Mon Jul 21 00:06:31 2003 Joerg Schilling + * cdrecord.h 1.155 + * cdrecord.1 1.85 + * cdrecord.c 1.261 + Neue Option ts= + +Fri Jul 18 10:04:20 2003 Joerg Schilling + * readcd.c 1.59 + Version -> 2.01a17 + Teilweise #ifndef EXTVERS -> #ifdef CLONE_WRITE fuer genauere Beschreibung des Kodes + +Fri Jul 18 10:03:04 2003 Joerg Schilling + * scsi_cdr.c 1.134 + Kommentar Hinweis in cdr_underrun() + +Fri Jul 11 11:43:25 2003 Joerg Schilling + * cdrecord.1 1.84 + Schreibfehler + +Sun Jul 6 00:04:14 2003 Joerg Schilling + * scsi-os2.c 1.23 + EIO statt EINVAL damit Scan fuer Targets > 7 klappt + +Sat Jun 21 21:42:56 2003 Joerg Schilling + * scsi-sun.c 1.77 + Workaround fuer Solaris 8 x86 Bug: DKIOCINFO liefert 256 kB DMAsize aber nur 68 kB geht bei ATAPI & DMA + +Sat Jun 21 19:42:26 2003 Joerg Schilling + * readcd.c 1.58 + Neue Option -factor + +Fri Jun 20 22:47:08 2003 Joerg Schilling + * readcd.c 1.57 + Neue Option ts= fuer Transfer size + +Fri Jun 20 22:32:59 2003 Joerg Schilling + * readcd.c 1.56 + Residual count auswerten beim Lesen + +Fri Jun 20 22:21:33 2003 Joerg Schilling + * readcd.c 1.55 + prstats_silent() Prototyp neu + Versuch damit klarzukommen dasz einige BS (UnixWare) nicht mit odd byte DMA bei ATAPI klarkommen (READ FULL TOC) + Ausgabe aller Lead out startzeiten bei -clone (READ FULL TOC) + Geschwindigkeitsangaben beziehen sich auf 1000 Byte == 1 kb + Hack to write empty disks geht mit end == 1 statt end == 0 + +Tue Jun 17 19:23:35 2003 Joerg Schilling + * cdrecord.1 1.83 + Schreibfehler + +Tue Jun 17 19:18:00 2003 Joerg Schilling + * auinfo.c 1.22 + samples -> nsamples wegen samples() Makro und K&R C + +Sat May 31 21:58:05 2003 Joerg Schilling + * scsi-amigaos.c 1.5 + Neue Version von Thomas Langer + +Sat May 31 19:41:16 2003 Joerg Schilling + * scsi-amigaos.c 1.4 + Eingerueckt nach cstyle + +Sat May 31 18:34:37 2003 Joerg Schilling + * cdrecord.c 1.260 + GPL Hinweise besser formuliert, Schreibfehler in usage() beseitigt + +Sat May 31 18:10:38 2003 Joerg Schilling + * cdrecord.1 1.82 + Schreibfehler berichtigt & -format dokumentiert + +Sat May 31 18:09:46 2003 Joerg Schilling + * auinfo.c 1.21 + Fix fuer fehlerhafte Erkennung von *.inf Dateien die Meldung 'WARNING: Stdin is connected to a terminal.' verursacht + +Fri May 16 13:02:58 2003 Joerg Schilling + * scsi-remote.c 1.13 + js_snprintf(devname, sizeof(devname), device); -> js_snprintf(devname, sizeof(devname), "%s", device); + +Wed May 14 18:59:12 2003 Joerg Schilling + * cdrecord.c 1.259 + CD-Text -text Aktivierung durch trackp[MAX_TRACK+1].flags |= TI_TEXT + Kein CD-text mehr wenn track[0].flags & TI_TEXT schon gesetzt (durch textfile=) + +Wed May 14 18:57:53 2003 Joerg Schilling + * cue.c 1.17 + CD-Text aus CDTEXTFILE nur noch wenn trackp[MAX_TRACK+1].flags & TI_TEXT + +Wed May 14 18:56:55 2003 Joerg Schilling + * cdrecord.1 1.81 + Neue erweiterte CD-Text Behandlung beschrieben + +Wed May 14 02:24:17 2003 Joerg Schilling + * cdrecord.c 1.258 + Version -> 2.01a15, Diverse Umstellungen damit tracks == 0 Abfragen bei cuefile=xxx korrekt behandelt werden + +Wed May 14 02:21:07 2003 Joerg Schilling + * xio.c 1.5 + while(pp) -> for (; pp; pp = pp->x_next) damit continue bei x_name == NULL nicht zur Endlosschleife wird + +Tue May 13 23:26:57 2003 Joerg Schilling + * cdrecord.1 1.80 + speed= Behandlung besser erklaert und Schreibfehler + +Tue May 13 23:26:14 2003 Joerg Schilling + * cue.c 1.16 + TI_SWAB bei FILE ... WAVE setzen + +Tue May 13 13:07:03 2003 Joerg Schilling + * xio.c 1.4 + pp->x_name == NULL voer strcmp geaendert + +Tue May 13 13:05:00 2003 Joerg Schilling + * xio.c 1.3 + Neue Knoten korrekt in Liste ein und aushaengen + +Mon May 12 02:17:00 2003 Joerg Schilling + * drv_mmc.c 1.149 + Support fuer TM_QUADRO/TM_ALLOW_COPY neu + Hack fuer CUE Sheet Handling mit MODE2/CDI trackp[i].dbtype == DB_RAW + Fuer Lead-In/Lead-Out werden nun die Bits fuer Datengroesse wegmaskiert + +Mon May 12 01:39:30 2003 Joerg Schilling + * cdrecord.c 1.257 + setleadinout() setzt nun trackp[tracks+1].tracktype aus trackp[tracks].tracktype + +Mon May 12 01:38:03 2003 Joerg Schilling + * cue.c 1.15 + Erste funktionierende Version + +Mon May 12 00:26:35 2003 Joerg Schilling + * drv_dvdplus.c 1.8 + Canot -> Cannot Schreibfehler beseitigt + +Mon May 12 00:25:29 2003 Joerg Schilling + * cdrecord.h 1.154 + parsecue()/fparsecue() neu + +Mon May 12 00:22:57 2003 Joerg Schilling + * cdrecord.c 1.256 + Version -> 2.01a14, Neue Option cuefile=, Kein Aufruf von checkdsize() wenn tracks == 0 (tsize == -150) + +Mon May 12 00:20:55 2003 Joerg Schilling + * cdrecord.1 1.79 + einfache erste cuefile= Doku + +Sun May 11 21:47:29 2003 Joerg Schilling + * cdrecord.h 1.153 + TI_QUADRO & is_quadro() neu + +Sun May 11 21:46:53 2003 Joerg Schilling + * xio.c 1.2 + Schutz gegen Coredump wenn pp->x_name == NULL + +Sat May 10 16:15:14 2003 Joerg Schilling + * cue.c 1.14 + Erster Ansatz fuer parse_file() + +Sat May 10 15:05:46 2003 Joerg Schilling + * cue.c 1.13 + struct state neu + cueopen()/neednextitem()/needword()/needitem()/checkextra()/cueabort() neu + +Fri May 9 10:10:42 2003 Joerg Schilling + * cue.c 1.12 + keyw_t Arrays -> LOCAL + +Fri May 9 10:08:10 2003 Joerg Schilling + * cue.c 1.11 + Parser Funktionen -> LOCAL + +Fri May 9 10:00:21 2003 Joerg Schilling + * cue.c 1.10 + Erster Ansatz zum weiteren parsieren der Keywort Zeilen mit den Funktionen parse_*() + +Fri May 9 09:58:25 2003 Joerg Schilling + * cdtext.c 1.9 + #include cdtext.h vor cdrecord.h wegen gettextptr() und den Typ textptr_t + +Fri May 9 09:57:08 2003 Joerg Schilling + * auinfo.c 1.20 + * cdrecord.h 1.152 + gettextptr() ist nun nicht mehr LOCAL + +Fri May 9 09:56:24 2003 Joerg Schilling + * cdtext.h 1.4 + #define CDTEXT_H fuer Erkennung dasz cdtext.h includiert wurde + +Thu May 8 20:13:07 2003 Joerg Schilling + * cue.c 1.9 + Umgestellt fuer mehr "Ordnung" + +Thu May 8 19:57:21 2003 Joerg Schilling + * cue.c 1.8 + Definitionen fuer alle Schluesselworte + +Thu May 8 19:44:42 2003 Joerg Schilling + * cue.c 1.7 + getlocal() beseitigt, parsecue()/fparsecue() neu + +Thu May 8 19:38:55 2003 Joerg Schilling + * scsiopen.c 1.94 + js_snprintf(errs, slen, scgp->errstr) -> js_snprintf(errs, slen, "%s", scgp->errstr) + +Thu May 8 19:38:14 2003 Joerg Schilling + * drv_mmc.c 1.148 + get_speeds_plextor() geht nicht mit alten LW, daher Ausfuerung im silent Mode + +Thu May 8 00:45:07 2003 Joerg Schilling + * cue.c 1.6 + Reihenfolge der Keyworte Kommentar + +Wed May 7 23:46:01 2003 Joerg Schilling + * cdrecord.h 1.151 + * wm_packet.c 1.22 + * fifo.c 1.45 + * cdrecord.c 1.255 + Umbau auf 'xio' + +Wed May 7 20:31:31 2003 Joerg Schilling + * xio.h 1.1 + * xio.c 1.1 + date and time created 03/05/07 19:31:31 by joerg + +Tue May 6 23:57:09 2003 Joerg Schilling + * cdrecord.h 1.150 + * cdrecord.1 1.78 + * cdrecord.c 1.254 + -abort Option neu + +Tue May 6 19:12:27 2003 Joerg Schilling + * cue.c 1.5 + Kommentar verbessert, lookup() mit table Parameter + +Tue May 6 00:35:47 2003 Joerg Schilling + * cue.c 1.4 + Kommentar verbessert + +Tue May 6 00:23:14 2003 Joerg Schilling + * cue.c 1.3 + Umbau auf Makefilesystem, ungetline()/getlocal() neu + +Sun May 4 18:41:33 2003 Joerg Schilling + * cdrecord.1 1.77 + Beschreibung der Audio Kopie aus Pipe + +Sun May 4 18:36:46 2003 Joerg Schilling + * cdrecord.c 1.253 + Version -> 2.01a13 + +Sun May 4 18:35:19 2003 Joerg Schilling + * cdrecord.h 1.149 + * cdrecord.c 1.252 + * auinfo.c 1.19 + Neue Funktion auinfosize() fuer AudioCDs aus Pipe Brennen + +Sun May 4 15:46:38 2003 Joerg Schilling + * cdrecord.c 1.251 + Neue Funktion opentracks() und Umstellung des Trackparsing + +Sun May 4 15:18:21 2003 Joerg Schilling + * fifo.c 1.44 + STDIN wird nicht mehr geschossen damit Audio "On the Fly" moeglich wird + +Sun May 4 15:16:43 2003 Joerg Schilling + * cdrecord.h 1.148 + Neues Track Flag TI_USEINFO, tracktype/dbtype nun Uchar + +Sun May 4 12:52:00 2003 Joerg Schilling + * cdrecord.c 1.250 + setuid(getuid()) nachdem alle root Dinge erledigt sind (hoffentlich) + +Sat May 3 20:09:17 2003 Joerg Schilling + * scsitransp.h 1.54 + * scsitransp.c 1.86 + scg_fprascii()/scg_prascii()/scg_sprascii() neu + +Sat May 3 19:39:32 2003 Joerg Schilling + * cdrecord.c 1.249 + gracewait setzt nun didgrace auf TRUE um doppeltes Warten zu vermeiden + +Fri May 2 22:49:20 2003 Joerg Schilling + * scsi-unixware.c 1.35 + Debug error() beseitigt + +Fri May 2 22:46:35 2003 Joerg Schilling + * scsi-unixware.c 1.34 + xpopen() neu damit suid root Binaries gehen, denn /etc/scsi/pdiconfig geht nicht wenn euid != uid + +Tue Apr 29 22:59:14 2003 Joerg Schilling + * cdrecord.c 1.248 + Version -> 2.01a11 + +Tue Apr 29 20:59:54 2003 Joerg Schilling + * cdrecord.c 1.247 + * cdrecord.1 1.76 + Neue Optionen -xa/-xamix und -multi/-mode2/-xa1/-xa2/-cdi korrigiert + +Tue Apr 29 20:41:16 2003 Joerg Schilling + * drv_mmc.c 1.147 + Support fuer TAO -mode2 + +Tue Apr 29 20:40:26 2003 Joerg Schilling + * cdrecord.h 1.147 + Definitionen fuer Daten Sektor Typen + +Tue Apr 29 00:27:20 2003 Joerg Schilling + * drv_mmc.c 1.146 + Bessere Ausgabe fuer formatierte RW Medien + +Tue Apr 29 00:26:27 2003 Joerg Schilling + * scsi_mmc.c 1.7 + Ausgave des Current Profile auf separater Zeile + +Wed Apr 23 23:25:27 2003 Joerg Schilling + * drv_dvdplus.c 1.5 + Ungebrauchte Variablen beseitigt + +Wed Apr 23 23:20:27 2003 Joerg Schilling + * scsi_cdr.c 1.133 + read_track_info() Bug gefixt (type Bits waren in cmd_cdb[2] statt cmd_cdb[1]) + +Wed Apr 23 23:19:24 2003 Joerg Schilling + * cdrecord.c 1.246 + gracewait() umstrukturiert + +Wed Apr 23 23:18:13 2003 Joerg Schilling + * scsi_mmc.c 1.6 + * drv_mmc.c 1.145 + * cdrecord.h 1.146 + print_profiles() neu + +Tue Apr 22 22:36:02 2003 Joerg Schilling + * cdrecord.c 1.245 + Return Code von (*dp->cdr_init)(scgp, dp) auswerten + +Tue Apr 22 19:08:58 2003 Joerg Schilling + * cdrecord.c 1.244 + raise_fdlim versucht nun nicht mehr z.B. ein Limit von 256 auf 109 zu "erhoehen". + +Tue Apr 22 17:47:29 2003 Joerg Schilling + * drv_mmc.c 1.144 + Fehlendes " ergaenzt + +Tue Apr 22 17:46:28 2003 Joerg Schilling + * drv_mmc.c 1.143 + Bessere Fehlermeldung fuer get next writable address auf formatierte CD-RW + +Tue Apr 22 17:42:06 2003 Joerg Schilling + * cdrecord.c 1.243 + Mehr Fehlermeldungen wenn in der Hauptschleife Fehler auftreten. + +Tue Apr 22 01:08:46 2003 Joerg Schilling + * cdrecord.c 1.242 + Version -> 2.01a11, gracewait() mit didgrace Parameter fuer Ausgabe ohne Warten + +Mon Apr 21 15:49:58 2003 Joerg Schilling + * cdrecord.c 1.241 + Format Code mit #ifdef DRV_DVD auskommentiert + +Mon Apr 21 15:40:04 2003 Joerg Schilling + * drv_mmc.c 1.142 + CL_TYPE_* #defines neu fuer scsi_close_tr_session() + +Mon Apr 21 15:39:13 2003 Joerg Schilling + * cdrecord.c 1.240 + -format & BOOL gracedone neu + +Mon Apr 21 15:23:22 2003 Joerg Schilling + * cdrecord.h 1.145 + * scsi_cdr.c 1.132 + request_sense_b()/reserve_tr_rzone() neu + +Mon Apr 21 14:22:51 2003 Joerg Schilling + * cdrecord.c 1.239 + Umbau auf gracewait() + +Sun Apr 20 16:26:57 2003 Joerg Schilling + * scsi_mmc.c 1.5 + get_format_capacities() neu + +Sun Apr 20 16:22:26 2003 Joerg Schilling + * drv_mmc.c 1.141 + read_track_info() mit erweiterten Parametern (Type) -> TI_TYPE_TRACK + +Sun Apr 20 16:21:22 2003 Joerg Schilling + * scsi_cdr.c 1.131 + read_track_info() mit erweiterten Parametern (Type), read_rzone_info() aus drv_dvd.c durch read_track_info() + +Sun Apr 20 16:20:40 2003 Joerg Schilling + * cdrecord.h 1.144 + F_FORMAT neu, WM_FORMAT neu, DSF_DVD_PLUS_R/DSF_DVD_PLUS_RW/DSF_NEED_FORMAT neu + read_track_info() mit erweiterten Parametern (Type), read_rzone_info() aus drv_dvd.c durch read_track_info() + get_format_capacities()/read_format_capacities() neu + +Sun Apr 20 15:52:45 2003 Joerg Schilling + * scsimmc.h 1.9 + struct disk_info um dbit & bg_format_stat erweitert + +Sun Apr 20 15:13:25 2003 Joerg Schilling + * scsireg.h 1.29 + struct scsi_format_header um immed/tryout/ipattern Bits erweitert + struct scsi_format_cap_header neu + struct scsi_format_cap_desc neu + struct scsi_cap_data neu + +Sun Apr 20 15:04:56 2003 Joerg Schilling + * scsicdb.h 2.18 + NACA Bit im Control Byte neu + +Fri Apr 18 16:53:04 2003 Joerg Schilling + * drv_dvd.c 1.106 + * drv_mmc.c 1.140 + * cdrecord.h 1.143 + * scsi_cdr.c 1.130 + read_dvd_structure() nun mit addr und layer Parameter + +Fri Apr 18 16:51:11 2003 Joerg Schilling + * scsi_mmc.c 1.4 + Unbenutze & Uninitialisierte Variablen beseitigt + +Thu Apr 17 23:13:07 2003 Joerg Schilling + * cdr_drv.c 1.34 + DVD+ Treiber neu + +Thu Apr 17 23:09:29 2003 Joerg Schilling + * drv_mmc.c 1.139 + Treibertexte besser eingerueckt + Umleitung auf DVD+ Treiber bei DVD+ Medium + Aufruf der dp->cdr_identify(scgp, dp, scgp->inq) Routine bei Weiterleitung auf DVD Treiber + +Thu Apr 17 09:45:56 2003 Joerg Schilling + * drv_sony.c 1.69 + * drv_philips.c 1.67 + * cdr_drv.c 1.33 + * cdrecord.h 1.142 + * drv_simul.c 1.46 + * drv_dvd.c 1.105 + * drv_jvc.c 1.79 + * drv_7501.c 1.14 + * drv_mmc.c 1.138 + cdr_format() Funktion neu + +Thu Apr 17 02:32:05 2003 Joerg Schilling + * drv_mmc.c 1.137 + load_media() fuer get_curprofile() im Silent Mode, wenn es ein CD Brenner ist dann wird nicht der CD-ROM Treiber returniert + +Thu Apr 17 01:10:51 2003 Joerg Schilling + * drv_mmc.c 1.136 + SCSI-3/MMC-3 medien Tests neu um DVD+ zu erkennen + +Thu Apr 17 00:04:06 2003 Joerg Schilling + * scsi_mmc.c 1.3 + Vermeiden von pname(profile) ohne #defne DRV_DVD + +Wed Apr 16 23:40:46 2003 Joerg Schilling + * drv_mmc.c 1.135 + mmc_getval() weiter nach hinten - nach Korrektur der Inquiry Daten fuer ATAPI + +Wed Apr 16 22:49:41 2003 Joerg Schilling + * drv_mmc.c 1.134 + Treiber ID Text (Kommentar) verbessert + +Wed Apr 16 22:42:59 2003 Joerg Schilling + * drv_sony.c 1.68 + Cue sheet Option auf 3 setzen + +Wed Apr 16 22:40:00 2003 Joerg Schilling + * cdrecord.1 1.75 + Hinweis auf mkisofs -print-size bei SAO/RAW + +Wed Apr 16 22:28:03 2003 Joerg Schilling + * cdr_drv.c 1.32 + SCSI-3/mmc-3 Support fuer DVD + DDCD Erkennung mit get_proflist() + +Wed Apr 16 22:25:56 2003 Joerg Schilling + * scsimmc.h 1.8 + struct rzone_info um lra_v erweitert + struct mmc_performance_header / struct mmc_performance / struct mmc_exceptions / struct mmc_write_speed / struct mmc_streaming neu + +Wed Apr 16 22:01:14 2003 Joerg Schilling + * cdrecord.h 1.141 + get_proflist()/get_wproflist() aus scsi_mmc.c neu + +Wed Apr 16 22:00:33 2003 Joerg Schilling + * scsi_mmc.c 1.2 + get_conflen()/get_profiles()/get_proflist()/get_wproflist() neu + +Wed Apr 16 00:49:27 2003 Joerg Schilling + * drv_mmc.c 1.133 + get_speeds_plextor() komplett in die Statistik Funktion verlagert + +Wed Apr 16 00:28:09 2003 Joerg Schilling + * scsi_mmc.c 1.1 + date and time created 03/04/15 23:28:09 by joerg + +Wed Apr 16 00:28:00 2003 Joerg Schilling + * cdrecord.h 1.140 + scsi_mmc.c Definitionen neu + +Wed Apr 16 00:12:54 2003 Joerg Schilling + * drv_mmc.c 1.132 + Trebertabellen aufgeraeumt + +Tue Apr 15 18:57:54 2003 Joerg Schilling + * cdrecord.h 1.139 + track_base(tp) Makro repariert (tp)->track statt (tp)->trackno + +Tue Apr 15 10:01:43 2003 Joerg Schilling + * drv_dvd.c 1.104 + TAO Fake beseitigt + +Sun Apr 13 21:54:15 2003 Joerg Schilling + * drv_sony.c 1.67 + #include timedefs.h fehlte + +Sun Apr 13 18:54:27 2003 Joerg Schilling + * drv_sony.c 1.66 + Erste SAO Implementierung (ohne MCN/ISRC/multi-session) + +Sun Apr 13 17:15:15 2003 Joerg Schilling + * drv_dvd.c 1.103 + * drv_simul.c 1.45 + * drv_jvc.c 1.78 + * drv_mmc.c 1.131 + * drv_7501.c 1.13 + * cdrecord.c 1.238 + * cdrecord.h 1.138 + * drv_philips.c 1.66 + cdr_abort_session() neu + +Sun Apr 13 17:10:44 2003 Joerg Schilling + * drv_mmc.c 1.130 + "Selected write speed:" -> "Last selected write speed:" + +Sun Apr 13 13:59:26 2003 Joerg Schilling + * scsi_cdr.c 1.129 + Intelligenteres scsi_load() kennt nun CDR_CADDYLOAD + +Sun Apr 13 13:54:27 2003 Joerg Schilling + * drv_philips.c 1.65 + Yamaha CDR-100 nun mit scsi_load() + +Sun Apr 13 13:36:00 2003 Joerg Schilling + * cdrecord.c 1.237 + Version -> 2.01a10, Neue Funktion print_drflags() + +Sun Apr 13 13:35:26 2003 Joerg Schilling + * cdrecord.h 1.137 + Kommentar verbessert + +Sun Apr 13 12:28:01 2003 Joerg Schilling + * cdrecord.c 1.236 + * scsi_cdr.c 1.128 + scsi_load()/scsi_unload() nun mit korrektem Return Wert (int statt BOOL) und Auswertung des Return Wertes in load_media()/unload_media() + +Fri Apr 11 15:31:30 2003 Joerg Schilling + * drv_mmc.c 1.129 + * drv_7501.c 1.12 + (*dp->cdr_gen_cue)() Aufruf nun ueber Pointer + +Fri Apr 11 15:27:44 2003 Joerg Schilling + * drv_dvd.c 1.102 + * drv_simul.c 1.44 + * drv_mmc.c 1.128 + * cdr_drv.c 1.31 + * cdrecord.h 1.136 + * drv_7501.c 1.11 + (*dp->cdr_send_cue)() nun mit cdr_t * Parameter + +Fri Apr 11 15:18:57 2003 Joerg Schilling + * drv_7501.c 1.10 + * drv_simul.c 1.43 + * drv_philips.c 1.64 + * drv_dvd.c 1.101 + * drv_mmc.c 1.127 + * drv_sony.c 1.65 + * drv_jvc.c 1.77 + * cdrecord.h 1.135 + * cdrecord.c 1.235 + Neue Funktion (*cdr_gen_cue)() + +Fri Apr 11 01:25:58 2003 Joerg Schilling + * drv_mmc.c 1.126 + get_speeds_plextor() nun mit 3 int * Parametern, Ausgabe der Maximalen Brenngeschwindigkeit in stats_mmc() + +Fri Apr 11 00:53:30 2003 Joerg Schilling + * cdrecord.c 1.234 + * cdrecord.h 1.134 + is_sao() & TI_SAO neu, checktsize() ueberprueft nun ob ein Track mit unbekannter Laenge in SAO/RAW mode vorhanden ist und bricht ab + +Thu Apr 10 21:18:42 2003 Joerg Schilling + * drv_philips.c 1.63 + * drv_simul.c 1.42 + * drv_7501.c 1.9 + * cdr_drv.c 1.30 + * cdrecord.h 1.133 + * drv_jvc.c 1.76 + * drv_dvd.c 1.100 + * drv_sony.c 1.64 + * scsi_cdr.c 1.127 + * drv_mmc.c 1.125 + * cdrecord.c 1.233 + cdr_check_recovery()/cdr_recover()/cdr_close_session() nun mit cdr_t * Parameter + +Thu Apr 10 19:19:22 2003 Joerg Schilling + * cdrecord.h 1.132 + Kommentar eingerueckt + +Thu Apr 10 19:15:16 2003 Joerg Schilling + * cdrecord.c 1.232 + * cdrecord.h 1.131 + * drv_sony.c 1.63 + * drv_simul.c 1.41 + * drv_philips.c 1.62 + * drv_mmc.c 1.124 + * drv_7501.c 1.8 + * drv_jvc.c 1.75 + * drv_dvd.c 1.99 + cdr_init() neu, cdr_speed_select() nun ohne "dummy" Parameter + +Thu Apr 10 15:32:14 2003 Joerg Schilling + * drv_mmc.c 1.123 + get_speeds_plextor() neu + +Sun Apr 6 15:49:07 2003 Joerg Schilling + * cdrecord.1 1.74 + Neue driveropts= speedread/singlesession/hidecdr + +Sun Apr 6 15:48:07 2003 Joerg Schilling + * cdrecord.c 1.231 + (*dp->cdr_set_speed_dummy)() Aufruf bei -setdropts zwischen cdr_opt1() und cdr_opt2() + +Sun Apr 6 15:45:45 2003 Joerg Schilling + * drv_mmc.c 1.122 + Support fuer Plextor PowerRec, SpeedReeed, SongleSession, HideCDR + +Sun Apr 6 02:19:35 2003 Joerg Schilling + * cdrecord.c 1.230 + * cdrecord.h 1.130 + #defines und Auswertung fuer CDR_SINGLESESS/CDR_HIDE_CDR/CDR_SPEEDREAD neu + +Sat Apr 5 22:35:50 2003 Joerg Schilling + * cdrecord.h 1.129 + * cdrecord.c 1.229 + * cdrecord.1 1.73 + Neue Option -setdropts + +Sat Apr 5 20:51:06 2003 Joerg Schilling + * drv_mmc.c 1.121 + mmc_load/mmc_unload() auskommentiert + +Sat Apr 5 20:46:51 2003 Joerg Schilling + * drv_mmc.c 1.120 + opt2_mmc() neu und Kode aus open_session_mmc() dorthin bewegt + +Sat Apr 5 20:43:36 2003 Joerg Schilling + * scsi_cdr.c 1.126 + * cdrecord.c 1.228 + Bessere Buffer underrun Erkennung und Beschreibung + +Sat Apr 5 15:49:22 2003 Joerg Schilling + * drv_sony.c 1.62 + * drv_mmc.c 1.119 + * drv_simul.c 1.40 + * drv_7501.c 1.7 + * cdrecord.c 1.227 + * drv_philips.c 1.61 + * drv_jvc.c 1.74 + * cdrecord.h 1.128 + * drv_dvd.c 1.97 + (*dp->cdr_opt2)(scgp, dp) neu + +Sat Apr 5 15:37:12 2003 Joerg Schilling + * cdrecord.c 1.226 + Buffer Underrun Vorhersage verbessert (kein loeschen am Trackanfang & zusaetzlicher Test auf leres RAM) + +Sat Apr 5 01:42:33 2003 Joerg Schilling + * drv_mmc.c 1.118 + Read Burn Proof Counter fuer Plextor + +Fri Apr 4 23:48:28 2003 Joerg Schilling + * scsi-unixware.c 1.33 + Reset Support neu + +Fri Apr 4 00:44:59 2003 Joerg Schilling + * cdrecord.c 1.225 + -packet impliziert nun nicht mehr TAO + +Fri Apr 4 00:35:13 2003 Joerg Schilling + * drv_7501.c 1.6 + cw7501__do_cue() nun korrekt LOCAL + +Fri Apr 4 00:30:05 2003 Joerg Schilling + * auinfo.c 1.18 + * subchan.c 1.16 + trackp->tracktype & TOC_MASK wegen TOCF_DUMMY/TOCF_MULTI + +Fri Apr 4 00:29:09 2003 Joerg Schilling + * drv_sony.c 1.61 + * drv_simul.c 1.39 + * drv_7501.c 1.5 + * drv_philips.c 1.60 + * cdrecord.h 1.127 + * cdrecord.c 1.224 + * drv_mmc.c 1.117 + * drv_jvc.c 1.73 + * drv_dvd.c 1.96 + cdr_open_session()/cdr_fixate() ohne multi/dummy Parameter -> track[0].tracktype + +Thu Apr 3 22:49:10 2003 Joerg Schilling + * drv_jvc.c 1.72 + * drv_dvd.c 1.95 + * wm_packet.c 1.21 + * cdrecord.c 1.223 + Casting wegen Signed/Unsigned Arithmetik bei ANSI C + +Thu Apr 3 22:32:30 2003 Joerg Schilling + * drv_sony.c 1.60 + * drv_7501.c 1.4 + * drv_simul.c 1.38 + * drv_dvd.c 1.94 + * drv_philips.c 1.59 + * drv_mmc.c 1.116 + * drv_jvc.c 1.71 + * cdrecord.c 1.222 + * cdrecord.h 1.126 + cdr_open_session()/cdr_fixate() Treiberinterface nun ohne toctype Parameter -> trackp[0]->tracktype + +Thu Apr 3 20:51:34 2003 Joerg Schilling + * fifo.c 1.43 + int -> Uint wegen Ansi C Vergleich + +Thu Apr 3 20:46:46 2003 Joerg Schilling + * clone.c 1.6 + first/last int -> Uint wegen Ansi C Vergleich + +Thu Apr 3 20:42:01 2003 Joerg Schilling + * subchan.c 1.15 + j int -> Uint wegen Ansi C Vergleich + +Thu Apr 3 18:16:00 2003 Joerg Schilling + * cdrecord.c 1.221 + Neue Option -lock + prtimediff() -> misc.c + Version -> 2.01a09 + +Thu Apr 3 18:15:00 2003 Joerg Schilling + * cdrecord.1 1.72 + Neue Option -lock + +Thu Apr 3 18:14:43 2003 Joerg Schilling + * misc.c 1.3 + prtimediff() aus cdrecord.c neu + +Thu Apr 3 18:14:05 2003 Joerg Schilling + * drv_mmc.c 1.115 + int/Uint Vergleiche gecastet + test auf tracksize < 0 vor do_cue() + Versuch zu erreichen dasz is_packet(trackp) nicht mehr is_tao(trackp) impliziert + +Thu Apr 3 18:11:45 2003 Joerg Schilling + * cdrecord.h 1.125 + F_DLCK & prtimediff() neu + +Thu Apr 3 18:11:22 2003 Joerg Schilling + * drv_7501.c 1.3 + Support fuer SAO neu + +Sun Mar 30 22:16:25 2003 Joerg Schilling + * drv_7501.c 1.2 + Schreibsupport fuer TAO + +Sun Mar 30 13:50:02 2003 Joerg Schilling + * cdrecord.c 1.220 + * drv_mmc.c 1.114 + Eingerueckt nach cstyle + +Sat Mar 29 20:27:16 2003 Joerg Schilling + * scsi-unixware.c 1.32 + Auswertung von scbp->sc_comp_code und Setzten von sp->error + +Thu Mar 27 12:11:17 2003 Joerg Schilling + * readcd.c 1.54 + meshpoints=# Option neu + +Thu Mar 27 01:15:30 2003 Joerg Schilling + * cdrecord.c 1.219 + 2002 -> 2003 + +Thu Mar 27 01:03:48 2003 Joerg Schilling + * cdr_drv.c 1.29 + cw7501 neu + +Thu Mar 27 01:02:47 2003 Joerg Schilling + * drv_7501.c 1.1 + date and time created 03/03/27 01:02:47 by joerg + +Thu Mar 27 00:53:40 2003 Joerg Schilling + * cdrecord.c 1.218 + Version -> 2.01a07, Unterdrueckung von "Warning: blockdesc secsize %d differs from cap secsize %d\n" wenn scgp->cap->c_bsize == 0 + +Thu Mar 27 00:45:34 2003 Joerg Schilling + * cdrecord.h 1.124 + Eingerueckt nach cstyle + +Thu Mar 27 00:43:06 2003 Joerg Schilling + * drv_mmc.c 1.113 + mmc_load()/mmc_unload() mit 2. Parameter cdr_t * + +Tue Mar 25 18:48:41 2003 Joerg Schilling + * scsi-qnx.c 1.2 + sccsid -> __sccsid + +Mon Mar 24 23:25:04 2003 Joerg Schilling + * cdrecord.c 1.217 + Version -> 2.01a06, Handler fuer SGIHUP/SIGTERM, cdr_underrun() neu + +Mon Mar 24 23:23:38 2003 Joerg Schilling + * scsi_cdr.c 1.125 + * cdrecord.h 1.123 + cdr_underrun() neu + +Mon Mar 24 13:01:28 2003 Joerg Schilling + * scsi-unixware.c 1.31 + Beseitigung von fdesc[MAX_SCG][MAX_TGT][MAX_LUN] und Verkleinerung von sdidevs[scg][tgt][lun] + Nun kann wirklich scg_open() mehrmals aufgerufen werden. + +Sun Mar 23 21:10:45 2003 Joerg Schilling + * scsi-unixware.c 1.30 + valid/atapi/initiator -> flags mit SDI_* Bit #defines + +Sun Mar 23 17:33:07 2003 Joerg Schilling + * scsi-unixware.c 1.29 + Besseres Verhalten fuer scgcheck + +Sun Mar 23 15:14:23 2003 Joerg Schilling + * scsi-unixware.c 1.28 + Eingerueckt wegen cstyle(1) + +Sun Mar 23 14:12:01 2003 Joerg Schilling + * scsihack.c 1.42 + Support fuer QNX neu + +Sun Mar 23 14:11:14 2003 Joerg Schilling + * scsi-qnx.c 1.1 + date and time created 03/03/23 14:11:14 by joerg + +Thu Mar 6 16:39:42 2003 Joerg Schilling + * fifo.c 1.42 + faio_wait_on_buffer() mit Prototype implementierung wegen SCO cc + +Thu Mar 6 16:27:52 2003 Joerg Schilling + * cdrecord.1 1.71 + Beschreibung fuer -xa1 -xa2, ... berichtigt + +Fri Feb 7 12:34:37 2003 Joerg Schilling + * cdrecord.1 1.70 + Schreibfehler beseitigt + +Sun Feb 2 14:13:07 2003 Joerg Schilling + * scsi-remote.c 1.12 + Umgestellt, damit es auch ohne rcmd() geht + +Tue Jan 28 01:19:39 2003 Joerg Schilling + * drv_mmc.c 1.112 + Workaround fuer LG TAO Audio Formware bug: audio_pause_len = 150 + +Tue Jan 7 14:09:28 2003 Joerg Schilling + * scsi_cdr.c 1.124 + Ausgabe Save/Set Modepages auch auf stderr wie Rest der Zeile + +Tue Jan 7 14:08:43 2003 Joerg Schilling + * drv_mmc.c 1.111 + set_mode_params() ist BOOL, daher ist Abfrage auf < 0 falsch + +Tue Dec 24 16:28:38 2002 Joerg Schilling + * cdrecord.1 1.69 + Version -> 2.0 + +Tue Dec 24 14:16:34 2002 Joerg Schilling + * cdrecord.c 1.216 + Mail Adresse -> schilling@fokus.fhg.de + Vermeidung von "Cannot write CD's >= 100 minutes.\n" bei DVDs + +Mon Dec 16 22:26:39 2002 Joerg Schilling + * cdrecord.1 1.68 + Mailing Lists geupdated, Hinweis auf cddb= bei den cdda2wav Beispielen + +*************** Release 2.0 ******************* + +Sat Nov 30 17:43:51 2002 Joerg Schilling + * readcd.c 1.53 + * cdrecord.c 1.215 + Version -> 2.0 + +Sat Nov 30 16:11:27 2002 Joerg Schilling + * cdrecord.c 1.214 + DVD-Pro Check for Tracksize-known only if ntracks > 0 + +Sat Nov 30 13:01:27 2002 Joerg Schilling + * drv_mmc.c 1.110 + Allow Medium removal after load Media for DVD/CD recognition as drecord -checkdrive would otherwise lock the tray if it has been open before + +Sat Nov 30 12:55:17 2002 Joerg Schilling + * scsi-osf.c 1.25 + Debug output with SCSI Status Byte + +Fri Nov 22 17:55:41 2002 Joerg Schilling + * cdrecord.1 1.67 + RSH= und RSCSI= documented for ssh(1) RSCSI + +Fri Nov 22 17:40:35 2002 Joerg Schilling + * scsi-remote.c 1.11 + Support for non-root rcmd() and ssh(2) + +Fri Nov 22 17:35:54 2002 Joerg Schilling + * fifo.c 1.41 + AmigaOS Support with ix_vfork()/ix_vfork_resume() and separate var buf_idx_reader for vfork() + +Thu Nov 21 22:28:57 2002 Joerg Schilling + * cdrecord.c 1.213 + New Option minbuf= + +Thu Nov 21 22:23:10 2002 Joerg Schilling + * cdrecord.1 1.66 + minbuf= Option new + +Tue Nov 19 19:13:34 2002 Joerg Schilling + * scsiopen.c 1.93 + Fix for Coredump with dev=/dev/rsr1c:@,0 + +Sun Nov 10 19:18:04 2002 Joerg Schilling + * diskid.c 1.36 + Orange Forum Embargo Warning only if mp->msf_min == 97 for DVDs + +Mon Nov 4 18:12:16 2002 Joerg Schilling + * fifo.c 1.40 + close(f) /dev/zero oly if /dev/zero has been opened + +Sun Nov 3 16:32:52 2002 Joerg Schilling + * scsi_cdr.c 1.123 + * cdrecord.h 1.122 + write_xscsi()/seek_scsi()/seek_g0()/seek_g1() new + +Sat Nov 2 22:11:55 2002 Joerg Schilling + * cdrecord.c 1.212 + Version -> 1.11a40, _POSIX_MEMLOCK/_POSIX_PRIORITY_SCHEDULING Test POSIX 2001 conformant + +Sun Oct 27 15:19:29 2002 Joerg Schilling + * cdrecord.c 1.211 + New Wait Feature free the IDE Busses if Source&Destination are on the same cable (use -immed) + +Sun Oct 27 14:57:11 2002 Joerg Schilling + * cdrecord.1 1.65 + New Wait (usleep) Feature for -immed documented + +Sun Oct 27 14:42:36 2002 Joerg Schilling + * cdrecord.h 1.121 + New Flag RF_WR_WAIT to actively free the IDE Busses via usleep() + +Sun Oct 27 02:26:26 2002 Joerg Schilling + * cdrecord.c 1.210 + * wm_packet.c 1.20 + * drv_jvc.c 1.70 + Change from trackp->padsize ->trackp->padsecs + +Sun Oct 27 02:02:38 2002 Joerg Schilling + * cdrecord.h 1.120 + Change from trackp->padsize ->trackp->padsecs + New Sektor based Makros Sminutes(s)/Sseconds(s)/Shseconds(s)/Sframes(s) + +Sun Oct 27 01:20:58 2002 Joerg Schilling + * cdrecord.1 1.64 + Better docukmentation for padsize= + +Sat Oct 26 23:13:47 2002 Joerg Schilling + * scsi_cdr.c 1.122 + Text Generic mmc2 DVD -> Generic mmc2 DVD-R/DVD-RW + +Sat Oct 26 20:21:15 2002 Joerg Schilling + * wm_packet.c 1.19 + Support printing the fill ratio of the drive buffer and the actual write speed + +Fri Oct 25 15:06:33 2002 Joerg Schilling + * drv_mmc.c 1.109 + ATIP printinf for speed better -> %2d (reserved val %2d) + +Fri Oct 25 15:05:21 2002 Joerg Schilling + * cdrecord.c 1.209 + pad_track() now shows Drive buffer fill% and speed + Verbose prinrting for write_track_data() and pad_track() unified + +Fri Oct 25 00:49:04 2002 Joerg Schilling + * cdrecord.c 1.208 + Warning for cdrecord blank=fast if drive does not like -> Try cdrecord blank=all + write_track_data() now computes trackp->isecsize from trackp->isecsize to trackp->secsize + +Fri Oct 25 00:18:19 2002 Joerg Schilling + * drv_mmc.c 1.108 + BURN-Free was not used -> BURN-Free was never needed + +Fri Oct 25 00:06:12 2002 Joerg Schilling + * drv_mmc.c 1.107 + Test for 0xFF:0xFF/0xFF with dsp->ds_maxblocks == 716730 -> dsp->ds_maxblocks == 1166730 because we now use forceposivive in msf_to_lba() + +Thu Oct 24 23:47:23 2002 Joerg Schilling + * drv_mmc.c 1.106 + di_to_dstat() now always sets dsp->ds_first_leadin to allow 2. setting for Yamaha AudioMaster + +Wed Oct 23 22:46:02 2002 Joerg Schilling + * cdrecord.c 1.207 + Version -> 1.11a39, Only cdrecord dev=help calls scg_help() no automatic printing if scg_open() fails + +Wed Oct 23 22:40:41 2002 Joerg Schilling + * cdrecord.1 1.63 + Many changes tp prepare for 2.0 + +Wed Oct 23 22:21:46 2002 Joerg Schilling + * scsi-linux-ata.c 1.4 + Workaround for Linux Kernel design bug: CDROM_SEND_PACKET stes errno to EINVAL if Sense Key is "Invalid Command" + +Mon Oct 21 19:20:33 2002 Joerg Schilling + * scsi-linux-sg.c 1.75 + /dev/sg* read loop again with 1000 loops but only if 'f' is a RAW device + Typo fixed + +Sun Oct 20 15:28:58 2002 Joerg Schilling + * scsi-linux-sg.c 1.74 + sg_clearnblock() new to alow to clear O_NONBLOCK directly after open(.., ...|O_NONBLOCK) + +Sat Oct 19 22:04:23 2002 Joerg Schilling + * cdrecord.c 1.206 + Version -> 1.11a38, Support for libscg Help + +Sat Oct 19 21:28:22 2002 Joerg Schilling + * scsiopen.c 1.92 + * scsihack.c 1.41 + scg_help() Funktion new + +Sat Oct 19 21:27:21 2002 Joerg Schilling + * scsitransp.c 1.85 + Version -> 0.7 + +Sat Oct 19 21:26:25 2002 Joerg Schilling + * scsi-wnt.c 1.29 + * scsi-vms.c 1.32 + * scsi-unixware.c 1.27 + * scsi-sun.c 1.76 + * scsi-sgi.c 1.35 + * scsi-remote.c 1.10 + * scsi-osf.c 1.24 + * scsi-os2.c 1.22 + * scsi-openserver.c 1.30 + * scsi-next.c 1.31 + * scsi-mac-iokit.c 1.4 + * scsi-linux-sg.c 1.73 + * scsi-linux-pg.c 1.42 + * scsi-linux-ata.c 1.3 + * scsi-hpux.c 1.30 + * scsi-bsd.c 1.41 + * scsi-bsd-os.c 1.27 + * scsi-beos.c 1.21 + * scsi-apollo.c 1.4 + * scsi-amigaos.c 1.3 + * scsi-aix.c 1.35 + scgo_help() Funktion new + +Sat Oct 19 19:14:05 2002 Joerg Schilling + * scsitransp.h 1.53 + Parameter tcomment new in __scg_help() + +Sat Oct 19 14:02:47 2002 Joerg Schilling + * scsitransp.h 1.52 + Help functions new + +Fri Oct 18 17:25:31 2002 Joerg Schilling + * scsi-linux-sg.c 1.72 + Modified Cleanup read() loop in sg_initdev() by request from Linus Torvalds + +Fri Oct 18 17:20:00 2002 Joerg Schilling + * scsi-sun.c 1.75 + open Warnung von error() auf js_fprintf((FILE *)scgp->errfile umgestellt + +Fri Oct 18 17:16:48 2002 Joerg Schilling + * scsiopen.c 1.91 + * scsi-linux-ata.c 1.2 + * scsi-sun.c 1.74 + Allow unified dev=ATAPI, dev=ATAPI:, dev=USCSI, dev=USCSI: + +Sun Oct 13 21:40:59 2002 Joerg Schilling + * scsi-linux-sg.c 1.71 + open(name, 2) -> O_RDWR.... + sg_initdev() with better loop to read possible rests from driver (requested by Linus Torvalds) + +Sun Oct 13 21:23:54 2002 Joerg Schilling + * scsi-sun.c 1.73 + * scsi-linux-pg.c 1.41 + open(name, 2) -> O_RDWR.... + +Sat Oct 12 13:53:52 2002 Joerg Schilling + * sector.c 1.11 + Initialize Testsector in encspeed() to make resulting speed independent from junk on the stack + +Thu Oct 10 23:43:33 2002 Joerg Schilling + * cdrecord.c 1.205 + Change wording from DAO -> SAO + +Wed Oct 9 19:36:09 2002 Joerg Schilling + * scsireg.h 1.28 + New device types for Inquiry + +Wed Oct 9 19:35:44 2002 Joerg Schilling + * scsitransp.c 1.84 + scg_fprintdev() New device types for Inquiry + +Tue Oct 8 00:57:50 2002 Joerg Schilling + * scsi-unixware.c 1.26 + Handle EBUSY for multiple opens + +Mon Oct 7 22:19:15 2002 Joerg Schilling + * sector.c 1.10 + * cdrecord.h 1.119 + * cdrecord.c 1.204 + Verbose printing of the LEC encoding speed -> encspeed() + +Sat Oct 5 22:07:27 2002 Joerg Schilling + * cdrecord.c 1.203 + call cdr_buffer_cap() in Silent mode to make sure buggy drives (CW-7585) will not print constantly error messages + +Sat Oct 5 18:07:46 2002 Joerg Schilling + * scsi-linux-ata.c 1.1 + date and time created 02/10/05 17:07:46 by joerg + +Sat Oct 5 17:48:27 2002 Joerg Schilling + * scsi-linux-sg.c 1.70 + Support for CDROM_SEND_PACKET in scsi-linux-ata.c new + SCSI Timeout now may be distinguished from SCSI selection Timeout by implementing a workarounf for a Linux kernel bug + +Sat Oct 5 00:02:52 2002 Joerg Schilling + * scsi-sun.c 1.72 + Do not open all /dev/scg* devices if not in SCAN mode + ENXIO for USCSI means selection Timeout + +Fri Oct 4 23:59:05 2002 Joerg Schilling + * scsi-vms.c 1.31 + Warn for missing Scanbus, up to 26 IDE Controller from Chip.Dancy@hp.com + +Wed Oct 2 21:44:22 2002 Joerg Schilling + * cdrecord.c 1.202 + Version -> 1.11a36, #ifdef HAVE_LIB_EDC_ECC to allow compilation without libedc + +Wed Oct 2 02:22:32 2002 Joerg Schilling + * fifo.c 1.39 + Allow again compilation with #undef FIFO + +Wed Oct 2 00:54:52 2002 Joerg Schilling + * scsiopen.c 1.90 + replace comma by semikolon + +Wed Oct 2 00:48:49 2002 Joerg Schilling + * scsi-vms.c 1.30 + gk_chan is Unsigned but there was a comparison <= 0 + scsi status scsi_sts now correct for ATAPI + +Sat Sep 28 20:36:58 2002 Joerg Schilling + * drv_mmc.c 1.105 + deflt_writemodes_mmc() now with fallback to SAO if TAO is not supported + +Sat Sep 28 14:53:33 2002 Joerg Schilling + * cdrecord.c 1.201 + -force Wirkung auf RAW Speed nur noch bis maximal das was eine CPU kann + Neue environment Variable "CDR_FORCERAWSPEED" + +Sat Sep 28 14:46:54 2002 Joerg Schilling + * sector.c 1.9 + EDC_SCRAMBLE_NOSWAP #define in old libedc new + +Fri Sep 27 17:39:00 2002 Joerg Schilling + * cdrecord.c 1.200 + Limit gracetime to 999, Do not use \b with wait time because seconds may use more than one column + +Fri Sep 27 16:40:46 2002 Joerg Schilling + * drv_simul.c 1.37 + DVD max speed -> 1000 + +Fri Sep 27 14:33:00 2002 Joerg Schilling + * cdrecord.c 1.199 + Drive current speed/Drive default speed/Drive max speed printing now with lverbose > 1 + Hint to Heiko with Encoding speed printing + +Fri Sep 27 14:30:18 2002 Joerg Schilling + * drv_mmc.c 1.104 + Max Speed in struct from 370 -> 372, + mmc_opthelp()/hasdrvopt()/get_justlink_ricoh() now with EXPORT + Bug with dp->cdr_dstat->ds_dr_cur_wspeed fixed, + set dp->cdr_speeddef/dp->cdr_speedmax from drive values + +Fri Sep 27 14:28:27 2002 Joerg Schilling + * drv_dvd.c 1.89 + Change to use new driveropts= method from drv_mmc.c + +Fri Sep 27 14:25:18 2002 Joerg Schilling + * drv_simul.c 1.36 + Max Speed for CD from 370 -> 372 + +Thu Sep 26 03:06:39 2002 Joerg Schilling + * scsi_cdr.c 1.121 + scsi_load()scsi_unload() now may be called with cdr_t * 0 + +Wed Sep 25 18:05:41 2002 Joerg Schilling + * drv_mmc.c 1.103 + scsi_blank()/scsi_close_tr_session()/scsi_flush_cache() with immed Flag + +Wed Sep 25 16:12:10 2002 Joerg Schilling + * cdrecord.h 1.117 + * cdrecord.c 1.198 + * drv_simul.c 1.35 + * drv_philips.c 1.58 + * scsi_cdr.c 1.120 + * drv_dvd.c 1.88 + start/stop, load/unload, flush_cache with immed Parameter + +Wed Sep 25 14:22:26 2002 Joerg Schilling + * drv_jvc.c 1.69 + * drv_dvd.c 1.87 + * drv_mmc.c 1.102 + * cdr_drv.c 1.28 + * cdrecord.c 1.197 + * cdrecord.h 1.116 + blank() driver function now weith cdr_t * parameter for F_IMMED + +Wed Sep 25 13:52:12 2002 Joerg Schilling + * cdrecord.c 1.196 + -immed new + +Wed Sep 25 13:51:28 2002 Joerg Schilling + * cdrecord.c 1.195 + F_DVD -> TI_DVD (was wrong) + +Wed Sep 25 13:13:11 2002 Joerg Schilling + * cdrecord.h 1.115 + F_DVD -> TI_DVD (was wrong), F_IMMED new + +Wed Sep 25 00:38:52 2002 Joerg Schilling + * cdrecord.c 1.194 + * cdrecord.h 1.114 + * drv_sony.c 1.59 + * drv_simul.c 1.34 + * drv_philips.c 1.57 + * drv_mmc.c 1.101 + * drv_jvc.c 1.68 + * drv_dvd.c 1.86 + close_track()/fixate() enhanced by cdr_t * Parameter + +Tue Sep 24 21:28:33 2002 Joerg Schilling + * drv_mmc.c 1.100 + mmc_set_speed() new to allow drives that don't like speed=1 + +Tue Sep 24 18:40:42 2002 Joerg Schilling + * cdrecord.c 1.193 + Version -> 1.11a35, Do not print Zeit/speed Statistics if writing did not yet start + +Tue Sep 24 18:36:56 2002 Joerg Schilling + * scsi_cdr.c 1.119 + Modify speed printing to include CD/DVD Speed + +Mon Sep 23 15:42:22 2002 Joerg Schilling + * drv_simul.c 1.33 + Simulate Next Writable Address (for TAO) + +Mon Sep 23 15:39:22 2002 Joerg Schilling + * cdrecord.c 1.192 + Move Comment out of #ifdef DRV_DVD + +Mon Sep 23 15:17:56 2002 Joerg Schilling + * cdrecord.c 1.191 + Fix Pregap handling for DVD (no 150 Sektors per Track) + +Sun Sep 22 01:35:18 2002 Joerg Schilling + * cdrecord.h 1.113 + F_DVD new + +Sun Sep 22 00:11:57 2002 Joerg Schilling + * drv_dvd.c 1.85 + Set DVD Flag in driverstructure because it is now used + +Sat Sep 21 23:59:25 2002 Joerg Schilling + * drv_simul.c 1.32 + Set DVD Flags, calculate DVD speed correctly, + correct real time spend in usleep() + +Sat Sep 21 01:33:16 2002 Joerg Schilling + * cdrecord.c 1.190 + Version -> 1.11a34, Late check for tracks == 0 only if -fix was not used + +Fri Sep 20 01:58:54 2002 Joerg Schilling + * auinfo.c 1.17 + -auinfo should be superceede -scms / -copy + +Thu Sep 12 17:16:35 2002 Joerg Schilling + * cdrecord.c 1.189 + Statistics order new and better, + Print new statistics even on abort + +Thu Sep 12 17:03:42 2002 Joerg Schilling + * cdrecord.h 1.112 + New Flags RF_DID_STAT/RF_DID_CDRSTAT + +Thu Sep 12 16:42:57 2002 Joerg Schilling + * drv_philips.c 1.56 + Modified -> reload_media() + +Thu Sep 12 15:52:20 2002 Joerg Schilling + * drv_mmc.c 1.99 + cdr_dstat->ds_dr_max_rspeed/cdr_dstat->ds_dr_cur_rspeed neu + cdr_dstat->ds_dr_max_speed/cdr_dstat->ds_dr_cur_speed -> cdr_dstat->ds_dr_max_wspeed/cdr_dstat->ds_dr_cur_wspeed + scsi_set_speed() with MMC-3 rotctl Parameter + +Thu Sep 12 15:47:01 2002 Joerg Schilling + * cdrecord.c 1.188 + Version -> 1.11a33, ds_dr_max_speed -> ds_dr_max_wspeed + +Thu Sep 12 15:43:36 2002 Joerg Schilling + * drv_dvd.c 1.84 + * scsi_cdr.c 1.118 + * cdrecord.h 1.111 + scsi_set_speed() mit MMC-3 rotctl Parameter + +Thu Sep 12 14:37:26 2002 Joerg Schilling + * drv_mmc.c 1.98 + dsp->ds_flags with DSF_HIGHSP_ERA / DSF_ULTRASP_ERA + New Speed Tabels for HS and UHS RW media + atip_printspeed() new + Print A1 ATIP Werte also in hex + Modify ATIP printout for UHS CD-RW + +Thu Sep 12 13:34:49 2002 Joerg Schilling + * cdrecord.c 1.187 + Driveropts print MMC,MMC-2,MMC-3 + -force now allows to write faster data in -raw Data + Checks for Ultra High speed CD-RW for old writers + Do not print average write speed if data size is unknown + +Thu Sep 12 13:27:10 2002 Joerg Schilling + * scsi_cdr.c 1.117 + Enhancements for MMC-2 & MMC-3 in -prcap (mode Page 2A) + +Wed Sep 11 21:23:48 2002 Joerg Schilling + * scsireg.h 1.27 + MMC-2 & MMC-3 enhancements for Mode Page 2A + +Wed Sep 11 20:47:35 2002 Joerg Schilling + * cdrecord.h 1.110 + CDR_MMC/CDR_MMC2/CDR_MMC3 new + +Wed Sep 11 15:13:20 2002 Joerg Schilling + * subchan.c 1.14 + end = 0 for useless GCC Warning 'end' might be uninitialized + +Wed Sep 11 15:01:55 2002 Joerg Schilling + * cdrecord.h 1.109 + trackp->dataoff/tracks/track/trackno -> Uchar + DSF_HIGHSP_ERA & DSF_ULTRASP_ERA new + CDR_ALLOC without top Bit for GCC Warning + +Wed Sep 11 14:59:46 2002 Joerg Schilling + * drv_dvd.c 1.83 + * auinfo.c 1.16 + Cast for trackp->track* -> Uchar + +Wed Sep 11 14:59:07 2002 Joerg Schilling + * drv_sony.c 1.58 + Constant 0xFFFFFFFF with #ifdef for K&R/ANSI + +Sun Sep 1 23:43:15 2002 Joerg Schilling + * cdrecord.c 1.186 + Print minimal Drive Buffer fill ratio + +Sun Sep 1 23:42:39 2002 Joerg Schilling + * drv_mmc.c 1.97 + DiskT@2 Support new + +Sun Sep 1 23:33:34 2002 Joerg Schilling + * cdrecord.h 1.108 + Several new ds_* Vars for better Statistics + +Sun Sep 1 21:27:35 2002 Joerg Schilling + * cdrecord.c 1.185 + cdrstats() now guesses Buffer underruns and prints average write speed + +Sun Sep 1 17:42:59 2002 Joerg Schilling + * drv_mmc.c 1.96 + cdr_stats() Function new + speed_select_mmc() with 2nd Parameter dp for FORCESPEED + driveropts=foesecpeed new + driveropts=tattooinfo new + driveropts=tattoofile=name new + hasdrvopt() fixed: missing break nach past recognised Option + +Sun Sep 1 16:50:22 2002 Joerg Schilling + * cdrecord.c 1.184 + Buffer Cap print every 1 MB + +Fri Aug 30 13:57:26 2002 Joerg Schilling + * cdrecord.c 1.183 + Version -> 1.11a32, CDR_DISKTATTOO new, (*dp->cdr_stats)(scgp, dp); for Burn-Free Statistics + +Fri Aug 30 13:42:33 2002 Joerg Schilling + * cdrecord.h 1.107 + New driverinterfacefunction cdr_stats() + CDR_DISKTATTOO new + +Fri Aug 30 13:41:21 2002 Joerg Schilling + * drv_sony.c 1.57 + * drv_simul.c 1.31 + * drv_philips.c 1.55 + * drv_jvc.c 1.67 + * drv_dvd.c 1.82 + New driverinterfacefunction cdr_stats() + +Thu Aug 29 21:40:34 2002 Joerg Schilling + * drv_sony.c 1.56 + * drv_simul.c 1.30 + * drv_philips.c 1.54 + * drv_jvc.c 1.66 + * drv_dvd.c 1.81 + * cdrecord.h 1.106 + * cdrecord.c 1.182 + New Parameter cdr_t *dp for cdr_set_speed_dummy() for "forcespeed" + +Thu Aug 29 17:12:40 2002 Joerg Schilling + * mmcvendor.h 1.2 + link_counter is [2]. + +Mon Aug 26 17:47:17 2002 Joerg Schilling + * drv_mmc.c 1.95 + Turning... messages -> stdout + +Mon Aug 26 01:56:39 2002 Joerg Schilling + * drv_mmc.c 1.94 + JustLink Support new + +Mon Aug 26 01:22:08 2002 Joerg Schilling + * mmcvendor.h 1.1 + date and time created 02/08/26 00:22:08 by joerg + +Tue Aug 20 01:11:19 2002 Joerg Schilling + * drv_mmc.c 1.93 + mmc_opt1() new + Yamaha Audio Master Support new + Be more careful with test_write (-dummy) in deflt_writemodes_mmc() + Check driveropts= already in attach_mmc() and turn into flags + +Tue Aug 20 00:06:22 2002 Joerg Schilling + * cdrecord.c 1.181 + Call dp->cdr_opt1() _before_ set speed/dummy and before the first Size Check + +Mon Aug 19 02:30:52 2002 Joerg Schilling + * cdrecord.c 1.180 + Do not clear ds_cdrflags after attach() + +Mon Aug 19 01:12:18 2002 Joerg Schilling + * cdrecord.c 1.179 + driveropts=help new in short usage() + +Mon Aug 19 00:45:49 2002 Joerg Schilling + * cdrecord.h 1.105 + * drv_dvd.c 1.80 + * drv_simul.c 1.29 + * drv_jvc.c 1.65 + * drv_sony.c 1.55 + * drv_philips.c 1.53 + cdr_t->cdr_opt1() new + +Mon Aug 19 00:40:47 2002 Joerg Schilling + * cdrecord.c 1.178 + dataoff = 16 as Default in autoaudio to allow cdrecord -raw to work without -data + +Mon Aug 19 00:34:46 2002 Joerg Schilling + * cdrecord.c 1.177 + Call (*dp->cdr_opt1)(scgp, dp) for Yamaha Audio Master, then 2. Check for size + +Sat Aug 17 01:13:39 2002 Joerg Schilling + * drv_mmc.c 1.92 + Yamaha Audio Master recognition, Varirec in driveropts=help, Varirec recognition + +Sat Aug 17 00:52:44 2002 Joerg Schilling + * cdrecord.h 1.104 + Calling sequence comment new + +Sat Aug 17 00:04:28 2002 Joerg Schilling + * sector.c 1.8 + Max RAW speed in metering raised from 100x -> 1000x + +Fri Aug 16 02:39:01 2002 Joerg Schilling + * cdrecord.c 1.176 + * cdrecord.h 1.103 + CDR_VARIREC / CDR_AUDIOMASTER / CDR_FORCESPEED new + +Wed Aug 14 23:43:34 2002 Joerg Schilling + * cdrecord.c 1.175 + Version -> 1.11a30, Speed test for RAW data sectors + +Wed Aug 14 20:50:55 2002 Joerg Schilling + * defaults.c 1.9 + Allow Space as separator in /etc/default/cdrecord + +Wed Aug 14 01:04:46 2002 Joerg Schilling + * cdrecord.h 1.102 + * sector.c 1.7 + encspeed() new + +Tue Aug 13 23:45:22 2002 Joerg Schilling + * sector.c 1.6 + HAVE_LIB_EDC_ECC/HAVE_NEW_LIB_EDC/CLONE_WRITE new + +Tue Jul 30 00:22:27 2002 Joerg Schilling + * cdrecord.c 1.174 + Version ->1.11a28, tracksize/secsize ->itracksize/isecsize for debug printf + +Mon Jul 29 22:22:12 2002 Joerg Schilling + * cdrecord.h 1.101 + track_base() Macro new, typedef struct ofile ofile_t new + +Mon Jul 29 21:58:12 2002 Joerg Schilling + * subchan.c 1.13 + Shift ISRC & MCN by one to the end if the are on an index change + +Sun Jul 28 23:19:55 2002 Joerg Schilling + * drv_simul.c 1.28 + Flags with allen possible write modi and with CDR_TRAYLOAD to avoid + +Sun Jul 28 13:54:08 2002 Joerg Schilling + * subchan.c 1.12 + better comment + +Thu Jul 25 03:25:39 2002 Joerg Schilling + * subchan.c 1.11 + Support for ISRC/MCN in RAW Mode new (but witout index shift) + +Tue Jul 23 23:47:58 2002 Joerg Schilling + * subchan.c 1.10 + First loop in fillsubch() removed because it is identical to second loop + +Tue Jul 23 23:32:31 2002 Joerg Schilling + * subchan.c 1.9 + fillsubch() now coeerect for audio Pregap between Tracks korrekt with relative time counting downwards + +Sun Jul 21 18:21:24 2002 Joerg Schilling + * drv_mmc.c 1.91 + set dsp->{ds_disktype!ds_trfirst!ds_trlast!ds_trfirst_ls} from dip->* + Do not cast malloc() anymore + Check write_cdtext() Returncode + Prepare for just Link + +Sun Jul 21 18:13:25 2002 Joerg Schilling + * drv_dvd.c 1.79 + set CDR_BURNFREE Flag, + set dsp->{ds_disktype!ds_trfirst!ds_trlast!ds_trfirst_ls} from dip->* + +Sun Jul 21 18:07:21 2002 Joerg Schilling + * cdrecord.c 1.173 + Version -> 1.11a27, + Define Warning that needs to be printed if Source has been changed, + Better messages for wrong DVD-RW write speed, reload_media() at end Ende of RAW Write + +Sun Jul 21 17:52:54 2002 Joerg Schilling + * scsi_cdr.c 1.116 + * auinfo.c 1.15 + malloc() Cast removed + +Sun Jul 21 17:51:44 2002 Joerg Schilling + * drv_sony.c 1.54 + dsp->ds_diskid now is UInt32_t + +Sun Jul 21 17:44:11 2002 Joerg Schilling + * cdrecord.h 1.100 + struct disk_status with Typen from utypes.h + +Mon Jul 8 00:31:04 2002 Joerg Schilling + * wm_session.c 1.4 + * wm_packet.c 1.18 + * subchan.c 1.8 + * fifo.c 1.38 + * drv_mmc.c 1.90 + * drv_jvc.c 1.64 + * clone.c 1.5 + * cdrecord.h 1.99 + * cdrecord.c 1.172 + 'tracks' outside driver interface removed and replaced by trackp->tracks + +Sun Jul 7 22:30:24 2002 Joerg Schilling + * drv_jvc.c 1.63 + Better rebuild old driver interface in next_wr_address_jvc() + +Sun Jul 7 22:28:35 2002 Joerg Schilling + * wm_packet.c 1.17 + * drv_mmc.c 1.89 + * cdr_drv.c 1.27 + * cdrecord.h 1.98 + * cdrecord.c 1.171 + * drv_sony.c 1.53 + * drv_simul.c 1.27 + * drv_philips.c 1.52 + * drv_jvc.c 1.62 + * drv_dvd.c 1.77 + trackno/tracks Parameter in driverinterface removed for new Struct Member + +Sat Jul 6 21:19:22 2002 Joerg Schilling + * cdrecord.c 1.170 + * cdrecord.h 1.97 + track_t now with tracks and track for simplified driverinterface + +Sat Jul 6 18:20:27 2002 Joerg Schilling + * cdrecord.h 1.96 + * cdrecord.c 1.169 + * drv_sony.c 1.52 + * drv_simul.c 1.26 + * drv_philips.c 1.51 + * drv_mmc.c 1.88 + * drv_jvc.c 1.61 + * drv_dvd.c 1.76 + cdr_speeddef/cdr_speedmax new and do not default to speed= 1 but to cdr_speeddef + +Fri Jul 5 23:11:39 2002 Joerg Schilling + * cdrecord.c 1.168 + Version -> 1.11a26 + wm2name[] with better systematics + Bugfix for High Speed CD-RW that could not be written anymore at 10x speed + New test for too slow writing of a CD-RW + Modename for blank only now is "BLANK" + Text: write XXX mode -> real XXX mode + SAO & RAW start (leadin) Code -> drv_mmc.c + Correctly print the current DVD writespeed + +Fri Jul 5 21:36:25 2002 Joerg Schilling + * cdrecord.h 1.95 + New driverfunction write_leadin, WM_ * Macros with better system, + new Macro wm_base(), + RF_LEADIN new + +Fri Jul 5 21:31:48 2002 Joerg Schilling + * drv_mmc.c 1.87 + New driverfunction write_leadin_mmc() with Code from cdrecord main function + +Fri Jul 5 21:26:04 2002 Joerg Schilling + * drv_sony.c 1.51 + * drv_simul.c 1.25 + * drv_philips.c 1.50 + * drv_jvc.c 1.60 + * drv_dvd.c 1.75 + New driverfunction write_leadin as dummy + +Thu Jul 4 13:01:36 2002 Joerg Schilling + * cdrecord.c 1.167 + Version -> 1.11a25 + Print Writemodes (new) + set_wrmode() new + restructuring: cdr_t->cdr_dstat is now used + dp->cdr_dstat->ds_cdrflags |= RF_PRATIP new + Check for ultra low speed media in High Speed writer + Check for high speed media in Low Speed writer + Avoid that cdrecord -- speed=8 causes speed=8 to be ignored as file type arg + +Thu Jul 4 12:55:52 2002 Joerg Schilling + * cdrecord.h 1.94 + restructuring: cdr_t->cdr_dstat is now used + New Write Mode WM_* definitions + +Thu Jul 4 12:53:14 2002 Joerg Schilling + * drv_dvd.c 1.74 + * drv_mmc.c 1.86 + * drv_philips.c 1.49 + * drv_sony.c 1.50 + Check for dp->cdr_dstat->ds_cdrflags & RF_PRATIP + Fill dsp->ds_flags |= DSF_ERA and dsp->ds_at_*_speed + +Tue Jul 2 19:55:47 2002 Joerg Schilling + * drv_sony.c 1.49 + * drv_simul.c 1.24 + * drv_philips.c 1.48 + * drv_jvc.c 1.59 + * cdr_drv.c 1.26 + * drv_mmc.c 1.85 + * drv_dvd.c 1.73 + dstat_t * now is a Member of cdr_t -> better handling of special funcs + +Tue Jul 2 15:18:31 2002 Joerg Schilling + * drv_mmc.c 1.84 + get_atip() now is always usable (not only if PRINT_ATIP has been defined) + +Sun Jun 16 15:58:37 2002 Joerg Schilling + * scsi_cdr.c 1.115 + Comment -> mmc-2 + +Fri May 31 22:09:39 2002 Joerg Schilling + * scsi_cdr.c 1.114 + wait_unit_ready() fast Abort even if k == SC_MEDIUM_ERROR + +Wed May 29 01:43:13 2002 Joerg Schilling + * scsi-wnt.c 1.28 + Better printf() format strings for DWORD + +Wed May 29 01:02:28 2002 Joerg Schilling + * cdtext.h 1.3 + List of language codes enhanced + +Wed May 29 00:55:22 2002 Joerg Schilling + * fifo.c 1.37 + palign() Macro with (UIntptr_t) Cast + +Wed May 29 00:54:26 2002 Joerg Schilling + * cdrecord.c 1.166 + Version -> 1.11a24, gracetime= in usage(), printf() Format correkt for bmtime() + +Wed May 29 00:51:56 2002 Joerg Schilling + * cdrecord.1 1.62 + gracetime= new + +Wed May 29 00:50:03 2002 Joerg Schilling + * cdtext.c 1.8 + Avoid Coredump if a single .inf File is missing and trackp[i].text is NULL -> ->textcodes does not work + +Mon May 20 17:08:41 2002 Joerg Schilling + * scsi-aix.c 1.34 + palign() -> with UIntptr_t cast + +Mon May 20 16:38:23 2002 Joerg Schilling + * scsi-remote.c 1.9 + avoid Integeroverflow with %.*s and 64 bit + +Mon May 20 14:28:12 2002 Joerg Schilling + * scsi-sun.c 1.71 + Cast (int)req.uscsi_buflen/(int)req.uscsi_resid forr 64 bit + +Mon May 13 02:02:09 2002 Joerg Schilling + * cdrecord.c 1.165 + Version -> 1.11a23, + Flush Cache with exit() in Silent Mode to avoid problem with cdrecord -toc and CD-ROMs + +Mon May 13 02:00:49 2002 Joerg Schilling + * fifo.c 1.36 + * drv_mmc.c 1.83 + * drv_jvc.c 1.58 + * drv_dvd.c 1.71 + * cdrecord.h 1.93 + New Typ tsize_t instead of off_t for Track size Vars > sizeof(long) on non-largefile OS + +Sat May 4 21:55:38 2002 Joerg Schilling + * cdrecord.c 1.164 + Avoid that abort via ^C kills a running SCSI Command + +Sat May 4 21:42:56 2002 Joerg Schilling + * scsitransp.c 1.83 + * scsitransp.h 1.51 + Callback Function at Ende of SCSI Command + +Sat May 4 18:10:05 2002 Joerg Schilling + * cdrecord.c 1.163 + Version -> 1.11a22 + gracetime= Option new + Now use geterrno()/seterrno() + reload_media() reads from stdder if input is from stdin + +Sat May 4 16:00:13 2002 Joerg Schilling + * cdrecord.c 1.162 + printf() Formats enhanced to get non jumping output with DVDs + +Sat May 4 15:36:45 2002 Joerg Schilling + * drv_dvd.c 1.70 + always set CDR_TAO|CDR_SAO in cdr_flags to allow speudo-DAO Mode + +Sat May 4 15:34:41 2002 Joerg Schilling + * cdrecord.h 1.92 + MIN_GRACE_TIME new + +Sat Apr 20 22:29:26 2002 Joerg Schilling + * fifo.c 1.35 + Now use geterrno()/seterrno() + +Tue Apr 16 19:20:40 2002 Joerg Schilling + * scsierrs.c 2.28 + New Errorstrings from 29.5.2001 + +Tue Apr 9 22:48:58 2002 Joerg Schilling + * diskid.c 1.35 + Embargo Message now better + +Tue Apr 9 22:41:41 2002 Joerg Schilling + * cdrecord.h 1.91 + F_STDIN Flag new + +Sat Mar 30 12:26:12 2002 Joerg Schilling + * drv_dvd.c 1.69 + Make drecord -atip print useful things + +Wed Mar 27 23:36:26 2002 Joerg Schilling + * drv_dvd.c 1.68 + maxblocks computing corrected (now even works with Panasonic) + +Tue Mar 26 19:18:31 2002 Joerg Schilling + * subchan.c 1.7 + create SCMS Bit + set COPY Bit in TOC and sub channels + +Tue Mar 26 19:10:32 2002 Joerg Schilling + * cdrecord.c 1.161 + Version -> 1.11a19 + +Tue Mar 26 19:07:15 2002 Joerg Schilling + * auinfo.c 1.14 + Albumperformer= new + +Tue Mar 26 19:02:58 2002 Joerg Schilling + * cdtext.c 1.7 + textfile= not-existent caused a Coredump + +Sun Mar 24 23:39:28 2002 Joerg Schilling + * cdrecord.c 1.160 + SCMS and Copy permitted printing new, Version -> 1.11a18 + +Sun Mar 24 23:38:11 2002 Joerg Schilling + * auinfo.c 1.13 + SCMS as new value for Copy_permitted= + +Sun Mar 10 00:24:19 2002 Joerg Schilling + * cdrecord.c 1.159 + Print real write speed + +Sat Mar 9 23:21:05 2002 Joerg Schilling + * drv_mmc.c 1.82 + remiove typo in hasdrvopt() + +Sat Mar 9 23:03:00 2002 Joerg Schilling + * drv_mmc.c 1.81 + first VariRec Support + +Sat Mar 9 21:15:48 2002 Joerg Schilling + * drv_dvd.c 1.65 + Burn-PROOF Support new, try tp make Panasonic DVD-R working + +Sat Mar 9 20:20:16 2002 Joerg Schilling + * cdrecord.c 1.158 + IS_SCHILY_XCONFIG new, Short Usage with susage() new + +Fri Mar 8 16:48:58 2002 Joerg Schilling + * cdrecord.c 1.157 + Version print Lizens better, -cdi sets toctype + +Fri Mar 8 16:46:54 2002 Joerg Schilling + * scsitransp.c 1.82 + Version -> 0.6 + +Tue Mar 5 23:34:46 2002 Joerg Schilling + * defaults.c 1.8 + NULL Pointer for args is now OK to allow to be used with readcd + +Tue Mar 5 23:32:00 2002 Joerg Schilling + * cdrecord.h 1.90 + getnum()/getllnum() from cdrecord.c -> getnum.c + +Tue Mar 5 23:26:31 2002 Joerg Schilling + * cdrecord.c 1.156 + Version -> 1.11a17 + getnum()/getllnum() -> getnum.c + cdr_defaults() changed to allow to be used with readcd.c + +Tue Mar 5 23:20:48 2002 Joerg Schilling + * getnum.c 1.1 + date and time created 02/03/05 23:20:48 by joerg + +Mon Mar 4 23:42:43 2002 Joerg Schilling + * diskid.c 1.34 + * drv_mmc.c 1.80 + * drv_dvd.c 1.64 + * scsi_cdr.c 1.113 + * drv_simul.c 1.23 + * fifo.c 1.34 + * crc16.c 1.5 + * crc16.h 1.3 + * cdrecord.h 1.89 + Copyright -> 2002 + +Mon Mar 4 23:32:08 2002 Joerg Schilling + * cdtext.h 1.2 + Comment for Text Language code now better + +Mon Mar 4 23:21:31 2002 Joerg Schilling + * cdrecord.c 1.155 + better comment for Version printing for not working Branches + +Mon Mar 4 22:43:47 2002 Joerg Schilling + * cdrecord.c 1.154 + Comments for Sector size + +Mon Mar 4 22:42:12 2002 Joerg Schilling + * defaults.c 1.7 + Copyright -> 2002 + new Function open_cdrdefaults(), + Comment that states that "/etc/default/cdrecord" may not be changed + +Fri Mar 1 22:37:21 2002 Joerg Schilling + * diskid.c 1.33 + Better Text for unknown ID Codes + +Thu Feb 28 23:04:45 2002 Joerg Schilling + * auinfo.c 1.12 + readtstr() now looks for rightmost ' from right to left, + readtag("CDINDEX_DISCID=") -> readtstr("CDINDEX_DISCID=") + +Sun Feb 24 15:44:34 2002 Joerg Schilling + * cdrecord.c 1.153 + Copyright -> 2002 + +Sat Feb 23 22:00:51 2002 Joerg Schilling + * cdtext.c 1.6 + First Support for CD-Text Synthesis with new functions text_txt()/packtext()/anytext()/fillup_pack()/fillpack() + +Sat Feb 23 21:44:33 2002 Joerg Schilling + * cdtext.h 1.1 + date and time created 02/02/23 21:44:33 by joerg + +Sat Feb 23 21:21:10 2002 Joerg Schilling + * cdrecord.1 1.61 + -text/textfile= Options documented + +Sat Feb 23 21:17:42 2002 Joerg Schilling + * cdrecord.c 1.152 + Version -> 1.11a15, Option -text new, char * textfile not global anymore + +Sat Feb 23 21:10:53 2002 Joerg Schilling + * auinfo.c 1.11 + First CD-Text Support + +Sat Feb 23 17:24:48 2002 Joerg Schilling + * cdrecord.h 1.88 + void *text new in struct track, packtext() Prototype new + +Sat Feb 23 16:01:50 2002 Joerg Schilling + * drv_mmc.c 1.79 + CD-Text Cue sheet for Lead-in does not depend anymore from char *textfile but from trackp[0].flags & TI_TEXT + +Wed Feb 20 19:39:39 2002 Joerg Schilling + * scsi_cdr.c 1.112 + * drv_dvd.c 1.63 + * drv_simul.c 1.22 + * fifo.c 1.33 + #ifndef DEBUG around #define DEBUG + +Tue Feb 19 22:10:23 2002 Joerg Schilling + * cdtext.c 1.5 + setuptextdata() new + +Fri Feb 15 00:46:56 2002 Joerg Schilling + * crc16.h 1.2 + * crc16.c 1.4 + flip_crc_error_cor() with bsize Parameter and EXPORT instead of LOCAL + cdtext_crc_ok() removed -> cdtext.c + +Fri Feb 15 00:42:47 2002 Joerg Schilling + * cdtext.c 1.4 + Flip error correction for Text CRC correction + Automatic Text Size Header recognition + +Sun Feb 10 12:43:07 2002 Joerg Schilling + * scsi-openserver.c 1.29 + MAX-DMA -> 63kB, -scanbus contolled by env Vars + +Sat Feb 9 17:29:02 2002 Joerg Schilling + * diskid.c 1.32 + Warning for guessed IDs + +Tue Jan 29 20:46:42 2002 Joerg Schilling + * diskid.c 1.31 + Removed wrong (now superfluous) IDs + +Thu Jan 24 00:03:25 2002 Joerg Schilling + * diskid.c 1.30 + "Advanced Digital Media", "Moser Baer India Limited", "NAN-YA Plastics Corporation", "SHENZEN SG&GAST DIGITAL OPTICAL DISCS" new from Plextools binary + m_grandadvance[] was superfluous (m_grandadv[]) + "WEALTH FAIR INVESTMENT LIMITE" typo fixed (D missing). + +Fri Jan 18 12:43:58 2002 Joerg Schilling + * scsi-linux-sg.c 1.69 + do not try to use the PG driver if open(device) fails + +Fri Dec 7 22:40:31 2001 Joerg Schilling + * scsi_cdr.c 1.111 + scsi_in_progress() with additional sense qualifier 0x04 for CyberDrive + +Sun Dec 2 15:42:53 2001 Joerg Schilling + * scsi-beos.c 1.20 + Typo removed, Support for BeOS 5 + +Sun Dec 2 15:37:36 2001 Joerg Schilling + * scsi-amigaos.c 1.2 + Reworked the error handling code + +Sun Dec 2 13:44:43 2001 Joerg Schilling + * scsi-amigaos.c 1.1 + date and time created 01/12/02 13:44:43 by joerg + +Tue Nov 27 20:25:39 2001 Joerg Schilling + * scsihack.c 1.40 + Copyright + 2001 + +Tue Nov 27 20:24:18 2001 Joerg Schilling + * scsihack.c 1.39 + scsi-amigaos.c new + +Tue Nov 27 02:10:34 2001 Joerg Schilling + * cdrecord.c 1.151 + NEED_SYS_SOCKET_H for BeOS new + Version -> 1.11a13 + cdr_buffer_cap() environment for Plasmon RF41xx better + +Tue Nov 27 02:08:47 2001 Joerg Schilling + * drv_philips.c 1.47 + Comment for buffer_cap dummy function for the Plasmon RF41xx better + +Tue Nov 13 16:17:05 2001 Joerg Schilling + * cdrecord.h 1.87 + * drv_dvd.c 1.62 + * cdrecord.c 1.150 + New Flag DSF_DVD, better overcapacity output for DVD + +Sun Nov 11 18:30:47 2001 Joerg Schilling + * drv_dvd.c 1.61 + Comment for ACARD TECH AEC-7720 ATAPI<->SCSI adaptor better + +Sun Nov 11 17:53:42 2001 Joerg Schilling + * scsi-remote.c 1.8 + Test HAVE_RCMD new + +Thu Nov 1 19:15:46 2001 Joerg Schilling + * drv_simul.c 1.21 + Now using timedefs.h + +Wed Oct 31 19:29:35 2001 Joerg Schilling + * scsi_cdr.c 1.110 + For ACARD TECH AEC-7720 ATAPI<->SCSI adaptor read Mode Page list only in debug mode + +Wed Oct 31 00:24:58 2001 Joerg Schilling + * scsi_cdr.c 1.109 + sense_secsize() now calles mode_sense() first with 12 Bytes and again with 0xFE Bytes for Moge Page List + +Wed Oct 31 00:17:27 2001 Joerg Schilling + * drv_mmc.c 1.78 + check_writemodes_mmc() -> EXPORT, read_dvd_structure() now with mit 32 byte instead of 15 bytes len Parameter + +Wed Oct 31 00:06:47 2001 Joerg Schilling + * cdrecord.h 1.86 + Prototyp for check_writemodes_mmc() + +Tue Oct 30 23:12:03 2001 Joerg Schilling + * scsireg.h 1.26 + cd_mode_page_05 intel byteorder link_size was wrong + +Tue Oct 30 21:36:53 2001 Joerg Schilling + * cdrecord.c 1.147 + DVD Check code did code exit() for non MMC CD writers + version -> 1.11a10 + +Mon Oct 29 19:12:29 2001 Joerg Schilling + * scsi-mac-iokit.c 1.3 + Include Liste reworked + +Mon Oct 29 18:57:46 2001 Joerg Schilling + * cd_misc.c 1.10 + * misc.c 1.2 + * modes.c 1.24 + * diskid.c 1.29 + * drv_simul.c 1.20 + * fifo.c 1.32 + * wm_track.c 1.3 + * wm_session.c 1.3 + * wm_packet.c 1.16 + avoid sys/types.h + +Sat Oct 27 02:56:16 2001 Joerg Schilling + * scsi-remote.c 1.7 + Test for HAVE_NETDB_H for rcmd() + +Sat Oct 27 02:55:30 2001 Joerg Schilling + * scsierrs.c 2.27 + #include for size_t for snprintf() + +Sat Oct 27 02:53:49 2001 Joerg Schilling + * fifo.c 1.31 + Test for HAVE_FORK new + +Sat Oct 27 02:53:18 2001 Joerg Schilling + * cdtext.c 1.3 + casts because sizeof() on MacOS X is long + +Thu Oct 25 16:19:08 2001 Joerg Schilling + * scsi-mac-iokit.c 1.2 + Unitnitialised Var dict, plugInResult format string ... GCC error removed + +Thu Oct 25 02:03:56 2001 Joerg Schilling + * scsihack.c 1.38 + Support for MaxOS X (Darwin-1.4) + +Thu Oct 25 02:03:11 2001 Joerg Schilling + * scsi-mac-iokit.c 1.1 + date and time created 01/10/25 01:03:11 by joerg + +Wed Oct 17 19:40:22 2001 Joerg Schilling + * cdrecord.c 1.146 + initialize scgp with NUL + brackets around if (p = senv_field(6)) + +Tue Oct 16 17:03:53 2001 Joerg Schilling + * drv_dvd.c 1.57 + * cdrecord.c 1.144 + * cdrecord.h 1.85 + * drv_simul.c 1.19 + * drv_sony.c 1.48 + * drv_philips.c 1.46 + * drv_mmc.c 1.77 + * drv_jvc.c 1.57 + New Structuremember cdr_cmdflags in cdr_t + +Tue Oct 16 15:57:05 2001 Joerg Schilling + * cdrecord.c 1.143 + Better error messages for DVD Demo Mode > 1 GB + +Wed Oct 10 23:04:03 2001 Joerg Schilling + * cdrecord.c 1.139 + number() corrected - had wrong if/then/else Structure for T/P/G Multiplyer + +Tue Oct 9 02:19:36 2001 Joerg Schilling + * cdrecord.c 1.138 + sys/types.h & sys/stat.h -> statdefs.h, -> 1.11a09 + +Tue Oct 9 01:42:05 2001 Joerg Schilling + * audiosize.c 1.18 + * isosize.c 1.8 + sys/types.h & sys/stat.h -> statdefs.h + +Sun Oct 7 21:27:14 2001 Joerg Schilling + * scsi-linux-pg.c 1.40 + * scsi-linux-sg.c 1.68 + Better error messages for Scanbus if /dev/sg* or /dev/pg* cannot be opened + +Sun Oct 7 21:03:23 2001 Joerg Schilling + * drv_mmc.c 1.76 + Modifications to allow recognition of CD/DVD writer + +Sun Oct 7 20:41:51 2001 Joerg Schilling + * cdr_drv.c 1.25 + xdebug for DVD/CD writer recognition + +Sun Oct 7 19:01:25 2001 Joerg Schilling + * drv_dvd.c 1.55 + read_dvd_structure() from drv_dvd.c -> scsi_cdr.c for Pioneer A03 DVD-R/CD-R + reload_media() only if writing later + +Sun Oct 7 13:35:21 2001 Joerg Schilling + * scsi_cdr.c 1.108 + * cdrecord.h 1.84 + read_dvd_structure() from drv_dvd.c -> scsi_cdr.c for Pioneer A03 DVD-R/CD-R + +Thu Sep 27 19:01:30 2001 Joerg Schilling + * scsidefs.h 1.27 + #undef DEV_UNKNOWN for True64 + +Thu Sep 13 19:10:03 2001 Joerg Schilling + * scsi_cdr.c 1.107 + * cdr_drv.c 1.24 + * drv_dvd.c 1.54 + * cdrecord.h 1.83 + Modifications to allow recognition of CD/DVD writer + +Thu Sep 13 19:01:46 2001 Joerg Schilling + * cdrecord.c 1.137 + cdrecord -version now may print cdrecord-Clone, + Modifications to allow recognition of CD/DVD writer + +Thu Sep 13 15:36:21 2001 Joerg Schilling + * scsidefs.h 1.26 + DEV_MMC_DVD_WR new + +Thu Sep 13 14:31:05 2001 Joerg Schilling + * scsi-sun.c 1.70 + maxdma for USCSI to default if == -1 (e.g. for TAPE), Debug print the RQ Buffer. + +Tue Sep 11 14:04:03 2001 Joerg Schilling + * scsi_cdr.c 1.106 + Open CD-Text File in Binary + +Tue Sep 11 03:06:31 2001 Joerg Schilling + * scsi-linux-sg.c 1.67 + Timeout Workaround for ioctl() + +Tue Sep 4 14:04:25 2001 Joerg Schilling + * cdrecord.c 1.136 + DEMO_SPEED new + +Thu Aug 9 16:38:21 2001 Joerg Schilling + * cdrecord.h 1.82 + * cdrecord.c 1.135 + #define GRACE_TIME 9 new + +Fri Jul 20 13:17:21 2001 Joerg Schilling + * drv_mmc.c 1.75 + * cdrecord.c 1.134 + * cdrecord.h 1.81 + RF_BLANK new to avoid opening the tray before blanking + Version -> 1.11a07 + +Thu Jul 19 00:28:36 2001 Joerg Schilling + * scsi-remote.c 1.6 + Now using _niread()/_nixwrite() + +Thu Jul 12 23:40:28 2001 Joerg Schilling + * scsidefs.h 1.25 + Taiyo Yuden EW-50 new + +Thu Jul 12 23:35:08 2001 Joerg Schilling + * scsi_cdr.c 1.105 + * cdr_drv.c 1.23 + * drv_philips.c 1.45 + New driver for Taiyo Yuden EW-50 because it swabs audio bytes compared to Philips CDD-521 + +Thu Jul 12 23:33:28 2001 Joerg Schilling + * fifo.c 1.30 + Better Debug messages for FIFO adresse/size + +Thu Jul 5 00:08:38 2001 Joerg Schilling + * sector.c 1.5 + Match new libedc + +Thu Jun 28 13:19:02 2001 Joerg Schilling + * drv_mmc.c 1.74 + Use -DSAO_RAW -DSAO_RAW_TEST for SAO RAW tests only + +Wed Jun 27 10:04:03 2001 Joerg Schilling + * clone.c 1.4 + clone_cue() for Test + +Wed Jun 27 09:51:19 2001 Joerg Schilling + * cdrecord.c 1.133 + CDR_SRAW16 removed + +Wed Jun 27 09:47:10 2001 Joerg Schilling + * scsimmc.h 1.6 + * scsi_cdr.c 1.104 + struct ftrackdesc -> scsimmc.h + +Wed Jun 27 09:35:13 2001 Joerg Schilling + * scsi_cdr.c 1.103 + struct tocheader definition removed because it is in scsimmc.h + +Sun Jun 24 22:35:23 2001 Joerg Schilling + * drv_mmc.c 1.73 + check_writemodes_mmc() now resety silent correctly, deflt_writemodes_mmc() new + +Sun Jun 24 19:55:02 2001 Joerg Schilling + * cdrecord.h 1.80 + CDR_SRAW16 disabled, because SAO supports only RAW96x + +Fri Jun 22 08:42:55 2001 Joerg Schilling + * scsimmc.h 1.5 + struct tocheader now with Uchar + +Wed Jun 20 21:53:55 2001 Joerg Schilling + * subchan.c 1.6 + min Struktur member -> pmin + +Wed Jun 20 21:53:34 2001 Joerg Schilling + * cdr_drv.c 1.22 + #include for printf() + +Wed Jun 20 21:53:03 2001 Joerg Schilling + * cdrecord.c 1.132 + Changes for GCC-3.0 & Linux include file bugs for printf() (is a #define), 1.11a04 -> 1.11a05 + +Tue Jun 19 12:26:49 2001 Joerg Schilling + * cdrecord.c 1.131 + Usage() with textfile=, 1.11a03 -> 1.11a04 + +Tue Jun 19 12:22:30 2001 Joerg Schilling + * cdtext.c 1.2 + Modifications for RAW CD-Text + +Tue Jun 19 11:39:08 2001 Joerg Schilling + * cdrecord.h 1.79 + * subchan.c 1.5 + addrw() new for CD-Text Support in RAW mode + +Tue Jun 19 02:10:37 2001 Joerg Schilling + * cdrecord.h 1.78 + * cdrecord.c 1.130 + BUF_SIZE -> CDR_BUF_SIZE & from cdrecord.c -> cdrecord.h + +Tue Jun 19 01:04:54 2001 Joerg Schilling + * cdrecord.c 1.129 + Do not call exit() if interrupting during wait time via ^C + +Mon Jun 18 09:29:52 2001 Joerg Schilling + * cdtext.c 1.1 + date and time created 01/06/18 08:29:52 by joerg + +Mon Jun 18 08:55:07 2001 Joerg Schilling + * drv_mmc.c 1.72 + * cdrecord.c 1.128 + * cdrecord.h 1.77 + First CD-Text Support + +Sat Jun 16 19:20:36 2001 Joerg Schilling + * cdrecord.c 1.127 + trackp->dataoff new, call on_comerr() earlier + +Sat Jun 16 18:16:51 2001 Joerg Schilling + * cdrecord.h 1.76 + Dataoffset in struct track new, is_text() new + +Sat Jun 16 18:15:05 2001 Joerg Schilling + * drv_mmc.c 1.71 + Forgotten if (xdebug) + +Tue Jun 12 22:57:03 2001 Joerg Schilling + * cdrecord.c 1.126 + -clone new, write mode for -xa1 -xa2, RAW data bug removed + +Tue Jun 12 22:42:25 2001 Joerg Schilling + * sector.c 1.4 + recodesectors() -> subrecodesecs()/sunchan.c, scrsectors() without return for AUDIO + +Tue Jun 12 22:41:37 2001 Joerg Schilling + * subchan.c 1.4 + subrecodesecs() from sector.c & scrsectors() dummy + +Tue Jun 12 22:40:59 2001 Joerg Schilling + * cdrecord.h 1.75 + recodesectors() -> subrecodesecs() + +Tue Jun 12 01:51:49 2001 Joerg Schilling + * cdrecord.h 1.74 + Modifications for clone.c + +Tue Jun 12 01:50:53 2001 Joerg Schilling + * clone.c 1.1 + date and time created 01/06/12 00:50:53 by joerg + +Tue Jun 12 01:07:06 2001 Joerg Schilling + * subchan.c 1.3 + subq/nsubh -> _subq/_nsubh + +Tue Jun 12 01:05:54 2001 Joerg Schilling + * subchan.c 1.2 + Changes for clone writing, qwto16() new for clone 16/96 Writing + +Tue Jun 12 00:12:42 2001 Joerg Schilling + * sector.c 1.3 + removed unused Vars + +Mon Jun 11 23:31:00 2001 Joerg Schilling + * cdrecord.h 1.73 + Enhancements for clone writing + +Mon Jun 11 23:29:50 2001 Joerg Schilling + * sector.c 1.2 + scrsectors()/recodesectors() fuer clone writing neu + +Mon Jun 11 23:12:41 2001 Joerg Schilling + * drv_mmc.c 1.70 + Checking write modes Message only with xdebug + +Mon Jun 11 23:11:55 2001 Joerg Schilling + * movesect.c 1.2 + Make it more general to allow compress and expand + +Mon Jun 11 23:09:58 2001 Joerg Schilling + * auinfo.c 1.10 + Comment for ISRC + +Sat Jun 9 20:13:35 2001 Joerg Schilling + * cdrecord.c 1.125 + -copy/-nocopy new, Prevent data sectors only in RAW Mode (without libedc_ecc) + +Sat Jun 9 20:05:59 2001 Joerg Schilling + * cdrecord.1 1.60 + New Options -raw, -raw96r, -raw96p, -raw16, -copy, -nocopy + +Wed Jun 6 00:09:58 2001 Joerg Schilling + * cdrecord.c 1.124 + Any positive startsector for RAW is wriong -> Philips Firmware bug fixed + +Mon Jun 4 19:28:17 2001 Joerg Schilling + * cdrecord.c 1.123 + Modifications for RAW Mode + cdr_t *dp now allocated + BURNFREE printput with Driver Flags + OPC also for -blank + write_secs() new for all writes on ATAPI + print_wrmodes()/check_wrmode() new + reload_media() new + +Mon Jun 4 17:45:49 2001 Joerg Schilling + * cdrecord.h 1.72 + * drv_dvd.c 1.53 + * drv_mmc.c 1.69 + New Function reload_media() + +Mon Jun 4 17:08:05 2001 Joerg Schilling + * cdrecord.h 1.71 + * wm_packet.c 1.15 + Modifications for RAW Mode + +Mon Jun 4 17:06:21 2001 Joerg Schilling + * subchan.c 1.1 + date and time created 01/06/04 16:06:21 by joerg + +Mon Jun 4 16:52:34 2001 Joerg Schilling + * crc16.c 1.3 + Now correct Code with Inverted CRC Bits + +Mon Jun 4 16:49:47 2001 Joerg Schilling + * auinfo.c 1.9 + SECT_AUDIO_NPRE -> SECT_AUDIO_NOPRE + +Mon Jun 4 16:06:15 2001 Joerg Schilling + * crc16.c 1.2 + Now using Uint*_t + +Mon Jun 4 16:02:17 2001 Joerg Schilling + * crc16.h 1.1 + date and time created 01/06/04 15:02:17 by joerg + +Mon Jun 4 13:33:19 2001 Joerg Schilling + * drv_mmc.c 1.68 + Now using CDR_SRAW*, botchexit Abort removed + +Mon Jun 4 12:53:18 2001 Joerg Schilling + * sector.c 1.1 + date and time created 01/06/04 11:53:18 by joerg + +Sun Jun 3 20:51:22 2001 Joerg Schilling + * auinfo.c 1.8 + Modifications for RAW Mode + +Sun Jun 3 14:48:57 2001 Joerg Schilling + * cdrecord.c 1.122 + Use comexit()/comerr() instead of exscsi() + New Function do_opc() now also called before blank, -force avoids this + +Sat Jun 2 21:24:52 2001 Joerg Schilling + * movesect.h 1.1 + * movesect.c 1.1 + date and time created 01/06/02 20:24:52 by joerg + +Fri Jun 1 07:54:04 2001 Joerg Schilling + * cdrecord.1 1.59 + burnproof -> burnfree + +Fri Jun 1 07:46:01 2001 Joerg Schilling + * scsi_cdr.c 1.102 + BURN-Proof (Sanyo) -> Buffer-Underrun-Free recording + +Fri Jun 1 07:44:39 2001 Joerg Schilling + * fifo.c 1.29 + call fill_buf() instead of read_buf() and trackp/secno Parameter for Subcode Generator + +Fri Jun 1 02:08:55 2001 Joerg Schilling + * drv_mmc.c 1.67 + BURN-Proof -> BURN-Free + +Thu May 31 23:31:44 2001 Joerg Schilling + * scsireg.h 1.25 + BURN Free & link size new + +Thu May 31 03:21:47 2001 Joerg Schilling + * drv_mmc.c 1.66 + check_writemodes_mmc() new, is_raw() set write modes + +Mon May 28 00:51:36 2001 Joerg Schilling + * cd_misc.c 1.9 + sec_to_msf() new + +Sun May 27 14:01:28 2001 Joerg Schilling + * audiosize.c 1.17 + Better comment + +Thu May 24 19:10:28 2001 Joerg Schilling + * auinfo.c 1.7 + No exit() if -debug & nindex > 1 + +Thu May 24 19:09:39 2001 Joerg Schilling + * modes.c 1.23 + Warning using default data only if not in Silent mode + +Thu May 24 19:07:13 2001 Joerg Schilling + * drv_dvd.c 1.52 + * drv_jvc.c 1.56 + * drv_simul.c 1.18 + * drv_philips.c 1.44 + * drv_sony.c 1.47 + CDR_DAO -> CDR_SAO, SAO no more predefined - it either does not work or is tested automatically (MMC) + +Sun May 20 21:23:53 2001 Joerg Schilling + * drv_sony.c 1.46 + * drv_philips.c 1.43 + mask sectype with ST_MASK because of new mode bits + +Sun May 20 18:51:41 2001 Joerg Schilling + * drv_simul.c 1.17 + CDR_SIMUL Flag new + +Fri May 18 21:07:58 2001 Joerg Schilling + * cdrecord.h 1.70 + F_OVERBURN new, F_RAW / is_raw() new, CDR_SIMUL new + +Fri May 18 19:30:02 2001 Joerg Schilling + * cdrecord.c 1.121 + trackp[0].dbtype is set with Data type from Track 1 + +Fri May 18 19:22:50 2001 Joerg Schilling + * drv_mmc.c 1.65 + In open_session() wird nun schon der Datenblocktyp fuer den ersten track eingestellt + +Mon May 14 23:36:07 2001 Joerg Schilling + * cdrecord.c 1.120 + -overburn new + Bracket bug with > 90 min Warning removed + > 90 Min Warning only if offizial capacity is exceeded (for DVD-R) + -pad implied for next Track with -isosize + Win32 Priorities are non contiguous (fix in rt_raisepri()) + +Mon May 14 22:54:17 2001 Joerg Schilling + * cdrecord.h 1.69 + F_OVERBURN (-overburn) new + +Mon May 14 22:53:33 2001 Joerg Schilling + * cdrecord.1 1.58 + -overburn new, -isosize better documented + +Sat Apr 28 23:34:12 2001 Joerg Schilling + * scsi-remote.c 1.5 + Read char with buffer for cygwin + +Fri Apr 20 11:38:03 2001 Joerg Schilling + * scsitransp.c 1.81 + scg_svhead() is silent if non verbose + +Fri Apr 20 11:34:41 2001 Joerg Schilling + * scsi-linux-sg.c 1.66 + Hack for ide-scsi bug, although there is sense data, SCSI Status is 0 + +Thu Apr 19 21:52:41 2001 Joerg Schilling + * drv_mmc.c 1.64 + removed superfluous scgp->silent--; in fixate_mmx(). silent did become negative + +Thu Apr 19 21:51:26 2001 Joerg Schilling + * cdrecord.c 1.119 + Enhance wait time in wait_unit_ready() after blank to 240 s for Mitsumi + +Tue Apr 17 00:58:57 2001 Joerg Schilling + * cdrecord.1 1.57 + Hint for mailman interface + +*************** Release 1.10 ******************* + +Fri Apr 13 20:41:36 2001 Joerg Schilling + * cdrecord.c 1.118 + Version -> 1.10 final + +Fri Apr 13 20:40:58 2001 Joerg Schilling + * cdrecord.c 1.117 + Backwardcounter corrected + +Fri Apr 13 20:39:09 2001 Joerg Schilling + * cdrecord.1 1.56 + New Support mail Adresses + +Wed Apr 11 01:22:18 2001 Joerg Schilling + * scsi_cdr.c 1.101 + * cdrecord.h 1.68 + print_capacity() new with FILE * Parameter + +Sun Apr 8 02:03:49 2001 Joerg Schilling + * modes.c 1.22 + scgp->silent--; was oat wrong place + +Sun Apr 1 14:39:01 2001 Joerg Schilling + * cdrecord.1 1.55 + Typo + +Sat Mar 31 23:02:28 2001 Joerg Schilling + * modes.c 1.21 + unit_ready() before each mode_sense()/mode_select() + +Sat Mar 31 22:46:28 2001 Joerg Schilling + * drv_mmc.c 1.63 + Comment for IOMEGA DMA overrun modified (Philips removed) + +Sun Mar 18 19:39:48 2001 Joerg Schilling + * cdrecord.1 1.54 + REMOTE SCSI description and new unified SCSI Options + +Sun Mar 18 19:31:31 2001 Joerg Schilling + * cdrecord.c 1.116 + Unified SCSI Options + +Sun Mar 18 19:27:02 2001 Joerg Schilling + * scsitransp.c 1.80 + Fixed bug that printed SCSI timing without verbose + +Sun Mar 18 18:37:45 2001 Joerg Schilling + * scsitransp.c 1.79 + New Functions: scg_svhead()/scg_svtail()/scg__sprinterr() + Comments for Functions + Print SCSI timing for earch failed SCSI Command + +Sun Mar 18 18:28:17 2001 Joerg Schilling + * scsitransp.h 1.50 + New Funstions: scg_svhead()/scg_svtail()/scg__sprinterr() + +Sun Mar 18 15:37:09 2001 Joerg Schilling + * scsitransp.c 1.78 + Print Timing without Verbose + +Sun Mar 18 15:10:18 2001 Joerg Schilling + * scsi-wnt.c 1.27 + * scsi-vms.c 1.29 + * scsi-unixware.c 1.25 + * scsi-sgi.c 1.34 + * scsi-osf.c 1.23 + * scsi-next.c 1.30 + * scsi-linux-sg.c 1.65 + * scsi-hpux.c 1.29 + * scsi-linux-pg.c 1.39 + * scsi-bsd.c 1.40 + * scsi-bsd-os.c 1.26 + * scsi-beos.c 1.19 + * scsi-aix.c 1.33 + if (scgp->debug) -> if (scgp->debug > 0) + +Wed Mar 14 00:42:40 2001 Joerg Schilling + * scsitransp.h 1.49 + * scsitransp.c 1.77 + scg_verbose() -> scg_vsetup() + +Mon Mar 12 23:09:38 2001 Joerg Schilling + * cdrecord.c 1.115 + Version -> 1.10a17, select_target() uses FILE * + +Mon Mar 12 23:08:46 2001 Joerg Schilling + * scsi_scan.h 1.3 + * scsi_scan.c 1.14 + comerrno() removed + select_target() with FILE * + select_target() returns number of Targets + +Mon Mar 12 23:06:50 2001 Joerg Schilling + * cdrecord.h 1.67 + * scsi_cdr.c 1.100 + printinq() new + +Mon Mar 12 22:06:05 2001 Joerg Schilling + * scsi-linux-sg.c 1.64 + Better differentiation SCG_RETRYABLE/SCG_NO_ERROR + Set ux_errno if Sense Data present + +Sun Mar 11 17:10:12 2001 Joerg Schilling + * scsi-linux-pg.c 1.38 + SCG_RETRYABLE for DMA overrun + CHECK CONDITION == SCG_NO_ERROR + +Sun Mar 11 17:07:48 2001 Joerg Schilling + * scsitransp.c 1.76 + Remove unused Variables + +Sun Mar 11 16:56:24 2001 Joerg Schilling + * scsitransp.h 1.48 + scg_vhead()/scg_vtail()/scg_verbose() & scg_errfflush() new + +Sun Mar 11 16:55:55 2001 Joerg Schilling + * scsitransp.c 1.75 + scg_vhead()/scg_vtail()/scg_verbose() & scg_errfflush() new + Version -> 0.5 + +Sat Mar 10 17:53:45 2001 Joerg Schilling + * scsitransp.h 1.47 + scgp->bufptr new + SCG_KVERSION new + +Sat Mar 10 17:52:53 2001 Joerg Schilling + * scsitransp.c 1.74 + scgp->bufptr new + scgp->scmd->resid < 0 == DMA overrun + +Sat Mar 10 16:24:00 2001 Joerg Schilling + * scsi-linux-sg.c 1.63 + SCG_KVERSION new + +Mon Feb 26 22:20:32 2001 Joerg Schilling + * scsi-unixware.c 1.24 + New formatting + +Mon Feb 26 22:18:39 2001 Joerg Schilling + * scsi-unixware.c 1.23 + Environment "LIBSCG_SCAN_ALL" controls scanning of Harddisks because of system crash + +Mon Feb 26 16:05:41 2001 Joerg Schilling + * cdrecord.c 1.114 + Warning if DVD-R code is missing and we found a DVD-R drive + +Sun Feb 25 13:02:42 2001 Joerg Schilling + * fifo.c 1.27 + Now using mmapdefs.h + +Fri Feb 23 17:32:38 2001 Joerg Schilling + * scsidefs.h 1.24 + ccs() Makro -> is_ccs() + +Fri Feb 23 00:24:02 2001 Joerg Schilling + * fifo.c 1.26 + Support for mmap() on Apollo Domain/OS with mmap(0, &size, ...) + +Thu Feb 22 16:13:27 2001 Joerg Schilling + * audiosize.c 1.16 + Fixed bug in Prototyp (result from long -> off_t) + +Thu Feb 22 16:11:07 2001 Joerg Schilling + * cdrecord.h 1.66 + * wm_packet.c 1.14 + * cdrecord.c 1.113 + * drv_mmc.c 1.62 + * drv_jvc.c 1.54 + * drv_dvd.c 1.51 + Large File support + +Thu Feb 22 16:10:53 2001 Joerg Schilling + * drv_jvc.c 1.55 + padsize Parameter for pad_track() casted to Llong + +Thu Feb 22 00:57:53 2001 Joerg Schilling + * cdr_drv.c 1.21 + mconfig.h/unixstd.h for Large Files + +Thu Feb 22 00:55:35 2001 Joerg Schilling + * scsi_scan.c 1.13 + #include for Large Files + +Thu Feb 22 00:54:26 2001 Joerg Schilling + * fifo.c 1.25 + Large File support + Casts for sizeof() [long] on MaxOS X + +Wed Feb 21 23:32:51 2001 Joerg Schilling + * defaults.c 1.6 + #include unixstd.h for Large Files + +Wed Feb 21 23:27:48 2001 Joerg Schilling + * auinfo.c 1.6 + * isosize.c 1.7 + * audiosize.c 1.15 + Large File support + +Tue Feb 20 23:56:44 2001 Joerg Schilling + * drv_sony.c 1.45 + * drv_philips.c 1.42 + unixstd.h for sys/types.h for off_t in cdrecord.h + +Thu Feb 15 23:09:12 2001 Joerg Schilling + * scsihack.c 1.37 + Test for HAVE_BSD_DEV_SCSIREG_H for new MacOSX + +Fri Feb 9 00:35:50 2001 Joerg Schilling + * drv_philips.c 1.41 + Fixes for Plasmon RF 4100 + +Tue Jan 23 12:20:32 2001 Joerg Schilling + * modes.c 1.20 + Cast for singed/unsigned cmparison + +Mon Jan 15 01:09:05 2001 Joerg Schilling + * fifo.c 1.24 + %x -> %p Format + +Sun Jan 7 19:46:42 2001 Joerg Schilling + * scsihack.c 1.36 + scsi-apollo.c new + +Sun Jan 7 19:39:40 2001 Joerg Schilling + * scsitransp.c 1.73 + * scsi-vms.c 1.28 + * scsi-unixware.c 1.22 + * scsi-linux-pg.c 1.37 + * scsi-aix.c 1.32 + sense_len check -> scsitransp.c + +Tue Jan 2 00:09:45 2001 Joerg Schilling + * scsitransp.c 1.72 + sccsid[] is always used -> without #ifdef lint + +Fri Dec 29 00:06:35 2000 Joerg Schilling + * cdrecord.c 1.112 + Lint, 1.10a10, rlimit cast to Llong for SGI + +Thu Dec 28 23:19:23 2000 Joerg Schilling + * scsi_cdr.c 1.99 + Modified for Lint + +Wed Dec 20 18:26:01 2000 Joerg Schilling + * scsi-sgi.c 1.33 + Cast to caddr_t for SENSEBUF(dsp) + +Wed Dec 13 20:22:52 2000 Joerg Schilling + * scsi-linux-pg.c 1.36 + Cast s_cmd.addr = (caddr_t)sp->u_sense.cmd_sense; + +Tue Dec 12 15:20:46 2000 Joerg Schilling + * scsitransp.h 1.46 + struct scsi -> struct scg_scsi for AIX + +Sat Dec 9 22:52:01 2000 Joerg Schilling + * scsi-linux-sg.c 1.62 + Recognise ENOTTY as errno for failed ioctl() + +Sat Dec 9 18:20:25 2000 Joerg Schilling + * modes.c 1.19 + * scsilog.c 1.13 + * drv_sony.c 1.44 + * drv_philips.c 1.40 + * drv_mmc.c 1.61 + * drv_jvc.c 1.53 + * drv_dvd.c 1.50 + u_char -> Uchar + +Wed Dec 6 12:43:51 2000 Joerg Schilling + * cdrecord.c 1.111 + atoll() -> libschily + +Wed Nov 29 17:22:15 2000 Joerg Schilling + * scsi-vms.c 1.27 + Indented + +Wed Nov 29 17:18:51 2000 Joerg Schilling + * scsi-vms.c 1.26 + ATAPI Support and changed for new libscg Interface + +Fri Nov 24 11:00:58 2000 Joerg Schilling + * cdrecord.c 1.110 + Workaround for ACER drive that does not return from -dummy + Typo in online Help + +Wed Nov 8 00:06:05 2000 Joerg Schilling + * scsitransp.h 1.45 + * scsireg.h 1.24 + * scsidefs.h 1.23 + * scgio.h 2.16 + #ifdef __cplusplus extern "C" { + +Sat Nov 4 15:00:50 2000 Joerg Schilling + * fifo.c 1.23 + * cdrecord.c 1.109 + Printf-like Formats cleaned up + +Sat Nov 4 14:56:09 2000 Joerg Schilling + * scsi_cdr.c 1.98 + PIONEER CD-WO DR-R504X -> DEV_PIONEER_DW_S114X + +Sat Nov 4 14:52:43 2000 Joerg Schilling + * cdrecord.h 1.65 + DEFAULT_FIFOSIZE -> Long Constant + +Tue Oct 31 15:58:54 2000 Joerg Schilling + * cdrecord.c 1.108 + Cygwin-1.x Compatibility + +Sun Oct 22 13:37:15 2000 Joerg Schilling + * scsi-aix.c 1.31 + Type in sizeof(devname removed + +Tue Oct 17 10:35:34 2000 Joerg Schilling + * cdrecord.1 1.53 + SEE ALSO enhanced + +Fri Oct 13 11:28:51 2000 Joerg Schilling + * scsi-linux-sg.c 1.61 + use pg_version() only for PP + +Wed Sep 20 00:59:38 2000 Joerg Schilling + * modes.c 1.18 + Code reordered so DMA overrun messages only appears once + +Sun Sep 17 17:15:06 2000 Joerg Schilling + * cdrecord.h 1.64 + #define sample -> #define msample for Win32 + +Fri Sep 8 03:04:50 2000 Joerg Schilling + * modes.c 1.17 + Warning for Philips DMA overrun + +Wed Sep 6 23:41:34 2000 Joerg Schilling + * scsi_cdr.c 1.97 + unit_ready() made better + +Wed Sep 6 09:59:05 2000 Joerg Schilling + * scsitransp.c 1.71 + * scsitransp.h 1.44 + scg_cmderr() -> scg_cmd_err(), scg_cmd_status() new + +Tue Sep 5 03:32:34 2000 Joerg Schilling + * scsitransp.c 1.70 + Default printing to stderr + +Tue Sep 5 03:06:01 2000 Joerg Schilling + * scsitransp.c 1.69 + scg__open() returns -1 when SCGO_OPEN fails, to avoid calling scg_fileno() + +Tue Sep 5 02:30:41 2000 Joerg Schilling + * scsi_cdr.c 1.96 + allow_atapi() calls unit_ready() before mode_sense() to make it work past a reset + +Tue Sep 5 02:28:03 2000 Joerg Schilling + * modes.c 1.16 + Minimal transfer sizeof(struct scsi_mode_header) after DMA overrun + +Tue Sep 5 02:22:48 2000 Joerg Schilling + * drv_mmc.c 1.60 + read_toc()/read_disk_info() reads minimal 4 bytes for Philips ATAPI drives + +Mon Sep 4 20:24:52 2000 Joerg Schilling + * cdrecord.1 1.52 + Typo removed + +Sat Sep 2 21:16:00 2000 Joerg Schilling + * scsitransp.h 1.43 + Drive flags new in SCSI * + +Sat Sep 2 21:03:48 2000 Joerg Schilling + * scsi-wnt.c 1.26 + * scsi-vms.c 1.25 + * scsi-unixware.c 1.21 + * scsi-sgi.c 1.32 + * scsi-osf.c 1.22 + * scsi-os2.c 1.21 + * scsi-next.c 1.29 + * scsi-linux-sg.c 1.60 + * scsi-linux-pg.c 1.35 + * scsi-hpux.c 1.28 + * scsi-bsd.c 1.39 + * scsi-bsd-os.c 1.25 + * scsi-aix.c 1.30 + * scsi-beos.c 1.18 + All debug printing to stderr (scgp->errfile) + +Tue Aug 29 23:44:31 2000 Joerg Schilling + * scsi-next.c 1.28 + * scsi-bsd-os.c 1.24 + error codes & return harmonised + +Tue Aug 29 02:36:09 2000 Joerg Schilling + * drv_mmc.c 1.59 + set curspeed only if > 0 (SCSI-3 floating point exception in waitfix) + +Tue Aug 29 02:35:04 2000 Joerg Schilling + * scsi_scan.c 1.12 + call scg_settarget() in scanbus, to make sure SCSI address for scg_initator_id() is OK + +Sat Aug 26 10:20:43 2000 Joerg Schilling + * drv_mmc.c 1.58 + OPC Hack for strange drive that returns from OPC with "UNIT ATTENTION/operator selected write permit" + +Sat Aug 26 10:15:03 2000 Joerg Schilling + * cdrecord.c 1.107 + Enhancements for remote SCSI, scg_reset() with what Parameter + +Sat Aug 26 00:53:10 2000 Joerg Schilling + * scsihack.c 1.35 + * scsitransp.c 1.68 + scsibus/target/lun acess now only with scg_scsibus()/scsi_target()/scg_lun() and scg_settarget() + do not initialize target in struct scg_cmd because this is now done in SCG lowlevel code + scg__open() from scsihack.c -> scsitransp.c, scg_settarget() -> scgsettarget.c + dummy code it now always present + +Sat Aug 26 00:22:51 2000 Joerg Schilling + * scsitransp.h 1.42 + scg_settarget() -> scgsettarget.c + +Fri Aug 25 23:17:25 2000 Joerg Schilling + * scsi-wnt.c 1.25 + * scsi-vms.c 1.24 + * scsi-unixware.c 1.20 + * scsi-sgi.c 1.31 + * scsi-osf.c 1.21 + * scsi-os2.c 1.20 + * scsi-next.c 1.27 + * scsi-linux-sg.c 1.59 + * scsi-linux-pg.c 1.34 + * scsi-hpux.c 1.27 + * scsi-bsd.c 1.38 + * scsi-bsd-os.c 1.23 + * scsi-beos.c 1.17 + * scsi-aix.c 1.29 + scsibus/target/lun acess now only with scg_scsibus()/scsi_target()/scg_lun() and scg_settarget() + do not initialize target in struct scg_cmd because this is now done in SCG lowlevel code + +Thu Aug 24 00:52:32 2000 Joerg Schilling + * scsitransp.h 1.41 + scg Address Stucture new + scg__open() without bus/target/lun Parameter + scg_remote() new + +Wed Aug 23 22:44:26 2000 Joerg Schilling + * scsi_scan.c 1.11 + * scsilog.c 1.12 + * drv_dvd.c 1.49 + * drv_jvc.c 1.52 + * drv_philips.c 1.39 + * drv_sony.c 1.43 + * scsi_cdr.c 1.95 + scsibus/target/lun acess now only with scg_scsibus()/scsi_target()/scg_lun() and scg_settarget() + do not initialize target in struct scg_cmd because this is now done in SCG lowlevel code + +Sun Aug 20 20:57:32 2000 Joerg Schilling + * scsitransp.h 1.40 + * scsitransp.c 1.67 + * scsihack.c 1.34 + * scsi-linux-sg.c 1.58 + * scsi-linux-pg.c 1.33 + * scsi-sgi.c 1.30 + * scsi-next.c 1.26 + * scsi-hpux.c 1.26 + * scsi-bsd.c 1.37 + * scsi-aix.c 1.28 + * scsi_scan.c 1.10 + Now using scg_settarget() + +Sat Aug 19 23:24:03 2000 Joerg Schilling + * scsitransp.c 1.66 + * scsihack.c 1.33 + * scsi-wnt.c 1.24 + * scsi-vms.c 1.23 + * scsi-unixware.c 1.19 + * scsi-sgi.c 1.29 + * scsi-osf.c 1.20 + * scsi-os2.c 1.19 + * scsi-next.c 1.25 + * scsi-linux-sg.c 1.57 + * scsi-linux-pg.c 1.32 + * scsi-hpux.c 1.25 + * scsi-bsd.c 1.36 + * scsi-beos.c 1.16 + * scsi-bsd-os.c 1.22 + * scsi-aix.c 1.27 + * scsitransp.h 1.38 + scg_reset() with Function code Parameter + +Sat Aug 19 22:37:30 2000 Joerg Schilling + * cdrecord.h 1.63 + * scsitransp.h 1.39 + #ifdef's modified for new #define _SCG_*_H + +Sat Aug 19 21:57:31 2000 Joerg Schilling + * scsireg.h 1.23 + * scsidefs.h 1.22 + * scgio.h 2.15 + Correctly made multi include safe with #ifdef _SCG_* + +Sat Aug 19 21:05:25 2000 Joerg Schilling + * scsitransp.c 1.65 + sys/param.h removed + +Sat Aug 19 20:52:31 2000 Joerg Schilling + * scsitransp.h 1.37 + Now using scg_ops + Remote Version #defines, scg__version() removed + +Sat Aug 19 20:23:20 2000 Joerg Schilling + * scsi-sgi.c 1.28 + * scsi-osf.c 1.19 + * scsierrs.c 2.26 + * scsitransp.c 1.64 + * scsireg.h 1.22 + u_char -> Uchar + +Sat Aug 19 19:13:16 2000 Joerg Schilling + * scsitransp.c 1.63 + * scsihack.c 1.32 + scsitransp.c and scsihack.c separated + +Sat Aug 19 17:30:28 2000 Joerg Schilling + * scsireg.h 1.21 + Status & Sense Definitions from scsireg.h + +Fri Aug 18 10:40:48 2000 Joerg Schilling + * scsi-vms.c 1.22 + * scsi-wnt.c 1.23 + * scsi-unixware.c 1.18 + * scsi-sgi.c 1.27 + * scsi-osf.c 1.18 + * scsi-os2.c 1.18 + * scsi-next.c 1.24 + * scsi-linux-sg.c 1.56 + * scsi-linux-pg.c 1.31 + * scsi-hpux.c 1.24 + * scsi-bsd.c 1.35 + * scsi-bsd-os.c 1.21 + * scsi-beos.c 1.15 + * scsihack.c 1.31 + * scsi-aix.c 1.26 + * scsitransp.c 1.62 + Now uses scg_ops Structure and calling via pointers + +Thu Aug 17 22:50:53 2000 Joerg Schilling + * scsitransp.c 1.61 + Bracketing typo in scg_sprintresult() removed (printed junk) + +Wed Aug 16 10:11:08 2000 Joerg Schilling + * scsi-wnt.c 1.22 + * scsi-vms.c 1.21 + * scsi-unixware.c 1.17 + * scsi-sgi.c 1.26 + * scsi-os2.c 1.17 + * scsi-osf.c 1.17 + * scsi-next.c 1.23 + * scsi-linux-sg.c 1.55 + * scsi-hpux.c 1.23 + * scsi-linux-pg.c 1.30 + * scsi-bsd.c 1.34 + * scsi-beos.c 1.14 + * scsi-bsd-os.c 1.20 + * scsi-aix.c 1.25 + * scsihack.c 1.30 + * scsitransp.c 1.60 + scg_send() now only with scgp* Parameter + +Sun Aug 13 23:31:37 2000 Joerg Schilling + * scsitransp.c 1.59 + Buggy braketing corrected (printed 4-5 null Bytes to error output even in silent mode) + +Fri Aug 4 01:26:24 2000 Joerg Schilling + * scsitransp.h 1.36 + * scsitransp.c 1.58 + Komplett umgebaut damit die Fehlerausgabe in einen String erfolgt + +Tue Aug 1 00:03:45 2000 Joerg Schilling + * scsitransp.h 1.35 + * scsitransp.c 1.57 + * scsierrs.c 2.25 + * scsi-wnt.c 1.21 + * scsi-vms.c 1.20 + * scsi-unixware.c 1.16 + * scsi-sgi.c 1.25 + * scsi-osf.c 1.16 + * scsi-os2.c 1.16 + * scsi-next.c 1.22 + * scsi-linux-sg.c 1.54 + * scsi-linux-pg.c 1.29 + * scsi-hpux.c 1.22 + * scsi-bsd.c 1.33 + * scsi-bsd-os.c 1.19 + * scsi-beos.c 1.13 + * scsi-aix.c 1.24 + All printf()'s -> js_printf(), sprintf() -> snprintf() + +Sun Jul 30 15:15:34 2000 Joerg Schilling + * scsitransp.c 1.56 + * scsitransp.h 1.34 + scg_prbytes()/scg_prsense() & scg_printdev() INterface restructured + +Sun Jul 30 13:52:05 2000 Joerg Schilling + * wm_packet.c 1.13 + * scsi_scan.c 1.9 + * scsilog.c 1.11 + * cdrecord.c 1.106 + * scsi_cdr.c 1.94 + * modes.c 1.15 + * drv_sony.c 1.42 + * drv_simul.c 1.16 + * drv_philips.c 1.38 + * drv_mmc.c 1.57 + * drv_jvc.c 1.51 + * drv_dvd.c 1.48 + Restructured for new libscg with scg_*() + +Thu Jul 27 01:17:47 2000 Joerg Schilling + * scsitransp.c 1.55 + scg_prbytes()/scg_printdev() now using FILE * Parameter + scg__errmsg() restructured to be similar to snprintf() + +Thu Jul 27 01:15:54 2000 Joerg Schilling + * scsierrs.c 2.24 + Made similar to snprintf() + +Thu Jul 27 01:15:02 2000 Joerg Schilling + * scsitransp.h 1.33 + scg_prbytes()/scg_printdev() now using FILE * Parameter + scg__errmsg() restructured to be similar to snprintf() + +Sun Jul 23 18:01:12 2000 Joerg Schilling + * scsierrs.c 2.23 + * scsihack.c 1.29 + * scsitransp.c 1.54 + * scsi-wnt.c 1.20 + * scsi-vms.c 1.19 + * scsi-unixware.c 1.15 + * scsi-osf.c 1.15 + * scsi-sgi.c 1.24 + * scsi-os2.c 1.15 + * scsi-next.c 1.21 + * scsi-linux-sg.c 1.53 + * scsi-linux-pg.c 1.28 + * scsi-hpux.c 1.21 + * scsi-bsd.c 1.32 + * scsi-beos.c 1.12 + * scsi-bsd-os.c 1.18 + * scsi-aix.c 1.23 + * scsitransp.h 1.32 + restructured to use scg_ basieed Function names + +Sun Jul 23 00:28:09 2000 Joerg Schilling + * scsitransp.h 1.31 + open_scsi()/close_scsi()/... -> scg_open()/scg_close/... + +Thu Jul 20 20:12:42 2000 Joerg Schilling + * cdrecord.1 1.51 + Note for Volmgt & Solaris/USCSI + +*************** Release 1.9 ******************* + +Thu Jul 20 19:49:20 2000 joerg + * diskid.c 1.28 + New Manufacturer: "Grand Advance Technology LTD." + +Thu Jul 20 19:12:01 2000 Joerg Schilling + * cdrecord.c 1.105 + Version -> 1.9 + 99 Minute check better + +Mon Jul 3 01:19:21 2000 Joerg Schilling + * scsi-linux-sg.c 1.52 + Type fixed in !scglocal(scgp)->drvers < 0 + +Mon Jul 3 00:11:20 2000 Joerg Schilling + * scsi_cdr.c 1.93 + * drv_sony.c 1.41 + * drv_dvd.c 1.47 + * drv_mmc.c 1.56 + * cdrecord.h 1.62 + * cd_misc.c 1.8 + msf_to_lba() with force_positive Flag for 99 Minute CD's + +Sun Jul 2 23:22:00 2000 Joerg Schilling + * scsi-linux-sg.c 1.51 + scsi_raisedma() only for Kernel-2.2.10 and newer + +Sat Jul 1 13:40:49 2000 Joerg Schilling + * scsi-linux-sg.c 1.50 + New allocated copy buffer in SCSI * -> local for raisedma + +Sat Jul 1 13:22:49 2000 Joerg Schilling + * scsitransp.c 1.53 + * scsi-wnt.c 1.19 + * scsi-vms.c 1.18 + * scsi-unixware.c 1.14 + * scsi-sgi.c 1.23 + * scsi-osf.c 1.14 + * scsi-os2.c 1.14 + * scsi-next.c 1.20 + * scsi-linux-sg.c 1.49 + * scsi-linux-pg.c 1.27 + * scsi-hpux.c 1.20 + * scsi-bsd.c 1.31 + * scsi-bsd-os.c 1.17 + * scsi-beos.c 1.11 + * scsi-aix.c 1.22 + maxdma/maxbuf new in SCSI * + scsi_getbuf() now calls scsi_bufsize() to init new members + +Sat Jul 1 13:09:43 2000 Joerg Schilling + * scsitransp.h 1.30 + maxdma/maxbuf new in SCSI * + +Fri Jun 30 18:43:43 2000 Joerg Schilling + * scsi-linux-sg.c 1.48 + scsi_raisedma() now called with correct DMA Buffersize + +Fri Jun 30 18:38:48 2000 Joerg Schilling + * scsitransp.c 1.52 + * scsihack.c 1.28 + * scsi-wnt.c 1.18 + * scsi-vms.c 1.17 + * scsi-unixware.c 1.13 + * scsi-sgi.c 1.22 + * scsi-sco.c 1.14 + * scsi-osf.c 1.13 + * scsi-os2.c 1.13 + * scsi-next.c 1.19 + * scsi-linux-sg.c 1.47 + * scsi-hpux.c 1.19 + * scsi-linux-pg.c 1.26 + * scsi-bsd.c 1.30 + * scsi-beos.c 1.10 + * scsi-bsd-os.c 1.16 + * scsi-aix.c 1.21 + scsi_maxdma() now with 2nd Parameter "amt" for Linux sg driver + +Tue Jun 27 19:29:05 2000 Joerg Schilling + * drv_mmc.c 1.55 + Disk Subtype decoder for High Speed RW + +Tue Jun 27 19:19:51 2000 Joerg Schilling + * cdrecord.c 1.104 + Support for 99 Minute CD's + +Tue Jun 27 19:17:16 2000 Joerg Schilling + * diskid.c 1.27 + 99 Minute media in table + +Mon Jun 26 22:40:39 2000 Joerg Schilling + * diskid.c 1.26 + Bestdisc Technology Corporation new + +Mon Jun 26 22:29:17 2000 Joerg Schilling + * scsi-bsd.c 1.29 + * scsi-bsd-os.c 1.15 + * scsi-sgi.c 1.21 + * scsi-linux-sg.c 1.46 + * scsi-linux-pg.c 1.25 + * scsi-next.c 1.18 + better error messages into scgp->errstr + +Fri Jun 23 23:52:39 2000 Joerg Schilling + * scsi-linux-sg.c 1.45 + pvers && isold -> scglocal + +Fri Jun 23 23:23:33 2000 Joerg Schilling + * scsi-linux-sg.c 1.44 + Variable pvers only conditional for unused... warning + +Fri Jun 23 23:19:00 2000 Joerg Schilling + * scsi-linux-sg.c 1.43 + Support for SG_IO ioctl() + +Fri Jun 23 21:40:38 2000 Joerg Schilling + * scsitransp.h 1.29 + overbose new + +Thu Jun 22 15:20:18 2000 Joerg Schilling + * scsi-linux-sg.c 1.42 + SG_SCSI_RESET & SG_SET_RESERVED_SIZE new + +Wed Jun 21 10:34:52 2000 Joerg Schilling + * scsi-linux-pg.c 1.24 + Test with ATAPI SCSI status code + +Wed Jun 21 10:33:31 2000 Joerg Schilling + * scsitransp.c 1.51 + scsitransp.c split into scsitransp.c & scsi-sun.c + +Wed Jun 21 10:27:11 2000 Joerg Schilling + * scsihack.c 1.27 + scsi-sun.c new + +Tue Jun 20 07:20:40 2000 Joerg Schilling + * scsitransp.h 1.28 + secured _SCGIO_H -> _SCG_SCSISENSE_H + +Tue Jun 20 06:09:57 2000 Joerg Schilling + * scsi-bsd.c 1.28 + ATAPI Support for OpenBSD + +Sun Jun 4 00:55:02 2000 Joerg Schilling + * cdrecord.c 1.103 + #include for select() (autoconf Test for AIX), version -> 1.9a02 + +Sat Jun 3 17:31:06 2000 Joerg Schilling + * cdrecord.c 1.102 + New Option -shorttrack/-noshorttrack + +Fri Jun 2 22:37:51 2000 Joerg Schilling + * cdrecord.h 1.61 + New Flag TI_SHORT_TRACK & is_shorttrk() macro + +Fri Jun 2 22:32:59 2000 Joerg Schilling + * cdrecord.1 1.50 + New Optionen -shorttrack & -noshorttrack + +Fri Jun 2 21:44:43 2000 Joerg Schilling + * defaults.c 1.5 + Prevent a buffer overrrun with dev= option + +Fri Jun 2 21:43:16 2000 Joerg Schilling + * auinfo.c 1.5 + Check for buffer ovverun + +Fri Jun 2 00:03:13 2000 Joerg Schilling + * drv_mmc.c 1.54 + Set Pregapsize to 1 if the drive does not support 0 + free(cue) if cuep == NULL + +Tue May 30 02:46:22 2000 Joerg Schilling + * diskid.c 1.25 + Restructured + +Tue May 30 01:06:32 2000 Joerg Schilling + * diskid.c 1.24 + New manufacturers: "WEALTH FAIR INVESTMENT LIMITE", "General Magnetics Ld", "MPO" + +Tue May 30 00:59:12 2000 Joerg Schilling + * scsitransp.h 1.27 + debug Parameter -> odebug + +Mon May 29 19:07:56 2000 Joerg Schilling + * scsi-next.c 1.17 + Typo corrected max_scsibus -> scglocal(scgp)->max_scsibus + +Mon May 29 00:31:18 2000 Joerg Schilling + * scsireg.h 1.20 + Mode page 2A pw_in_lead_in & side_change new + +Mon May 29 00:13:25 2000 Joerg Schilling + * scsi_cdr.c 1.92 + More Page 2A bits for cdrecord -prcap + +Sun May 28 18:52:11 2000 Joerg Schilling + * scsi-vms.c 1.16 + scsi_close() now works + +Sun May 28 18:40:55 2000 Joerg Schilling + * cdrecord.1 1.49 + -fix hint for CDR-50 & CDR-55 specified + +Sun May 7 16:52:20 2000 Joerg Schilling + * scsi_cdr.c 1.91 + * scsilog.c 1.10 + * scsi_scan.c 1.8 + * auinfo.c 1.4 + * cd_misc.c 1.7 + * audiosize.c 1.14 + * cdr_drv.c 1.20 + * fifo.c 1.22 + * defaults.c 1.4 + * wm_packet.c 1.12 + * modes.c 1.14 + * cdrecord.c 1.101 + * drv_sony.c 1.40 + * drv_simul.c 1.15 + * drv_philips.c 1.37 + * drv_mmc.c 1.53 + * drv_jvc.c 1.50 + * drv_dvd.c 1.46 + * scsierrs.c 2.22 + * scsitransp.c 1.50 + #include + +Sun May 7 16:46:39 2000 Joerg Schilling + * scsi_cdr.c 1.90 + New DVD recognition, to allow Ricoh 9060 + +Sun May 7 16:11:09 2000 Joerg Schilling + * scsihack.c 1.26 + Support for new Mac OS X + +Mon May 1 20:06:37 2000 Joerg Schilling + * scsitransp.c 1.49 + scsi_maxmdma() cleaned up + +Thu Apr 27 15:06:42 2000 Joerg Schilling + * cdrecord.1 1.48 + Examples for cdda2wav + +Thu Apr 27 14:22:19 2000 Joerg Schilling + * drv_mmc.c 1.52 + No more error message forSony & long write in progress when Fixating + +Thu Apr 27 14:17:01 2000 Joerg Schilling + * diskid.c 1.23 + Better message for illegal ID (CD-RW) + all old CD-R's now print ILLEGAL OLD CODE + +Wed Apr 26 11:50:19 2000 Joerg Schilling + * cdrecord.c 1.100 + * cdrecord.h 1.60 + * scsi_cdr.c 1.89 + * drv_jvc.c 1.49 + * drv_dvd.c 1.45 + scsi_close_tr_session()/scsi_blank() with immed Parameter + +*************** Release 1.8.1 ******************* + +Thu Apr 27 14:22:19 2000 Joerg Schilling + * drv_mmc.c 1.52 + No error message for Sony & long write in progress while fixating + +Thu Apr 27 14:17:01 2000 Joerg Schilling + * diskid.c 1.23 + Better printout with illegal ID for CD-RW, all old CD-R's now give ILLEGAL OLD CODE + +Wed Apr 26 11:50:19 2000 Joerg Schilling + * cdrecord.c 1.100 + * cdrecord.h 1.60 + * scsi_cdr.c 1.89 + * drv_jvc.c 1.49 + * drv_dvd.c 1.45 + scsi_close_tr_session()/scsi_blank() with immed Parameter + +Mon Apr 24 12:32:14 2000 Joerg Schilling + * cdrecord.c 1.99 + Version -> 1.8.1 final, exitcode == 0 only if fixating in Dummy Mode fails + +Sat Apr 22 15:37:05 2000 Joerg Schilling + * diskid.c 1.22 + New manufacturer "VICTOR COMPANY OF JAPAN, LIMITED", "VIVASTAR AG" + +Sun Apr 16 17:07:55 2000 Joerg Schilling + * cdrecord.1 1.47 + BURN-Proof Option for Sanyo + +Sun Apr 16 17:07:11 2000 Joerg Schilling + * drv_mmc.c 1.51 + BURN-Proof Support for Sanyo + +Sun Apr 16 17:06:30 2000 Joerg Schilling + * cdrecord.c 1.98 + New Option driveropts= + better -dao usage + +Sun Apr 16 03:11:26 2000 Joerg Schilling + * scsi_cdr.c 1.88 + display BURN-Proof for cdrecord -prcap + +Sun Apr 16 03:08:58 2000 Joerg Schilling + * defaults.c 1.3 + * cdrecord.dfl 1.2 + driveropts new + +Sun Apr 16 02:16:29 2000 Joerg Schilling + * drv_sony.c 1.39 + * cdrecord.h 1.59 + * drv_simul.c 1.14 + * drv_philips.c 1.36 + * drv_jvc.c 1.48 + * drv_dvd.c 1.44 + open_session() now with cdr_t * Parameter for BURN-Proof + +Mon Apr 3 21:05:37 2000 Joerg Schilling + * scsi-linux-pg.c 1.23 + #include for strlen() + +Sat Apr 1 21:59:19 2000 Joerg Schilling + * diskid.c 1.21 + New manufaturer: "TAROKO INTERNATIONAL CO.,LTD.", "UNIDISC TECHNOLOGY CO.,LTD", "Hong Kong Digital Technology Co., Ltd.", "VIVA MAGNETICS LIMITED" + +Sat Mar 11 12:31:09 2000 Joerg Schilling + * scsi_cdr.c 1.87 + Sanyo CRD-R24S -> Philips CDD 521 + +Sat Mar 11 12:30:06 2000 Joerg Schilling + * drv_mmc.c 1.50 + send_opc_mmc() now calls send_opc() and suppresses ILLEGAL_REQUEST + +Sat Mar 11 12:26:37 2000 Joerg Schilling + * cdrecord.1 1.46 + WeB address changed + +Sun Feb 20 21:54:33 2000 Joerg Schilling + * cdrecord.h 1.58 + * cdrecord.c 1.97 + * cdrecord.1 1.45 + New Option -waiti for multi session from Pipe from mkisofs + +Sun Feb 20 20:56:09 2000 Joerg Schilling + * cdrecord.c 1.96 + scsi_in_progress() Test and usleep(100000) if Long Write in Progress + +Sun Feb 20 20:54:06 2000 Joerg Schilling + * drv_mmc.c 1.49 + scsi_in_progress() test for scsi_flush_cache() in fixate, send_cue() -> LOCAL + +Sun Feb 20 20:52:49 2000 Joerg Schilling + * cdrecord.h 1.57 + scsi_in_progress() new, send_cue() removed + +Sun Feb 20 20:52:15 2000 Joerg Schilling + * scsi_cdr.c 1.86 + scsi_in_progress() new + +Sat Feb 19 00:38:35 2000 Joerg Schilling + * cdrecord.c 1.95 + read Sectorsize from read_capacity too, for drivs without Blockdescriptor, dp->cdr_opc() new + +Sat Feb 19 00:33:54 2000 Joerg Schilling + * scsi_cdr.c 1.85 + send_opc() new + +Sat Feb 19 00:24:37 2000 Joerg Schilling + * cdrecord.h 1.56 + * drv_sony.c 1.38 + * drv_simul.c 1.13 + * drv_philips.c 1.35 + * drv_mmc.c 1.48 + * drv_jvc.c 1.47 + * drv_dvd.c 1.43 + Separate OPC code in driver interface + +Sun Feb 6 08:27:21 2000 Joerg Schilling + * scsi-sgi.c 1.20 + * scsi-openserver.c 1.17 + * scsi-linux-sg.c 1.41 + * scsi-aix.c 1.20 + * scsi-bsd-os.c 1.14 + * scsi-hpux.c 1.18 + * scsi-linux-pg.c 1.22 + * scsi-bsd.c 1.27 + added missing brackets in scsi_close() to make sure that scsi_close() really closes files + +Sun Feb 6 08:25:14 2000 Joerg Schilling + * scsi-linux-sg.c 1.40 + Maxdma now is correcteven if only a prallel port is present + +*************** Release 1.8 ******************* + +Fri Jan 28 10:01:48 2000 Joerg Schilling + * drv_mmc.c 1.47 + * drv_dvd.c 1.42 + load_media() with new doexit Parameter + Reload now does not make problems with notebook type drives + +Fri Jan 28 09:51:26 2000 Joerg Schilling + * drv_philips.c 1.34 + * cdrecord.h 1.55 + * cdrecord.c 1.94 + load_media() with new doexit Parameter + +Fri Jan 28 09:50:51 2000 Joerg Schilling + * scsi_cdr.c 1.84 + wait_unit_ready() does not print error message if scgp->silent >= 1 + +Wed Jan 26 11:48:08 2000 Joerg Schilling + * scsi_scan.c 1.7 + Initiator-ID test past havebus() + +Sun Jan 23 16:39:01 2000 Joerg Schilling + * cdrecord.c 1.93 + Better error message for open_scsi() + +Sun Jan 23 16:07:46 2000 Joerg Schilling + * scsi-unixware.c 1.9 + New code from SCO, -scanbus now works + +Sun Jan 23 00:44:28 2000 Joerg Schilling + * scsihack.c 1.25 + scsi-sco.c -> scsi-openserver.c + +Tue Jan 18 00:02:33 2000 Joerg Schilling + * cdrecord.c 1.92 + Version -> 1.8, mlockall()/setpri() problems do not cause abort + Note to -pad option for audio Files with wrong length + #include for SCO Openserver + +Thu Jan 13 01:32:35 2000 Joerg Schilling + * diskid.c 1.20 + Problems with m_digitalstor (97:27/01) in table docuented + +Thu Jan 13 01:11:45 2000 Joerg Schilling + * defaults.c 1.2 + CDR_DEVICE now superseedes /etc/default/cdrecord + +Tue Jan 11 01:46:47 2000 Joerg Schilling + * scsi-hpux.c 1.17 + sprintf(.../dev/rscsi...) now uses hex digits for tgt 0..15 + +Sat Jan 8 23:42:25 2000 Joerg Schilling + * scsi_cdr.c 1.83 + scsi_read() now looks for is_atapi to allow mkisofs & ATAPI to do multi-session + +Fri Jan 7 02:24:28 2000 Joerg Schilling + * scsihack.c 1.24 + Dummyfunctions fuor new Interface + +Fri Jan 7 02:22:36 2000 Joerg Schilling + * cdr_drv.c 1.19 + set_cdrcmds() now calls return() past exit() for lint's sake + +Wed Dec 29 14:01:03 1999 Joerg Schilling + * cdrecord.c 1.91 + exargs Strukt new + Setting to 2048 bytes/sector earlier for -msinfo + new function exscsi() + exfifo() -> excdr() + +Wed Dec 29 02:14:11 1999 Joerg Schilling + * cdrecord.h 1.54 + * fifo.c 1.21 + wait_faio() new + +Wed Dec 29 00:38:52 1999 Joerg Schilling + * diskid.c 1.19 + New manufacturer: "Hile Optical Disc Technology Corp." + "Friendly CD-Tek Co." + "Sound Sound Multi-Media Development Limited" + "kdg mediatech AG" + +Wed Dec 29 00:34:39 1999 Joerg Schilling + * cdrecord.1 1.44 + better dociumentation for SUID Installation + +Fri Dec 24 01:59:35 1999 Joerg Schilling + * fifo.c 1.20 + sp null pointer Problem in fifo_stats() fixed + input-buffer -> input buffer + +Tue Dec 7 01:07:24 1999 Joerg Schilling + * cdrecord.1 1.43 + added missing .TP + +Sun Dec 5 13:37:16 1999 Joerg Schilling + * fifo.c 1.19 + kill_fifo() now kil only if faio_pid > 0 + +Sat Dec 4 21:36:38 1999 Joerg Schilling + * diskid.c 1.18 + New manufacturer: EXIMPO & Seantram Technology Inc. + Seantram has been guessed before + +Sat Dec 4 14:15:16 1999 Joerg Schilling + * cdrecord.c 1.90 + intfifo()/exfifo() new + kill FIFO on comerr() and signals + +Sat Dec 4 14:12:41 1999 Joerg Schilling + * drv_dvd.c 1.41 + isgui as with drv_mmc.c added + +Tue Nov 30 14:48:12 1999 Joerg Schilling + * scsihack.c 1.23 + * scsi-linux-pg.c 1.21 + pg.h now locally available + +Sat Nov 27 21:38:54 1999 Joerg Schilling + * scsi-os2.c 1.12 + SRB in scsi_send() and scsi_reset() -> static to prevent core dump + +Sat Nov 20 17:49:38 1999 Joerg Schilling + * scsi-os2.c 1.11 + scgfiles array removed + set_error() new + added some ux_errno = EIO + wait_post() now calls DosResetEventSem() in any case + +Sat Nov 20 14:21:09 1999 Joerg Schilling + * scsi-os2.c 1.10 + DEBUG2/SCANDEBUG code removed + +Sat Nov 20 07:23:59 1999 Joerg Schilling + * diskid.c 1.17 + New manufacturer: Customer Pressing Oosterhout + Harmonic Hall Optical Disc Ltd. + DELPHI TECHNOLOGY INC. + +Sat Nov 20 06:45:18 1999 Joerg Schilling + * cdrecord.c 1.89 + Version -> 1.8a32 + 5 missing set_secsize(.. oldsize) added + +Sat Nov 20 06:44:02 1999 Joerg Schilling + * cdr_drv.c 1.18 + Kodak PDC-600 in driver recognition + +Sat Nov 20 06:43:12 1999 Joerg Schilling + * drv_mmc.c 1.46 + next_wr_addr() in driver struct for CD-ROM -> cmd_ill() + +Sat Nov 20 06:41:39 1999 Joerg Schilling + * fifo.c 1.18 + fixed typo for HAVE_DOSALLOCSHAREDMEM + +Fri Nov 12 10:00:19 1999 Joerg Schilling + * scsitransp.c 1.48 + scsi_yes() now global + +Fri Nov 12 09:59:49 1999 Joerg Schilling + * scsitransp.h 1.26 + scsi_yes() new + +Mon Oct 18 02:38:11 1999 Joerg Schilling + * cdrecord.c 1.88 + always set TAO mode on startup to make checkdsize() working + +Mon Oct 18 01:34:34 1999 Joerg Schilling + * scsilog.c 1.9 + * scsi_cdr.c 1.82 + i_to_short() -> i_to_2_byte() + +Mon Oct 18 01:15:21 1999 Joerg Schilling + * scsilog.c 1.8 + * scsi_cdr.c 1.81 + * drv_dvd.c 1.40 + * drv_mmc.c 1.45 + * drv_philips.c 1.33 + * iso9660.h 1.4 + a_to_u_short() -> a_to_u_2_byte() + +Mon Oct 18 01:04:17 1999 Joerg Schilling + * isosize.c 1.6 + utypes.h wegen intcvt.h + +Mon Oct 18 00:38:01 1999 Joerg Schilling + * scsi_cdr.c 1.80 + * drv_sony.c 1.37 + * drv_jvc.c 1.46 + * drv_dvd.c 1.39 + a_to_3_byte() -> a_to_u_3_byte() + +Mon Oct 18 00:10:18 1999 Joerg Schilling + * drv_dvd.c 1.38 + * drv_sony.c 1.36 + * drv_jvc.c 1.45 + * drv_philips.c 1.32 + i_to_long() -> i_to_4_byte() + +Mon Oct 18 00:04:43 1999 Joerg Schilling + * scsi_cdr.c 1.79 + * isosize.c 1.5 + * drv_dvd.c 1.37 + * drv_mmc.c 1.44 + * drv_jvc.c 1.44 + * drv_sony.c 1.35 + * drv_philips.c 1.31 + * audiosize.c 1.13 + * cdrecord.c 1.87 + modified to use intcvt.h and a_to_4_byte() + +Sun Oct 17 23:21:40 1999 Joerg Schilling + * iso9660.h 1.3 + removed i_to_* and a_to_* macros -> intcvt.h + +Sun Oct 17 22:51:51 1999 Joerg Schilling + * scsireg.h 1.19 + struct scsi_capacity modified to use Int32_t + +Sat Oct 16 13:52:29 1999 Joerg Schilling + * scsi_cdr.c 1.78 + * drv_mmc.c 1.43 + * auinfo.c 1.3 + * drv_sony.c 1.34 + malloc() casts for K&R C + +Fri Oct 15 20:28:25 1999 Joerg Schilling + * cdrecord.h 1.53 + * cdr_drv.c 1.17 + * cdrecord.c 1.86 + set_cdrmds() if 2. Parameter is NULL returns BOOL + for cdrecord to check for dvd driver or not + +Fri Oct 15 20:19:36 1999 Joerg Schilling + * scsi_cdr.c 1.77 + Optima Dis Covery 650 CD-R Inquiry recognition new + +Fri Oct 15 20:17:17 1999 Joerg Schilling + * scsi-beos.c 1.9 + * scsi-osf.c 1.12 + typos removed + +Thu Oct 7 15:33:17 1999 Joerg Schilling + * scsi-bsd-os.c 1.13 + * scsi-aix.c 1.19 + mising bracket in scsi_open() fixed + +Fri Sep 17 17:59:18 1999 Joerg Schilling + * cdrecord.c 1.85 + Version -> 1.8a29 + libscg version check + #incude for win32 realtime pri Code + +Fri Sep 17 17:56:57 1999 Joerg Schilling + * scsi_cdr.c 1.76 + endless lookp in mmc_cap() removed: no medium (wait_unit_ready()) + +Fri Sep 17 15:48:09 1999 Joerg Schilling + * scsitransp.c 1.47 + HAVE_SCG #define earlier + +Fri Sep 17 15:42:39 1999 Joerg Schilling + * scsi-linux-pg.c 1.20 + duplicates with scsi-linux-sg.c fuer scg__version() removed + +Fri Sep 17 15:36:55 1999 Joerg Schilling + * scsitransp.c 1.46 + #ifdef HAVE_SCG for _scg_trans_version[] + +Fri Sep 17 15:09:54 1999 Joerg Schilling + * scsi-wnt.c 1.17 + * scsi-vms.c 1.15 + * scsi-unixware.c 1.8 + * scsi-sgi.c 1.19 + * scsi-osf.c 1.11 + * scsi-sco.c 1.13 + * scsi-os2.c 1.9 + * scsi-next.c 1.16 + * scsi-linux-sg.c 1.39 + * scsi-linux-pg.c 1.19 + * scsi-hpux.c 1.16 + * scsi-bsd.c 1.26 + * scsi-bsd-os.c 1.12 + * scsi-beos.c 1.8 + * scsi-aix.c 1.18 + * scsitransp.c 1.45 + * scsitransp.h 1.25 + scg_version() new + +Fri Sep 17 14:55:17 1999 Joerg Schilling + * scsihack.c 1.22 + Comment changed + +Tue Sep 14 10:57:29 1999 Joerg Schilling + * scsi-linux-sg.c 1.38 + scgfile variable in max_dma corrected from scgfile -> scglocal(scgp)->scgfile + +Fri Sep 10 14:06:19 1999 Joerg Schilling + * diskid.c 1.16 + Better text for Disk Typ (e.g. Long strategy type) + +Thu Sep 9 12:30:38 1999 Joerg Schilling + * auinfo.c 1.2 + isrc_illchar() Prorotype new + +Wed Sep 8 17:57:45 1999 Joerg Schilling + * diskid.c 1.15 + New manufacturer: Guann Yinn Co. Ltd. + Opti.Me.S. S.p.A. + Nacar Media srl + +Wed Sep 8 12:45:37 1999 Joerg Schilling + * scsi-wnt.c 1.16 + missing bracket at malloc(amt) + +Tue Sep 7 17:13:09 1999 Joerg Schilling + * scsi-wnt.c 1.15 + * scsi-unixware.c 1.7 + * scsi-vms.c 1.14 + * scsi-sgi.c 1.18 + * scsi-sco.c 1.12 + * scsi-osf.c 1.10 + * scsi-next.c 1.15 + * scsi-os2.c 1.8 + * scsi-linux-sg.c 1.37 + * scsi-linux-pg.c 1.18 + * scsi-hpux.c 1.15 + * scsi-bsd.c 1.25 + * scsi-beos.c 1.7 + * scsi-bsd-os.c 1.11 + * scsi-aix.c 1.17 + * scsitransp.c 1.44 + First error messages past scgp->errstr + less calls to comerr() + +Tue Sep 7 17:07:55 1999 Joerg Schilling + * scsitransp.h 1.24 + errstr & errptr new in SCSI * + open_scsi() with errs Parameter + +Tue Sep 7 16:47:21 1999 Joerg Schilling + * cdrecord.c 1.84 + Now using new open_scsi() + added some calls to flush() + +Tue Sep 7 16:46:04 1999 Joerg Schilling + * cdrecord.1 1.42 + 1.6 -> 1.8 + +Tue Sep 7 00:21:08 1999 Joerg Schilling + * drv_mmc.c 1.42 + * drv_jvc.c 1.43 + * drv_dvd.c 1.36 + flush() for Blanking new + +Fri Sep 3 11:57:35 1999 Joerg Schilling + * scsi-linux-sg.c 1.36 + * scsi-linux-pg.c 1.17 + scsi_initiator_id() in scsi-linux-pg.c -> pg_initiator_id() + +Thu Sep 2 18:57:59 1999 Joerg Schilling + * cdrecord.c 1.83 + 1.8a24 -> 1.8a26 + Ricoh DAO Bug (fwa != -150) workaround + Realtimepri for Win32 + +Thu Sep 2 14:42:14 1999 Joerg Schilling + * scsi_scan.c 1.6 + scsi_initiator_id() new + Now prints bus,tgt,lun before selektor + +Thu Sep 2 13:32:57 1999 Joerg Schilling + * scsitransp.h 1.23 + * scsi-wnt.c 1.14 + * scsi-vms.c 1.13 + * scsi-unixware.c 1.6 + * scsi-sco.c 1.11 + * scsi-sgi.c 1.17 + * scsi-osf.c 1.9 + * scsi-os2.c 1.7 + * scsi-next.c 1.14 + * scsi-linux-sg.c 1.35 + * scsi-hpux.c 1.14 + * scsi-linux-pg.c 1.16 + * scsi-bsd.c 1.24 + * scsi-bsd-os.c 1.10 + * scsi-aix.c 1.16 + * scsi-beos.c 1.6 + * scsitransp.c 1.43 + scsi_initiator_id() new + +Mon Aug 30 13:36:17 1999 Joerg Schilling + * scsitransp.c 1.42 + * drv_simul.c 1.12 + * fifo.c 1.17 + #include libport.h new + +Sun Aug 29 01:42:10 1999 Joerg Schilling + * fifo.c 1.16 + shared memory for OS/2 + +Sun Aug 29 00:52:56 1999 Joerg Schilling + * fifo.c 1.15 + Typo fixed (\f instead of \n) + +Tue Aug 10 21:34:03 1999 Joerg Schilling + * scsitransp.c 1.41 + * scsi-wnt.c 1.13 + * scsi-vms.c 1.12 + * scsi-unixware.c 1.5 + * scsi-sco.c 1.10 + * scsi-sgi.c 1.16 + * scsi-osf.c 1.8 + * scsi-os2.c 1.6 + * scsi-next.c 1.13 + * scsi-linux-sg.c 1.34 + * scsi-linux-pg.c 1.15 + * scsi-hpux.c 1.13 + * scsi-bsd.c 1.23 + * scsi-bsd-os.c 1.9 + * scsi-beos.c 1.5 + * scsi-aix.c 1.15 + Static locale variable removed + Test for openbydev + scsi_freebuf() new + +Mon Aug 9 00:39:37 1999 Joerg Schilling + * scsitransp.h 1.22 + SCSI *->bufbase & scsi_freebuf() new + +Sat Aug 7 22:24:46 1999 Joerg Schilling + * scsitransp.h 1.21 + running/curcmdname/local new in SCSI * + +Sat Aug 7 22:22:36 1999 Joerg Schilling + * scsitransp.c 1.40 + * scsi-wnt.c 1.12 + * scsi-vms.c 1.11 + * scsi-unixware.c 1.4 + * scsi-sgi.c 1.15 + * scsi-sco.c 1.9 + * scsi-osf.c 1.7 + * scsi-os2.c 1.5 + * scsi-next.c 1.12 + * scsi-linux-sg.c 1.33 + * scsi-linux-pg.c 1.14 + * scsi-hpux.c 1.12 + * scsi-bsd.c 1.22 + * scsi-bsd-os.c 1.8 + * scsi-beos.c 1.4 + * scsi-aix.c 1.14 + scg_maxdma removed + scsi_running/scsi_command -> SCSI * struct + +Sat Aug 7 21:05:51 1999 Joerg Schilling + * scsi-vms.c 1.10 + scsi_close() new + +Sun Aug 1 22:08:46 1999 Joerg Schilling + * fifo.c 1.14 + WRITER_MAXWAIT & READER_MAXWAIT -> 240s for SAO SCSI Timeout + usleep() debug code + +Sun Aug 1 17:14:54 1999 Joerg Schilling + * cdrecord.1 1.41 + Better documentation for -multi Option (DAO mode) + +Sun Aug 1 17:05:30 1999 Joerg Schilling + * cdrecord.c 1.82 + -msinfo now works even if drive is in DAO mode + Now corrects trackstart values for second session in DAO Mode + +Sun Aug 1 16:51:35 1999 Joerg Schilling + * drv_sony.c 1.33 + * drv_simul.c 1.11 + * drv_philips.c 1.30 + * drv_mmc.c 1.41 + * drv_jvc.c 1.42 + * drv_dvd.c 1.35 + speedp == 0 allowed if speed should remain as is + +Sun Aug 1 16:10:40 1999 Joerg Schilling + * drv_sony.c 1.32 + * drv_simul.c 1.10 + * drv_mmc.c 1.40 + * drv_jvc.c 1.41 + * drv_dvd.c 1.34 + recovery_needed()/recover()/reserve_track() References to Philips driver removed + +Sun Aug 1 16:02:03 1999 Joerg Schilling + * drv_philips.c 1.29 + * scsi_cdr.c 1.75 + * cdr_drv.c 1.16 + * cdrecord.h 1.52 + Several functions scsi_cdr.c -> drv_philips.c + new function cmd_ill() + +Sun Aug 1 13:25:42 1999 Joerg Schilling + * drv_dvd.c 1.33 + phys_end in dvd_structure_00 may be 0 for empty session + +Sun Jul 25 13:52:02 1999 Joerg Schilling + * scsitransp.c 1.39 + scsi_close() new + __scgp removed + +Sun Jul 25 13:36:47 1999 Joerg Schilling + * scsi-wnt.c 1.11 + * scsi-unixware.c 1.3 + * scsi-sgi.c 1.14 + * scsi-osf.c 1.6 + * scsi-sco.c 1.8 + * scsi-os2.c 1.4 + * scsi-next.c 1.11 + * scsi-linux-sg.c 1.32 + * scsi-linux-pg.c 1.13 + * scsi-hpux.c 1.11 + * scsi-bsd.c 1.21 + * scsi-bsd-os.c 1.7 + * scsi-beos.c 1.3 + * scsi-aix.c 1.13 + scsi_close() new + +Sun Jul 25 00:50:18 1999 Joerg Schilling + * scsitransp.h 1.20 + close_scsi() and scsi_smalloc()/scsi_sfree() new + +Sat Jul 24 22:26:22 1999 Joerg Schilling + * scsitransp.h 1.19 + scsi_close() new + +Sat Jul 24 22:25:39 1999 Joerg Schilling + * scsi-vms.c 1.9 + last changes fro Mr. Heuser + Max Timeout corrected + +Sat Jul 24 22:22:44 1999 Joerg Schilling + * scsi-next.c 1.10 + Kernel Driver is in undefined state if SCSI Bus is not valid -> bugfix & debug prints + +Sat Jul 24 20:43:47 1999 Joerg Schilling + * drv_mmc.c 1.39 + from BCD converson (debug) for Ricoh test + Trying to suppress error messages for newer MITSUMI ATAPI drives + +Sat Jul 24 19:27:06 1999 Joerg Schilling + * cdrecord.1 1.40 + Better documentation for -pad/padsize= + +Sat Jul 24 19:25:34 1999 Joerg Schilling + * diskid.c 1.14 + New manufacturer: OPTROM + AUDIO DISTRIBUTORS + Acer Media Technology + +Sat Jul 24 19:23:49 1999 Joerg Schilling + * cdrecord.c 1.81 + -> 1.8a24 & write_buf() Test Code + +Sat Jul 24 19:19:22 1999 Joerg Schilling + * cdrecord.c 1.80 + Check HAVE_SETPRIORITY and HAVE_NICE + +Sat Jul 24 19:17:30 1999 Joerg Schilling + * cdrecord.c 1.79 + Version -> 1.8a23 + Signalhandler for wait time before burning + O_BINARY define for win32 + setmode(TDIN, O_BINARY) for win32 + track[] Array now MAX_TRACKS+2 + Print Drive Buffer size and FIFO size + -force Flag to blank problematic CD-RW's + set sector size to 2k before burning for Plextor + set_speed...() now with speedp Parameter to allow MMC to send back actual values + DAO for MMC + new Options -atip/-useinfo/-force/-dao/mcn=text/isrc=text/index=list + first Test for continuous Drive buffer cap printouts + set_secsize() new (for Plextor & DAO) + EMX Wildcard expansion for OS/2 + Timeout for DAO -> minimal 200s + print_toc() \ removed for K&R C + print_toc() with CD-Text + DosSetPriority() now korrectly doing delta + setpregaps() sets values for lead-in/out + checktsize() checks for DAO + +Sun Jul 18 14:39:31 1999 Joerg Schilling + * cdrecord.h 1.51 + * scsi_cdr.c 1.74 + open_scsi() -> libscg + +Sat Jul 17 15:54:11 1999 Joerg Schilling + * scsitransp.c 1.38 + MAX DMA for Solaris x86 from 32k -> 56k + scsierr() checks for sense[0] != 0 + scsi_sense_{key!code!qual} return 0 if scsierr() == FALSE + +Sat Jul 17 15:37:00 1999 Joerg Schilling + * scsitransp.h 1.18 + open_scsi() for scsiopen.c new + +Mon Jun 28 01:11:18 1999 Joerg Schilling + * scsi-linux-pg.c 1.12 + set CDB to 0 past cdb_len + +Sun Jun 6 19:41:11 1999 Joerg Schilling + * drv_philips.c 1.28 + CDR_SWABAUDIO for pioneer_dws114x + +Sun Jun 6 19:40:29 1999 Joerg Schilling + * modes.c 1.13 + get_mode_params() now return FALSE if has_mode_page() returns FALSE + +Sun Jun 6 19:39:02 1999 Joerg Schilling + * scsi_cdr.c 1.73 + Hack for NT-4.0 ASPI ISE inquiry fake (bug in add_len) + workaround for Ricoh NOT_READY key in get Mode page 2A + +Thu May 13 16:55:13 1999 Joerg Schilling + * scsi-wnt.c 1.10 + #define for format to avoid hiding messages + Now uses dlopen() + ha_inquiry() new + better paraeters in scsi_open() + SRB_HaID/SRB_HaId unified + +Thu May 13 15:07:36 1999 Joerg Schilling + * scsi_cdr.c 1.72 + check scsi_open() return code for < 0 + +Thu May 13 15:00:48 1999 Joerg Schilling + * modes.c 1.12 + Cast for ANSI C comparison + +Thu May 13 15:00:07 1999 Joerg Schilling + * drv_sony.c 1.31 + Cast for ANSI C + fixed typo in error texts + +Thu May 13 14:31:50 1999 Joerg Schilling + * drv_jvc.c 1.40 + mods for ANSI C comparison + +Thu May 13 14:31:12 1999 Joerg Schilling + * cdrecord.1 1.39 + New Options -atip and index= + +Thu May 13 12:00:58 1999 Joerg Schilling + * scsierrs.c 2.21 + field_ptr now correctly used for progress printing on NOT_READY + +Wed May 12 01:42:18 1999 Joerg Schilling + * scsi-os2.c 1.3 + -scanbus support + +Wed May 12 01:01:54 1999 Joerg Schilling + * drv_philips.c 1.27 + * scsi_cdr.c 1.71 + * cdr_drv.c 1.15 + * scsidefs.h 1.21 + DEV_RICOH_RO_1060C new (preliminary) + +Mon May 3 01:30:22 1999 Joerg Schilling + * scsi-wnt.c 1.9 + changed names and indented + WBOOL definition to distinguish BOOL from Windows.h and BOOL from standard.h + busses new + compare busno with busses + Debug File removed + EventStatus as result of WaitForSingleObject() + set_error() new for correct error codes + scsiabort() new + +Tue Apr 27 23:11:59 1999 Joerg Schilling + * scsi-wnt.c 1.8 + Debug File removed + +Tue Apr 27 21:06:48 1999 Joerg Schilling + * scsi-wnt.c 1.7 + -scanbus now works + file matrix removed + check for nuber of SCSI Busses + +Mon Apr 26 22:37:40 1999 Joerg Schilling + * scsi-wnt.c 1.6 + Try to implement -scanbus + +Mon Apr 26 22:36:00 1999 Joerg Schilling + * scsi-wnt.c 1.5 + sp->u_scb.cmd_scb[0] = s.SRB_Status -> sp->u_scb.cmd_scb[0] = s.SRB_TargStat + error code SCG_FATAL -> SCG_RETRYABLE + +Mon Apr 26 22:35:00 1999 Joerg Schilling + * scsi-wnt.c 1.4 + Indented II + +Mon Apr 26 22:34:15 1999 Joerg Schilling + * scsi-wnt.c 1.3 + Indented + +Mon Apr 26 22:33:41 1999 Joerg Schilling + * scsi-wnt.c 1.2 + Better comment + +Mon Apr 26 22:32:32 1999 Joerg Schilling + * scsi-wnt.c 1.1 + date and time created 99/04/26 21:32:32 by joerg + +Sun Apr 25 09:48:05 1999 Joerg Schilling + * cdrecord.h 1.50 + is_copy()/is_scms() new + TI_COPY/TI_SCMS new + read_subchannel() new + pr_manufacturer()/disk_rcap() with rw/audio Parameters + +Sun Apr 25 09:46:03 1999 Joerg Schilling + * drv_mmc.c 1.38 + clear -dummy status by clearin -dummy state + COPY & SCMS handling + +Sat Apr 24 14:10:19 1999 Joerg Schilling + * diskid.c 1.13 + * drv_mmc.c 1.37 + pr_manufacturer()/disk_rcap() now using rw and audio Parameter + +Sat Apr 24 14:05:48 1999 Joerg Schilling + * drv_philips.c 1.26 + pr_manufacturer()/disk_rcap() now using rw and audio Parameter + Printing of ATIP "restricted" + +Sat Apr 24 14:04:38 1999 Joerg Schilling + * drv_sony.c 1.30 + pr_manufacturer()/disk_rcap() now using rw and audio Parameter + printf() Format (%l..) + +Sat Apr 24 14:02:11 1999 Joerg Schilling + * scsi_cdr.c 1.70 + read_subchannel() new + +Sat Apr 24 13:03:56 1999 Joerg Schilling + * scsihack.c 1.21 + scsi-wnt.c new + +Sun Apr 18 21:04:15 1999 Joerg Schilling + * defaults.c 1.1 + date and time created 99/04/18 20:04:15 by joerg + +Sun Apr 18 19:56:45 1999 Joerg Schilling + * drv_sony.c 1.29 + * drv_simul.c 1.9 + * drv_philips.c 1.25 + * drv_mmc.c 1.36 + * drv_jvc.c 1.39 + * cdr_drv.c 1.14 + * drv_dvd.c 1.32 + * cdrecord.h 1.49 + New driver function cdr_send_cue + +Sun Apr 18 19:28:03 1999 Joerg Schilling + * drv_jvc.c 1.38 + g6 & g7 test functions + +Sun Apr 18 18:40:56 1999 Joerg Schilling + * cdrecord.h 1.48 + index= Option new + +Sun Apr 18 18:40:54 1999 Joerg Schilling + * drv_mmc.c 1.35 + index= Option new + +Sun Apr 18 00:42:59 1999 Joerg Schilling + * cdrecord.h 1.47 + New Flags F_SAO/F_WRITE/F_PREGAP/F_FORCE + isrc in struct track + is_tao()/is_pregap() new + ds_cdrflags in struct disk_status + cdr_buffer_cap in struct cdr_cmd + cdr_set_speed_dummy with *speedp - to allow mmc to return value + Functions for auinfo.c + +Sun Apr 18 00:18:30 1999 Joerg Schilling + * scsi-linux-sg.c 1.31 + MAX_SCG & MAX_TGT -> 16 + Debug function for printing buscookies[] and scgfiles[][][] + sg_mapbus() now with Bus Parameter and spcial handling for holes in buscookies[] + sg_setup() doing range check + better handling of Status byte in extended Code for mk2 Interface + +Sun Apr 18 00:09:52 1999 Joerg Schilling + * scsi-linux-pg.c 1.11 + Search slot for PP Bus backwards, as buscookies[] may have holes + +Sat Apr 17 22:12:22 1999 Joerg Schilling + * drv_jvc.c 1.37 + New Function in Driver table to read Buffer capacity + buf_cap_teac(), read_peak_buffer_cap_teac (), buffer_inquiry_teac(), check_buffer_teac() new + +Sat Apr 17 19:32:41 1999 Joerg Schilling + * scsi_scan.c 1.5 + Enhancements for 16 SCSI busses and 17 Targets/Bus + +Sat Apr 17 19:29:25 1999 Joerg Schilling + * cdr_drv.c 1.13 + buf_dummy() new + New Function in Driver table to read Buffer capacity + +Sat Apr 17 19:28:27 1999 Joerg Schilling + * drv_sony.c 1.28 + * drv_mmc.c 1.34 + * drv_philips.c 1.24 + * drv_simul.c 1.8 + * drv_dvd.c 1.31 + New Function in Driver table to read Buffer capacity + +Sat Apr 17 19:25:47 1999 Joerg Schilling + * drv_sony.c 1.27 + Workaround for CDU 620 (can not read lead-in Start time) + +Sat Apr 17 18:57:36 1999 Joerg Schilling + * scsitransp.c 1.37 + MAX_SCG & MAX_TGT -> 16 + Workaround for /dev/scg if Target > 7 + +Sat Apr 17 18:55:26 1999 Joerg Schilling + * scsi-bsd-os.c 1.6 + * scsi-vms.c 1.8 + * scsi-unixware.c 1.2 + * scsi-sgi.c 1.13 + * scsi-sco.c 1.7 + * scsi-osf.c 1.5 + * scsi-os2.c 1.2 + * scsi-next.c 1.9 + * scsi-hpux.c 1.10 + * scsi-bsd.c 1.20 + * scsi-aix.c 1.12 + MAX_SCG & MAX_TGT -> 16 + +Sat Apr 17 18:47:39 1999 Joerg Schilling + * scsi-next.c 1.8 + scsi_setup() & scsi_havebus() with scgp Pointer (bug) + +Sat Apr 17 17:09:00 1999 Joerg Schilling + * scsitransp.c 1.36 + limit SunOS 4.x maxdma to 64k-1 + +Sat Apr 17 13:14:24 1999 Joerg Schilling + * cdrecord.1 1.38 + -force flag and -useinfo new + +Tue Apr 13 01:29:14 1999 Joerg Schilling + * diskid.c 1.12 + m_seantram Index 28 (typo) -> 83 + +Tue Apr 13 01:06:45 1999 Joerg Schilling + * modes.c 1.11 + Test in has_mode_page() if desired page is really available for JVC 2080 FW Bug + +Fri Apr 9 20:49:08 1999 Joerg Schilling + * drv_jvc.c 1.36 + speed -> *speedp Parameter in speed_select() + +Fri Apr 9 01:03:54 1999 Joerg Schilling + * scsi_cdr.c 1.69 + * drv_dvd.c 1.30 + * audiosize.c 1.12 + Signed/unsiged comparisons with cast + +Fri Apr 9 00:46:07 1999 Joerg Schilling + * scsilog.c 1.7 + cast for comparing unsigned > int + +Fri Apr 9 00:33:17 1999 Joerg Schilling + * scsi_cdr.c 1.68 + read_buff_cap() Ulong -> int + +Fri Apr 9 00:32:35 1999 Joerg Schilling + * diskid.c 1.11 + New manufacturer: "Woongjin Media corp" + "INFODISC Technology Co., Ltd." + "UNITECH JAPAN INC." + "AMS Technology Inc." + +Tue Apr 6 22:08:31 1999 Joerg Schilling + * drv_mmc.c 1.33 + speed -> *speedp Parameter in speed_select() + Read write speed Auslesen and set *speedp + Test for dsp->ds_cdrflags & RF_WRITE + first DAO enhancements + +Tue Apr 6 22:05:25 1999 Joerg Schilling + * scsi_cdr.c 1.67 + speed -> *speedp Parameter IN speed_select() + read_buffer() WITH mode Parameter + scsi_get_speed() new + read_buff_cap() prints Data if sp && fp == NULL and avoids division by 0 + read_cdtext() new + Workaround for Philips CDD-522 cannot do read TOC MSN + +Tue Apr 6 01:15:52 1999 Joerg Schilling + * drv_philips.c 1.23 + speed -> *speedp Parameter in speed_select() + Test for dsp->ds_cdrflags & RF_WRITE + +Tue Apr 6 01:13:14 1999 Joerg Schilling + * drv_sony.c 1.26 + ATIP Support + +Fri Apr 2 16:06:31 1999 Joerg Schilling + * diskid.c 1.10 + "Seantram Technology Inc." new (guess) + +Fri Apr 2 15:50:28 1999 Joerg Schilling + * drv_sony.c 1.25 + * drv_simul.c 1.7 + * drv_dvd.c 1.29 + speed -> *speedp Parameter in speed_select() + +Sun Mar 28 15:31:56 1999 Joerg Schilling + * scsimmc.h 1.4 + struct mmc_cue new + +Sun Mar 28 15:29:43 1999 Joerg Schilling + * cdrecord.1 1.37 + -dao and -audio default for .au & .wav + +Fri Mar 12 02:05:58 1999 Joerg Schilling + * auinfo.c 1.1 + date and time created 99/03/12 02:05:58 by joerg + +Sun Mar 7 22:30:42 1999 Joerg Schilling + * fifo.c 1.13 + roundup(bufsize, pagesize) to make each Segment page aligned + +Wed Mar 3 23:45:20 1999 Joerg Schilling + * diskid.c 1.9 + New manufacturers: vanguard, grandadv, taeil, kingpro, digitalstor + +Wed Mar 3 22:58:38 1999 Joerg Schilling + * diskid.c 1.8 + New RCAP Liste + +Sat Feb 20 00:00:44 1999 Joerg Schilling + * scsi_cdr.c 1.66 + read_buffer() new + timeout for read_toc_philips() -> 240s for TEAC + read_master_cue() new + send_cue_sheet() new + read_buff_cap() new + +Sun Jan 31 22:37:38 1999 Joerg Schilling + * wm_packet.c 1.11 + * cdrecord.c 1.78 + carriage Return to beginning of Track... Strings to make error message not overwrite position + +Sun Jan 31 19:50:01 1999 Joerg Schilling + * cdrecord.c 1.77 + ignore dev= values from /etc/default/cdrecord for -scanbus + +Sun Jan 31 19:23:53 1999 Joerg Schilling + * scsi_cdr.c 1.65 + Suport for ACER CR-4020C + +Sun Jan 31 19:23:05 1999 Joerg Schilling + * drv_philips.c 1.22 + scgp->inq->ansi_version = 1; -> scgp->inq->data_format = 1; to make Plasmon RF-4100 work again + +Sun Jan 31 18:55:45 1999 Joerg Schilling + * cdrecord.1 1.36 + Hint for SVr4 and POSIX Realtime scheduler + +Sun Jan 31 18:49:06 1999 Joerg Schilling + * scsi-bsd.c 1.19 + scsi_maxdma() from MAXPHYS -> DFLTPHYS + +Sat Dec 12 12:36:09 1998 Joerg Schilling + * scsi-beos.c 1.2 + sccsid[] -> __sccsid[] + +Sun Dec 6 13:16:25 1998 Joerg Schilling + * scsi-beos.c 1.1 + date and time created 98/12/06 13:16:25 by joerg + +Sun Dec 6 12:41:50 1998 Joerg Schilling + * scsihack.c 1.20 + BeOS new + +Sun Dec 6 12:41:30 1998 Joerg Schilling + * scsi-vms.c 1.7 + New Version past phone call with vaxinf@CHCLU.CHEMIE.UNI-KONSTANZ.DE + +Sun Dec 6 12:10:54 1998 Joerg Schilling + * cdrecord.1 1.35 + FreeBSD device name bug + New address for Mailing List + Documentation of /etc/default/cdrecord + +Sat Dec 5 13:46:27 1998 Joerg Schilling + * cdrecord.c 1.76 + HAVE_SYS_RESOURCE_H new (BeOS) + 1.8a13 -> 1.8a14 + cdr_defaults() new + +Sat Dec 5 13:38:16 1998 Joerg Schilling + * cdrecord.h 1.46 + default.c/cdr_defaults() new + +Sun Nov 29 19:40:50 1998 Joerg Schilling + * scsi-sco.c 1.6 + cleaned up and permission to use /dev/xxx:target,lun + +Sun Nov 29 19:27:55 1998 Joerg Schilling + * scsidefs.h 1.20 + fused + +Sun Nov 29 19:25:54 1998 Joerg Schilling + * scgio.h 2.14 + Splitted into scgcmd.h and scgio.h + +Sun Nov 29 19:23:33 1998 Joerg Schilling + * scsi-unixware.c 1.1 + date and time created 98/11/29 19:23:33 by joerg + +Sun Nov 29 19:22:45 1998 Joerg Schilling + * scsihack.c 1.19 + UNIXWARE new + +Sun Nov 29 19:15:04 1998 Joerg Schilling + * cdrecord.c 1.75 + scgio.h -> scgcmd.h/scgio.h, scgio.h scgcmd.h scsidefs.h scsireg.h scsitransp.h -> include/scg, 1.8a11 -> 1.8a13 + +Sun Nov 29 19:14:20 1998 Joerg Schilling + * scsierrs.c 2.20 + * scsitransp.c 1.35 + * cdr_drv.c 1.12 + * modes.c 1.10 + * scsilog.c 1.6 + * wm_packet.c 1.10 + * scsi_scan.c 1.4 + * scsi_cdr.c 1.64 + * audiosize.c 1.11 + * drv_sony.c 1.24 + * drv_simul.c 1.6 + * drv_philips.c 1.21 + * drv_mmc.c 1.32 + * drv_jvc.c 1.35 + * drv_dvd.c 1.28 + scgio.h -> scgcmd.h/scgio.h, scgio.h scgcmd.h scsidefs.h scsireg.h scsitransp.h -> include/scg + +Sun Nov 29 00:39:42 1998 Joerg Schilling + * scsi-sco.c 1.5 + Correctly return Sense Data, EIO if errno == 0 + +Sat Nov 28 12:32:00 1998 Joerg Schilling + * scsierrs.c 2.19 + asc <= 80 -> asc < 80 for invalid sense code + +Sat Nov 28 00:49:19 1998 Joerg Schilling + * scsierrs.c 2.18 + Missing NULL as terminator for sd_ccs_error_str[] added + +Wed Nov 25 22:23:07 1998 Joerg Schilling + * scsi-linux-pg.c 1.10 + pg_send() Prototyp new + +Wed Nov 25 22:22:46 1998 Joerg Schilling + * scsitransp.c 1.34 + HAVE_PARAM_H -> HAVE_SYS_PARAM_H (Typo) + +Sun Nov 22 15:50:37 1998 Joerg Schilling + * cdrecord.c 1.74 + 1.8a9 -> 1.8a11, DosSetPriority() new + +Sun Nov 22 15:26:16 1998 Joerg Schilling + * isosize.c 1.4 + * audiosize.c 1.10 + Now using statdefs.h + +Sat Nov 21 23:41:31 1998 Joerg Schilling + * scsitransp.c 1.33 + #ifdef HAVE_PARAM_H for VMS + +Sat Nov 21 21:38:31 1998 Joerg Schilling + * scsi_cdr.c 1.63 + unsigned int cast for char Parameter in i_to_short() + +Sat Nov 7 22:21:28 1998 Joerg Schilling + * cdrecord.c 1.73 + 1.8a8 -> 1.8a9 + +Fri Nov 6 23:49:59 1998 Joerg Schilling + * scsi-linux-sg.c 1.30 + Typo in scsi_send() header + +Mon Nov 2 22:22:23 1998 Joerg Schilling + * scsi-bsd.c 1.18 + Typ bus -> busno for CAM removed + +Mon Nov 2 14:55:22 1998 Joerg Schilling + * scsi-os2.c 1.1 + date and time created 98/11/02 14:55:22 by joerg + +Mon Nov 2 13:24:30 1998 Joerg Schilling + * scsihack.c 1.18 + Now completely using SCSI *scgp as Function parameter + scsi-os2.c new + +Mon Nov 2 14:27:10 1998 Joerg Schilling + * scsi-vms.c 1.6 + * scsi-sgi.c 1.12 + * scsi-sco.c 1.4 + * scsi-osf.c 1.4 + * scsi-next.c 1.7 + * scsi-linux-sg.c 1.29 + * scsi-linux-pg.c 1.9 + * scsi-hpux.c 1.9 + * scsi-bsd.c 1.17 + * scsi-bsd-os.c 1.5 + * scsi-aix.c 1.11 + * scsierrs.c 2.17 + * scsitransp.c 1.32 + * scsitransp.h 1.17 + * cdrecord.c 1.72 + * cdrecord.h 1.45 + * cdr_drv.c 1.11 + * drv_mmc.c 1.31 + * drv_philips.c 1.20 + * drv_jvc.c 1.34 + * drv_dvd.c 1.27 + * drv_simul.c 1.5 + * drv_sony.c 1.23 + * scsi_cdr.c 1.62 + * modes.c 1.9 + * scsi_scan.h 1.2 + * scsi_scan.c 1.3 + * scsilog.c 1.5 + * wm_packet.c 1.9 + Now completely using SCSI *scgp as Function parameter + +Thu Oct 29 15:59:52 1998 Joerg Schilling + * scsihack.c 1.17 + * scsitransp.h 1.16 + * scsitransp.c 1.31 + * scsi-sgi.c 1.11 + * scsi-vms.c 1.5 + * scsi-sco.c 1.3 + * scsi-osf.c 1.3 + * scsi-next.c 1.6 + * scsi-linux-pg.c 1.8 + * scsi-linux-sg.c 1.28 + * scsi-hpux.c 1.8 + * scsi-bsd.c 1.16 + * scsi-bsd-os.c 1.4 + * scsi-aix.c 1.10 + Globale Variables removed and replaced by SCSI *scgp + +Thu Oct 29 15:45:38 1998 Joerg Schilling + * scsi-sco.c 1.2 + Indented and scsi_isatapi() new + +Thu Oct 29 15:30:53 1998 Joerg Schilling + * scsi-sco.c 1.1 + date and time created 98/10/29 15:30:53 by joerg + +Thu Oct 29 15:21:52 1998 Joerg Schilling + * cdrecord.c 1.70 + Lowlevel SCSI transport Routines now have scgp Parameter, 1.8a6 -> 1.8a7 + +Thu Oct 29 15:21:09 1998 Joerg Schilling + * scsi_cdr.c 1.61 + * drv_sony.c 1.22 + * modes.c 1.8 + * scsilog.c 1.4 + * drv_philips.c 1.19 + * drv_mmc.c 1.30 + * drv_jvc.c 1.33 + * drv_dvd.c 1.26 + Lowlevel SCSI transport Routines now have scgp Parameter + +Wed Oct 28 22:20:25 1998 Joerg Schilling + * scsi-aix.c 1.9 + dev=device:b,t,l Syntax new + +Mon Oct 26 03:18:37 1998 Joerg Schilling + * diskid.c 1.7 + manufacturer_id() new + mi_num new in struct disk_man + +Mon Oct 26 03:17:34 1998 Joerg Schilling + * cdrecord.h 1.44 + manufacturer_id() new + +Mon Oct 26 00:27:22 1998 Joerg Schilling + * diskid.c 1.6 + New manufacturer: Xcitec Inc. + Doremi Media Co., Ltd. + Matsushita Electric Industrial Co.,Ltd. + CDA Datenträger Albrechts GmbH. + +Sun Oct 25 13:00:22 1998 Joerg Schilling + * cdrecord.c 1.71 + #ifdef HAVE_SYS_MMAN_H new + +Sat Oct 24 01:41:22 1998 Joerg Schilling + * scsi-vms.c 1.4 + * scsi-osf.c 1.2 + * scsi-sgi.c 1.10 + * scsi-next.c 1.5 + * scsi-hpux.c 1.7 + * scsi-bsd.c 1.15 + * scsi-bsd-os.c 1.3 + * scsi-aix.c 1.8 + Blind changes for 1st stage of SCSI lib: Globale Variables removed and replaced by SCSI *scgp + +Sat Oct 24 00:22:01 1998 Joerg Schilling + * cdrecord.c 1.69 + * scsi_cdr.c 1.60 + open_scsi(dev, timeout, verboseopen) -> open_scsi(dev, debug, verboseopen) + +Fri Oct 23 23:46:23 1998 Joerg Schilling + * wm_packet.c 1.8 + * scsi_cdr.c 1.59 + scsi_settimeout() -> do not divide by 100 + +Fri Oct 23 15:53:37 1998 Joerg Schilling + * cdrecord.c 1.68 + XXX scgp->cap->c_bsize = 2048; XXX Hack init !!! + +Fri Oct 23 03:14:46 1998 Joerg Schilling + * scsihack.c 1.16 + scsi-sco.c new + +Fri Oct 23 16:01:44 1998 Joerg Schilling + * scsi-linux-sg.c 1.27 + * scsi-linux-pg.c 1.7 + * scsitransp.c 1.30 + * scsitransp.h 1.15 + * scsierrs.c 2.16 + * scsi_cdr.c 1.58 + * scsidefs.h 1.19 + * cdrecord.c 1.67 + * drv_dvd.c 1.25 + * drv_philips.c 1.18 + * drv_sony.c 1.21 + * drv_jvc.c 1.32 + * cdr_drv.c 1.10 + * drv_mmc.c 1.29 + * modes.c 1.7 + * scsi_scan.c 1.2 + * scsilog.c 1.3 + Globale Variables removed and replaced by SCSI *scgp + +Thu Oct 22 18:49:06 1998 Joerg Schilling + * scsi-next.c 1.4 + Now using scsi_open(device, busno, tgt, tlun) Interface + +Tue Oct 20 18:31:25 1998 Joerg Schilling + * scsi_cdr.c 1.57 + CDD521/02 (Kodak PCD-200) + +Sun Oct 18 14:54:35 1998 Joerg Schilling + * cdrecord.c 1.66 + 1.6.1 -> 1.7.1 + +*************** Release 1.6.1 ******************* + +Sun Oct 18 14:47:55 1998 Joerg Schilling + * cdrecord.c 1.65 + O_BINARY for Tracks + Restore old sector size on exit() + Better handling for lba (512/2048) in read_toc() + +Sun Oct 18 14:40:35 1998 Joerg Schilling + * scsi_cdr.c 1.56 + * cdrecord.h 1.43 + sense_secsize() new + +Sat Oct 17 16:39:41 1998 Joerg Schilling + * fifo.c 1.12 + #ifdef SHM_LOCK to allow compilation of SysV shm on AIX + +Fri Oct 9 14:21:38 1998 Joerg Schilling + * scsi-bsd.c 1.14 + sp->ux_errno = EIO; for old Transport Interface + +Fri Oct 9 22:19:30 1998 Joerg Schilling + * modes.c 1.24 + * cd_misc.c 1.6 + * fifo.c 1.11 + * diskid.c 1.5 + * port.c 1.8 + #include new + +Fri Oct 9 14:21:38 1998 Joerg Schilling + * cd_misc.c 1.5 + * wm_packet.c 1.7 + * wm_session.c 1.2 + * wm_track.c 1.2 + #include & #include new + +Thu Oct 8 15:43:50 1998 Joerg Schilling + * cdrecord.h 1.42 + u_char -> Uchar + +Wed Oct 7 18:08:46 1998 Joerg Schilling + * cdrecord.c 1.64 + 1.7a2 -> 1.7, -fix -eject corrected + wait_unit_ready(120); after a load + +Wed Oct 7 18:07:41 1998 Joerg Schilling + * scsi_cdr.c 1.55 + IMMED hack in close track/session added + +Wed Oct 7 18:06:02 1998 Joerg Schilling + * drv_mmc.c 1.28 + new function waitfix_mmc() + -dummy error hiding better + +Wed Oct 7 17:54:02 1998 Joerg Schilling + * scsi-linux-pg.c 1.6 + EIO on SCG_RETRYABLE + +Tue Oct 6 12:53:11 1998 Joerg Schilling + * scsi-vms.c 1.3 + next version from vaxinf@CHCLU.CHEMIE.UNI-KONSTANZ.DE and my remarks + +Tue Oct 6 12:21:50 1998 Joerg Schilling + * scsi-vms.c 1.2 + next version from vaxinf@CHCLU.CHEMIE.UNI-KONSTANZ.DE + +Tue Oct 6 02:09:14 1998 Joerg Schilling + * scsi-linux-pg.c 1.5 + * scsi-linux-sg.c 1.26 + * scsi-bsd-os.c 1.2 + New device:@ Syntax + +Tue Oct 6 02:04:46 1998 Joerg Schilling + * scsi_cdr.c 1.54 + New device:@ Syntax + sscanf() -> scsi_scandev() + +Tue Oct 6 01:50:13 1998 Joerg Schilling + * cdrecord.1 1.34 + new dev= Syntax (dev=device:@ / dev=device:@,lun) inserted + +Tue Oct 6 01:05:29 1998 Joerg Schilling + * scsi-bsd.c 1.13 + modified to use -lcam & cam_open_btl(busno, tgt, tlun, O_RDWR, NULL); + +Thu Oct 1 01:15:57 1998 Joerg Schilling + * scsi-bsd.c 1.12 + Mods for dev=devname:@,l + +Mon Sep 21 01:24:45 1998 Joerg Schilling + * scsi-linux-sg.c 1.25 + scsi_settimeout() -> sg_settimeout() + +Sat Sep 19 21:49:11 1998 Joerg Schilling + * scsi-osf.c 1.1 + date and time created 98/09/19 20:49:11 by joerg + +Tue Sep 15 02:55:28 1998 Joerg Schilling + * drv_philips.c 1.17 + capacity_philips() with Philips CDD-2600 Support new + *_attach() now uses cdr_t * Parameter + cdr_kodak_pcd600 new + Pioneer DW-S114X from open_track_yamaha -> open_track_oldphilips + +Tue Sep 15 02:39:44 1998 Joerg Schilling + * scsi-bsd.c 1.11 + #ifndef BSD_CAM -> #ifndef HAVE_CAMLIB_H + +Tue Sep 15 02:37:58 1998 Joerg Schilling + * cdrecord.c 1.63 + Now uses: fctldefs.h, strdefs.h + SECURITY new + 1.7a1 -> 1.7a2 + open_scsi() check return value and print error message + Blanking time print + #ifdef _SC_PRIORITY_SCHEDULING around sysconf() + #ifdef PRIO_PROCESS around setpriority() for WNT + +Tue Sep 15 02:31:16 1998 Joerg Schilling + * drv_jvc.c 1.31 + Now uses: fctldefs.h, strdefs.h + blank_jvc() new + +Tue Sep 15 02:30:11 1998 Joerg Schilling + * drv_sony.c 1.20 + Now uses: fctldefs.h, strdefs.h + +Tue Sep 15 02:22:12 1998 Joerg Schilling + * cdrecord.h 1.41 + struct index -> struct tindex to allow #define index strchr + +Tue Sep 15 02:21:24 1998 Joerg Schilling + * drv_mmc.c 1.27 + Now uses: fctldefs.h, strdefs.h, timdefs.h + Sony 928 Support new + For drives that don't support read ATIP use data from read_diskinfo + Try to handle "early Return" fixating syndrom from Mitsumi drives + no error messages when fixating using -dummy + +Tue Sep 15 02:13:49 1998 Joerg Schilling + * scsi_cdr.c 1.53 + Now uses: fctldefs.h, strdefs.h + +Tue Sep 8 01:32:08 1998 Joerg Schilling + * scsihack.c 1.15 + Conditional compilation for Linux pg driver to support old Linux releases + +Mon Sep 7 02:30:15 1998 Joerg Schilling + * scsi-bsd.c 1.10 + Typo in scsi_fileno() fixed + +Sun Sep 6 18:47:16 1998 Joerg Schilling + * scsi-bsd.c 1.9 + first FreeBSD CAM Support + +Sun Sep 6 18:22:13 1998 Joerg Schilling + * scsi-bsd.c 1.8 + Enhancements for NetBSD & ATAPI + +Sun Sep 6 01:39:22 1998 Joerg Schilling + * cdr_drv.c 1.9 + cdr_mmc_sony new + +Sun Sep 6 00:43:43 1998 Joerg Schilling + * drv_simul.c 1.4 + * drv_dvd.c 1.24 + Now uses: strdefs.h + +Sat Sep 5 23:23:31 1998 Joerg Schilling + * scsitransp.c 1.29 + Now uses: timedefs.h fctldefs.h + +Mon Aug 31 01:50:12 1998 Joerg Schilling + * scsi-linux-pg.c 1.4 + pgbus init from -1 -> -2 + +Mon Aug 31 01:39:52 1998 Joerg Schilling + * scsi-linux-sg.c 1.24 + /dev/sga... to /dev/sgz instead of /dev/sgy now checked + return nopen to allow recognition of bad dev= parameters + +Mon Aug 31 01:38:08 1998 Joerg Schilling + * scsi-linux-pg.c 1.3 + Debug print for pgbus + if scsibus >= 0 ist do nothing if busno is wrong + +Mon Aug 31 01:03:17 1998 Joerg Schilling + * scsi_cdr.c 1.52 + write_xg5() new + +Mon Aug 31 01:02:00 1998 Joerg Schilling + * scsi_cdr.c 1.51 + open_scsi() now checks dev=devicename:b,t,l + read_trackinfo() now don't prints Cannot read TOC Meldung in silent mode + +Mon Aug 31 00:43:31 1998 Joerg Schilling + * scsitransp.c 1.28 + scsiprintresult() new + +Mon Aug 31 00:40:32 1998 Joerg Schilling + * scsitransp.h 1.14 + scsiprintcdb()/scsiprintwdata()/scsiprintrdata()/scsiprintresult() new + +Sun Aug 30 12:55:35 1998 Joerg Schilling + * drv_dvd.c 1.23 + g5_cdbaddr()/g5_cdblen() -> scgio.h + +Sun Aug 30 12:54:37 1998 Joerg Schilling + * scsihack.c 1.14 + USE_PG -> USE_PG_ONLY + +Sun Aug 30 12:54:02 1998 Joerg Schilling + * scgio.h 2.13 + g0_cdblen()/g5_cdblen() & g5_cdbaddr() new + +Sun Aug 30 12:53:06 1998 Joerg Schilling + * cdrecord.h 1.40 + write_xg5() new + +Sat Aug 29 22:15:37 1998 Joerg Schilling + * cd_misc.c 1.4 + pr_manufacturer() reference removed from print_min_atip() + +Sat Aug 29 21:57:01 1998 Joerg Schilling + * cdrecord.1 1.33 + PP tranport documented, -scanbus doc corrected + +Sat Aug 29 21:01:59 1998 Joerg Schilling + * scsi-linux-pg.c 1.2 + #include statt "pg.h" + support for integrated parallel Port Adapter & SCSI + timeout code corrected + DMA overrun now recognized + +Sat Aug 29 20:48:28 1998 Joerg Schilling + * scsi-linux-sg.c 1.23 + Support for integrated parallel Port Adapter & SCSI + +Sat Aug 29 20:22:10 1998 Joerg Schilling + * cd_misc.c 1.3 + * cdrecord.h 1.39 + print_min_atip() new in cd_misc.c + +Tue Aug 25 20:23:20 1998 Joerg Schilling + * scsihack.c 1.13 + scsi_isatapi() defined, for default SCSI code + +Sun Aug 23 13:42:44 1998 Joerg Schilling + * scsi-linux-sg.c 1.22 + Fix for misaligned integer access in sg_header for Linux/sparc if valloc() DMA Buffer is used + +Thu Aug 20 10:05:14 1998 Joerg Schilling + * scsi-aix.c 1.7 + errno == Reference removed + +Thu Aug 20 01:24:33 1998 Joerg Schilling + * cdrecord.1 1.32 + dev=devicename:target,lun documented + +Tue Aug 18 04:41:56 1998 Joerg Schilling + * scsihack.c 1.12 + scsi-next.c & scsi-vms.c new + +Mon Aug 17 23:08:36 1998 Joerg Schilling + * scsi-vms.c 1.1 + date and time created 98/08/17 22:08:36 by joerg + +Mon Aug 17 22:35:19 1998 Joerg Schilling + * scsihack.c 1.11 + scsi-linux-pg.c new use with USE_PG + +Mon Aug 17 22:34:55 1998 Joerg Schilling + * scsi-linux-pg.c 1.1 + * scsi-bsd-os.c 1.1 + date and time created 98/08/17 21:24:24 by joerg + +Mon Aug 17 22:22:04 1998 Joerg Schilling + * scsi-linux-sg.c 1.21 + MAX_SCG -> 8 + search /dev/sg0... before /dev/sfg... + +Mon Aug 17 21:47:35 1998 Joerg Schilling + * scsi-linux-sg.c 1.20 + Support new sg driverinterface + scgfile new to use with global ioctl's + MAX_DMA_LINUX -> 4k if SG_BIG_BUFF undefined + SG_MAX_SENSE -> 16 if not declared + SG_GET_BUFSIZE ioctl new + scsi_isatapi() new + +Sun Aug 16 23:47:48 1998 Joerg Schilling + * misc.c 1.1 + date and time created 98/08/16 22:47:48 by joerg + +Sun Aug 16 23:47:06 1998 Joerg Schilling + * cdrecord.h 1.38 + misc.c: timevaldiff() new + +Sun Aug 16 23:34:35 1998 Joerg Schilling + * scsi-bsd.c 1.7 + scsi_isatapi() new + /dev/scgx may be replaced by dev=/dev/xxx:0,0 + +Sun Aug 16 23:32:42 1998 Joerg Schilling + * scsitransp.h 1.13 + * scsitransp.c 1.27 + * scsi-sgi.c 1.9 + * scsi-aix.c 1.6 + * scsi-hpux.c 1.6 + scsi_isatapi() new + +Fri Jul 17 03:44:13 1998 Joerg Schilling + * scsihack.c 1.10 + BSDI new -> scsi-bsd-os.c + +Fri Jun 19 19:59:07 1998 Joerg Schilling + * scsitransp.h 1.12 + * scsitransp.c 1.26 + * scsihack.c 1.9 + * scsi-sgi.c 1.8 + * scsi-hpux.c 1.5 + * scsi-bsd.c 1.6 + * scsi-aix.c 1.5 + * scsi-linux-sg.c 1.19 + Use scsi_open(device, busno, tgt, tlun) with parameters + +Tue Jun 9 01:44:46 1998 Joerg Schilling + * drv_dvd.c 1.22 + korrekte Indizierung bei tracksize virtual tracklist + +Sat Jun 6 00:16:40 1998 Joerg Schilling + * port.c 1.7 + #include -> #include wegen sys/time.h + +Wed Jun 3 02:20:27 1998 Joerg Schilling + * cdrecord.1 1.31 + bytes= Option removed + Introduced Mailing List + +Wed Jun 3 02:18:47 1998 Joerg Schilling + * drv_dvd.c 1.21 + Treshold for printing the Virtual Trackliste corrected + Abort if first virt Track is not a multiple of the sectorsize + +Wed Jun 3 01:35:24 1998 Joerg Schilling + * diskid.c 1.4 + disk_rcap List new + +Wed Jun 3 01:04:49 1998 Joerg Schilling + * cdrecord.c 1.62 + CD -> CD/DVD + +Wed Jun 3 01:01:53 1998 Joerg Schilling + * cdrecord.c 1.61 + #if defined(_POSIX_PRIORITY_SCHEDULING) -> #if defined(_POSIX_PRIORITY_SCHEDULING) && !defined(HAVE_SYS_PRIOCNTL_H) bei LOCAL declaration + +Tue Jun 2 00:41:37 1998 Joerg Schilling + * drv_dvd.c 1.20 + attach_???() new now implementing the side effects from identify_???() + +Tue Jun 2 00:41:36 1998 Joerg Schilling + * drv_mmc.c 1.26 + attach_???() neu mit den Nebeneffekten aus identify_???() + +Mon Jun 1 23:34:26 1998 Joerg Schilling + * scsi_cdr.c 1.50 + Cast for malloc(): not every malloc() is void * + +Mon Jun 1 23:33:21 1998 Joerg Schilling + * drv_sony.c 1.19 + * drv_jvc.c 1.30 + * cdr_drv.c 1.8 + * cdrecord.h 1.37 + * cdrecord.c 1.60 + attach Routine now uses cdr_t * Parameter + +Mon Jun 1 22:24:42 1998 Joerg Schilling + * drv_dvd.c 1.19 + * scsilog.c 1.2 + Superfluous & in a_to_u_short() removed + +Sun May 31 21:38:00 1998 Joerg Schilling + * scsihack.c 1.8 + OSF1 new + +Sun May 31 01:45:04 1998 Joerg Schilling + * scsitransp.c 1.25 + void * cast for valloc() return + +Sun May 31 00:39:54 1998 Joerg Schilling + * cdrecord.c 1.59 + Casts for tracksize & padsize + +Sat May 30 23:12:56 1998 Joerg Schilling + * drv_simul.c 1.3 + Verbose Message for islast + +Sat May 30 00:35:26 1998 Joerg Schilling + * cdrecord.c 1.58 + tracksize & padsize -> LLong + +Fri May 29 00:32:30 1998 Joerg Schilling + * cdrecord.c 1.57 + astoll() & getllnum() new + number() -> LLong + +Fri May 29 00:05:29 1998 Joerg Schilling + * cdrecord.1 1.30 + waw in .wav Typo + +Fri May 29 00:03:32 1998 Joerg Schilling + * drv_dvd.c 1.18 + Better comment and housekeeping + +Thu May 28 01:08:06 1998 Joerg Schilling + * drv_dvd.c 1.17 + next_wr_addr_dvd() now correct with read_rzone_info() + +Thu May 28 00:02:01 1998 Joerg Schilling + * drv_dvd.c 1.16 + Verbose level documented + set ds_maxblocks from rzone_info + rzone_size() new + phys size computation corrected + +Tue May 26 04:16:55 1998 Joerg Schilling + * drv_dvd.c 1.15 + Speed code removed + +Tue May 26 04:03:55 1998 Joerg Schilling + * drv_dvd.c 1.14 + Removed lines that have been commented out + +Tue May 26 04:01:03 1998 Joerg Schilling + * drv_dvd.c 1.13 + dvd check in identify_dvd() later + +Tue May 26 03:58:57 1998 Joerg Schilling + * drv_dvd.c 1.12 + fcntl.h + errno.h + sys/file.h removed + +Tue May 26 03:56:48 1998 Joerg Schilling + * drv_dvd.c 1.11 + scsiprbytes() with lverbose > 1 + multi Track Hack indented + +Tue May 26 03:49:19 1998 Joerg Schilling + * drv_dvd.c 1.10 + Superfluous Debugs in SCSI routines removed + +Tue May 26 00:02:51 1998 Joerg Schilling + * cdrecord.c 1.56 + checktsize() with Llong for total Tracksize in Bytes + checkdsize() now computed the remaining rest capacity + +Mon May 25 04:40:51 1998 Joerg Schilling + * drv_dvd.c 1.9 + Computations of the track split code -> long long + MAX tracks -> 99 + +Mon May 25 04:35:54 1998 Joerg Schilling + * drv_dvd.c 1.8 + close_Xtrack_dvd() code -> fixate_dvd() + +Mon May 25 04:30:05 1998 Joerg Schilling + * drv_dvd.c 1.7 + send_dvd_structure() & send_dvd0F() new + +Mon May 25 03:46:30 1998 Joerg Schilling + * drv_dvd.c 1.6 + print_laserlog() new + print_logpages() new + +Mon May 25 03:42:16 1998 Joerg Schilling + * drv_dvd.c 1.5 + przone() new + print_dvd00()/print_dvd01()print_dvd04()/print_dvd05()/print_dvd0D()/print_dvd0E()print_dvd0F() new + now reads 4096 Bytes DVD structure + +Mon May 25 03:17:14 1998 Joerg Schilling + * drv_dvd.c 1.4 + print_dvd_info() new + +Mon May 25 02:31:56 1998 Joerg Schilling + * scsilog.c 1.1 + date and time created 98/05/25 01:31:56 by joerg + +Mon May 25 02:05:22 1998 Joerg Schilling + * scsimmc.h 1.3 + rzone_info new + dvd_structure_XX new + +Sat May 23 22:41:54 1998 Joerg Schilling + * drv_simul.c 1.2 + #include unixstd.h new + +Sat May 23 21:32:13 1998 Joerg Schilling + * scsi_cdr.c 1.49 + New Mode Page 2A Heuristic (min length 0x14 -> 0x10): ATAPI LITEON only gives 0x12: No Write Speed. + +Wed May 20 23:49:35 1998 Joerg Schilling + * cdrecord.c 1.55 + islast bug (|| instead of &&) fixed + bytes= Option removed + +Tue May 19 04:11:02 1998 Joerg Schilling + * drv_dvd.c 1.3 + struct disk_info & struct track_info -> scsimmc.h + scsilog.h new + +Sat May 16 13:15:21 1998 Joerg Schilling + * scsimmc.h 1.2 + u_char -> Uchar + +Sun May 10 00:12:04 1998 Joerg Schilling + * scsimmc.h 1.1 + date and time created 98/05/09 23:12:04 by joerg + +Sun May 10 00:04:17 1998 Joerg Schilling + * auheader.h 1.2 + generic Copyright comment + +Sun May 10 00:02:27 1998 Joerg Schilling + * drv_mmc.c 1.25 + Strukturdefinitionen -> scsimmc.h + +Thu May 7 22:43:07 1998 Joerg Schilling + * scsi_cdr.c 1.48 + strindex() -> strbeg() + vendor_info / prod_ident / prod_revision new because of array index problems + Kodak PCD-600 new + +Thu May 7 21:38:58 1998 Joerg Schilling + * cdrecord.h 1.36 + getnum() now extern + is_mmc() with DVD recognition + disk_rcap() new + +Thu May 7 21:38:13 1998 Joerg Schilling + * cdr_drv.c 1.7 + DRV_DVD new + cdr_kodak_pcd600 / cdr_cdr_simul / cdr_dvd_simul new + DEV_PIONEER_DVDR_S101 new + DVD recognition in is_mmc() nee + +Thu May 7 21:15:19 1998 Joerg Schilling + * cdrecord.c 1.54 + 1.6 -> 1.7a1 + getnum() LOCAL -> EXPORT + test_unit_ready() before load Medium + Allow Medium removal if not ready on load_media() + +Thu May 7 10:43:00 1998 Joerg Schilling + * diskid.c 1.3 + Vendor list actualalized + +Wed May 6 02:52:16 1998 Joerg Schilling + * cdrecord.1 1.29 + simulation driver documented + +Wed May 6 02:41:33 1998 Joerg Schilling + * audiosize.c 1.9 + .wav files that are smaller than expected are handled correctly + +Mon May 4 02:09:55 1998 Joerg Schilling + * drv_dvd.c 1.2 + Function names *_mmc -> *_dvd + ds_maxblock -> ds_maxblocks + getdisktype_dvd() now includes more tests + write_type -> WT_SAO + Hack for virtual track list + +Sun May 3 19:37:17 1998 Joerg Schilling + * scsi_cdr.c 1.47 + mode_select_sg0()/mode_sense_sg0() cnt usage corrected + mode_sense_sg0() movebytes() count corrected + +Sat May 2 00:46:07 1998 Joerg Schilling + * drv_simul.c 1.1 + date and time created 98/05/01 23:46:07 by joerg + +Fri May 1 19:26:22 1998 Joerg Schilling + * scsi_cdr.c 1.46 + DEV_PCD_600 new + is_mmc() now uses dvdp Arg + +Fri May 1 19:08:34 1998 Joerg Schilling + * scsidefs.h 1.18 + PCD_600 new + +*************** Release 1.6 ******************* + +Fri Apr 17 12:53:59 1998 Joerg Schilling + * scsi_cdr.c 1.45 + & before ibuf removed because it is an array + +Fri Apr 17 12:45:38 1998 Joerg Schilling + * scsi_cdr.c 1.44 + min/sec/frame -> amin/asec/aframe because of min() Macro + +Thu Apr 16 01:43:26 1998 Joerg Schilling + * cdrecord.1 1.26 + -ignsize new + web page for cdrecord added + +Thu Apr 16 00:55:39 1998 Joerg Schilling + * diskid.c 1.2 + Print if Manufacturer is in none of the tables + +Thu Apr 16 00:52:13 1998 Joerg Schilling + * drv_mmc.c 1.24 + ds_maxblock -> ds_maxblocks + do get_atip() always, but print if lverbose is set + +Thu Apr 16 00:32:50 1998 Joerg Schilling + * cdrecord.h 1.35 + * cdrecord.c 1.53 + ds_maxblock -> ds_maxblocks + new Option -ignsize + +Thu Apr 16 00:31:32 1998 Joerg Schilling + * drv_jvc.c 1.29 + * drv_philips.c 1.16 + ds_maxblock -> ds_maxblocks + +Sun Apr 12 16:14:07 1998 Joerg Schilling + * scsi_cdr.c 1.43 + Smart & Friendly CD-R4012 (TEAC CDR-55S) new + +Sun Apr 12 02:15:15 1998 Joerg Schilling + * scsitransp.c 1.24 + scsiprintcdb()/scsiprintwdata()/scsiprintrdata() new + print scsiprintcdb() on errors + +Sun Apr 12 01:58:26 1998 Joerg Schilling + * cdrecord.h 1.34 + * cdrecord.c 1.52 + Real Blocks new + 1.6a14 -> 1.6 + +Wed Apr 1 03:28:36 1998 Joerg Schilling + * cdrecord.c 1.51 + checkgui() now has verbose print + +Wed Apr 1 01:36:59 1998 Joerg Schilling + * drv_jvc.c 1.28 + lberbose > 1 for all subcode Messages + teac_wr_pma()/teac_rd_pma() new + JVC Errorcodes new + check for cdrecord -fix without Parameter + hide Illegal Command errorcode for next_wr_addr_teac() + +Wed Apr 1 01:29:49 1998 Joerg Schilling + * scsitransp.c 1.23 + * scsi_cdr.c 1.42 + * drv_mmc.c 1.23 + GCC Warnings removed: printf format errors + +Tue Mar 31 20:58:07 1998 Joerg Schilling + * cdrecord.c 1.50 + ->1.6a14, LOAD & EJECT works for CD-ROM too + GUI test on STDERR + first Trackno -> track[0] as Hack + +Tue Mar 31 20:56:43 1998 Joerg Schilling + * cdrecord.1 1.25 + CREDITS + better Documentation for tsize= & TEAC + +Sun Mar 29 15:31:08 1998 Joerg Schilling + * cdrecord.1 1.24 + -vv/-VV mods + -fix: not for TEAC + -load new + timeout= Option + tsize= description because of tracksize and TEAC + nice/SunOS -> nice/others + +Sun Mar 29 15:26:19 1998 Joerg Schilling + * drv_philips.c 1.15 + open_session() with tracks & trackp Parameters + Philips CDD-521 old/dumb new + Pioneer DW-S114X new + +Sun Mar 29 15:22:29 1998 Joerg Schilling + * drv_mmc.c 1.22 + open_session() with tracks & trackp Parameters + Check for zeroed ATIP Info + wait_unit_ready() for ATAPI - sorry not working + +Sat Mar 28 23:43:07 1998 Joerg Schilling + * cdrecord.c 1.49 + check_recovery() now uses flags for unload_media() + call unload_media() on input buffer, wait error, and for blank media error + open_session() now usees tracks & trackp Parameters for Sizecheck + Printing of is_swab() with audio fixed + +Sat Mar 28 23:22:30 1998 Joerg Schilling + * drv_jvc.c 1.27 + teac_open_session() checks tracksize ( <= 0 is not possible) + +Sat Mar 28 23:21:08 1998 Joerg Schilling + * scsi_cdr.c 1.41 + wait_unit_ready() now handles BUSY + mode_sense_sg0() movebytes() count handling corrected (amt-4) + better (komplete) Inquiry printing with -V + JVC XR-W2001 / Plilips CDD521/00 / Traxdata CDR4120 / Pioneer CD-WO DW-S114X / Pinnacle RCD-1000 new + +Sat Mar 28 23:06:05 1998 Joerg Schilling + * scsireg.h 1.18 + SCSI Status codes + +Fri Mar 27 01:04:50 1998 Joerg Schilling + * drv_sony.c 1.18 + * cdrecord.h 1.33 + open_session() with tracks & trackp parameters + +Thu Mar 26 22:42:29 1998 Joerg Schilling + * cdr_drv.c 1.6 + Pioneer DW-S 114, old Philips, dumb Philips new + +Tue Mar 24 21:30:08 1998 Joerg Schilling + * cdrecord.h 1.32 + is_*() Macros now clearer: != 0 + +Tue Mar 24 21:29:18 1998 Joerg Schilling + * scsidefs.h 1.17 + DEV_CDD_521_OLD new + +Mon Mar 16 00:48:34 1998 Joerg Schilling + * drv_dvd.c 1.1 + date and time created 98/04/20 00:48:34 by joerg + +Sat Mar 14 17:49:09 1998 Joerg Schilling + * scsi-bsd.c 1.5 + MAX_DMA_BSD 64k -> 60k + +Thu Mar 12 23:48:19 1998 Joerg Schilling + * drv_jvc.c 1.26 + set ds_maxblock + next_wr_addr_jvc() uses read_B0() if track == 0 + use trackp[i].trackno for TOC + Lead-out Start time now uses frames + teac_calibrate() inits lba_addr from read_B0() + next_wr_addr_teac() with Parameters + +Thu Mar 12 23:42:09 1998 Joerg Schilling + * cdrecord.c 1.48 + use real Track nubmers + -v/-V now Inc type Flag + print remaining capacity + Pregapsize || bug fixed + Trackno in struct track + wait_unit_ready() new + +Thu Mar 12 23:35:26 1998 Joerg Schilling + * drv_philips.c 1.14 + Print computed ATIP only for empty Disk + ATIP printout now prints Lead-out start time too + compute Disk capacity + +Thu Mar 12 22:33:50 1998 Joerg Schilling + * drv_sony.c 1.17 + close_track_sony() -> track = 0 ! + mode_sense() -> get_mode_params() + +Thu Mar 12 22:24:10 1998 Joerg Schilling + * cdrecord.h 1.31 + Strukt track now includes trackno + CDR_DVD new + from_bcd()/to_bcd() new + wait_unit_ready() new + read_B0() new + +Thu Mar 12 22:20:40 1998 Joerg Schilling + * scsi_cdr.c 1.40 + unit_ready() now checks for UNIT_ATTENTION + wait_unit_ready() new + toc struktures char -> Uchar + read_tochdr()/read_trackinfo() may have NULL Pointer Args + read_B0() new + +Thu Mar 12 22:12:16 1998 Joerg Schilling + * scsitransp.c 1.22 + Print data if verbose > 1 + +Thu Mar 12 01:21:58 1998 Joerg Schilling + * cd_misc.c 1.2 + from_bcd()/to_bcd() new + +Tue Mar 10 00:07:50 1998 Joerg Schilling + * cdrecord.c 1.47 + * drv_mmc.c 1.21 + checkgui() & isgui new + +Mon Mar 9 23:29:02 1998 Joerg Schilling + * drv_mmc.c 1.20 + Read ATIP non-fatal + warnung in fixation with correct lverbose flag + +Sun Mar 8 15:02:13 1998 Joerg Schilling + * scsi_cdr.c 1.39 + SAF CD-R2006PRO CD-R2006, JVC R2626 new + +Sun Mar 8 14:59:31 1998 Joerg Schilling + * cdrecord.c 1.46 + Default Timeout -> 40s + flags int -> long + new Option -load + Print Lead-out start + 90 Min value corrected + +Sun Mar 8 14:56:53 1998 Joerg Schilling + * cdrecord.h 1.30 + fsamples()/frames() new + +Fri Mar 6 01:11:56 1998 Joerg Schilling + * scsitransp.c 1.21 + print SCSI command names before ABORT + +Thu Mar 5 01:15:26 1998 Joerg Schilling + * scsierrs.c 2.15 + referres -> refers + +Thu Mar 5 01:15:02 1998 Joerg Schilling + * scsitransp.h 1.11 + * scsitransp.c 1.20 + scsi_sense_qual() new + +Mon Mar 2 22:50:12 1998 Joerg Schilling + * drv_mmc.c 1.19 + msf_to_lba()/lba_to_msf() -> cd_misc.c + len += 2 to correct length for TOC & disk Info + failed read ATIP is no fatal error + better print_atip() + +Mon Mar 2 22:45:53 1998 Joerg Schilling + * cd_misc.c 1.1 + date and time created 98/03/02 22:45:53 by joerg + +Mon Mar 2 22:39:02 1998 Joerg Schilling + * cdrecord.h 1.29 + F_LOAD new + All Flags sorted + msf_to_lba()/lba_to_msf() new + +Mon Mar 2 22:36:10 1998 Joerg Schilling + * drv_philips.c 1.13 + philips_getlilo() new + print disk manufacturer new + +Mon Mar 2 21:56:53 1998 Joerg Schilling + * scsi_cdr.c 1.38 + Pinnacle RCD 4X4, SAF CD-RW226 new + +Mon Feb 23 22:32:27 1998 Joerg Schilling + * scsi_cdr.c 1.37 + read_toc_philips() same parameters as read_toc() (ses -> fmt) + +Mon Feb 23 22:30:57 1998 Joerg Schilling + * drv_mmc.c 1.18 + msf_to_lba() corrected (+-150 bug) + lba_to_msf() new + Check for Complete Disk: 0xFF:0xFF/0xFF + pr_manufacturer() new with lverbose + different Formatting + +Mon Feb 23 21:54:28 1998 Joerg Schilling + * cdrecord.c 1.45 + 80 Minute limit -> 90 Minutes + +Mon Feb 23 21:51:56 1998 Joerg Schilling + * diskid.c 1.1 + date and time created 98/02/23 21:51:56 by joerg + +Sun Feb 22 23:23:22 1998 Joerg Schilling + * fifo.c 1.10 + fifo_percent() with Parameter + FIFO Bug (duoubling of a segment at end of writing) fixed + +Sun Feb 22 22:54:46 1998 Joerg Schilling + * cdrecord.c 1.44 + fifo_percent() with Parameter + unit_ready() for UNLOAD removed + print Disk capacity + +Sun Feb 22 22:52:53 1998 Joerg Schilling + * wm_packet.c 1.6 + fifo_percent() with Parameter + +Sun Feb 22 22:47:51 1998 Joerg Schilling + * cdrecord.h 1.28 + fifo_percent() with Parameter + msf_t typedef + pr_manufacturer() new + +Sun Feb 15 21:01:03 1998 Joerg Schilling + * audiosize.c 1.8 + getWavShort() & getWavLong() Definitions removed + +Tue Feb 10 01:00:48 1998 Joerg Schilling + * cdrecord.c 1.43 + New option timeout=# + +Mon Feb 9 12:44:40 1998 Joerg Schilling + * scsi-linux-sg.c 1.18 + timeout from 1/100 sec -> 1/HZ sec + +Sun Feb 8 21:56:01 1998 Joerg Schilling + * scsi-linux-sg.c 1.17 + Missing bracket at read() inserted + +Sun Feb 8 18:45:19 1998 Joerg Schilling + * scsi_cdr.c 1.36 + Tayo Yuden CD-WO EW-50 better Inquiry + +Sun Feb 8 15:52:15 1998 Joerg Schilling + * fifo.c 1.9 + fifo_percent() returns -1 if buflen == 0 + dummy fifo_percent() always -1 + +Sun Feb 8 15:50:43 1998 Joerg Schilling + * wm_packet.c 1.5 + * cdrecord.c 1.42 + Copyright -> 1998 + fs Reference in fifo_percent() removed + fifo_percent() in wm_packet new + +Sun Feb 8 13:54:25 1998 Joerg Schilling + * cdrecord.1 1.23 + fs= - administrative part + .au & .wav description + better -swab description + +Sun Feb 8 13:30:33 1998 Joerg Schilling + * scsi-linux-sg.c 1.16 + Fix for sendcommand() befor scsi_getbuf() call + read() < 0 now handled + +Sun Feb 8 13:28:38 1998 Joerg Schilling + * audiosize.c 1.7 + Definitions for WAVE better + better WAV recognition from Dave + +Sat Feb 7 23:20:14 1998 Joerg Schilling + * drv_jvc.c 1.25 + close_track_teac() fixed only audio uses no run-out blocks + +Sat Feb 7 23:18:43 1998 Joerg Schilling + * cdrecord.c 1.41 + rezero_unit() now silent not supported by all drives + +Sat Feb 7 23:14:03 1998 Joerg Schilling + * scsi_cdr.c 1.35 + Kodak CDR-240 new + +Sun Feb 1 23:17:33 1998 Joerg Schilling + * fifo.c 1.8 + HAVE_SHM -> HAVE_USGSHM was a typo + +Sun Feb 1 21:20:48 1998 Joerg Schilling + * scsi_cdr.c 1.34 + DVD enhancements in mmv_getval() & print_capabilities() + +Sun Feb 1 20:35:06 1998 Joerg Schilling + * scsireg.h 1.17 + DVD Definitions in Mode Page 2A + +Sun Feb 1 19:56:10 1998 Joerg Schilling + * scsi-linux-sg.c 1.15 + scsi_getbuf() hat nun char *ret wegen pointer Aritmetik + sizeof() cast comparison to int + scsi_send(): superfluous ; before scsi_settimeout() removed + +Sun Feb 1 19:45:21 1998 Joerg Schilling + * cdrecord.c 1.40 + filename new in struct track + Errorcode and exit() in audio*size() + +Sun Feb 1 19:44:08 1998 Joerg Schilling + * auheader.h 1.1 + date and time created 98/02/01 19:44:08 by joerg + +Sun Feb 1 19:44:00 1998 Joerg Schilling + * audiosize.c 1.6 + auheader.h new + Errorcodes + +Sun Feb 1 19:43:26 1998 Joerg Schilling + * cdrecord.h 1.27 + filename new in struct track + cd_mode_page_2A *cdr_cdcap new in struct cdr_cmd + +Sun Feb 1 19:42:28 1998 Joerg Schilling + * drv_philips.c 1.12 + * drv_sony.c 1.16 + * drv_mmc.c 1.17 + * drv_jvc.c 1.24 + cd_mode_page_2A *cdr_cdcap new in struct cdr_cmd + +Sun Feb 1 16:03:29 1998 Joerg Schilling + * drv_mmc.c 1.16 + ATIP Enhanced + +Sun Feb 1 15:56:31 1998 Joerg Schilling + * drv_mmc.c 1.15 + mmv_check() -> mmc_cap()/mmc_getval() + Handle non-trayload drives + warning for dummy/verbose while fixating + +Sun Feb 1 15:49:17 1998 Joerg Schilling + * scsidefs.h 1.16 + DEV_MMC_DVD, DEV_PIONEER_DVDR_S101 new + +Sun Feb 1 15:46:50 1998 Joerg Schilling + * scsi_cdr.c 1.33 + mmc_getval() & mmv_check() with dvdp + DEV_MMC_DVD new + Pioneer DVD-R S101, TEAC CD-R55S new + allow_atapi() in print_capabilities() + heuristic with speed >= 176 according to mmc2 + +Sun Feb 1 15:46:17 1998 Joerg Schilling + * cdrecord.c 1.39 + better CD-Recorder warning + +Sun Feb 1 14:53:02 1998 Joerg Schilling + * cdrecord.c 1.38 + Honour file sizes + better usage() Output + .au & .wav Filesize recognition + early recognition of "incompatible medium" + sched_setscheduler() error code (< 0) is correct + +Sun Feb 1 14:39:27 1998 Joerg Schilling + * cdrecord.h 1.26 + mmc_getval() & mmv_check() with dvdp + TI_WAV & is_wav() removed + +Sun Feb 1 14:33:39 1998 Joerg Schilling + * audiosize.c 1.5 + Complete recognition of a Wavheader (with Hilfe from Heiko) + +Mon Jan 26 01:56:21 1998 Joerg Schilling + * scsi-aix.c 1.4 + valloc() re-implemented (not available in AIX libc) + scsi sense handling ready + +Mon Jan 26 01:51:58 1998 Joerg Schilling + * scsi_cdr.c 1.32 + mmc_cap(), mmc_getval() new + Strings for printcap() static for K&R + +Mon Jan 26 01:07:27 1998 Joerg Schilling + * audiosize.c 1.4 + Filesize - header for Sun .au Files, data_size is not always correct + +Sun Jan 25 23:08:00 1998 Joerg Schilling + * audiosize.c 1.3 + Sun .au Header new + +Sun Jan 25 22:58:58 1998 Joerg Schilling + * cdrecord.h 1.25 + TI_NOWAV -> TI_NOAUHDR, is_auname() & ausize() new + +Sun Jan 25 18:10:47 1998 Joerg Schilling + * cdrecord.h 1.24 + TI_NOWAV, mmc_cap() & mmg_getval(), is_wavname() new + +Sun Jan 25 16:16:23 1998 Joerg Schilling + * audiosize.c 1.2 + is_wavname() new + +Sun Jan 25 16:02:26 1998 Joerg Schilling + * audiosize.c 1.1 + date and time created 98/01/25 16:02:26 by joerg + +Sun Jan 25 13:38:40 1998 Joerg Schilling + * drv_jvc.c 1.23 + Errortexts for CD-R55S + +Sat Jan 24 17:52:52 1998 Joerg Schilling + * wm_packet.c 1.4 + * fifo.c 1.7 + Honour file sizes + +Fri Jan 23 02:08:22 1998 Joerg Schilling + * scsi-linux-sg.c 1.14 + scsi_initdev() new to allow concurrent cdrecord's + +Fri Jan 23 02:04:01 1998 Joerg Schilling + * drv_jvc.c 1.22 + * drv_mmc.c 1.14 + * drv_sony.c 1.15 + * scsireg.h 1.16 + * scgio.h 2.12 + Uint for Bitfields -> Ucbit + +Sun Jan 18 14:25:01 1998 Joerg Schilling + * scsitransp.c 1.19 + flush() calls to correctly mix stderr/stdout + +Sun Jan 18 14:23:33 1998 Joerg Schilling + * cdrecord.h 1.23 + TI_WAV, is_wav(), wavsize() nee + +Sat Jan 17 22:07:03 1998 Joerg Schilling + * cdrecord.1 1.22 + * cdrecord.c 1.37 + -reset Option new + +Sat Jan 17 21:53:58 1998 Joerg Schilling + * cdrecord.h 1.22 + F_RESET, F_PRATIP, F_PRDINFO, SES_UNDEF new + Definitios for disk status and session status + dstat_t enhanced + CDR_NOLOLIMIT & CDR_ALLOC new + fifo_percent(), allow_atapi(), mode_sense_??()/mode_select_??() new + +Sat Jan 17 21:35:54 1998 Joerg Schilling + * fifo.c 1.6 + undef FIFO if no shared mamory + SHM_LOCK for Linux + Stat buffer for fifosize + removed sp->cont because it is not secure (use diff) + fifo_percent() new + +Sat Jan 17 21:20:57 1998 Joerg Schilling + * cdrecord.c 1.36 + -reset new + fifo_percent() printing for -v + +Sat Jan 17 21:09:24 1998 Joerg Schilling + * cdrecord.1 1.21 + Better description of dev= and -scanbus + +Tue Dec 23 01:26:35 1997 Joerg Schilling + * scsi_cdr.c 1.31 + Plextor PX-R24CS + S&F CD-R2006PLUS + Wearns CDR-632P new + +Tue Dec 23 01:23:34 1997 Joerg Schilling + * scsi_cdr.c 1.30 + Uint in Bitfields -> Ucbit + +Thu Dec 11 19:30:31 1997 Joerg Schilling + * scsitransp.c 1.18 + Print command execution time for each failed (non-silent) command + +Sun Nov 9 18:33:48 1997 Joerg Schilling + * drv_mmc.c 1.13 + Remove get Page 0x2A for Matsushita CW-7502 + has_mode_page() checks "current" instead of "default" + +Sat Nov 8 16:11:51 1997 Joerg Schilling + * cdrecord.c 1.35 + Disk size check -> checkdsize() : new + +Fri Nov 7 00:02:20 1997 Joerg Schilling + * scsi-aix.c 1.3 + timeout counts in seconds + +Fri Nov 7 00:04:11 1997 Joerg Schilling + * scsireg.h 1.15 + * scgio.h 2.11 + * scsi_cdr.c 1.29 + * drv_sony.c 1.14 + * drv_mmc.c 1.12 + * drv_jvc.c 1.21 + u_char in Bitfields -> Uint + +Thu Nov 6 20:27:08 1997 Joerg Schilling + * scsihack.c 1.7 + Typo __AIX -> defined(_IBMR2) || defined(_AIX) + +Thu Nov 6 20:26:23 1997 Joerg Schilling + * scsi-aix.c 1.2 + sccsid[] -> __sccsid[], fd -> f Typo, #include + +Thu Nov 6 20:22:14 1997 Joerg Schilling + * cdrecord.1 1.20 + Typo corrected + +Thu Nov 6 20:19:26 1997 Joerg Schilling + * scsitransp.c 1.17 + * scsierrs.c 2.14 + * scsi_cdr.c 1.28 + * scsi.c 1.4 + * drv_sony.c 1.13 + * drv_philips.c 1.11 + * drv_mmc.c 1.11 + * drv_jvc.c 1.20 + #include for AIX + +Thu Nov 6 20:18:25 1997 Joerg Schilling + * cdrecord.c 1.34 + #ifdef RLIMIT_NOFILE fuer AIX + +Wed Nov 5 18:01:32 1997 Joerg Schilling + * cdrecord.1 1.19 + Better doc for fs= + +Wed Nov 5 17:57:50 1997 Joerg Schilling + * drv_mmc.c 1.10 + msf_to_lba() new, get_diskinfo() new, di_to_dstat() new, getdisktype_mmc() new, additions for Matsushita CW-7502 + +Wed Nov 5 17:43:41 1997 Joerg Schilling + * fifo.c 1.5 + switch -> if then else + +Wed Nov 5 17:15:45 1997 Joerg Schilling + * cdrecord.c 1.33 + init struct disk_status, better aritmetic for disk size + +Wed Nov 5 17:14:29 1997 Joerg Schilling + * fifo.c 1.4 + print FIFO min fill in percent + +Tue Nov 4 11:20:22 1997 Joerg Schilling + * scsi_cdr.c 1.26 + return (mode_select_g0(dp, cnt, smp, pf)) was missing in mode_select() + +Tue Nov 4 10:35:02 1997 Joerg Schilling + * scsi-linux-sg.c 1.13 + Check for NULL at return of valloc() + +Tue Nov 4 00:13:35 1997 Joerg Schilling + * drv_jvc.c 1.19 + New flag CDR_NO_LOLIMIT + +Sun Nov 2 16:17:10 1997 Joerg Schilling + * scsi_cdr.c 1.25 + SCSI mode(6/10) conversion for ATAPI, distinguish between S&F 2006PLUS / S&F 2006PLUS + +Sun Nov 2 14:57:57 1997 Joerg Schilling + * scsitransp.c 1.16 + Print finish time + +Sun Nov 2 14:54:50 1997 Joerg Schilling + * scgio.h 2.10 + i_to_4_byte new + +Thu Oct 23 19:21:19 1997 Joerg Schilling + * scsihack.c 1.6 + AIX Support + +Thu Oct 23 19:20:25 1997 Joerg Schilling + * scsi-aix.c 1.1 + date and time created 97/10/23 18:20:25 by joerg + +Thu Oct 23 19:12:02 1997 Joerg Schilling + * drv_mmc.c 1.9 + Enhancements for packet writing + +Thu Oct 23 01:35:02 1997 Joerg Schilling + * cdrecord.1 1.18 + New options -prcap, -packet, pktsize =#, -noclose + +Wed Oct 22 23:50:44 1997 Joerg Schilling + * drv_jvc.c 1.18 + * wm_packet.c 1.3 + * cdrecord.c 1.32 + fflush(stdout) -> flush(), flush() after Fixating... + +Wed Oct 22 23:49:12 1997 Joerg Schilling + * scsi_cdr.c 1.24 + scsi_close-session() -> scsi_close_tr_session() + +Wed Oct 22 23:49:11 1997 Joerg Schilling + * cdrecord.h 1.21 + scsi_close-session() -> scsi_close_tr_session() + +Sun Oct 19 15:41:35 1997 Joerg Schilling + * scsi_cdr.c 1.23 + * cdrecord.c 1.31 + Prevent medium removal problems fixed (read TOC) & Matsushita CD-750? + +Sun Oct 19 15:40:32 1997 Joerg Schilling + * scsidefs.h 1.15 + Matsushita CW-7501 & CW-7502 + +Sun Oct 19 02:08:53 1997 Joerg Schilling + * drv_sony.c 1.12 + * drv_philips.c 1.10 + * drv_jvc.c 1.17 + * wm_packet.c 1.2 + * cdrecord.h 1.20 + * cdrecord.c 1.30 + next_wr_address() has track_t * added + +Sun Oct 19 01:37:02 1997 Joerg Schilling + * drv_jvc.c 1.16 + read_disk_info() -> read_disk_info_teac(), zero pre-gap audio support, opt_power_judge() timeout -> 60 sec + +Sun Oct 19 01:33:21 1997 Joerg Schilling + * scsi_cdr.c 1.22 + read_disk_info() new, print_capabilities() new + +Sun Oct 19 00:40:36 1997 Joerg Schilling + * cdrecord.c 1.29 + * cdrecord.h 1.19 + get_buf() new, -prcap & print_capabilities() new, -packet new, pktsize=# new + +Sun Oct 19 00:36:32 1997 Joerg Schilling + * wm_track.c 1.1 + * wm_session.c 1.1 + * wm_packet.c 1.1 + date and time created 97/10/18 23:36:31 by joerg + +Sat Oct 18 19:14:05 1997 Joerg Schilling + * scsi.c 1.3 + stdlib.h -> stdxlib.h, unistd.h -> unixstd.h + +Sat Oct 18 01:34:19 1997 Joerg Schilling + * modes.c 1.3 + Ausgabe der Mode Parameter wenn mode_select() nicht klappt & return FALSE + +**** 1.6a3 *** + +Sun Oct 12 20:00:21 1997 Joerg Schilling + * cdrecord.1 1.17 + * cdrecord.c 1.28 + New options pregap= defpregap= + +Sun Oct 12 19:30:45 1997 Joerg Schilling + * cdrecord.h 1.18 + is_first() & is_last() new + +Sat Oct 11 18:01:28 1997 Joerg Schilling + * cdrecord.c 1.27 + islast debug printf deleted + +Sat Oct 11 17:57:43 1997 Joerg Schilling + * scsi_cdr.c 1.21 + * drv_sony.c 1.11 + * drv_philips.c 1.9 + * drv_mmc.c 1.8 + * drv_jvc.c 1.15 + * cdrecord.h 1.17 + * cdrecord.c 1.26 + islast for TEAC & no run-out blocks for disksize computing + +Sat Oct 11 14:54:03 1997 Joerg Schilling + * drv_jvc.c 1.14 + OLD_CLOSE_TRACK re-aktiviert, clear_subcode() in open_track(), set_limits() in open_track() for audio without run-out, dummy sector -> static to be zeroed + +Thu Oct 9 14:14:24 1997 Joerg Schilling + * drv_jvc.c 1.13 + Audio Tracks have no link&run-in + +Thu Oct 9 02:01:23 1997 Joerg Schilling + * drv_jvc.c 1.12 + SWABAUDIO Flag new + +Wed Oct 8 17:24:40 1997 Joerg Schilling + * scsi_cdr.c 1.20 + * drv_sony.c 1.10 + * drv_philips.c 1.8 + * drv_mmc.c 1.7 + * cdrecord.h 1.16 + * cdrecord.c 1.25 + Modification of data structures for JVC/TEAC + +Wed Oct 8 17:23:41 1997 Joerg Schilling + * fifo.c 1.3 + WRITER_MAXWAIT 20 -> 120 s + +Wed Oct 8 17:14:04 1997 Joerg Schilling + * drv_jvc.c 1.11 + Enhancements for audio and multi track disks + +Wed Oct 8 14:48:06 1997 Joerg Schilling + * cdrecord.1 1.16 + Better doc for padsize & fs= + +Mon Oct 6 20:37:39 1997 Joerg Schilling + * drv_jvc.c 1.10 + Modified to use pad_track() + +Mon Oct 6 20:32:11 1997 Joerg Schilling + * cdrecord.c 1.24 + In pad_track(): if (bytesp != 0) check was missing ->coredump + +Mon Oct 6 20:29:22 1997 Joerg Schilling + * scsi_cdr.c 1.19 + SMART&FRIENDLY CD-R2006 + +Sun Oct 5 16:53:45 1997 Joerg Schilling + * drv_mmc.c 1.6 + verbose printing modified + +Sun Oct 5 16:53:09 1997 Joerg Schilling + * cdrecord.c 1.23 + Check for bytesp != 0 in pad_track() + +Sat Oct 4 01:09:56 1997 Joerg Schilling + * cdrecord.c 1.22 + realtime raisepri Problem for HP-UX fixed (function present bot not working) + +Fri Oct 3 21:33:13 1997 Joerg Schilling + * scsi_cdr.c 1.18 + * drv_sony.c 1.9 + * drv_philips.c 1.7 + * drv_mmc.c 1.5 + * drv_jvc.c 1.9 + * cdrecord.h 1.15 + * cdrecord.c 1.21 + * cdrecord.1 1.15 + * cdr_drv.c 1.5 + new option blank=type for CD-RW + +Fri Oct 3 16:23:00 1997 Joerg Schilling + * cdrecord.c 1.20 + pad_track() new, await_faio() new & init_faio() befor wait loop, always pad to 300 sectors , padsize= option new, DEFAULT_FIFOSIZE new + +Thu Oct 2 02:02:10 1997 Joerg Schilling + * fifo.c 1.2 + MIN_BUFFERS -> 3, await_faio() new, kill_faio() new, stdin EOF check, Messages only for debug + +Thu Oct 2 01:38:39 1997 Joerg Schilling + * cdrecord.1 1.14 + padsize Option new, nice --18 bug, 's' & 'f' mult for getnum() + +Thu Oct 2 01:31:28 1997 Joerg Schilling + * drv_jvc.c 1.8 + sleep()'s added to cure fixating problems ??? + +Thu Oct 2 01:19:46 1997 Joerg Schilling + * cdrecord.h 1.14 + DEFAULT_FIFOSIZE, roundup(), tracksize & padsize -> long, pad_track() new, await_fifo() & kill_fifo() new, minutes() cast to int + +Wed Sep 24 00:02:39 1997 Joerg Schilling + * cdrecord.c 1.19 + Fifo & tracksize Option + +Tue Sep 23 23:46:27 1997 Joerg Schilling + * scsi-sgi.c 1.7 + Bug with resid != 0 fixed + +Sun Sep 21 23:20:15 1997 Joerg Schilling + * cdrecord.1 1.13 + fs= Option, tsize= Option, mkisofs | cdrecord with fs= EXAMPLE + +Sun Sep 21 22:58:34 1997 Joerg Schilling + * fifo.c 1.1 + date and time created 97/09/21 21:58:34 by joerg + +Sun Sep 21 22:45:08 1997 Joerg Schilling + * cdrecord.h 1.13 + faio_get_buf() & fifo_stats() + +Sun Sep 21 01:12:43 1997 Joerg Schilling + * cdrecord.h 1.12 + fifo code + +Wed Sep 17 13:55:57 1997 Joerg Schilling + * drv_jvc.c 1.7 + Typo in cdr_write_teac() EXPORT -> LOCAL + +Wed Sep 17 13:55:06 1997 Joerg Schilling + * cdrecord.c 1.18 + raisepri() has Parameter (n below Max), _POSIX_PRIORITY_SCHEDULING, _POSIX_MEMLOCK + +*************** Release 1.5 ******************* + +Mon Sep 15 16:46:16 1997 Joerg Schilling + * README 1.9 + Anpassungen fuer release 1.5 + +Wed Sep 10 18:40:49 1997 Joerg Schilling + * cdrecord.c 1.17 + Print always Copyright except for -msinfo + +Wed Sep 10 18:12:59 1997 Joerg Schilling + * scsi_cdr.c 1.17 + Inquiry debug data indented + Mode Parameters only for verbose + +Wed Sep 10 17:57:32 1997 Joerg Schilling + * cdrecord.c 1.16 + Flags defs von cdrecord.c -> cdrecord.h + load_media() new + load/unload_madia() global + Track verbose output after inquiry + Test errorcodes while burning + Dummy blocks added for close_track() is not an error + -nofix Flag activated + Exit code for burning errors: -2 + Swabaudio automatic + +Wed Sep 10 17:43:12 1997 Joerg Schilling + * cdrecord.h 1.11 + Flag defs from cdrecord.c + getdisktype() with cdr_t * + load_media() new + load/unload_madia() global + +Wed Sep 10 17:42:13 1997 Joerg Schilling + * cdr_drv.c 1.4 + * drv_jvc.c 1.6 + getdisktype() with cdr_t * + +Wed Sep 10 17:41:02 1997 Joerg Schilling + * drv_philips.c 1.6 + philips_getdisktype() new for automatic eject on "Command Sequence Error" + +Wed Sep 10 16:50:56 1997 Joerg Schilling + * cdrecord.1 1.12 + Scsibus , typo removed + +Wed Sep 10 15:10:03 1997 Joerg Schilling + * cdrecord.1 1.11 + 1.4 -> 1.5 + +Wed Sep 10 15:04:26 1997 Joerg Schilling + * drv_sony.c 1.8 + new_track_sony() return valoe corrected + +Wed Sep 10 15:03:36 1997 Joerg Schilling + * cdrecord.1 1.10 + Changes for cdrecord-1.5 + +Thu Sep 4 19:26:00 1997 Joerg Schilling + * scsi-linux-sg.c 1.12 + Use channel on multi channel controlers + +Thu Sep 4 19:09:10 1997 Joerg Schilling + * drv_jvc.c 1.5 + * drv_sony.c 1.7 + * scsi_cdr.c 1.16 + inq.ansi_version -> inq.data_format for all mode_select() calls + for Philips CDD-522 (version == 1 , format == 2) + +Wed Sep 3 02:00:33 1997 Joerg Schilling + * scsi-linux-sg.c 1.11 + scsi_mapbus() new + better timeout handling + copy Struct now automatic Variable + Sense Data error = SCG_RETRYABLE + +Mon Sep 1 01:25:16 1997 Joerg Schilling + * scsi-sgi.c 1.6 + * scsi-linux-sg.c 1.10 + * scsi-hpux.c 1.4 + * scsi-bsd.c 1.4 + Last tuning make all implementations equal + Open only one file if possible. + Better bound checking + +Sun Aug 31 23:21:06 1997 Joerg Schilling + * scsi-hpux.c 1.3 + Array again has 8 Luns + havebus tests bounds + +Sun Aug 31 23:18:35 1997 Joerg Schilling + * scsi-sgi.c 1.5 + MAX_* introduced, open max 1 lun (for now) + +Sun Aug 31 20:14:02 1997 Joerg Schilling + * scsi-hpux.c 1.2 + MAX_LUN now 1 + +Sun Aug 31 20:10:25 1997 Joerg Schilling + * scsi-hpux.c 1.1 + date and time created 97/08/31 19:10:25 by joerg + +Sun Aug 31 18:00:16 1997 Joerg Schilling + * scsihack.c 1.5 + HP-UX added + +Tue Aug 26 19:37:15 1997 Joerg Schilling + * cdrecord.c 1.15 + init dp in main now correctly + +Tue Aug 26 17:50:20 1997 Joerg Schilling + * scsi-sgi.c 1.4 + Support complete without using -lds + +Tue Aug 26 17:47:35 1997 Joerg Schilling + * scsi_cdr.c 1.15 + scsibus/target/lun now now -1 if bus is scanned + to make sure that not ony one target can be opened. + +Tue Aug 26 17:46:22 1997 Joerg Schilling + * cdrecord.c 1.14 + test_unit_ready() after select_target() (SCANBUS) + +Tue Aug 26 01:47:41 1997 Joerg Schilling + * scsi-sgi.c 1.3 + unused includes removed + +Mon Aug 25 22:02:35 1997 Joerg Schilling + * scgio.h 2.9 + * scsitransp.c 1.15 + * scsi-sgi.c 1.2 + * scsi-linux-sg.c 1.9 + * scsi-bsd.c 1.3 + errno -> ux_errno in scg_cmd for POSIX multithread + +Mon Aug 25 21:27:55 1997 Joerg Schilling + * scsi-sgi.c 1.1 + date and time created 97/08/25 20:27:55 by joerg + +Mon Aug 25 18:10:12 1997 Joerg Schilling + * cdrecord.c 1.13 + raisepri() not always done + +Sun Aug 24 22:58:37 1997 Joerg Schilling + * drv_jvc.c 1.4 + First pre-aplha makes one data track only + +Sun Aug 24 17:03:05 1997 Joerg Schilling + * cdrecord.c 1.12 + New options: driver=name -checkdrive -inq -scanbus -nofix + set_trsizes() later + get_cdr_cmds() new + first simple sizecheck + "swap" output from print_data_track() removed + +Sun Aug 24 16:54:31 1997 Joerg Schilling + * cdrecord.h 1.10 + struct disk_status new + is_unknown_dev() new + is_mmc() new + mmc_check() new + set_cdrcmds() new + +Sun Aug 24 16:53:09 1997 Joerg Schilling + * scsi_cdr.c 1.14 + is_unknown_dev() new + is_mmc() new + mmc_check() new + open_scsi() modified for scsi_scan() + Device recognition new for CD-R + scsi_load() now correct + +Sun Aug 24 16:22:22 1997 Joerg Schilling + * cdrecord.1 1.9 + -nofix new + driver=name new + -checkdrive new + -inq new + -scanbus new + Sense Output uses new form + +Sun Aug 24 16:19:42 1997 Joerg Schilling + * drv_mmc.c 1.4 + CDR_SWABAUDIO new + cd_mode* pages -> scsireg.h + identify_mmc() uses mmc_check() + +Sun Aug 24 16:18:00 1997 Joerg Schilling + * cdr_drv.c 1.3 + set_cdrcmds() new + get_cdrcmds() enhanced + +Sun Aug 24 15:47:30 1997 Joerg Schilling + * drv_sony.c 1.6 + * drv_philips.c 1.5 + CDR_SWABAUDIO Flag new + +Sun Aug 24 14:51:43 1997 Joerg Schilling + * scsidefs.h 1.14 + CDD-2000 & CDD-2600 new + MMC Definitionen new + +Sun Aug 24 14:18:47 1997 Joerg Schilling + * scsireg.h 1.14 + CD mode pages 05 & 2A + +Sun Aug 10 19:29:38 1997 Joerg Schilling + * drv_philips.c 1.4 + * drv_sony.c 1.5 + * drv_mmc.c 1.3 + * cdrecord.h 1.9 + * cdrecord.c 1.11 + cdr_driver -> cdr_drname + cdr_drtext + open_track() with track_info * instead of many arguments + +Sun Aug 10 18:10:14 1997 Joerg Schilling + * scsi_cdr.c 1.13 + LOAD (A6) command now uses correct SCSI definition + +Sun Aug 10 17:43:35 1997 Joerg Schilling + * scsi-linux-sg.c 1.8 + Buffer overflow in sg_rq corrected + timeout corrected (semicolon past if) + 12 Byte Hack now OK + +Sun Aug 10 17:42:06 1997 Joerg Schilling + * scgio.h 2.8 + SCSI g5 command struct now ansi compliant + +Sun Aug 10 17:40:30 1997 Joerg Schilling + * scsihack.c 1.4 + SGI include + +Fri Jul 18 13:41:46 1997 Joerg Schilling + * scsi_cdr.c 1.12 + read_capacity() new + scsi_load_unload() new + scsi_set_sped() new + write_xg1() new + read_toc() for SCSI-3 new + read_toc_philips() from old name + read_track_info() -> read_track_info_philips() + read_track_info() new + scsi_close_session() new + first_writable_address() with address Pointer + read_tochdr() with cdr_t * ???? + read_session_offset() with offset Pointer + Version for SCSI-3 + is_cdrecorder() removed, Taiyo Yuden new + +Fri Jul 18 12:35:02 1997 Joerg Schilling + * scsi-linux-sg.c 1.7 + with new ioctl() SCSI_IOCTL_GET_BUS_NUMBER more SCSI busses + +Fri Jul 18 02:49:46 1997 Joerg Schilling + * cdrecord.1 1.8 + -version + better -isosize Doku + -multi warning removed + +Fri Jul 18 02:44:11 1997 Joerg Schilling + * cdrecord.c 1.10 + fix_it now past open_session() + next_writable_address() and read_session_offset() now with adress Pointer + -version usage() + superfluous argument removed with lout + +Fri Jul 18 02:31:23 1997 Joerg Schilling + * cdrecord.h 1.8 + * drv_mmc.c 1.2 + SCSI-3/mmc first implementation + +Fri Jul 18 02:25:10 1997 Joerg Schilling + * drv_jvc.c 1.3 + * drv_philips.c 1.3 + * drv_sony.c 1.4 + next_writable_address now has adress pointer + read_session_offset_philips() extracted + +Thu Jul 17 18:12:43 1997 Joerg Schilling + * scsi-bsd.c 1.2 + ifdef for BSD SENSE bug + +Thu Jul 17 17:43:10 1997 Joerg Schilling + * isosize.c 1.3 + filedescriptor sense (seek) test. + +Tue Jul 15 21:27:29 1997 Joerg Schilling + * isosize.c 1.2 + & before vd.vd_type deleted + +Tue Jul 15 21:26:57 1997 Joerg Schilling + * drv_sony.c 1.3 + & before mode deleted + +Tue Jul 15 21:16:46 1997 Joerg Schilling + * cdrecord.c 1.9 + version string + write_track_data() with startsec parameter + cd_recorder/drive recognition now uses cdr_t + print_toc() with cdr_t parameter + open_session() with multi parameter + Progress printing in write_track_data() now uses correct rounding + dbtype with -multi corrected + read_session_offset() with cdr_t parameter + print_toc() prints sector numbers correctly and 'lout' for 0xAA + +Tue Jul 15 13:34:04 1997 Joerg Schilling + * cdr_drv.c 1.2 + drive_identify may modify cdr_t struct pointer + Yamaha CDR-400 correct with cdr_mmc + +Tue Jul 15 13:24:49 1997 Joerg Schilling + * drv_philips.c 1.2 + * drv_jvc.c 1.2 + * drv_sony.c 1.2 + open_track() with dbtyp arg + open_session() with multi arg + struct cdr_t driver flags filled in + driver type string + +Tue Jul 8 19:42:42 1997 Joerg Schilling + * scsi-linux-sg.c 1.6 + /dev/sg0 ... tested too + +Tue Jul 8 18:00:39 1997 Joerg Schilling + * scsi-bsd.c 1.1 + date and time created 97/07/08 17:00:39 by joerg + +Tue Jul 8 17:59:20 1997 Joerg Schilling + * scsihack.c 1.3 + New Implementation for *BSD + +Sun Jun 22 19:58:40 1997 Joerg Schilling + * scsi_cdr.c 1.11 + Smart & Friendly Support + +*************** Release 1.4 ******************* + +Sat Mai 21 19:58:42 1997 Joerg Schilling + * cdrecord.1 1.7 + Updates for release 1.4 + +Sat Mai 21 18:11:25 1997 Joerg Schilling + * scsi.c 1.2 + scsireg.h Include + +Sat Mai 21 00:52:33 1997 Joerg Schilling + * drv_sony.c 1.1 + date and time created 97/05/20 23:52:33 by joerg + +Sat Mai 21 00:27:56 1997 Joerg Schilling + * drv_philips.c 1.1 + date and time created 97/05/20 23:27:56 by joerg + +Sat Mai 21 00:27:50 1997 Joerg Schilling + * drv_mmc.c 1.1 + date and time created 97/05/20 23:27:50 by joerg + +Sat Mai 21 00:27:43 1997 Joerg Schilling + * drv_jvc.c 1.1 + date and time created 97/05/20 23:27:43 by joerg + +Sat Mai 21 00:27:14 1997 Joerg Schilling + * scsi_cdr.c 1.10 + mode_select() uses inq.ansi_version >= 2 + +Sat Mai 21 00:26:42 1997 Joerg Schilling + * cdrecord.h 1.7 + attach_unknown() new + +Sat Mai 21 00:26:05 1997 Joerg Schilling + * cdr_drv.c 1.1 + date and time created 97/05/20 23:26:05 by joerg + +Thu Mai 19 23:46:54 1997 Joerg Schilling + * cdrecord.c 1.8 + Struct track -> cdrecord.h + DB_XXX Data block types + cdr_cmd Struct as Drive Abstraction Layer + -eject Flag + checktsize() new + CDR_SPEED & CDR_DEVICE + +Thu Mai 19 16:59:44 1997 Joerg Schilling + * cdrecord.h 1.6 + struct track from cdrecord.c + DB_XXX Data block types + cdr_cmd Struct as Drive Abstraction Layer + +Thu Mai 19 15:42:53 1997 Joerg Schilling + * scsi_cdr.c 1.9 + Prototypes lokal too + scsi_load_unload() -> load_unload_philips() + start_stop_unit() now with eject + close_track_philips() new + recover with track parameter + mode_sense() new + speed_select splitted + inquiry news new drives + scsi_cdr_write() + +Mon Mai 16 15:46:48 1997 Joerg Schilling + * config.h 1.1 + date and time created 97/05/16 14:46:48 by joerg + +Mon Mai 16 15:46:48 1997 Joerg Schilling + * scsi.c 1.1 + date and time created 97/05/16 14:46:48 by joerg + +Fri May 23 22:09:21 1997 Joerg Schilling + * scsitransp.c 1.14 + bad 2. Parameter in gettimeofday -> struct timezone * + +Fri Apr 23 22:08:16 1997 Joerg Schilling + * scsierrs.c 2.13 + missing %s in Formatstring added + +Wed Apr 14 00:54:03 1997 Joerg Schilling + * scsireg.h 1.13 + new scsi device types + +Wed Apr 14 00:53:28 1997 Joerg Schilling + * scsitransp.c 1.13 + scsireset() into hack part + scsi_setnonstderrs() new, scsierrmsg() chganges + new scsi devicetype codes, Solaris x86 dmasize without gethostid() + +Wed Apr 14 00:46:27 1997 Joerg Schilling + * scsitransp.h 1.10 + Changes for scsierrs.c enhancements + +Wed Apr 14 00:45:26 1997 Joerg Schilling + * scsierrs.c 2.12 + Enhancements for SCSI-2 & SCSI-3 + +Tue Apr 6 17:15:43 1997 Joerg Schilling + * scsidefs.h 1.13 + Different order & Yamaha CDR-400, Sony CDU-924, Ricoh RO-1420, Teac CD-R50 new + +Tue Apr 6 16:36:38 1997 Joerg Schilling + * scgio.h 2.7 + Enhancements for SCSI-2 & SCSI-3 + +Tue Apr 6 14:10:35 1997 Joerg Schilling + * scsi-linux-sg.c 1.5 + CCD-> CCS Typo + +Tue Apr 6 13:59:16 1997 Joerg Schilling + * scsihack.c 1.2 + scsireset() -> transport specific part + +Tue Apr 6 13:59:16 1997 Joerg Schilling + * scsi-linux-sg.c 1.4 + scsireset() -> transport specific part + +*************** Release 1.3 ******************* + +Fri Mar 4 19:48:35 1997 Joerg Schilling + * README 1.6 + Changes for Release 1.3 + +Fri Mar 4 18:57:02 1997 Joerg Schilling + * cdrecord.1 1.6 + release 1.3 + +Fri Mar 4 18:46:37 1997 Joerg Schilling + * cdrecord.1 1.5 + Changes for Release 1.3 + +Fri Mar 4 11:55:28 1997 Joerg Schilling + * scsi-linux-sg.c 1.3 + scsihack.c & scsi-linux-sg.c splitted + +Fri Mar 4 11:53:59 1997 Joerg Schilling + * scsihack.c 1.1 + date and time created 97/03/04 10:53:59 by joerg + +Fri Mar 4 11:52:42 1997 Joerg Schilling + * iso9660.h 1.2 + Quick hack for ANSI C + +Wed Mar 2 17:16:35 1997 Joerg Schilling + * scsi_cdr.c 1.8 + open_scsi() with verbose arg + write_track() & write_track_info() isaudio/preemp -> sectype + read_toc() new, read_header() new, read_track_info() new + first_writable_addr() now working + read_tochdr() new, read_trackinfo() new, read_session_offset() new + is_cddrive() new read_scsi() now korrekt with G0_MAXADDR & cnt < 256 + HACK XXX scsi_capacity to 2048 bytes Sectorsize initialized for mkisofs-1.10 + +Wed Mar 2 16:51:24 1997 Joerg Schilling + * scsitransp.c 1.12 + BAD -> EX_BAD, BOOL scsi_havebus() new + scsi_fileno(bus, tgt, lun) new with 3 Parameters, MAX_DMA_SUN386 new + +Wed Mar 2 16:46:44 1997 Joerg Schilling + * scsi-linux-sg.c 1.2 + better Kommentar + +Wed Mar 2 16:35:04 1997 Joerg Schilling + * scsitransp.h 1.9 + BOOL scsi_havebus() new, scsi_fileno(bus, tgt, lun) new with 3 Parameters + +Wed Mar 2 16:33:18 1997 Joerg Schilling + * scgio.h 2.6 + intriduced _SCGIO_H & bei __STDC__ 0xFF000000UL + +Wed Mar 2 16:14:35 1997 Joerg Schilling + * scsidefs.h 1.12 + BAD -> EX_BAD + +Wed Mar 2 16:14:04 1997 Joerg Schilling + * port.c 1.6 + include fmt.h only if #ifdef FMT + +Wed Mar 2 16:07:53 1997 Joerg Schilling + * scsi-linux-sg.c 1.1 + date and time created 97/03/02 15:07:53 by joerg + +Wed Mar 2 15:49:56 1997 Joerg Schilling + * iso9660.h 1.1 + date and time created 97/03/02 14:49:56 by joerg + +Wed Mar 2 15:48:55 1997 Joerg Schilling + * isosize.c 1.1 + date and time created 97/03/02 14:48:55 by joerg + +Wed Mar 2 15:40:32 1997 Joerg Schilling + * cdrecord.c 1.7 + toctname[] * sectname[] new + ldebug -> debug, HAVE_MLOCKALL, -msinfo new, -toc new + -audio/-mode2/-xa1/-xa2/-cdi new, -isosize new + better Check for options, print_msinfo() new, print_toc() new + HAVE_SYS_PRIOCNTL_H new + +Wed Mar 2 15:30:26 1997 Joerg Schilling + * cdrecord.h 1.5 + BAD -> EX_BAD in standard.h, TOC_* defines, ST_* defines, struct msf + several Interface changes for Prototypes + +Wed Jan 19 00:23:11 1997 Joerg Schilling + * cdrecord.c 1.6 + Changed to use scsi_buf_size() & scsi_getbuf(), better gcc Kompat. + +Wed Jan 12 23:11:18 1997 Joerg Schilling + * scsitransp.c 1.11 + Sbufsize -> long, scsi_maxdma() new + +Wed Jan 12 22:10:33 1997 Joerg Schilling + * scsitransp.h 1.8 + Sbufsize -> long + +Fri Jan 7 21:10:26 1997 Joerg Schilling + * port.c 1.5 + ANSI C & printf %ld + +Thu Jan 6 22:45:03 1997 Joerg Schilling + * scsitransp.h 1.7 + scsi_sense_key() & scsi_sense_code() from fmt.c + +Thu Jan 6 22:45:02 1997 Joerg Schilling + * scsitransp.c 1.10 + scsi_sense_key() & scsi_sense_code() from fmt.c + +Mon Jan 3 14:47:53 1997 Joerg Schilling + * scsitransp.h 1.6 + scsi_bufsize() & scsi_getbuf() new + +Mon Jan 3 14:47:52 1997 Joerg Schilling + * scsitransp.c 1.9 + scsi_bufsize() & scsi_getbuf() new + +Fri Dec 31 17:16:13 1996 Joerg Schilling + * scsireg.h 1.12 + Defekt List: length & list_block -> char[] for Byteorder + +Tue Dec 28 20:51:42 1996 Joerg Schilling + * scgio.h 2.5 + #error beseitigt for SunOS cc + +Tue Dec 28 14:28:01 1996 Joerg Schilling + * scsitransp.c 1.8 + debug -> kdebug + +Tue Dec 28 14:19:16 1996 Joerg Schilling + * scgio.h 2.4 + debug -> kdebug + +Sun Dec 19 16:18:18 1996 Joerg Schilling + * scsi_cdr.c 1.7 + Mitsumi + +Sun Dec 19 16:14:12 1996 Joerg Schilling + * README 1.5 + Performance X86 & Mitsumi + +Sat Dec 18 12:37:38 1996 Joerg Schilling + * scsierrs.c 2.11 + param.h, sys/buf.h, sun/dklabel.h, sun/dkio.h eliminated + +Sat Dec 18 03:26:04 1996 Joerg Schilling + * README 1.4 + Changes for Release 1.2 + +Sat Dec 18 03:24:14 1996 Joerg Schilling + * cdrecord.1 1.4 + Changes for Release 1.2 + +Sat Dec 18 03:13:41 1996 Joerg Schilling + * cdrecord.c 1.5 + -swab new + LOCAL functions + timings, new timeout for fixating + countdown timer before Start + write_track_info() disabled + -pad for audio, pad to 2352 bytes. + +Sun Dec 12 21:09:24 1996 Joerg Schilling + * scsi_cdr.c 1.6 + Flush cache & Fixation with big Timeout. + +Thu Nov 26 10:54:18 1996 Joerg Schilling + * scsierrs.c 2.10 + New Codes for CDD-2000 & Support for Yamaha CDR-100 + +Mon Dec 16 16:19:54 1996 J. Schilling + + * Added -swab option to support Yamaha audio + Thanks to (Fred) vecoven@montefiore.ulg.ac.be + for the hint. + * Added counter for quit time (9 seconds) + +Wed Dec 12 21:09:24 1996 J. Schilling + + * Flush cache & Fixation with separate bigger timeout, + other timeout reduced to 20sec. + +Mo Dec 3 13:03:30 1996 J. Schilling + + * Set sector size on all drive types before writing, + * Omwith the write_track_info Mode Select before write_track + even for Philips drives (this is currently not needed because + we don't support ISRC codes at this time). + +Tue Nov 26 10:54:18 1996 J. Schilling + + * New error codes for CDD-2000 & error code support for Yamaha CDR-100 + +Sun Nov 3 22:58:21 1996 J. Schilling + + * scsireset() aded to scsitransport.[hc] + * Timings for Track and Fixation + +Fri Oct 4 11:45:13 1996 J. Schilling + + * Version 1.1 released. + +Mon Aug 19 22:25:18 1996 J. Schilling + + * Read access test to allow cdrecord to run savely suid root + +Sun Aug 18 12:11:20 1996 J. Schilling + + * bit ordering problems solved + Thanks to Gert Poletiek for testing + +Tue Jun 18 21:38:51 1996 J. Schilling + + * several changes in scgio.h + +Sun Jun 16 15:56:35 1996 J. Schilling + + * Ansi C Protytypes + * priocntl added for Solaris + Thanks to Anders Lundgren + +Sun Feb 4 19:14:46 1996 J. Schilling + + * Initial release 1.0 diff --git a/DEFAULTS/Defaults b/DEFAULTS/Defaults new file mode 100644 index 0000000..f36f1e9 --- /dev/null +++ b/DEFAULTS/Defaults @@ -0,0 +1,8 @@ +#ident "%W% %E% %Q%" +########################################################################### +# +# global definitions: include system specific file +# +########################################################################### + +include $(DEFLTSROOT)/$(DEFLTSDIR)/Defaults.$(O_ARCH) diff --git a/DEFAULTS/Defaults.aix b/DEFAULTS/Defaults.aix new file mode 100644 index 0000000..9cc58ad --- /dev/null +++ b/DEFAULTS/Defaults.aix @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.aix 1.6 13/11/04 " +########################################################################### +# +# global definitions for IBM AIX Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.amigaos b/DEFAULTS/Defaults.amigaos new file mode 100644 index 0000000..22dd2f8 --- /dev/null +++ b/DEFAULTS/Defaults.amigaos @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.amigaos 1.6 13/11/04 " +########################################################################### +# +# global definitions for AmigaOS Systems using CC=gcc +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.beos b/DEFAULTS/Defaults.beos new file mode 100644 index 0000000..7a21dde --- /dev/null +++ b/DEFAULTS/Defaults.beos @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.beos 1.6 13/11/04 " +########################################################################### +# +# global definitions for BeOS Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.bitrig b/DEFAULTS/Defaults.bitrig new file mode 100644 index 0000000..fc9b1a7 --- /dev/null +++ b/DEFAULTS/Defaults.bitrig @@ -0,0 +1,49 @@ +#ident "@(#)Defaults.bitrig 1.1 15/10/08 " +########################################################################### +# +# global definitions for Bitrig Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= clang + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.bsd-os b/DEFAULTS/Defaults.bsd-os new file mode 100644 index 0000000..2088724 --- /dev/null +++ b/DEFAULTS/Defaults.bsd-os @@ -0,0 +1,50 @@ +#ident "@(#)Defaults.bsd-os 1.5 13/11/04 " +########################################################################### +# +# global definitions for BSD/OS Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.bsd-os3 b/DEFAULTS/Defaults.bsd-os3 new file mode 100644 index 0000000..275eec2 --- /dev/null +++ b/DEFAULTS/Defaults.bsd-os3 @@ -0,0 +1,50 @@ +#ident "@(#)Defaults.bsd-os3 1.5 13/11/04 " +########################################################################### +# +# global definitions for BSD/OS Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.cygwin32_nt b/DEFAULTS/Defaults.cygwin32_nt new file mode 100644 index 0000000..7e586c9 --- /dev/null +++ b/DEFAULTS/Defaults.cygwin32_nt @@ -0,0 +1,77 @@ +#ident "@(#)Defaults.cygwin32_nt 1.7 17/07/09 " +########################################################################### +# +# global definitions for Cygnus GCC for WINNT Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +LDPATH= +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= root + +# +# This is not the correct place for doing this, +# the correct place is RULES/cc-msc.rul. +# We do it here because otherwise cc-config would not work. +# This kind of hack may not work for other platforms. +# +_PLATFORM= cygwin +VC=7 + +_VCNAME= $(_UNIQ)$(XMAKEPROG) +__VCNAME= $(_VCNAME:$(_UNIQ)=dummy) +___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%)) +VCNAME= $(___VCNAME:$(_UNIQ)%=dummy) + +_VC_SETUP= $(_UNIQ)$(VC_SETUP) +__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup) +VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%) + +########################################################################### +# IMPORTANT Note: +# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul +# in order to be able to test for the existence of "cl.exe" early. +########################################################################### +include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) diff --git a/DEFAULTS/Defaults.cygwin32_wow b/DEFAULTS/Defaults.cygwin32_wow new file mode 100644 index 0000000..acd4690 --- /dev/null +++ b/DEFAULTS/Defaults.cygwin32_wow @@ -0,0 +1,78 @@ +#ident "@(#)Defaults.cygwin32_wow 1.2 17/07/09 " +########################################################################### +# +# global definitions for Cygnus GCC for WINNT Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +LDPATH= +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= root + +# +# This is not the correct place for doing this, +# the correct place is RULES/cc-msc.rul. +# We do it here because otherwise cc-config would not work. +# This kind of hack may not work for other platforms. +# +_PLATFORM= cygwin +VC=7 +VC=9 + +_VCNAME= $(_UNIQ)$(XMAKEPROG) +__VCNAME= $(_VCNAME:$(_UNIQ)=dummy) +___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%)) +VCNAME= $(___VCNAME:$(_UNIQ)%=dummy) + +_VC_SETUP= $(_UNIQ)$(VC_SETUP) +__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup) +VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%) + +########################################################################### +# IMPORTANT Note: +# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul +# in order to be able to test for the existence of "cl.exe" early. +########################################################################### +include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) diff --git a/DEFAULTS/Defaults.cygwin32_wow64 b/DEFAULTS/Defaults.cygwin32_wow64 new file mode 100644 index 0000000..6cf8f31 --- /dev/null +++ b/DEFAULTS/Defaults.cygwin32_wow64 @@ -0,0 +1,78 @@ +#ident "@(#)Defaults.cygwin32_wow64 1.8 17/07/09 " +########################################################################### +# +# global definitions for Cygnus GCC for WINNT Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +LDPATH= +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= root + +# +# This is not the correct place for doing this, +# the correct place is RULES/cc-msc.rul. +# We do it here because otherwise cc-config would not work. +# This kind of hack may not work for other platforms. +# +_PLATFORM= cygwin +VC=7 +VC=9 + +_VCNAME= $(_UNIQ)$(XMAKEPROG) +__VCNAME= $(_VCNAME:$(_UNIQ)=dummy) +___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%)) +VCNAME= $(___VCNAME:$(_UNIQ)%=dummy) + +_VC_SETUP= $(_UNIQ)$(VC_SETUP) +__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup) +VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%) + +########################################################################### +# IMPORTANT Note: +# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul +# in order to be able to test for the existence of "cl.exe" early. +########################################################################### +include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) diff --git a/DEFAULTS/Defaults.darwin b/DEFAULTS/Defaults.darwin new file mode 100644 index 0000000..0574bc7 --- /dev/null +++ b/DEFAULTS/Defaults.darwin @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.darwin 1.4 13/11/04 " +########################################################################### +# +# global definitions for Mac OS X Darwin Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/local/include +LDPATH= #-L/opt/schily/lib +LDPATH= -L/usr/local/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= wheel diff --git a/DEFAULTS/Defaults.dgux b/DEFAULTS/Defaults.dgux new file mode 100644 index 0000000..82fe3ab --- /dev/null +++ b/DEFAULTS/Defaults.dgux @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.dgux 1.6 13/11/04 " +########################################################################### +# +# global definitions for Data General DGUX Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.dgux3 b/DEFAULTS/Defaults.dgux3 new file mode 100644 index 0000000..6588c46 --- /dev/null +++ b/DEFAULTS/Defaults.dgux3 @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.dgux3 1.6 13/11/04 " +########################################################################### +# +# global definitions for Data General DGUX Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.dgux4 b/DEFAULTS/Defaults.dgux4 new file mode 100644 index 0000000..9ae3a1d --- /dev/null +++ b/DEFAULTS/Defaults.dgux4 @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.dgux4 1.6 13/11/04 " +########################################################################### +# +# global definitions for Data General DGUX Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.domainos b/DEFAULTS/Defaults.domainos new file mode 100644 index 0000000..a9fc61c --- /dev/null +++ b/DEFAULTS/Defaults.domainos @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.domainos 1.6 13/11/04 " +########################################################################### +# +# global definitions for Apollo Domain/OS Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= -W0,-info,0 + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.dragonfly b/DEFAULTS/Defaults.dragonfly new file mode 100644 index 0000000..8b75bbf --- /dev/null +++ b/DEFAULTS/Defaults.dragonfly @@ -0,0 +1,50 @@ +#ident "@(#)Defaults.dragonfly 1.6 13/11/04 " +########################################################################### +# +# global definitions for FreeBSD Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/local/include +LDPATH= -L/opt/schily/lib -L/usr/local/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.freebsd b/DEFAULTS/Defaults.freebsd new file mode 100644 index 0000000..ad564d0 --- /dev/null +++ b/DEFAULTS/Defaults.freebsd @@ -0,0 +1,50 @@ +#ident "@(#)Defaults.freebsd 1.6 13/11/04 " +########################################################################### +# +# global definitions for FreeBSD Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/local/include +LDPATH= -L/opt/schily/lib -L/usr/local/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.freemint b/DEFAULTS/Defaults.freemint new file mode 100644 index 0000000..5821ade --- /dev/null +++ b/DEFAULTS/Defaults.freemint @@ -0,0 +1,50 @@ +#ident @(#)Defaults.freemint 1.4 13/11/04 +########################################################################### +# +# global definitions for FreeMiNT on ATARI computers +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.gnu b/DEFAULTS/Defaults.gnu new file mode 100644 index 0000000..38c3cc1 --- /dev/null +++ b/DEFAULTS/Defaults.gnu @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.gnu 1.6 13/11/04 " +########################################################################### +# +# global definitions for GNU (hurd) Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/src/linux/include +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.gnu-kfreebsd b/DEFAULTS/Defaults.gnu-kfreebsd new file mode 100644 index 0000000..e97620d --- /dev/null +++ b/DEFAULTS/Defaults.gnu-kfreebsd @@ -0,0 +1,69 @@ +#ident "@(#)Defaults.gnu-kfreebsd 1.2 13/11/04 " +########################################################################### +# +# global definitions for Linux kfreebsd Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +########################################################################### +# +# LINUX_SRC_INCLUDE is used in RULES/*-linux-*cc*.rul +# +########################################################################### +LINUX_INCL_PATH= /usr/src/linux/include + +_LINUX_SRC_INCLUDE= $(_UNIQ)$(MAY_LINUX_SRC_INCLUDE) +__LINUX_SRC_INCLUDE= $(_LINUX_SRC_INCLUDE:$(_UNIQ)=$(LINUX_INCL_PATH)) +LINUX_SRC_INCLUDE= $(__LINUX_SRC_INCLUDE:$(_UNIQ)no%=%) + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Unhide POSIX extensions from /usr/include/ +# +########################################################################### +OSDEFS += -D_GNU_SOURCE + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.haiku b/DEFAULTS/Defaults.haiku new file mode 100644 index 0000000..05a42c7 --- /dev/null +++ b/DEFAULTS/Defaults.haiku @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.haiku 1.4 13/11/04 " +########################################################################### +# +# global definitions for Haiku Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /boot/opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.hp-ux b/DEFAULTS/Defaults.hp-ux new file mode 100644 index 0000000..358e277 --- /dev/null +++ b/DEFAULTS/Defaults.hp-ux @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.hp-ux 1.6 13/11/04 " +########################################################################### +# +# global definitions for HP/UX Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.interix b/DEFAULTS/Defaults.interix new file mode 100644 index 0000000..6b3a0e8 --- /dev/null +++ b/DEFAULTS/Defaults.interix @@ -0,0 +1,81 @@ +#ident "@(#)Defaults.interix 1.7 13/11/04 " +########################################################################### +# +# global definitions for Interix Systems (WIN-NT with SFU) using CC=gcc +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Avoid to have something like "Intel_x86_Family15_Model4_Stepping1" +# in $(OARCH), we rather use $(K_ARCH) which is e.g. "x86". +# XXX If this is changed, both files in DEFAULTS/ and DEFAULTS_ENG as +# XXX well as the file conf/oarch.sh need to be changed. +# +########################################################################### +P_ARCH= $(K_ARCH) + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= --rpath $(INS_BASE)/lib --rpath /opt/schily/lib --rpath $(OLIBSDIR) +RUNPATH= --rpath $(INS_BASE)/lib --rpath /opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin + +# +# This is not the correct place for doing this, +# the correct place is RULES/cc-ms*.rul. +# We do it here because otherwise cc-config would not work. +# This kind of hack may not work for other platforms. +# +_PLATFORM= interix +VC=7 + +_VC_SETUP= $(_UNIQ)$(VC_SETUP) +__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=vc$(VC)$(_PLATFORM:%=-%)-setup) +VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%) + +########################################################################### +# IMPORTANT Note: +# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-ms*.rul +# in order to be able to test for the existence of "cl.exe" early. +########################################################################### +include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) diff --git a/DEFAULTS/Defaults.irix b/DEFAULTS/Defaults.irix new file mode 100644 index 0000000..531c130 --- /dev/null +++ b/DEFAULTS/Defaults.irix @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.irix 1.6 13/11/04 " +########################################################################### +# +# global definitions for Silicon Graphics Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.linux b/DEFAULTS/Defaults.linux new file mode 100644 index 0000000..36209a9 --- /dev/null +++ b/DEFAULTS/Defaults.linux @@ -0,0 +1,69 @@ +#ident "@(#)Defaults.linux 1.8 13/11/04 " +########################################################################### +# +# global definitions for Linux Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +########################################################################### +# +# Unhide POSIX extensions from /usr/include/ +# +########################################################################### +OSDEFS += -D_GNU_SOURCE + +########################################################################### +# +# LINUX_SRC_INCLUDE is used in RULES/*-linux-*cc*.rul +# +########################################################################### +LINUX_INCL_PATH= /usr/src/linux/include + +_LINUX_SRC_INCLUDE= $(_UNIQ)$(MAY_LINUX_SRC_INCLUDE) +__LINUX_SRC_INCLUDE= $(_LINUX_SRC_INCLUDE:$(_UNIQ)=$(LINUX_INCL_PATH)) +LINUX_SRC_INCLUDE= $(__LINUX_SRC_INCLUDE:$(_UNIQ)no%=%) + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.mac-os10 b/DEFAULTS/Defaults.mac-os10 new file mode 100644 index 0000000..95c8ddf --- /dev/null +++ b/DEFAULTS/Defaults.mac-os10 @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.mac-os10 1.4 13/11/04 " +########################################################################### +# +# global definitions for Mac OS X Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/local/include +LDPATH= #-L/opt/schily/lib +LDPATH= -L/usr/local/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= wheel diff --git a/DEFAULTS/Defaults.mingw32_nt b/DEFAULTS/Defaults.mingw32_nt new file mode 100644 index 0000000..a3c08da --- /dev/null +++ b/DEFAULTS/Defaults.mingw32_nt @@ -0,0 +1,52 @@ +#ident "@(#)Defaults.mingw32_nt 1.5 13/11/04 " +########################################################################### +# +# global definitions for Win32/Mingw32 systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +LDPATH= +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.minix b/DEFAULTS/Defaults.minix new file mode 100644 index 0000000..72b8c16 --- /dev/null +++ b/DEFAULTS/Defaults.minix @@ -0,0 +1,49 @@ +#ident "@(#)Defaults.minix 1.1 15/11/08 " +########################################################################### +# +# global definitions for Minix Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= clang + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.ms-dos b/DEFAULTS/Defaults.ms-dos new file mode 100644 index 0000000..004627c --- /dev/null +++ b/DEFAULTS/Defaults.ms-dos @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.ms-dos 1.6 13/11/04 " +########################################################################### +# +# global definitions for MSDOS/DJGPP v2 Systems using CC=gcc +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.netbsd b/DEFAULTS/Defaults.netbsd new file mode 100644 index 0000000..66f7d9f --- /dev/null +++ b/DEFAULTS/Defaults.netbsd @@ -0,0 +1,50 @@ +#ident "@(#)Defaults.netbsd 1.5 13/11/04 " +########################################################################### +# +# global definitions for NetBSD Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.newsos6 b/DEFAULTS/Defaults.newsos6 new file mode 100644 index 0000000..12a5963 --- /dev/null +++ b/DEFAULTS/Defaults.newsos6 @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.newsos6 1.6 13/11/04 " +########################################################################### +# +# global definitions for Sony NEWS-OS 6.x +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.nextstep b/DEFAULTS/Defaults.nextstep new file mode 100644 index 0000000..db0906f --- /dev/null +++ b/DEFAULTS/Defaults.nextstep @@ -0,0 +1,50 @@ +#ident "@(#)Defaults.nextstep 1.5 13/11/04 " +########################################################################### +# +# global definitions for NeXT Step Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.openbsd b/DEFAULTS/Defaults.openbsd new file mode 100644 index 0000000..e8407ea --- /dev/null +++ b/DEFAULTS/Defaults.openbsd @@ -0,0 +1,50 @@ +#ident "@(#)Defaults.openbsd 1.5 13/11/04 " +########################################################################### +# +# global definitions for OpenBSD Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.openserver b/DEFAULTS/Defaults.openserver new file mode 100644 index 0000000..4896789 --- /dev/null +++ b/DEFAULTS/Defaults.openserver @@ -0,0 +1,50 @@ +#ident "@(#)Defaults.openserver 1.4 13/11/04 " +########################################################################### +# +# global definitions for SCO OpenServer 5 Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /usr/local +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.openvms b/DEFAULTS/Defaults.openvms new file mode 100644 index 0000000..4943a1a --- /dev/null +++ b/DEFAULTS/Defaults.openvms @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.openvms 1.2 13/11/04 " +########################################################################### +# +# global definitions for OpenVMS +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.os2 b/DEFAULTS/Defaults.os2 new file mode 100644 index 0000000..c5edc2a --- /dev/null +++ b/DEFAULTS/Defaults.os2 @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.os2 1.6 13/11/04 " +########################################################################### +# +# global definitions for OS/2 Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.osf1 b/DEFAULTS/Defaults.osf1 new file mode 100644 index 0000000..4f3efde --- /dev/null +++ b/DEFAULTS/Defaults.osf1 @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.osf1 1.6 13/11/04 " +########################################################################### +# +# global definitions for Digital UNIX (OSF1) Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.pyro b/DEFAULTS/Defaults.pyro new file mode 100644 index 0000000..791f7d9 --- /dev/null +++ b/DEFAULTS/Defaults.pyro @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.pyro 1.2 13/11/04 " +########################################################################### +# +# global definitions for Pyro Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /boot/Include +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/admin +INS_RBASE= /tmp/schily/admin +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= admin +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.qnx b/DEFAULTS/Defaults.qnx new file mode 100644 index 0000000..00e41ea --- /dev/null +++ b/DEFAULTS/Defaults.qnx @@ -0,0 +1,53 @@ +#ident "@(#)Defaults.qnx 1.5 13/11/04 " +########################################################################### +# +# global definitions for QNX Systems +# +########################################################################### +# +# Compiler stuff +# +# When QNX support started in december 1999, there was only the watcom +# C-compler (cc). Now, in novemver 2001 we switch to gcc. +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.rhapsody b/DEFAULTS/Defaults.rhapsody new file mode 100644 index 0000000..273defe --- /dev/null +++ b/DEFAULTS/Defaults.rhapsody @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.rhapsody 1.4 13/11/04 " +########################################################################### +# +# global definitions for NeXT Step (Apple Rhapsody) Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/local/include +LDPATH= #-L/opt/schily/lib +LDPATH= -L/usr/local/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= wheel diff --git a/DEFAULTS/Defaults.sunos4 b/DEFAULTS/Defaults.sunos4 new file mode 100644 index 0000000..ca1cc3d --- /dev/null +++ b/DEFAULTS/Defaults.sunos4 @@ -0,0 +1,50 @@ +#ident "@(#)Defaults.sunos4 1.5 13/11/04 " +########################################################################### +# +# global definitions for SunOS Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will not work on SunOS + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.sunos5 b/DEFAULTS/Defaults.sunos5 new file mode 100644 index 0000000..e5f7203 --- /dev/null +++ b/DEFAULTS/Defaults.sunos5 @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.sunos5 1.6 13/11/04 " +########################################################################### +# +# global definitions for Solaris Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.syllable b/DEFAULTS/Defaults.syllable new file mode 100644 index 0000000..9f19d4a --- /dev/null +++ b/DEFAULTS/Defaults.syllable @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.syllable 1.3 13/11/04 " +########################################################################### +# +# global definitions for Syllable Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /ainc +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/Defaults.unixware b/DEFAULTS/Defaults.unixware new file mode 100644 index 0000000..a65464e --- /dev/null +++ b/DEFAULTS/Defaults.unixware @@ -0,0 +1,50 @@ +#ident "@(#)Defaults.unixware 1.4 13/11/04 " +########################################################################### +# +# global definitions for SCO UnixWare Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /usr/local +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS/MKLINKS b/DEFAULTS/MKLINKS new file mode 100644 index 0000000..4f023a5 --- /dev/null +++ b/DEFAULTS/MKLINKS @@ -0,0 +1,4 @@ +#!/bin/sh +# +ln -s Defaults.dgux Defaults.dgux3 +ln -s Defaults.dgux Defaults.dgux4 diff --git a/DEFAULTS/dummy-setup b/DEFAULTS/dummy-setup new file mode 100644 index 0000000..e69de29 diff --git a/DEFAULTS/vc6-cygwin-setup b/DEFAULTS/vc6-cygwin-setup new file mode 100644 index 0000000..fecefb3 --- /dev/null +++ b/DEFAULTS/vc6-cygwin-setup @@ -0,0 +1,44 @@ +# @(#)vc6-cygwin-setup 1.4 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc6-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +VSCommonDir=C:\Programme\Microsoft Visual Studio\Common +VSCommonPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common +export VSCommonDir + +MSDevDir=C:\Programme\Microsoft Visual Studio\Common\msdev98 +MSDevPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common/msdev98 +export MSDevDir + +MSVCDir=C:\Programme\Microsoft Visual Studio\VC98 +MSVCPath=/cygdrive/c/Programme/Microsoft Visual Studio/VC98 +export MSVCDir + +VcOsDir=WIN95 +VcOsDir=WINNT +export VcOsDir + +PATH :=${MSDevPath}\BIN:${MSVCPath}\BIN:${VSCommonPath}\TOOLS\${VcOsDir}:${VSCommonPath}\TOOLS:${PATH} +export PATH + +INCLUDE :=${MSVCDir}\ATL\INCLUDE;${MSVCDir}\INCLUDE;${MSVCDir}\\MFC\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${MSVCDir}\LIB;${MSVCDir}\MFC\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS/vc6-interix-setup b/DEFAULTS/vc6-interix-setup new file mode 100644 index 0000000..5166e0e --- /dev/null +++ b/DEFAULTS/vc6-interix-setup @@ -0,0 +1,40 @@ +# @(#)vc6-interix-setup 1.4 07/04/20 Copyright 2006 J. Schilling + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +VSCommonDir=C:\Programme\Microsoft Visual Studio\Common +VSCommonPath=/dev/fs/C/Programme/Microsoft Visual Studio/Common +export VSCommonDir + +MSDevDir=C:\Programme\Microsoft Visual Studio\Common\msdev98 +MSDevPath=/dev/fs/C/Programme/Microsoft Visual Studio/Common/msdev98 +export MSDevDir + +MSVCDir=C:\Programme\Microsoft Visual Studio\VC98 +MSVCPath=/dev/fs/C/Programme/Microsoft Visual Studio/VC98 +export MSVCDir + +VcOsDir=WIN95 +VcOsDir=WINNT +export VcOsDir + +PATH :=${MSDevPath}\BIN:${MSVCPath}\BIN:${VSCommonPath}\TOOLS\${VcOsDir}:${VSCommonPath}\TOOLS:${PATH} +export PATH + +INCLUDE :=${MSVCDir}\ATL\INCLUDE;${MSVCDir}\INCLUDE;${MSVCDir}\\MFC\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${MSVCDir}\LIB;${MSVCDir}\MFC\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS/vc6-setup b/DEFAULTS/vc6-setup new file mode 100644 index 0000000..018c297 --- /dev/null +++ b/DEFAULTS/vc6-setup @@ -0,0 +1,44 @@ +# @(#)vc6-setup 1.4 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc6-cygwin-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +VSCommonDir=C:\Programme\Microsoft Visual Studio\Common +VSCommonPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common +export VSCommonDir + +MSDevDir=C:\Programme\Microsoft Visual Studio\Common\msdev98 +MSDevPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common/msdev98 +export MSDevDir + +MSVCDir=C:\Programme\Microsoft Visual Studio\VC98 +MSVCPath=/cygdrive/c/Programme/Microsoft Visual Studio/VC98 +export MSVCDir + +VcOsDir=WIN95 +VcOsDir=WINNT +export VcOsDir + +PATH :=${MSDevPath}\BIN:${MSVCPath}\BIN:${VSCommonPath}\TOOLS\${VcOsDir}:${VSCommonPath}\TOOLS:${PATH} +export PATH + +INCLUDE :=${MSVCDir}\ATL\INCLUDE;${MSVCDir}\INCLUDE;${MSVCDir}\\MFC\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${MSVCDir}\LIB;${MSVCDir}\MFC\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS/vc7-cygwin-setup b/DEFAULTS/vc7-cygwin-setup new file mode 100644 index 0000000..980e593 --- /dev/null +++ b/DEFAULTS/vc7-cygwin-setup @@ -0,0 +1,45 @@ +# @(#)vc7-cygwin-setup 1.5 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc7-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8 + +# +# An English installation +# +VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Program Files/Microsoft Visual Studio 8 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/BIN:${VSINS}/Common7/IDE:${PATH} +export PATH + +INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${VCINSTALLDIR}\LIB;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS/vc7-interix-setup b/DEFAULTS/vc7-interix-setup new file mode 100644 index 0000000..1dad8a5 --- /dev/null +++ b/DEFAULTS/vc7-interix-setup @@ -0,0 +1,41 @@ +# @(#)vc7-interix-setup 1.7 07/04/24 Copyright 2006 J. Schilling + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8 +VSINS=/dev/fs/C/Programme/Microsoft Visual Studio 8 + +# +# An English installation +# +VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8 +VSINS=/dev/fs/C/Program Files/Microsoft Visual Studio 8 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/bin:${VSINS}/Common7/IDE:${PATH} +export PATH + +INCLUDE :=${VCINSTALLDIR}\include;${VCINSTALLDIR}\PlatformSDK\Include;${INCLUDE} +export INCLUDE + +LIB :=${VCINSTALLDIR}\LIB;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS/vc7-setup b/DEFAULTS/vc7-setup new file mode 100644 index 0000000..08bbe74 --- /dev/null +++ b/DEFAULTS/vc7-setup @@ -0,0 +1,45 @@ +# @(#)vc7-setup 1.5 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc7-cygwin-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8 + +# +# An English installation +# +VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Program Files/Microsoft Visual Studio 8 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/BIN:${VSINS}/Common7/IDE:${PATH} +export PATH + +INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${VCINSTALLDIR}\LIB;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS/vc7_64-cygwin-setup b/DEFAULTS/vc7_64-cygwin-setup new file mode 100644 index 0000000..6262ce1 --- /dev/null +++ b/DEFAULTS/vc7_64-cygwin-setup @@ -0,0 +1,45 @@ +# @(#)vc7_64-cygwin-setup 1.1 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc7_64-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +#VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8 +#VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8 + +# +# An English installation on an English Windows XP 64 Bit host +# +VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/BIN/amd64:${VSINS}/Common7/IDE:${PATH} +export PATH + +INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${VCINSTALLDIR}\LIB\amd64;${VCINSTALLDIR}\PlatformSDK\LIB\amd64;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS/vc7_64-setup b/DEFAULTS/vc7_64-setup new file mode 100644 index 0000000..d6ea7f3 --- /dev/null +++ b/DEFAULTS/vc7_64-setup @@ -0,0 +1,46 @@ +# @(#)vc7_64-setup 1.1 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc7_64-cygwin-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation on a German Windows (32Bit) host, to be used +# for cross compiling stuff (no autoconf run) +# +#VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8 +#VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8 + +# +# An English installation on an English Windows XP 64 Bit host +# +VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/BIN/amd64:${VSINS}/Common7/IDE:${PATH} +export PATH + +INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${VCINSTALLDIR}\LIB\amd64;${VCINSTALLDIR}\PlatformSDK\LIB\amd64;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS/vc9-cygwin-setup b/DEFAULTS/vc9-cygwin-setup new file mode 100644 index 0000000..2f10525 --- /dev/null +++ b/DEFAULTS/vc9-cygwin-setup @@ -0,0 +1,48 @@ +# @(#)vc9-cygwin-setup 1.4 11/08/01 Copyright 2006-2011 J. Schilling + +# +# Keep in sync with vc9-cygwin-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 9.0 +VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 9.0 + +# +# An English installation +# +VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0 +VSBASEDIR=C:\Program Files (x86) +VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/bin:${VSINS}/Common7/IDE:${PATH} +export PATH + +#INCLUDE :=${VCINSTALLDIR}\include;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +INCLUDE :=${VCINSTALLDIR}\atlmfc\include;${VCINSTALLDIR}\include;${VSBASEDIR}\Microsoft SDKs\Windows\v5.0\include;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include;${INCLUDE} +export INCLUDE + +#LIB :=${VCINSTALLDIR}\lib;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB} +LIB :=${VCINSTALLDIR}\atlmfc\lib;${VCINSTALLDIR}\lib;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS/vc9-setup b/DEFAULTS/vc9-setup new file mode 100644 index 0000000..6237dcc --- /dev/null +++ b/DEFAULTS/vc9-setup @@ -0,0 +1,48 @@ +# @(#)vc9-setup 1.3 11/08/01 Copyright 2006-2011 J. Schilling + +# +# Keep in sync with vc9-cygwin-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 9.0 +VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 9.0 + +# +# An English installation +# +VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0 +VSBASEDIR=C:\Program Files (x86) +VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/bin:${VSINS}/Common7/IDE:${PATH} +export PATH + +#INCLUDE :=${VCINSTALLDIR}\include;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +INCLUDE :=${VCINSTALLDIR}\atlmfc\include;${VCINSTALLDIR}\include;${VSBASEDIR}\Microsoft SDKs\Windows\v5.0\include;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include;${INCLUDE} +export INCLUDE + +#LIB :=${VCINSTALLDIR}\lib;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB} +LIB :=${VCINSTALLDIR}\atlmfc\lib;${VCINSTALLDIR}\lib;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS_CSW/Defaults b/DEFAULTS_CSW/Defaults new file mode 100644 index 0000000..f36f1e9 --- /dev/null +++ b/DEFAULTS_CSW/Defaults @@ -0,0 +1,8 @@ +#ident "%W% %E% %Q%" +########################################################################### +# +# global definitions: include system specific file +# +########################################################################### + +include $(DEFLTSROOT)/$(DEFLTSDIR)/Defaults.$(O_ARCH) diff --git a/DEFAULTS_CSW/Defaults.sunos5 b/DEFAULTS_CSW/Defaults.sunos5 new file mode 100644 index 0000000..f5cd573 --- /dev/null +++ b/DEFAULTS_CSW/Defaults.sunos5 @@ -0,0 +1,67 @@ +#ident "@(#)Defaults.sunos5 1.6 17/04/23 " +########################################################################### +# +# global definitions for Solaris Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +___SPO= $(P_ARCH:sparc=$(OSREL)) +__SPO= $(___SPO:5.1%=null) +_SPO= $(__SPO:5.%=sparc-cc.defs) +SPO= $(_SPO:$(P_ARCH)=null) + +include $(DEFLTSROOT)/$(DEFLTSDIR)/$(SPO) + +SUNPROCOPTOPT= -O -xspace -xildoff $(XARCH_GEN) +SUNPROC++OPTOPT= -O -xspace -xildoff $(XARCH_GEN) + + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R'$$ORIGIN/../lib' -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +#INS_BASE= /tmp/schily +#INS_KBASE= /tmp/schily/root +#INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin + +PROJECTNAME= SchilliX-0.6 diff --git a/DEFAULTS_CSW/MKLINKS b/DEFAULTS_CSW/MKLINKS new file mode 100644 index 0000000..4f023a5 --- /dev/null +++ b/DEFAULTS_CSW/MKLINKS @@ -0,0 +1,4 @@ +#!/bin/sh +# +ln -s Defaults.dgux Defaults.dgux3 +ln -s Defaults.dgux Defaults.dgux4 diff --git a/DEFAULTS_CSW/null b/DEFAULTS_CSW/null new file mode 100644 index 0000000..e69de29 diff --git a/DEFAULTS_CSW/sparc-cc.defs b/DEFAULTS_CSW/sparc-cc.defs new file mode 100644 index 0000000..b678313 --- /dev/null +++ b/DEFAULTS_CSW/sparc-cc.defs @@ -0,0 +1,40 @@ +#ident "@(#)sparc-cc.defs 1.3 14/03/27 " +########################################################################### +# +# global compiler specific definitions for Solaris Sparc Systems +# +########################################################################### +# Written 2007-2014 by J. Schilling +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# +# Enforce to use the generic 32 bit Sparc instruction set (Sparc-V8). +# Newer Sparc-V9 (64 Bit systems) implement Sparc-V8plus for 32 bits. +# This definition grants that the code may run on a pure 32 bit Sparc system, +# as the default for newer Sun compilers is to create Sparc-V8plus instructions +# when in 32 bit mode. +# +# XARCH_GEN__ is overwritten later in RULES/cc-sunpro.rul +# XARCH_GEN_ is used by RULES/cc-sunpro.rul as primary input for XARCH_GEN +# _*XARCH_GEN is unique to sparc-cc.defs +# +########################################################################### +XARCH_GEN__= -xarch=v8 + +_XARCH_GEN= $(_UNIQ)$(CCOM) +__XARCH_GEN= $(_XARCH_GEN:$(_UNIQ)cc64=-xarch=generic64) +XARCH_GEN_= $(__XARCH_GEN:$(_UNIQ)%=-xarch=v8) +#XARCH_GEN= $(___XARCH_GEN:$(_UNIQ)%=%) diff --git a/DEFAULTS_ENG/Defaults b/DEFAULTS_ENG/Defaults new file mode 100644 index 0000000..f36f1e9 --- /dev/null +++ b/DEFAULTS_ENG/Defaults @@ -0,0 +1,8 @@ +#ident "%W% %E% %Q%" +########################################################################### +# +# global definitions: include system specific file +# +########################################################################### + +include $(DEFLTSROOT)/$(DEFLTSDIR)/Defaults.$(O_ARCH) diff --git a/DEFAULTS_ENG/Defaults.aix b/DEFAULTS_ENG/Defaults.aix new file mode 100644 index 0000000..d69603c --- /dev/null +++ b/DEFAULTS_ENG/Defaults.aix @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.aix 1.6 13/11/04 " +########################################################################### +# +# global definitions for IBM AIX Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.amigaos b/DEFAULTS_ENG/Defaults.amigaos new file mode 100644 index 0000000..cec48dd --- /dev/null +++ b/DEFAULTS_ENG/Defaults.amigaos @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.amigaos 1.6 13/11/04 " +########################################################################### +# +# global definitions for AmigaOS Systems using CC=gcc +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.beos b/DEFAULTS_ENG/Defaults.beos new file mode 100644 index 0000000..d29b5be --- /dev/null +++ b/DEFAULTS_ENG/Defaults.beos @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.beos 1.6 13/11/04 " +########################################################################### +# +# global definitions for BeOS Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.bitrig b/DEFAULTS_ENG/Defaults.bitrig new file mode 100644 index 0000000..b1a72b4 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.bitrig @@ -0,0 +1,52 @@ +#ident "@(#)Defaults.bitrig 1.1 15/10/08 " +########################################################################### +# +# global definitions for Bitrig Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= clang + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.bsd-os b/DEFAULTS_ENG/Defaults.bsd-os new file mode 100644 index 0000000..621c08b --- /dev/null +++ b/DEFAULTS_ENG/Defaults.bsd-os @@ -0,0 +1,53 @@ +#ident "@(#)Defaults.bsd-os 1.5 13/11/04 " +########################################################################### +# +# global definitions for BSD/OS Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.bsd-os3 b/DEFAULTS_ENG/Defaults.bsd-os3 new file mode 100644 index 0000000..cd514b6 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.bsd-os3 @@ -0,0 +1,53 @@ +#ident "@(#)Defaults.bsd-os3 1.5 13/11/04 " +########################################################################### +# +# global definitions for BSD/OS Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.cygwin32_nt b/DEFAULTS_ENG/Defaults.cygwin32_nt new file mode 100644 index 0000000..978d862 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.cygwin32_nt @@ -0,0 +1,80 @@ +#ident "@(#)Defaults.cygwin32_nt 1.7 17/07/09 " +########################################################################### +# +# global definitions for Cygnus GCC for WINNT Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +LDPATH= +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= root + +# +# This is not the correct place for doing this, +# the correct place is RULES/cc-msc.rul. +# We do it here because otherwise cc-config would not work. +# This kind of hack may not work for other platforms. +# +_PLATFORM= cygwin +VC=7 + +_VCNAME= $(_UNIQ)$(XMAKEPROG) +__VCNAME= $(_VCNAME:$(_UNIQ)=dummy) +___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%)) +VCNAME= $(___VCNAME:$(_UNIQ)%=dummy) + +_VC_SETUP= $(_UNIQ)$(VC_SETUP) +__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup) +VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%) + +########################################################################### +# IMPORTANT Note: +# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul +# in order to be able to test for the existence of "cl.exe" early. +########################################################################### +include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) diff --git a/DEFAULTS_ENG/Defaults.cygwin32_wow b/DEFAULTS_ENG/Defaults.cygwin32_wow new file mode 100644 index 0000000..290929f --- /dev/null +++ b/DEFAULTS_ENG/Defaults.cygwin32_wow @@ -0,0 +1,80 @@ +#ident "@(#)Defaults.cygwin32_wow 1.2 17/07/09 " +########################################################################### +# +# global definitions for Cygnus GCC for WINNT Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +LDPATH= +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= root + +# +# This is not the correct place for doing this, +# the correct place is RULES/cc-msc.rul. +# We do it here because otherwise cc-config would not work. +# This kind of hack may not work for other platforms. +# +_PLATFORM= cygwin +VC=7 + +_VCNAME= $(_UNIQ)$(XMAKEPROG) +__VCNAME= $(_VCNAME:$(_UNIQ)=dummy) +___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%)) +VCNAME= $(___VCNAME:$(_UNIQ)%=dummy) + +_VC_SETUP= $(_UNIQ)$(VC_SETUP) +__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup) +VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%) + +########################################################################### +# IMPORTANT Note: +# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul +# in order to be able to test for the existence of "cl.exe" early. +########################################################################### +include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) diff --git a/DEFAULTS_ENG/Defaults.cygwin32_wow64 b/DEFAULTS_ENG/Defaults.cygwin32_wow64 new file mode 100644 index 0000000..7bf3ab5 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.cygwin32_wow64 @@ -0,0 +1,80 @@ +#ident "@(#)Defaults.cygwin32_wow64 1.7 17/07/09 " +########################################################################### +# +# global definitions for Cygnus GCC for WINNT Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +LDPATH= +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= root + +# +# This is not the correct place for doing this, +# the correct place is RULES/cc-msc.rul. +# We do it here because otherwise cc-config would not work. +# This kind of hack may not work for other platforms. +# +_PLATFORM= cygwin +VC=7 + +_VCNAME= $(_UNIQ)$(XMAKEPROG) +__VCNAME= $(_VCNAME:$(_UNIQ)=dummy) +___VCNAME= $(__VCNAME:$(_UNIQ)smake=vc$(VC)$(_PLATFORM:%=-%)) +VCNAME= $(___VCNAME:$(_UNIQ)%=dummy) + +_VC_SETUP= $(_UNIQ)$(VC_SETUP) +__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=$(VCNAME)-setup) +VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%) + +########################################################################### +# IMPORTANT Note: +# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-msc.rul +# in order to be able to test for the existence of "cl.exe" early. +########################################################################### +include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) diff --git a/DEFAULTS_ENG/Defaults.darwin b/DEFAULTS_ENG/Defaults.darwin new file mode 100644 index 0000000..447aaa0 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.darwin @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.darwin 1.4 13/11/04 " +########################################################################### +# +# global definitions for Mac OS X Darwin Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/local/include +LDPATH= #-L/opt/schily/lib +LDPATH= -L/usr/local/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= wheel diff --git a/DEFAULTS_ENG/Defaults.dgux b/DEFAULTS_ENG/Defaults.dgux new file mode 100644 index 0000000..1eda926 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.dgux @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.dgux 1.6 13/11/04 " +########################################################################### +# +# global definitions for Data General DGUX Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.dgux3 b/DEFAULTS_ENG/Defaults.dgux3 new file mode 100644 index 0000000..8207317 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.dgux3 @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.dgux3 1.6 13/11/04 " +########################################################################### +# +# global definitions for Data General DGUX Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.dgux4 b/DEFAULTS_ENG/Defaults.dgux4 new file mode 100644 index 0000000..530c4bf --- /dev/null +++ b/DEFAULTS_ENG/Defaults.dgux4 @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.dgux4 1.6 13/11/04 " +########################################################################### +# +# global definitions for Data General DGUX Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.domainos b/DEFAULTS_ENG/Defaults.domainos new file mode 100644 index 0000000..010e78d --- /dev/null +++ b/DEFAULTS_ENG/Defaults.domainos @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.domainos 1.6 13/11/04 " +########################################################################### +# +# global definitions for Apollo Domain/OS Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.dragonfly b/DEFAULTS_ENG/Defaults.dragonfly new file mode 100644 index 0000000..d3e7c10 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.dragonfly @@ -0,0 +1,53 @@ +#ident "@(#)Defaults.dragonfly 1.6 13/11/04 " +########################################################################### +# +# global definitions for FreeBSD Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/local/include +LDPATH= -L/opt/schily/lib -L/usr/local/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.freebsd b/DEFAULTS_ENG/Defaults.freebsd new file mode 100644 index 0000000..7f54c81 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.freebsd @@ -0,0 +1,53 @@ +#ident "@(#)Defaults.freebsd 1.6 13/11/04 " +########################################################################### +# +# global definitions for FreeBSD Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/local/include +LDPATH= -L/opt/schily/lib -L/usr/local/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.freemint b/DEFAULTS_ENG/Defaults.freemint new file mode 100644 index 0000000..238a5cb --- /dev/null +++ b/DEFAULTS_ENG/Defaults.freemint @@ -0,0 +1,53 @@ +#ident @(#)Defaults.freemint 1.4 13/11/04 +########################################################################### +# +# global definitions for FreeMiNT on ATARI computers +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.gnu b/DEFAULTS_ENG/Defaults.gnu new file mode 100644 index 0000000..462a2da --- /dev/null +++ b/DEFAULTS_ENG/Defaults.gnu @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.gnu 1.6 13/11/04 " +########################################################################### +# +# global definitions for GNU (hurd) Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/src/linux/include +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.gnu-kfreebsd b/DEFAULTS_ENG/Defaults.gnu-kfreebsd new file mode 100644 index 0000000..dabeb83 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.gnu-kfreebsd @@ -0,0 +1,72 @@ +#ident "@(#)Defaults.gnu-kfreebsd 1.2 13/11/04 " +########################################################################### +# +# global definitions for Linux kfreebsd Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +########################################################################### +# +# LINUX_SRC_INCLUDE is used in RULES/*-linux-*cc*.rul +# +########################################################################### +LINUX_INCL_PATH= /usr/src/linux/include + +_LINUX_SRC_INCLUDE= $(_UNIQ)$(MAY_LINUX_SRC_INCLUDE) +__LINUX_SRC_INCLUDE= $(_LINUX_SRC_INCLUDE:$(_UNIQ)=$(LINUX_INCL_PATH)) +LINUX_SRC_INCLUDE= $(__LINUX_SRC_INCLUDE:$(_UNIQ)no%=%) + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Unhide POSIX extensions from /usr/include/ +# +########################################################################### +OSDEFS += -D_GNU_SOURCE + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.haiku b/DEFAULTS_ENG/Defaults.haiku new file mode 100644 index 0000000..a8326e5 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.haiku @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.haiku 1.3 13/11/04 " +########################################################################### +# +# global definitions for Haiku Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.hp-ux b/DEFAULTS_ENG/Defaults.hp-ux new file mode 100644 index 0000000..cd9723f --- /dev/null +++ b/DEFAULTS_ENG/Defaults.hp-ux @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.hp-ux 1.6 13/11/04 " +########################################################################### +# +# global definitions for HP/UX Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.interix b/DEFAULTS_ENG/Defaults.interix new file mode 100644 index 0000000..682d607 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.interix @@ -0,0 +1,84 @@ +#ident "@(#)Defaults.interix 1.7 13/11/04 " +########################################################################### +# +# global definitions for Interix Systems (WIN-NT with SFU) using CC=gcc +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Avoid to have something like "Intel_x86_Family15_Model4_Stepping1" +# in $(OARCH), we rather use $(K_ARCH) which is e.g. "x86". +# XXX If this is changed, both files in DEFAULTS/ and DEFAULTS_ENG as +# XXX well as the file conf/oarch.sh need to be changed. +# +########################################################################### +P_ARCH= $(K_ARCH) + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= --rpath $(INS_BASE)/lib --rpath /opt/schily/lib --rpath $(OLIBSDIR) +RUNPATH= --rpath $(INS_BASE)/lib --rpath /opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin + +# +# This is not the correct place for doing this, +# the correct place is RULES/cc-ms*.rul. +# We do it here because otherwise cc-config would not work. +# This kind of hack may not work for other platforms. +# +_PLATFORM= interix +VC=7 + +_VC_SETUP= $(_UNIQ)$(VC_SETUP) +__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=vc$(VC)$(_PLATFORM:%=-%)-setup) +VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%) + +########################################################################### +# IMPORTANT Note: +# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from RULES/cc-ms*.rul +# in order to be able to test for the existence of "cl.exe" early. +########################################################################### +include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) diff --git a/DEFAULTS_ENG/Defaults.irix b/DEFAULTS_ENG/Defaults.irix new file mode 100644 index 0000000..0b4f834 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.irix @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.irix 1.6 13/11/04 " +########################################################################### +# +# global definitions for Silicon Graphics Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.linux b/DEFAULTS_ENG/Defaults.linux new file mode 100644 index 0000000..6c3f4ec --- /dev/null +++ b/DEFAULTS_ENG/Defaults.linux @@ -0,0 +1,72 @@ +#ident "@(#)Defaults.linux 1.8 13/11/04 " +########################################################################### +# +# global definitions for Linux Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +########################################################################### +# +# LINUX_SRC_INCLUDE is used in RULES/*-linux-*cc*.rul +# +########################################################################### +LINUX_INCL_PATH= /usr/src/linux/include + +_LINUX_SRC_INCLUDE= $(_UNIQ)$(MAY_LINUX_SRC_INCLUDE) +__LINUX_SRC_INCLUDE= $(_LINUX_SRC_INCLUDE:$(_UNIQ)=$(LINUX_INCL_PATH)) +LINUX_SRC_INCLUDE= $(__LINUX_SRC_INCLUDE:$(_UNIQ)no%=%) + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Unhide POSIX extensions from /usr/include/ +# +########################################################################### +OSDEFS += -D_GNU_SOURCE + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.mac-os10 b/DEFAULTS_ENG/Defaults.mac-os10 new file mode 100644 index 0000000..25e637f --- /dev/null +++ b/DEFAULTS_ENG/Defaults.mac-os10 @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.mac-os10 1.4 13/11/04 " +########################################################################### +# +# global definitions for Mac OS X Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/local/include +LDPATH= #-L/opt/schily/lib +LDPATH= -L/usr/local/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= wheel diff --git a/DEFAULTS_ENG/Defaults.mingw32_nt b/DEFAULTS_ENG/Defaults.mingw32_nt new file mode 100644 index 0000000..7ad73ac --- /dev/null +++ b/DEFAULTS_ENG/Defaults.mingw32_nt @@ -0,0 +1,55 @@ +#ident "@(#)Defaults.mingw32_nt 1.5 13/11/04 " +########################################################################### +# +# global definitions for Win32/Mingw32 systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +#LDPATH= -L/opt/schily/lib +LDPATH= +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.minix b/DEFAULTS_ENG/Defaults.minix new file mode 100644 index 0000000..7ee7dc9 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.minix @@ -0,0 +1,52 @@ +#ident "@(#)Defaults.minix 1.1 15/11/08 " +########################################################################### +# +# global definitions for Minix Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= clang + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.ms-dos b/DEFAULTS_ENG/Defaults.ms-dos new file mode 100644 index 0000000..ddcafb2 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.ms-dos @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.ms-dos 1.6 13/11/04 " +########################################################################### +# +# global definitions for MSDOS/DJGPP v2 Systems using CC=gcc +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.netbsd b/DEFAULTS_ENG/Defaults.netbsd new file mode 100644 index 0000000..ad261e0 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.netbsd @@ -0,0 +1,53 @@ +#ident "@(#)Defaults.netbsd 1.5 13/11/04 " +########################################################################### +# +# global definitions for NetBSD Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.newsos6 b/DEFAULTS_ENG/Defaults.newsos6 new file mode 100644 index 0000000..01606de --- /dev/null +++ b/DEFAULTS_ENG/Defaults.newsos6 @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.newsos6 1.6 13/11/04 " +########################################################################### +# +# global definitions for Sony NEWS-OS 6.x +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.nextstep b/DEFAULTS_ENG/Defaults.nextstep new file mode 100644 index 0000000..fafc252 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.nextstep @@ -0,0 +1,53 @@ +#ident "@(#)Defaults.nextstep 1.5 13/11/04 " +########################################################################### +# +# global definitions for NeXT Step Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.openbsd b/DEFAULTS_ENG/Defaults.openbsd new file mode 100644 index 0000000..e50dd58 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.openbsd @@ -0,0 +1,53 @@ +#ident "@(#)Defaults.openbsd 1.5 13/11/04 " +########################################################################### +# +# global definitions for OpenBSD Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.openserver b/DEFAULTS_ENG/Defaults.openserver new file mode 100644 index 0000000..faec01f --- /dev/null +++ b/DEFAULTS_ENG/Defaults.openserver @@ -0,0 +1,53 @@ +#ident "@(#)Defaults.openserver 1.4 13/11/04 " +########################################################################### +# +# global definitions for SCO OpenServer 5 Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /usr/local +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.openvms b/DEFAULTS_ENG/Defaults.openvms new file mode 100644 index 0000000..354c01d --- /dev/null +++ b/DEFAULTS_ENG/Defaults.openvms @@ -0,0 +1,51 @@ +#ident "@(#)Defaults.openvms 1.2 13/11/04 " +########################################################################### +# +# global definitions for OpenVMS +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.os2 b/DEFAULTS_ENG/Defaults.os2 new file mode 100644 index 0000000..d114d65 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.os2 @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.os2 1.6 13/11/04 " +########################################################################### +# +# global definitions for OS/2 Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.osf1 b/DEFAULTS_ENG/Defaults.osf1 new file mode 100644 index 0000000..bd6ba47 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.osf1 @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.osf1 1.6 13/11/04 " +########################################################################### +# +# global definitions for Digital UNIX (OSF1) Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.pyro b/DEFAULTS_ENG/Defaults.pyro new file mode 100644 index 0000000..cc09119 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.pyro @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.pyro 1.2 13/11/04 " +########################################################################### +# +# global definitions for Pyro Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /boot/Include +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/admin +INS_RBASE= /tmp/schily/admin +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= admin +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.qnx b/DEFAULTS_ENG/Defaults.qnx new file mode 100644 index 0000000..086c69e --- /dev/null +++ b/DEFAULTS_ENG/Defaults.qnx @@ -0,0 +1,56 @@ +#ident "@(#)Defaults.qnx 1.5 13/11/04 " +########################################################################### +# +# global definitions for QNX Systems +# +########################################################################### +# +# Compiler stuff +# +# When QNX support started in december 1999, there was only the watcom +# C-compler (cc). Now, in novemver 2001 we switch to gcc. +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.rhapsody b/DEFAULTS_ENG/Defaults.rhapsody new file mode 100644 index 0000000..a2c6fa2 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.rhapsody @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.rhapsody 1.4 13/11/04 " +########################################################################### +# +# global definitions for NeXT Step (Apple Rhapsody) Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /usr/local/include +LDPATH= #-L/opt/schily/lib +LDPATH= -L/usr/local/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= wheel diff --git a/DEFAULTS_ENG/Defaults.sunos4 b/DEFAULTS_ENG/Defaults.sunos4 new file mode 100644 index 0000000..68f6ee0 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.sunos4 @@ -0,0 +1,53 @@ +#ident "@(#)Defaults.sunos4 1.5 13/11/04 " +########################################################################### +# +# global definitions for SunOS Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) Will not work on SunOS + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.sunos5 b/DEFAULTS_ENG/Defaults.sunos5 new file mode 100644 index 0000000..a6ea10f --- /dev/null +++ b/DEFAULTS_ENG/Defaults.sunos5 @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.sunos5 1.6 13/11/04 " +########################################################################### +# +# global definitions for Solaris Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.syllable b/DEFAULTS_ENG/Defaults.syllable new file mode 100644 index 0000000..ae577b8 --- /dev/null +++ b/DEFAULTS_ENG/Defaults.syllable @@ -0,0 +1,54 @@ +#ident "@(#)Defaults.syllable 1.3 13/11/04 " +########################################################################### +# +# global definitions for Syllable Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= /ainc +LDPATH= -L/opt/schily/lib +#RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib -R$(OLIBSDIR) +RUNPATH= -R$(INS_BASE)/lib -R/opt/schily/lib + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /opt/schily +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/Defaults.unixware b/DEFAULTS_ENG/Defaults.unixware new file mode 100644 index 0000000..c64bfed --- /dev/null +++ b/DEFAULTS_ENG/Defaults.unixware @@ -0,0 +1,53 @@ +#ident "@(#)Defaults.unixware 1.4 13/11/04 " +########################################################################### +# +# global definitions for SCO UnixWare Systems +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc + +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= +RUNPATH= + +########################################################################### +# +# Installation config stuff +# +########################################################################### +#INS_BASE= /usr/local +#INS_KBASE= / +#INS_RBASE= / +INS_BASE= /tmp/schily +INS_KBASE= /tmp/schily/root +INS_RBASE= /tmp/schily/root +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= root +DEFINSGRP= bin diff --git a/DEFAULTS_ENG/MKLINKS b/DEFAULTS_ENG/MKLINKS new file mode 100644 index 0000000..4f023a5 --- /dev/null +++ b/DEFAULTS_ENG/MKLINKS @@ -0,0 +1,4 @@ +#!/bin/sh +# +ln -s Defaults.dgux Defaults.dgux3 +ln -s Defaults.dgux Defaults.dgux4 diff --git a/DEFAULTS_ENG/README b/DEFAULTS_ENG/README new file mode 100644 index 0000000..f5c8e94 --- /dev/null +++ b/DEFAULTS_ENG/README @@ -0,0 +1 @@ +This directory contains engineering defaults diff --git a/DEFAULTS_ENG/dummy-setup b/DEFAULTS_ENG/dummy-setup new file mode 100644 index 0000000..e69de29 diff --git a/DEFAULTS_ENG/vc6-cygwin-setup b/DEFAULTS_ENG/vc6-cygwin-setup new file mode 100644 index 0000000..fecefb3 --- /dev/null +++ b/DEFAULTS_ENG/vc6-cygwin-setup @@ -0,0 +1,44 @@ +# @(#)vc6-cygwin-setup 1.4 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc6-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +VSCommonDir=C:\Programme\Microsoft Visual Studio\Common +VSCommonPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common +export VSCommonDir + +MSDevDir=C:\Programme\Microsoft Visual Studio\Common\msdev98 +MSDevPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common/msdev98 +export MSDevDir + +MSVCDir=C:\Programme\Microsoft Visual Studio\VC98 +MSVCPath=/cygdrive/c/Programme/Microsoft Visual Studio/VC98 +export MSVCDir + +VcOsDir=WIN95 +VcOsDir=WINNT +export VcOsDir + +PATH :=${MSDevPath}\BIN:${MSVCPath}\BIN:${VSCommonPath}\TOOLS\${VcOsDir}:${VSCommonPath}\TOOLS:${PATH} +export PATH + +INCLUDE :=${MSVCDir}\ATL\INCLUDE;${MSVCDir}\INCLUDE;${MSVCDir}\\MFC\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${MSVCDir}\LIB;${MSVCDir}\MFC\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS_ENG/vc6-interix-setup b/DEFAULTS_ENG/vc6-interix-setup new file mode 100644 index 0000000..5166e0e --- /dev/null +++ b/DEFAULTS_ENG/vc6-interix-setup @@ -0,0 +1,40 @@ +# @(#)vc6-interix-setup 1.4 07/04/20 Copyright 2006 J. Schilling + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +VSCommonDir=C:\Programme\Microsoft Visual Studio\Common +VSCommonPath=/dev/fs/C/Programme/Microsoft Visual Studio/Common +export VSCommonDir + +MSDevDir=C:\Programme\Microsoft Visual Studio\Common\msdev98 +MSDevPath=/dev/fs/C/Programme/Microsoft Visual Studio/Common/msdev98 +export MSDevDir + +MSVCDir=C:\Programme\Microsoft Visual Studio\VC98 +MSVCPath=/dev/fs/C/Programme/Microsoft Visual Studio/VC98 +export MSVCDir + +VcOsDir=WIN95 +VcOsDir=WINNT +export VcOsDir + +PATH :=${MSDevPath}\BIN:${MSVCPath}\BIN:${VSCommonPath}\TOOLS\${VcOsDir}:${VSCommonPath}\TOOLS:${PATH} +export PATH + +INCLUDE :=${MSVCDir}\ATL\INCLUDE;${MSVCDir}\INCLUDE;${MSVCDir}\\MFC\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${MSVCDir}\LIB;${MSVCDir}\MFC\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS_ENG/vc6-setup b/DEFAULTS_ENG/vc6-setup new file mode 100644 index 0000000..018c297 --- /dev/null +++ b/DEFAULTS_ENG/vc6-setup @@ -0,0 +1,44 @@ +# @(#)vc6-setup 1.4 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc6-cygwin-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +VSCommonDir=C:\Programme\Microsoft Visual Studio\Common +VSCommonPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common +export VSCommonDir + +MSDevDir=C:\Programme\Microsoft Visual Studio\Common\msdev98 +MSDevPath=/cygdrive/c/Programme/Microsoft Visual Studio/Common/msdev98 +export MSDevDir + +MSVCDir=C:\Programme\Microsoft Visual Studio\VC98 +MSVCPath=/cygdrive/c/Programme/Microsoft Visual Studio/VC98 +export MSVCDir + +VcOsDir=WIN95 +VcOsDir=WINNT +export VcOsDir + +PATH :=${MSDevPath}\BIN:${MSVCPath}\BIN:${VSCommonPath}\TOOLS\${VcOsDir}:${VSCommonPath}\TOOLS:${PATH} +export PATH + +INCLUDE :=${MSVCDir}\ATL\INCLUDE;${MSVCDir}\INCLUDE;${MSVCDir}\\MFC\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${MSVCDir}\LIB;${MSVCDir}\MFC\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS_ENG/vc7-cygwin-setup b/DEFAULTS_ENG/vc7-cygwin-setup new file mode 100644 index 0000000..980e593 --- /dev/null +++ b/DEFAULTS_ENG/vc7-cygwin-setup @@ -0,0 +1,45 @@ +# @(#)vc7-cygwin-setup 1.5 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc7-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8 + +# +# An English installation +# +VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Program Files/Microsoft Visual Studio 8 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/BIN:${VSINS}/Common7/IDE:${PATH} +export PATH + +INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${VCINSTALLDIR}\LIB;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS_ENG/vc7-interix-setup b/DEFAULTS_ENG/vc7-interix-setup new file mode 100644 index 0000000..1dad8a5 --- /dev/null +++ b/DEFAULTS_ENG/vc7-interix-setup @@ -0,0 +1,41 @@ +# @(#)vc7-interix-setup 1.7 07/04/24 Copyright 2006 J. Schilling + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8 +VSINS=/dev/fs/C/Programme/Microsoft Visual Studio 8 + +# +# An English installation +# +VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8 +VSINS=/dev/fs/C/Program Files/Microsoft Visual Studio 8 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/bin:${VSINS}/Common7/IDE:${PATH} +export PATH + +INCLUDE :=${VCINSTALLDIR}\include;${VCINSTALLDIR}\PlatformSDK\Include;${INCLUDE} +export INCLUDE + +LIB :=${VCINSTALLDIR}\LIB;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS_ENG/vc7-setup b/DEFAULTS_ENG/vc7-setup new file mode 100644 index 0000000..08bbe74 --- /dev/null +++ b/DEFAULTS_ENG/vc7-setup @@ -0,0 +1,45 @@ +# @(#)vc7-setup 1.5 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc7-cygwin-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8 + +# +# An English installation +# +VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Program Files/Microsoft Visual Studio 8 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/BIN:${VSINS}/Common7/IDE:${PATH} +export PATH + +INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${VCINSTALLDIR}\LIB;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS_ENG/vc7_64-cygwin-setup b/DEFAULTS_ENG/vc7_64-cygwin-setup new file mode 100644 index 0000000..6262ce1 --- /dev/null +++ b/DEFAULTS_ENG/vc7_64-cygwin-setup @@ -0,0 +1,45 @@ +# @(#)vc7_64-cygwin-setup 1.1 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc7_64-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +#VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8 +#VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8 + +# +# An English installation on an English Windows XP 64 Bit host +# +VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/BIN/amd64:${VSINS}/Common7/IDE:${PATH} +export PATH + +INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${VCINSTALLDIR}\LIB\amd64;${VCINSTALLDIR}\PlatformSDK\LIB\amd64;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS_ENG/vc7_64-setup b/DEFAULTS_ENG/vc7_64-setup new file mode 100644 index 0000000..d6ea7f3 --- /dev/null +++ b/DEFAULTS_ENG/vc7_64-setup @@ -0,0 +1,46 @@ +# @(#)vc7_64-setup 1.1 09/05/16 Copyright 2006 J. Schilling + +# +# Keep in sync with vc7_64-cygwin-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation on a German Windows (32Bit) host, to be used +# for cross compiling stuff (no autoconf run) +# +#VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 8 +#VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 8 + +# +# An English installation on an English Windows XP 64 Bit host +# +VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8 +VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/BIN/amd64:${VSINS}/Common7/IDE:${PATH} +export PATH + +INCLUDE :=${VCINSTALLDIR}\INCLUDE;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +export INCLUDE + +LIB :=${VCINSTALLDIR}\LIB\amd64;${VCINSTALLDIR}\PlatformSDK\LIB\amd64;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS_ENG/vc9-cygwin-setup b/DEFAULTS_ENG/vc9-cygwin-setup new file mode 100644 index 0000000..2f10525 --- /dev/null +++ b/DEFAULTS_ENG/vc9-cygwin-setup @@ -0,0 +1,48 @@ +# @(#)vc9-cygwin-setup 1.4 11/08/01 Copyright 2006-2011 J. Schilling + +# +# Keep in sync with vc9-cygwin-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 9.0 +VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 9.0 + +# +# An English installation +# +VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0 +VSBASEDIR=C:\Program Files (x86) +VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/bin:${VSINS}/Common7/IDE:${PATH} +export PATH + +#INCLUDE :=${VCINSTALLDIR}\include;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +INCLUDE :=${VCINSTALLDIR}\atlmfc\include;${VCINSTALLDIR}\include;${VSBASEDIR}\Microsoft SDKs\Windows\v5.0\include;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include;${INCLUDE} +export INCLUDE + +#LIB :=${VCINSTALLDIR}\lib;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB} +LIB :=${VCINSTALLDIR}\atlmfc\lib;${VCINSTALLDIR}\lib;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/DEFAULTS_ENG/vc9-setup b/DEFAULTS_ENG/vc9-setup new file mode 100644 index 0000000..6237dcc --- /dev/null +++ b/DEFAULTS_ENG/vc9-setup @@ -0,0 +1,48 @@ +# @(#)vc9-setup 1.3 11/08/01 Copyright 2006-2011 J. Schilling + +# +# Keep in sync with vc9-cygwin-setup as we cannot rely on hard links +# + +# +# Disable warnings for nonportable variable assignements. +# We only use smake MS-WIN, so this is not a problem. +# +.NO_WARN: := + +# +# A German installation +# +VSINSTALLDIR=C:\Programme\Microsoft Visual Studio 9.0 +VSINS=/cygdrive/c/Programme/Microsoft Visual Studio 9.0 + +# +# An English installation +# +VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 9.0 +VSBASEDIR=C:\Program Files (x86) +VSINS=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0 + +export VSINSTALLDIR + +VCINSTALLDIR :=${VSINSTALLDIR}\VC +export VCINSTALLDIR + +PATH :=${VSINS}/VC/bin:${VSINS}/Common7/IDE:${PATH} +export PATH + +#INCLUDE :=${VCINSTALLDIR}\include;${VCINSTALLDIR}\PlatformSDK\INCLUDE;${INCLUDE} +INCLUDE :=${VCINSTALLDIR}\atlmfc\include;${VCINSTALLDIR}\include;${VSBASEDIR}\Microsoft SDKs\Windows\v5.0\include;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include;${INCLUDE} +export INCLUDE + +#LIB :=${VCINSTALLDIR}\lib;${VCINSTALLDIR}\PlatformSDK\LIB;${LIB} +LIB :=${VCINSTALLDIR}\atlmfc\lib;${VCINSTALLDIR}\lib;C:\Program Files\\Microsoft SDKs\Windows\v6.0A\lib;${LIB} +export LIB + +VC_SETUP=dummy-setup +export VC_SETUP + +# +# Re-enable all warnings. +# +.NO_WARN: diff --git a/GPL-2.0.txt b/GPL-2.0.txt new file mode 100644 index 0000000..1e91162 --- /dev/null +++ b/GPL-2.0.txt @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + 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. + + 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 Library 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 version 2 + as published by the Free Software Foundation. + + 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 Library General +Public License instead of this License. diff --git a/Gmake b/Gmake new file mode 100755 index 0000000..a1e5b8d --- /dev/null +++ b/Gmake @@ -0,0 +1,4 @@ +#!/bin/sh +MAKEPROG=gmake +export MAKEPROG +exec gmake "$@" diff --git a/Gmake.linux b/Gmake.linux new file mode 100755 index 0000000..17fb6dc --- /dev/null +++ b/Gmake.linux @@ -0,0 +1,8 @@ +#!/bin/sh + +MAKEPROG=gmake +export MAKEPROG + +# gmake is called 'make' on Linux + +exec make "$@" diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..8de1994 --- /dev/null +++ b/INSTALL @@ -0,0 +1,764 @@ +# @(#)README.compile 1.35 17/11/28 Copyright 1997-2017 J. Schilling + +Short overview for those who don't read manuals: + + Calling configure manually is outdated because this is a task of the + makefile system. + + There is no 'configure', simply call 'make' on the top level + directory. + + ***** If this does not work for you, read the rest if this file ***** + ***** If you have any problem, also first read the topic specific ***** + ***** README.* files (e.g. README.linux for Linux problems). ***** + + All results in general will be placed into a directory named + OBJ// in the current projects leaf directory. + + You **need** either the Schily "smake" program, the SunPRO make + from /usr/bin/make (SunOS 4.x) or /usr/ccs/bin/make (SunOS 5.x) + or GNU make to compile this program. Read READMEs/README.gmake for + more information on gmake and a list of the most annoying bugs in gmake. + + All other make programs are either not smart enough or have bugs. + + My "smake" source is at: + + https://sourceforge.net/projects/s-make/files/ + + It is easy to compile and doesn't need a working make program + on your machine. If you don't have a working "make" program on the + machine where you like to compile "smake" read the file "BOOTSTRAP". + + If you have the choice between all three make programs, the + preference would be + + 1) smake (preferred) + 2) SunPRO make + 3) GNU make (this is the last resort) + + Important notice: "smake" that comes with SGI/IRIX will not work!!! + This is not the Schily "smake" but a dumb make program from SGI. + + ***** If you are on a platform that is not yet known by the ***** + ***** Schily makefilesystem you cannot use GNU make. ***** + ***** In this case, the automake features of smake are required. ***** + + Note that GNU make has major bugs on various platforms and thus cannot + be used at all on VMS and OS/2. GNU make on Cygwin causes problems + because it does not deal with spaces and newlines correctly. + + Please read the README's for your operating system too. + + WARNING + Do not use 'mc' to extract the tar file! + All mc versions before 4.0.14 cannot extract symbolic links correctly. + + The versions of WinZip that support tar archives cannot be used either. + The reason is that they don't support symbolic links. + Star and Gnutar do support symbolic links even on win32 systems. + To support symbolic links on win32, you need to link with the + Cygwin32 POSIX library. + + To unpack an archive, use: + + gzip -d < some-arch.tar.gz | tar xpf - + + Replace 'some-arch.tar.gz' by the actual archive name. + + If your platform does not support hard links or symbolic links, you + first need to compile "star" and then call: + + star -xp -copy-links < some-arch.tar.gz + + If your platform does not support hard links but supports + symbolic links, you only need to call the command above once. + If your platform does not support symbolic links, you need to call + the command twice because a symbolic link may occur in the archive + before the file it points to. + + + +Here comes the long form: + + +PREFACE: + + Calling configure manually is outdated because this is a task of the + makefile system. + + You don't have to call configure with this make file system. + + Calling 'make' or 'make all' on the top level directory will create + all needed targets. Calling 'make install' will install all needed + files. + + This program uses a new makefilesystem, introduced in 1993. This + makefilesystem uses techniques and ideas from the 1980s and 1990s, + is designed in a modular way and allows sources to be combined in a + modular way. For mor information on the modular features read + README.SSPM. + + The makefilesystem is optimized for a program called 'smake' + Copyright 1985 by Jörg Schilling, but SunPro make (the make program + that comes with SunOS >= 4.0 and Solaris) as well as newer versions + of GNU make will work also. BSDmake could be made working, if it + supports pattern matching rules correctly. + + The makefile system allows simultaneous compilation on a wide + variety of target systems if the source tree is accessible via NFS. + + +Finding Compilation Results: + + To allow simultaneous compilations, all binaries and results of a + 'compilation' in any form are placed in sub-directories. This includes + automatically generated include files. Results will in general be + placed into a directory named OBJ// in the current project's + leaf directory, libraries will be placed into a directory called + libs// that is located in the source tree root directory. + + will be something like 'sparc-sunos5-cc' + + This is the main reason why simultaneous compilation is possible on + all supported platforms if the source is mounted via NFS. + + +How to compile: + + To compile a system or sub-system, simply enter 'smake', 'make' or + 'Gmake'. Compilation may be initialized at any point of the source + tree of a system. + + WARNING: If compilation is started in a sub tree, only all objects + in that sub tree will be made. This usually excludes needed libraries. + + +How to install results: + + To install the product of a compilation in your system, call: + + smake install + + at top level. The binaries will usually be installed in + /opt/schily/bin. The directory /opt// has been agreed + on by all major UNIX vendors in 1989. Unfortunately, still not all + vendors follow this agreement. + + If you want to change the default installation directory, edit the + appropriate (system dependent) files in the DEFAULTS directory + (e.g. DEFAULTS/Defaults.sunos5). + + ***** If "smake install" doesn't do anything, you are on a broken ***** + ***** File System. Remove the file INSTALL in this case (the FS ***** + ***** does not handle upper/lower case characters correctly). ***** + ***** This is true for all DOS based filesystems and for Apple's ***** + ***** HFS+ filesystem. ***** + + +Using a different installation directory: + + If your system does not yet use the standard installation path in + + /opt/ + + or if you don't like this installation directory, you can easily + change the installation directory. You may edit the DEFAULTS file + for your system and modify the macro INS_BASE. + + You may use a different installation directory without editing the + DEFAULTS files. If you like to install everything in the deprecated path + /usr/local, the next paragraph describes the procedure. + + If your make program supports to propagate make macros to sub make programs + which is the case for recent smake releases as well as for a recent gnumake: + + smake INS_BASE=/usr/local install + or + gmake INS_BASE=/usr/local install + + If your make program doesn't propagate make macros (e.g. SunPRO make), + call: + + env INS_BASE=/usr/local make -e install + + Note that INS_BASE=/usr/local needs to be specified for every operation + that compiles or links programs, as the path may be stored inside the + binaries. + + The location for the root specific configuratin files is controlled + via the INS_RBASE= make macro. The default vaulue for this macro is "/". + If you like to install global default configuration files into + /usr/local/etc instead of /etc, you need to spefify INS_RBASE=/usr/local + + Note that some binaries have $(INS_BASE) and $(INS_RBASE) compiled into. + If you like to like to modify the compiled-in path values, call: + + smake clean + smake INS_BASE=/usr/local INS_RBASE=/usr/local + + +Setting up a different Link mode: + + The following link modes are available: + + static statical linking as in historical UNIX + + dynamic dynamic linking as introduced by SunOS + in 1987, Microsoft's DLLs, ... + The knowledge on how to achieve this for + a particular platform is hidden in the + makefile system. + + profiled Linking against profiled libraries. + Profiled libraries are prepared for the + use with "gprof" (introduced by BSD in the + late 1970s). + + The makefile system sets up a default linkmode in the patform + related defaults file (typically in the file DEFAULTS/Defaults.) + in the projects root directory. This is done with the entry: + + DEFLINKMODE= + + A different linkmode may be selected at compile/link time by e.g. calling: + + smake LINKMODE=dynamic + + If there are already existing binaries, call: + + smake relink LINKMODE=dynamic + + instead. + + +Compiling a different ELF RUNPATH into the binaries: + + In order to allow binaries to work correctly even if the shared + libraries are not in the default search path of the runtime linker, + a RUNPATH needs to be set. + + The ELF RUNPATH is by default derived from $(INS_BASE). If you like to + set INS_BASE=/usr and create binaries that do not include a RUNPATH at all, + call: + + smake relink RUNPATH= + + +Using a different man path prefix: + + Manual pages are by default installed under: + + $(INS_BASE)/$(MANBASE)/man + and MANBASE=share + + If you like a different prefix for man pages, call: + + smake DEFMANBASE=something install + + to install man pages into $(INS_BASE)/something/man/* + + If you like to install man pages under $(INS_BASE)/man/*, call + + smake DEFMANBASE=. install + +Installing stripped binaries: + + If you like to install stripped binaries via "smake install", call: + + smake STRIPFLAGS=-s install + + This calls "strip" on every final install path for all executable + binaries. + +Installing to a prototype directory to implement package creation staging: + + If you like to create a prototype directory tree that is used as an + intermediate store for package creation, use the DESTDIR macro: + + smake INS_BASE=/usr/local DESTDIR=/tmp install + + This will compile in "/usr/local" as prefix into all related binaries + and then create a usr/local tree below /tmp (i.e. /tmp/usr/local). + + Note that you need to call "smake clean" before in case that the code + was previously compiled with different defaults with regards to INS_BASE + +Setting different default directory permissions for install directories: + + All directories that are created by the Schily makefile system in the + target directory path when + + smake install + + is called system use a special default 022 that is in DEFINSUMASK= + This causes all directories in the target install path to be created + with 0755 permissions. + + All other directories that are created by the Schily makefile system + use a single global default 002 that is in DEFUMASK= + + If you like to create install directories with e.g. 0775 permissions, + call: + + smake DEFINSUMASK=002 install + +Using a different C compiler: + + The *compiler family* is configured via the CCOM= make macro. This + selects a whole set of related macros that are needed to support a + specific compiler family. + + The *compiler family* usually defines a C compiler and a related + C++ compiler. + + If the configured default compiler family is not present on the current + machine, the makefilesystem will try an automatic fallback to GCC. For + this reason, in most cases, you will not need to manually select a + compiler. + + The default compiler family can be modified in the files in the + DEFAULT directory. If you want to have a different compiler family + for one compilation, call: + + make CCOM=gcc + or + make CCOM=cc + + This works even when your make program doesn't propagate make macros. + + +Creating 64 bit executables on Solaris: + + Simply call: + + make CCOM=gcc64 + or + make CCOM=cc64 + + It is not clear if GCC already supports other platforms in 64 bit mode. + As all GCC versions before 3.1 did emit hundreds of compilation + warnings related to 64 bit bugs when compiling itself, so there may be + other platforms are not supported in 64 bit mode. + +Creating executables using the Sun Studio compiler on Linux: + + Simply call: + + make CCOM=suncc + + If the compilation does not work, try: + + mkdir /opt/sunstudio12/prod/include/cc/linux + cp /usr/include/linux/types.h /opt/sunstudio12/prod/include/cc/linux + + Then edit /opt/sunstudio12/prod/include/cc/linux/types.h and remove all + lines like: "#if defined(__GNUC__) && !defined(__STRICT_ANSI__)" + as well as the related #endif. + +Creating executables using the clang compiler: + + Simply call: + + make CCOM=clang + + And in order to intentionally create 32 bit or 64 bit binaries, call: + + make CCOM=clang64 + or + make CCOM=clang64 + + +Using a different compiler binary name: + + Call: + + make CC=/opt/instrumented/bin/cc + + Note that all knowledge about the options of a compiler is derived + from the CCOM= variable, so if you like to use an instrumented gcc + variant, you may like to call: + + make CCOM=gcc CC=fluffy-gcc + + You may use CC="fluffy-gcc fluffy-gcc-specific options" if you like + to enforce specific options with the compiler. See hints on cross + compilation below. + + +Getting help from the make file system: + + For a list of targets call: + + make .help + + .help is a special target that prints help for the makefile system. + + +Getting more information on the make file system: + + The man page makefiles.4 located in man/man4/makefiles.4 contains + the documentation on general use and for leaf makefiles. + + The man page makerules.4 located in man/man4/makerules.4 contains + the documentation for system programmers who want to modify + the make rules of the makefile system. + + For further information read + + http://sf.net/projects/schilytools/files/makefiles/PortableSoftware.ps.gz + + +Hints for compilation: + + The makefile system is optimized for 'smake'. Smake will give the + fastest processing and best debugging output. + + SunPro make will work as is. GNU make need some special preparation. + + Read READMEs/README.gmake for more information on gmake. + + To use GNU make create a file called 'Gmake' in your search path + that contains: + + #!/bin/sh + MAKEPROG=gmake + export MAKEPROG + exec gmake "$@" + + and call 'Gmake' instead of gmake. On Linux, there is no gmake, the + program installed as 'make' on Linux is really a gmake. + + 'Gmake' and 'Gmake.linux' are part of this distribution. + + Some versions of gmake are very buggy. There are e.g. versions of gmake + on some architectures that will not correctly recognize the default + target. In this case, call 'make all' or '../Gmake all'. + + Note that pseudo error messages from gmake similar to: + + gmake[1]: Entering directory `cdrtools-1.10/conf' + ../RULES/rules.cnf:58: ../incs/sparc-sunos5-cc/Inull: No such file or directory + ../RULES/rules.cnf:59: ../incs/sparc-sunos5-cc/rules.cnf: No such file or directory + + are a result of a bug in GNU make. The make file system itself is + correct (as you could prove by using smake). + If your gmake version still has this bug, send a bug report to: + + "Paul D. Smith" + + He is the current GNU make maintainer. + + If you like to use 'smake', please always compile it from source. + The packages are located on: + + https://sourceforge.net/projects/s-make/files/alpha/ + + Smake has a -D flag to see the actual makefile source used + and a -d flag that gives easy to read debugging info. Use smake -xM + to get a makefile dependency list. Try smake -help + + +Compiling the project using engineering defaults: + + The defaults found in the directory DEFAULTS are configured to + give minimum warnings. This is made because many people will + be irritated by warning messages and because the GNU C compiler + will give warnings for perfectly correct and portable C code. + + If you want to port code to new platforms or do engineering + on the code, you should use the alternate set of defaults found + in the directory DEFAULTS_ENG. + You may do this permanently by renaming the directories or + for one compilation by calling: + + make DEFAULTSDIR=DEFAULTS_ENG + + Note however, that some GCC versions print a lot of wrong warnings + in this mode. Well known problems with GCC warnings are: + + - The recursive printf format "%r" that is in use since ~ 1980 + is not supported and causes a lot of incorrect warnings as + GCC does not know that "%r" takes 2 parameters. + + - The standard C construct "(void) read(fd, buf, sizeof (buf))" + is flagged by some versions of GCC even though the void cast + is a clear expression of the fact that the return code from read + is intentionally ignored. This may cause many useless warnings + for last resort error messages used in programs. + + +Compiling the project to allow debugging with dbx/gdb: + + If you like to compile with debugging information for dbx or gdb, + call: + + make clean + make COPTX=-g LDOPTX=-g + + If your debugger does not like optimized binaries, call something + like: + + make "COPTX=-g -xO0" LDOPTX=-g + or + make "COPTX=-g -O0" LDOPTX=-g + + depending on the option system used by your C compiler. + + +Compiling the project to allow performance monitoring with gprof from BSD: + + If you like to compile for performance monitoriing with gprof, + call: + + make clean + make COPTX=-xpg LDOPTX=-xpg LINKMODE=profiled + + or + make COPTX=-pg LDOPTX=-pg LINKMODE=profiled + + depending on the option system used by your C compiler. + + +Creating Blastwave packages: + + Call: + .clean + smake -f Mcsw + + You need the program "fakeroot" and will find the results + in packages/. + + Note that a single program source tree will allow you to create + packages like CSWstar but not the packages CSWschilybase and + CSWschilyutils on which CSWstar depends. + + + + + If you want to see an example, please have a look at the "star" + source. It may be found on: + + http://sourceforge.net/projects/s-tar/files/ + + Have a look at the manual page, it is included in the distribution. + Install the manual page with + + make install first and include /opt/schily/man in your MANPATH + + Note that some systems (e.g. Solaris 2.x) require you either to call + /usr/lib/makewhatis /opt/schily/man or to call + + man -F + + +Compiling in a cross compilation environment: + + The Schily autoconf system has been enhanced to support cross + compilation. Schily autoconf is based on GNU autoconf-2.13 and + GNU autoconf does not support cross compilation because it needs + to run scripts on the target system for some of the tests. + + The "configure" script that is delivered with the Schily makefile + system runs more than 770 tests and aprox 70 of them need to be + run on the target system. + + The Schily autoconf system now supports a method to run these ~70 + tests natively on a target system. You either need a target machine + with remote login features or you need an emulator with a method to + copy files into the emulated system and to run binaries on the + emulated system as e.g. the Android emulator. + + We currently deliver three scripts for "remote" execution of + programs on the target system: + + runrmt_ssh runs the commands remove via ssh + runrmt_rsh runs the commands remove via rsh + runrmt_android runs the commands remove via the debug bridge + + If you need to remotely run programs on a system that is not + supported by one of there three scripts, you need to modify one + of them to match your needs. + + To enable Cross Compilation use the following environment variables: + + CONFIG_RMTCALL= Set up to point to a script that does + the remote execution, e.g.: + + CONFIG_RMTCALL=`pwd`/conf/runrmt_ssh + + CONFIG_RMTHOST= Set up to point to your remote host, e.g.: + + CONFIG_RMTHOST=hostname + or + CONFIG_RMTHOST=user@hostname + + use a dummy if you like to use something + like the Android emulator. + + CONFIG_RMTDEBUG= Set to something non-null in order to + let the remote execution script mark + remote comands. This will result in + configure messages like: + + checking bits in minor device number... REMOTE 8 + + If you cannot run commands on the target + platform, you may set: + + CONFIG_RMTDEBUG=true + CONFIG_RMTCALL=: + + carefully watch for the "REMOTE" flagged test + output and later manually edit the file: + + incs//xconfig.h + + Do not forget to manually edit the files: + + incs//align.h + and + incs//avoffset.h + + Note that smake includes automake features that automatically + retrieve system ID information. For this reason, you need to overwrite + related macros from the command line if you like to do a + cross compilation. + + Related make macros: + + K_ARCH= # (sun4v) Kernel ARCH filled from uname -m / arch -k + M_ARCH= # (sun4) Machine filled from arch + P_ARCH= # (sparc) CPU ARCH filled from uname -p / mach + OSNAME= # sunos, linux, .... + OSREL= # 5.11 + OSVERSION= # snv_130 + CCOM= # generic compiler name (e.g. "gcc") + CC= # compiler to call (name for binary) + CC_COM= # compiler to call (name + basic args) + + ARCH= overwrites M_ARCH and P_ARCH + + It is usually suffucient to set ARCH and OSNAME. + + In order to use a cross compiler environment instead of a native compiler, + set the make macro CC_COM or CC to something different than "cc". + + If you are on Linux and like to compile for Android, do the following: + + 1) set up CC acording to the instructions from the cross compiler + tool chain. Important: you need to read the information for your + tool chain. A working setup may look similar to: + + NDK=/home/joerg/android-ndk-r7 + SYSROOT=\$NDK/platforms/android-14/arch-arm + CC="\$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=\$SYSROOT" + export NDK + export SYSROOT + export CC + + + 2) set environment variables CONFIG_RMTCALL / CONFIG_RMTHOST, e.g.: + setenv CONFIG_RMTCALL `pwd`/conf/runrmt_android + setenv CONFIG_RMTHOST NONE + + 3) call smake: + + smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC_COM=$CC" + + or + + smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC=$CC" + + +Compiling with the address sanitizer: + + Be careful with a compiler enhancement called "addess sanitizer". + + First a note: the address sanitizer needs a lot of memory when in + 64-bit mode. For this reason, it is recommended to run the tests + in 32-bit mode as it may be impossible to provdie a sufficient amount + of memory for the 64-bit mode. + + 1) The address sanitizer may cause autoconf to behave incorrectly in + case that the compiler options used by the "configure" run include the + address sanitizer. It seems that in addition, the address sanitizer + adds more libraries to the link list and as a result prevents + the correct autoconf decision on whether a specific library from + a "configure" test is needed by some binaries. + + If you are not sure about the current state of the source tree, start + with calling: + + ./.clean + + in the top level source directory. This makes the source tree to behave + as if if was recently unpacked from the tar archive. + + Then run run e.g.: + + cd inc/ + smake CCOM=gcc32 + cd .. + + to prepare the auto-configuration without using the address sanitizer. + This special treatment is needed as the assumptions in the address + sanitizer would not allow us to run the autoconfiguration code + correctly. + + 2) The address sanitizer by default ignores installed SIGSEGV handlers + and thus ignores the intention of the author of the code. + + The correct behavior may be switched on via setting the environment + variable: + + ASAN_OPTIONS=allow_user_segv_handler=true + + As a redult, the command line to compile the code after the + auto-configuration has been done as mentioned above is: + + ASAN_OPTIONS=allow_user_segv_handler=true smake CCOM=gcc32 COPTX="-g -O0 -fsanitize=address" LDOPTX="-g -fsanitize=address" + + 3) If you are on Linux, do not forget to call "ulimit -c unlimited", + before calling the binary. This is needed as the default on Linux is + not to create a core file. + + 4) Set the environment ASAN_OPTIONS= for the execution of the binary + to control the behavior of the Address Sanitizer while the binary + is run. + + If you like to disable the memory leak detection because your program + is a short running program that intentionally does not free() resources + before calling exit(), use: + + ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0 + + If you also like to get a core dump on error to debug, you may like + to use: + + ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0:abort_on_error=1 + + Note that the Address Sanitizer disables the creation of a core file + for 64 bit binaries as the tables used by the Address Sanitizer may + cause the core file to have a size of 16 TB. + + +Compiling with the "Americal fuzzy lop": + + Follow the instruction from above for the address sanitizer, but + use this command line to call the compiler: + + ASAN_OPTIONS=allow_user_segv_handler=true AFL_HARDEN=1 AFL_USE_ASAN=1 smake CC=afl-gcc CCOM=gcc32 + + +Author: + +Joerg Schilling +Seestr. 110 +D-13353 Berlin +Germany + +Email: joerg@schily.isdn.cs.tu-berlin.de, js@cs.tu-berlin.de + joerg.schilling@fokus.fraunhofer.de + +Please mail bugs and suggestions to me. diff --git a/LGPL-2.1.txt b/LGPL-2.1.txt new file mode 100644 index 0000000..5ab7695 --- /dev/null +++ b/LGPL-2.1.txt @@ -0,0 +1,504 @@ + 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/MKNOD.hpux b/MKNOD.hpux new file mode 100755 index 0000000..8795acc --- /dev/null +++ b/MKNOD.hpux @@ -0,0 +1,56 @@ +#!/bin/sh +################################################################ +# make SCSI device files according to: man scsi_ctl +# +# Copyright (c) 1997 J. Schilling +################################################################ +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +################################################################ + +mknod="echo mknod" +mkdir="echo mkdir -p" +chmod="echo chmod" + +mknod="/usr/sbin/mknod" +mkdir="mkdir -p" +chmod="chmod" + +scsi=/dev/scsi +rscsi=/dev/rscsi + +${mkdir} ${scsi} +${mkdir} ${rscsi} + +bus=0 +target=0 +lun=0 + +for bus in 0 1 2 3 4 5 6 7 8 9 a b c d e f; do + for target in 0 1 2 3 4 5 6 7 8 9 a b c d e f; do + for lun in 0 1 2 3 4 5 6 7; do +# +# Newer HP-UX versions seem to have +# /dev/rscsi/citxdy +# but it uses the "non-raw" interface type +# dev=c${bus}t${target}d${lun} +# We follow the HP-UX documentation and create +# /dev/rscsi/citxty with the raw bit set + + dev=c${bus}t${target}l${lun} + + $mknod ${scsi}/${dev} c 203 0x${bus}${target}${lun}00 + $chmod 0600 ${scsi}/${dev} + + $mknod ${rscsi}/${dev} c 203 0x${bus}${target}${lun}02 + $chmod 0600 ${rscsi}/${dev} + done + done +done diff --git a/MKNOD.hpux-800 b/MKNOD.hpux-800 new file mode 100755 index 0000000..f439412 --- /dev/null +++ b/MKNOD.hpux-800 @@ -0,0 +1,92 @@ +#!/bin/sh +################################################################ +# mk node boot script for HP9000 800 series following man scsi_pt +# +# This script is provided WITHOUT ANY WARRANTY. +################################################################ + +PATH=/sbin:/usr/sbin:/usr/bin:. +export PATH + +case $1 in + +start_msg) + echo "Creating SCSI passthru (spt) driver nodes" + ;; + +stop_msg) + echo "Removing SCSI passthru (spt) driver nodes" + ;; + +start) + + hpser=`uname -m | awk -F / '{print substr($2, 1, 1);}'` + if [ $hpser -ne "8" ]; then + echo "spt driver only needed on HP 9000/800 series." + exit 0 + fi + + #mknod="echo mknod" + #mkdir="echo mkdir -p" + #chmod="echo chmod" + + mknod="/usr/sbin/mknod" + mkdir="mkdir -p" + chmod="chmod" + + sptlist="/tmp/spt.$$" + echo "Searching SCSI passthru drivers (spt) ..." + ioscan -kf -d spt | sed '1,2d' | awk '{print $3;}' > $sptlist + nctl=`wc -l < $sptlist` + echo "... found $nctl" + + if [ ! -s $sptlist ]; then + rm -f $sptlist + exit 0 + fi + + scsi=/dev/scsi + ${mkdir} ${scsi} + + rscsi=/dev/rscsi + ${mkdir} ${rscsi} + + cmajor=`lsdev -h -d spt | awk '{print $1;}'` + + for line in `cat $sptlist` ; do + + ctl=`echo $line | awk -F . '{print $1;}'` + bus=`ioscan -f -k -H $ctl -C ext_bus | sed '1,2d' | awk '{print $2;}'` + tgt=`echo $line | awk -F . '{print $2;}'` + hextgt=`printf "%x" $tgt` + + # make first scsi nodes + name="${scsi}/c${bus}t${tgt}l0" + echo "Creating $name" + ${mknod} $name c $cmajor 0x${bus}${hextgt}000 > /dev/null 2>&1 + ${chmod} 0600 $name > /dev/null 2>&1 + + # then rscsi nodes + rname="${rscsi}/c${bus}t${tgt}l0" + echo "Creating $rname" + # Old version, not working! + #${mknod} $rname c $cmajor 0x${bus}${hextgt}020 > /dev/null 2>&1 + ${mknod} $rname c $cmajor 0x${bus}${hextgt}000 > /dev/null 2>&1 + ${chmod} 0600 $rname > /dev/null 2>&1 + done + + rm -f $sptlist + exit 0 + + ;; + +stop) + ;; + +*) + echo usage: $0 "{start|stop}" + ;; +esac + +exit 0 + diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..435ca8f --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for the source root +########################################################################### +SRCROOT= . +DIRNAME= SRCROOT +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +# +# include Targetdirs no longer needed, we use SSPM +#include Targetdirs + +########################################################################### +# Due to a bug in SunPRO make we need special rules for the root makefile +# +include $(SRCROOT)/$(RULESDIR)/rules.rdi +########################################################################### diff --git a/Mcsw b/Mcsw new file mode 100644 index 0000000..135b31a --- /dev/null +++ b/Mcsw @@ -0,0 +1,49 @@ +#ident @(#)Mcsw 1.4 11/09/28 +########################################################################### +deftgt: +SRCROOT= . +DIRNAME= SRCROOT +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +#include $(SRCROOT)/TARGETS/Targetdirs_s +#DIRS= lib/.aonly libdeflt libscg libedc + +PROJECTNAME= CSWschily-10.06.2006 +TARGET_AR= opt-schily-0.99 +INS_BASE= /opt/csw +COPTX="-DSEEK_DATA=3 -DSEEK_HOLE=4 -D_PC_MIN_HOLE_SIZE=21 -DNO_DOIT -DNO_DEFAULTS_PATH" +PKG_TYPE=CSW + +deftgt: + $(MAKE) -f Mcsw INS_BASE=$(INS_BASE) COPTX=$(COPTX) all + $(MAKE) -f Mcsw INS_BASE=$(INS_BASE) COPTX=$(COPTX) all + #$(MAKE) -f Mcsw INS_BASE=/ COPTX=$(COPTX) pkg1 + $(MAKE) -f Mcsw INS_BASE=$(INS_BASE) COPTX=$(COPTX) pkg1 + fakeroot '$(MAKE) -f Mcsw INS_BASE=$(INS_BASE) COPTX=$(COPTX) package PKGTYPE=$(PKG_TYPE)' + +STRIPLIST= ./$(INS_BASE)/*bin/* ./$(INS_BASE)/ccs/bin/* +STRIPXLIST= ./$(INS_BASE)/lib/*.so.* +MCSLIST= $(STRIPLIST) $(STRIPXLIST) +MAKE_FILE= -f Mcsw +PRE_INST_CMDS= mkdir -p etc/default +POST_INST_CMDS= mkdir -p usr/bin; \ + (cd usr/bin; ln -s ../../$(INS_BASE)/bin/* . ; rm -f cut paste label tar mt); \ + mkdir -p usr/ccs/bin; +POST_STRIP_CMDS= chmod -f u=rwx,g=x,o=x,u+s \ + ./$(INS_BASE)/bin/readcd ./$(INS_BASE)/bin/cdda2wav \ + ./$(INS_BASE)/bin/smt ./$(INS_BASE)/bin/sdd \ + ./$(INS_BASE)/bin/star ./$(INS_BASE)/bin/cdrecord \ + ./$(INS_BASE)/sbin/rscsi ;\ + chmod -f u=rx,g=rx,o=rx ./$(INS_BASE)/lib/lib*.so.* + +#POST_STRIP_CMDS= chmod u=rx,g=rx,o=rx ./$(INS_BASE)/lib/lib*.so.* + +########################################################################### +# Due to a bug in SunPRO make we need special rules for the root makefile +# +#include $(SRCROOT)/$(RULESDIR)/rules.tpk +include $(SRCROOT)/$(RULESDIR)/rules.pkg +include $(SRCROOT)/$(RULESDIR)/rules.rdi +########################################################################### diff --git a/Mocsw b/Mocsw new file mode 100644 index 0000000..118ec7a --- /dev/null +++ b/Mocsw @@ -0,0 +1,21 @@ +#ident "@(#)Mocsw 1.4 13/06/19 " +########################################################################### +deftgt: +SRCROOT= . +DIRNAME= SRCROOT +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +USER_NAME :sh= /usr/ucb/whoami || whoami +HOST_NAME :sh= uname -n +DATE :sh= date '+%Y%m%d%H%M%S' + + +deftgt $(ALLTARGETS): + $(MAKE) -f Mcsw DEFAULTSDIR=DEFAULTS_CSW EMAIL=joerg@opencsw.org \ + HOTLINE=http://www.opencsw.org/bugtrack/ \ + PKG_TYPE=OCSW \ + PKGOPTX=PSTAMP=$(USER_NAME)@$(HOST_NAME)-$(DATE) \ + LDOPTX=-Bdirect \ + $@ diff --git a/PORTING b/PORTING new file mode 100644 index 0000000..f8ebdad --- /dev/null +++ b/PORTING @@ -0,0 +1,144 @@ +Porting FAQ for SING (Schily Is Not Gnu) utilities. + +- The base for porting is the makefile system. + Always look into: + + https://sourceforge.net/projects/schilytools/files/makefiles/ + + for a version that might be newer than the one used + inside the program that should be ported. + + If you want to know more about the makefile system, + read the man pages makefiles4 and makerules.4, + they are located in man/man4/* + + to convert a manpage troff->postscript use: + gtroff -man file.tr | grops > file.ps + + to convert a manpage troff->Terminal use: + nroff -man file.tr | more -s + + +- To be able to use the makefile system, you need a + make program that meets the minimum requirements + for a make program (see makerules(4) man page) + Currently, the following make programs meet this + minimum requirements: Smake (my program), SunPro Make and Gmake + + A good idea is to first compile 'smake' if you don't + have it already. + + The smake source can be found on: + + https://sourceforge.net/projects/s-make/files/ + or + https://sourceforge.net/projects/s-make/files/alpha/ + + for the most recent version. + +- To be able to use the makefile system with gmake, + the operating system must have a command named 'uname'. + If not, you have to provide it as a shell script. + + +1) If you are using smake release 1.1 or newer and + a recent makefile system, the next step should be done + automagically (smake-1.1 or newer implement a -version + option to retrieve the version number). + + If you are using gmake, you need to do this by hand. + + First step for adding a new architecture is creating + the appropriate rule files in the RULES directory: + + RULES/os-{newos}.id For OS identification + RULES/os-{newos}.def For OS definition (man style) + RULES/{newarch}-{newos}-cc.rul + RULES/{newarch}-{newos}-gcc.rul + + And create a file: + + DEFAULTS/Defaults.{newos} + + Have a look in similar files for a template. + + If the files hae been generated automagically by smake, + please check the content and mail me a working set for your OS. + +2) All C-porting control is located in include/mconfig.h + and in the file incs/{newarch}-{newos}-{cc!gcc}/xconfig.h + The later file is created automatically using GNU + configure. The File conf/xconfig.h.in contains all + templates and comments for the various things that are tested. + + In any case, it is recommended to carefully watch the + outout from the 'configure' run (which is automatically + started from within 'make'). You may also wish to check all + files that are created in the directory + incs/{newarch}-{newos}-{cc!gcc}/ + +3) Everything should compile now. + If not, try to hack the files and mail me your problems. + + You should have a closer look at the sources as it may be that + the first attempt to port a utility will not support + all possible features of the new OS. + If your OS supportes these features in a non standard way, + you need to hack conf/configure.in and the source and add + support for the non standard behaviour of your OS. + + This is definitely recommended if you want to port programs + like 'cdrecord' 'star' and similar which need fork(2) and + mmap(2) or setprioriry(2) or if you check programs on + non POSIX operating systems like W95/W98/WNT OS/2 and + similar. + + +Notice for porting tools, that use the SCSI library libscg: + +I) Cdrecord should compile at this moment if you are using + a new architecture. The SCSI transport however will not work. + Check this! + + All files that contain low level code for SCSI transport are + located in the directory libscg/ + +II) Implementing a SCSI Transport Layer for your architecture: + + You need to add a new block into scsihack.c that will add + support for your OS. Copy the block: + + #ifdef __NEW_ARCHITECTURE + #define SCSI_IMPL /* We have a SCSI implementation for XXX */ + /* + * Add new hacks here + */ + #include "scsi-new-arch.c" + #endif + + and rename __NEW_ARCHITECTURE to reflect your new architecture. + + Add a new file that will be called scsi-{newarch}.c + Have a look into scsi-linux-sg.c for a template how to do this. + + More hints for writing the needed SCSI low level transport functions + is in: + + http://sourceforge.net/projects/cdrtools/files/READMEs/README.scsi-IF + +4) Test your ported program. + +5) You may check other programs from me to see if everything compiles + and works. + +6) Send me your changes + +Joerg Schilling + +joerg.schilling@fokus.fraunhofer.de +joerg@schily.isdn.cs.tu-berlin.de +js@cs.tu-berlin.de + + + + diff --git a/README b/README new file mode 100644 index 0000000..9302b1d --- /dev/null +++ b/README @@ -0,0 +1,5 @@ +For more information, see the README file in the directories + +cdda2wav cdrecord mkisofs and in the directory "READMEs". + +Or check other directories for README files. diff --git a/README.BSDi b/README.BSDi new file mode 100644 index 0000000..88d1c99 --- /dev/null +++ b/README.BSDi @@ -0,0 +1,12 @@ +It seems that some include files that are needed to compile +e.g. the SCSI transport stuff are only present if you install +the kernel building stuff. + +If you have problems to compile because some include files are +missing, look into /sys and verify if all files are present or +(if they are symlinks) point to present files. + +There is no working mapping between the SCSI bus,target,lun +notation and device node names. To use a SCSI device, you need +to specify dev=devname:@,lun e.g. dev=/dev/rsr0a:@,0 + diff --git a/README.FreeBSD b/README.FreeBSD new file mode 100644 index 0000000..d005a65 --- /dev/null +++ b/README.FreeBSD @@ -0,0 +1,95 @@ +Important notice for ATAPI support on FreeBSD: + +A long time it was not possible to decently write CD's using ATAPI drives +on FreeBSD because ATAPI was not supported in an orthogonal way on FreeBSD. + +These days (in the mid of november 2001) first ATAPI support for FreeBSD is +available as patch. Please read: + +http://www.freebsd.org/cgi/getmsg.cgi?fetch=136602+0+/usr/local/www/db/text/2001/freebsd-current/20011111.freebsd-current + +and get the FreeBSD kernel patch from: + +http://www.cuivre.fr.eu.org/~thomas/atapicam/ + +Thanks to Thomas Quinot for the patch. + +We tested the patch with a collegue today (23.11.2001), here is the result: + +- From our tests, it compiles with FreeBSD 4.x and FreeBSD current (5.0) + but does not boot with FreeBSD current so we used 4.x for our tests + I hope that Thomas Quinot and + Kenneth D. Merry will help to make it work with + FreeBSD current soon. + +- The Author of the patch, Thomas Quinot , observed + that it runs on *some* -CURRENT machines and hangs on *some* -STABLE + machines so you may want to test what works best for you. + +- It does not run the SCSI commands in silent mode so the ATAPI low level + code prints unwanted kernel messages when you start cdrecord. + +- cdrecord runs without problems so far it has been tested! + +You need to apply the patch, change your kernel configuration to include + +options ATAPICAM + +and then recompile install and boot the new kernel. +Make enough /dev/pass* devices and start testing..... + +/*--------------------------------------------------------------------------*/ +From shamrock@cypherpunks.to Mon May 3 07:35:50 1999 +Received: from pakastelohi.cypherpunks.to (pakastelohi.cypherpunks.to [212.26.192.194]) + by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id HAA18680 + for ; Mon, 3 May 1999 07:35:48 +0200 (MET DST) +Received: from localhost (shamrock@localhost) + by pakastelohi.cypherpunks.to (8.9.1a/8.9.1) with SMTP id HAA26150 + for ; Mon, 3 May 1999 07:35:44 +0200 (CEST) +Date: Mon, 3 May 1999 07:35:44 +0200 (CEST) +From: Lucky Green +To: schilling@fokus.gmd.de +Subject: Re: Cdrecord "RR-scheduler not available" (fwd) +Message-ID: +MIME-Version: 1.0 +Content-Type: TEXT/PLAIN; charset=US-ASCII +Status: R +Content-Length: 1423 + +Schily, +Please add the following info to your readme for FreeBSD. Enabling POSIX +scheduling as described below does in fact make the error message go away. + +Thanks, +-- Lucky Green PGP v5 encrypted email preferred. + +---------- Forwarded message ---------- +Date: Sun, 2 May 1999 14:46:57 +0200 (SAT) +From: Khetan Gajjar +Reply-To: Khetan Gajjar +To: Lucky Green +Cc: freebsd-questions@FreeBSD.ORG +Subject: Re: Cdrecord "RR-scheduler not available" + +On Sat, 1 May 1999, Lucky Green wrote: + +>Having spent a week on trying to get an ATAPI CD burner working, I saw the +>light and purchased a SCSI-based burner. It burns, but I am getting an +>error about the RR-scheduler not being available. What is an RR-scheduler +>and how do I make it available? (If I even need it....) + +Enable the Posix scheduling stuff in your kernel; you'll produce +more reliable burns at higher speeds if your machine is busy +(well, that's been my experience) + +options "P1003_1B" +options "_KPOSIX_PRIORITY_SCHEDULING" +options "_KPOSIX_VERSION=199309L" +--- +Khetan Gajjar (!kg1779) * khetan@iafrica.com ; khetan@os.org.za +http://www.os.org.za/~khetan * Talk/Finger khetan@chain.freebsd.os.org.za +FreeBSD enthusiast * http://www2.za.freebsd.org/ +Security-wise, NT is a OS with a "kick me" sign taped to it + + + diff --git a/README.NetBSD b/README.NetBSD new file mode 100644 index 0000000..dcfb901 --- /dev/null +++ b/README.NetBSD @@ -0,0 +1,21 @@ +NOTE: you should also read README.xxxBSD + +Cdrecord now supports ATAPI drives on NetBSD + +The sparc hostadapter driver software in NetBSD has a bug: + +An internal copy of the SCSI status byte will never be updated. +However, this internal copy is always returned so the +SCSI library always believes that an error occurred. + +As this implementation bug makes it impossible to sense +other error/exception conditions the driver needs to be fixed. + +As a workaround you can activate a hack in the file scsi-bsd.c +by using + +./Gmake COPTX=-DBSD_SCSI_SENSE_BUG + +to compile cdrecord + +Jörg diff --git a/README.OpenBSD b/README.OpenBSD new file mode 100644 index 0000000..2da9e83 --- /dev/null +++ b/README.OpenBSD @@ -0,0 +1,47 @@ +On OpenBSD releases between December 11th and December 30th 2002 +there is a bug in /usr/include/ctype.h, it #defines EOF ignoring +POSIX rules. As the schily make environment relies on EOF as an +indicator to check whether stdio.h has been included, there may +be problems to compile things. If you find compile problems, +you may try to include + +#undef EOF + +directly after #include + +Cdrecord has been tested and known to work on OpenBSD, however, +the current OpenBSD port will not be able to scan the SCSI bus +for a CD-Recorder as it does on other operating systems. + +In other words, 'cdrecord -scanbus' most likely will not work. + +Both regular SCSI and ATAPI devices are supported. For ATAPI support +you need OpenBSD-2.6 or newer. + +Libscg sends Generic scsi commands that are only supported for the +"whole disk" partition. For example, 'cdrecord dev=/dev/rcd0c -checkdrive'. +See the cd(4), atapiscsi(4), and cdrecord(1) manpages for more details. + +There are at least two ways to figure out what SCSI CD devices are +on the machine: + + From /var/run/dmesg.boot: + $ egrep "^cd.+ at scsibus" /var/run/dmesg.boot + cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable + cd1 at scsibus1 targ 0 lun 0: SCSI0 5/cdrom removable + + From sysctl: + $ sysctl hw.disknames + hw.disknames = wd0,cd0,cd1,fd0 + +In these examples, 'cd0' and 'cd1' are the SCSI CD devices on the +system, and they should be accessed by '/dev/rcd0c' and '/dev/rcd1c', +respectively. + +In December 2002 there have been reports that the atapiscsi(4) driver has +some bugs that may cause cdrecord to hang for a while. While this is +annoying, it is harmless. The command will eventually timeout (the default +timeout is 40 seconds, but can be changed with timeout=%d). Trying to kill +the "hung" process may leave the device unusable until the system is rebooted +(which would be another bug of the atapiscsi(4) driver as killing a process +should do all necessary housekeeping for the dead process), so just be patient. diff --git a/README.QNX b/README.QNX new file mode 100644 index 0000000..918896d --- /dev/null +++ b/README.QNX @@ -0,0 +1,3 @@ +To compile on QNX you will need smake-1.2a3 or later. +It looks like GNUmake has a bug that prevents a compilation +using GNUmake. diff --git a/README.SSPM b/README.SSPM new file mode 100644 index 0000000..fa613b8 --- /dev/null +++ b/README.SSPM @@ -0,0 +1,51 @@ + A new milestone in modular portable programming is ready! + +The "Slottable Source Plugin Module" system (SSPM) is an idea that +really is more than 3 years old but I was hesitating to announce it +earlier. Now I can tell you that the new makefile system has been +under test during the last 6 months and nobody complained about any +problem caused by the SSPM. + +The portability overhead is currently about 2 MB. This turns a medium +sized application like 'star' which is about 500 kB of pure source +into a packet that is 5x as big as the pure source size. + +As all my applications are based on the Schily SING makefile system +and share a common portability base it makes sense to share the +advantages of the Schily makefile system with all users. + +Simple ideas like the SSPM are usually hard to understand by people +from outside, so I try to describe the new system by giving you an +example on how it is used: + +-------------------- +You may test the new system by first downloading the latest +cdrtools package + + https://sourceforge.net/projects/cdrtools/files/alpha/ + +Then unpack the source tarball, chdir into the top level +directory of the cdrtools package. Run 'make' and wait until the +compilation has finished. + +So far, there is nothing new (except that some people may recognize +that this is a 'smooth' fully integrated compilation and you don't need +to call 'configure'. + +Now, to understand what a "Slottable Source Plugin Module" is, fetch +another source. There is currently only one demo source that is ready +for testing: + + http://sourceforge.net/projects/s-tar/files/star-1.4-sspm.tar.gz + +Unpack this tarball in the top level directory of cdrtools and +call 'make' again. The Schily makefile system does recognize that there +is additional (uncompiled) source and will compile these new parts. +As there is no need to run 'configure' again, compilation of the +additional 'star' sources is much faster than the compilation of the +complete 'star' source package would take. + +To understand how the "Slottable Source Plugin Module" system works, +have a look into the TARGETS directory..... + +------------------- diff --git a/README.apple b/README.apple new file mode 100644 index 0000000..3ba5556 --- /dev/null +++ b/README.apple @@ -0,0 +1 @@ +For CD-Recording please read the README.volmgt too. diff --git a/README.compile b/README.compile new file mode 100644 index 0000000..8de1994 --- /dev/null +++ b/README.compile @@ -0,0 +1,764 @@ +# @(#)README.compile 1.35 17/11/28 Copyright 1997-2017 J. Schilling + +Short overview for those who don't read manuals: + + Calling configure manually is outdated because this is a task of the + makefile system. + + There is no 'configure', simply call 'make' on the top level + directory. + + ***** If this does not work for you, read the rest if this file ***** + ***** If you have any problem, also first read the topic specific ***** + ***** README.* files (e.g. README.linux for Linux problems). ***** + + All results in general will be placed into a directory named + OBJ// in the current projects leaf directory. + + You **need** either the Schily "smake" program, the SunPRO make + from /usr/bin/make (SunOS 4.x) or /usr/ccs/bin/make (SunOS 5.x) + or GNU make to compile this program. Read READMEs/README.gmake for + more information on gmake and a list of the most annoying bugs in gmake. + + All other make programs are either not smart enough or have bugs. + + My "smake" source is at: + + https://sourceforge.net/projects/s-make/files/ + + It is easy to compile and doesn't need a working make program + on your machine. If you don't have a working "make" program on the + machine where you like to compile "smake" read the file "BOOTSTRAP". + + If you have the choice between all three make programs, the + preference would be + + 1) smake (preferred) + 2) SunPRO make + 3) GNU make (this is the last resort) + + Important notice: "smake" that comes with SGI/IRIX will not work!!! + This is not the Schily "smake" but a dumb make program from SGI. + + ***** If you are on a platform that is not yet known by the ***** + ***** Schily makefilesystem you cannot use GNU make. ***** + ***** In this case, the automake features of smake are required. ***** + + Note that GNU make has major bugs on various platforms and thus cannot + be used at all on VMS and OS/2. GNU make on Cygwin causes problems + because it does not deal with spaces and newlines correctly. + + Please read the README's for your operating system too. + + WARNING + Do not use 'mc' to extract the tar file! + All mc versions before 4.0.14 cannot extract symbolic links correctly. + + The versions of WinZip that support tar archives cannot be used either. + The reason is that they don't support symbolic links. + Star and Gnutar do support symbolic links even on win32 systems. + To support symbolic links on win32, you need to link with the + Cygwin32 POSIX library. + + To unpack an archive, use: + + gzip -d < some-arch.tar.gz | tar xpf - + + Replace 'some-arch.tar.gz' by the actual archive name. + + If your platform does not support hard links or symbolic links, you + first need to compile "star" and then call: + + star -xp -copy-links < some-arch.tar.gz + + If your platform does not support hard links but supports + symbolic links, you only need to call the command above once. + If your platform does not support symbolic links, you need to call + the command twice because a symbolic link may occur in the archive + before the file it points to. + + + +Here comes the long form: + + +PREFACE: + + Calling configure manually is outdated because this is a task of the + makefile system. + + You don't have to call configure with this make file system. + + Calling 'make' or 'make all' on the top level directory will create + all needed targets. Calling 'make install' will install all needed + files. + + This program uses a new makefilesystem, introduced in 1993. This + makefilesystem uses techniques and ideas from the 1980s and 1990s, + is designed in a modular way and allows sources to be combined in a + modular way. For mor information on the modular features read + README.SSPM. + + The makefilesystem is optimized for a program called 'smake' + Copyright 1985 by Jörg Schilling, but SunPro make (the make program + that comes with SunOS >= 4.0 and Solaris) as well as newer versions + of GNU make will work also. BSDmake could be made working, if it + supports pattern matching rules correctly. + + The makefile system allows simultaneous compilation on a wide + variety of target systems if the source tree is accessible via NFS. + + +Finding Compilation Results: + + To allow simultaneous compilations, all binaries and results of a + 'compilation' in any form are placed in sub-directories. This includes + automatically generated include files. Results will in general be + placed into a directory named OBJ// in the current project's + leaf directory, libraries will be placed into a directory called + libs// that is located in the source tree root directory. + + will be something like 'sparc-sunos5-cc' + + This is the main reason why simultaneous compilation is possible on + all supported platforms if the source is mounted via NFS. + + +How to compile: + + To compile a system or sub-system, simply enter 'smake', 'make' or + 'Gmake'. Compilation may be initialized at any point of the source + tree of a system. + + WARNING: If compilation is started in a sub tree, only all objects + in that sub tree will be made. This usually excludes needed libraries. + + +How to install results: + + To install the product of a compilation in your system, call: + + smake install + + at top level. The binaries will usually be installed in + /opt/schily/bin. The directory /opt// has been agreed + on by all major UNIX vendors in 1989. Unfortunately, still not all + vendors follow this agreement. + + If you want to change the default installation directory, edit the + appropriate (system dependent) files in the DEFAULTS directory + (e.g. DEFAULTS/Defaults.sunos5). + + ***** If "smake install" doesn't do anything, you are on a broken ***** + ***** File System. Remove the file INSTALL in this case (the FS ***** + ***** does not handle upper/lower case characters correctly). ***** + ***** This is true for all DOS based filesystems and for Apple's ***** + ***** HFS+ filesystem. ***** + + +Using a different installation directory: + + If your system does not yet use the standard installation path in + + /opt/ + + or if you don't like this installation directory, you can easily + change the installation directory. You may edit the DEFAULTS file + for your system and modify the macro INS_BASE. + + You may use a different installation directory without editing the + DEFAULTS files. If you like to install everything in the deprecated path + /usr/local, the next paragraph describes the procedure. + + If your make program supports to propagate make macros to sub make programs + which is the case for recent smake releases as well as for a recent gnumake: + + smake INS_BASE=/usr/local install + or + gmake INS_BASE=/usr/local install + + If your make program doesn't propagate make macros (e.g. SunPRO make), + call: + + env INS_BASE=/usr/local make -e install + + Note that INS_BASE=/usr/local needs to be specified for every operation + that compiles or links programs, as the path may be stored inside the + binaries. + + The location for the root specific configuratin files is controlled + via the INS_RBASE= make macro. The default vaulue for this macro is "/". + If you like to install global default configuration files into + /usr/local/etc instead of /etc, you need to spefify INS_RBASE=/usr/local + + Note that some binaries have $(INS_BASE) and $(INS_RBASE) compiled into. + If you like to like to modify the compiled-in path values, call: + + smake clean + smake INS_BASE=/usr/local INS_RBASE=/usr/local + + +Setting up a different Link mode: + + The following link modes are available: + + static statical linking as in historical UNIX + + dynamic dynamic linking as introduced by SunOS + in 1987, Microsoft's DLLs, ... + The knowledge on how to achieve this for + a particular platform is hidden in the + makefile system. + + profiled Linking against profiled libraries. + Profiled libraries are prepared for the + use with "gprof" (introduced by BSD in the + late 1970s). + + The makefile system sets up a default linkmode in the patform + related defaults file (typically in the file DEFAULTS/Defaults.) + in the projects root directory. This is done with the entry: + + DEFLINKMODE= + + A different linkmode may be selected at compile/link time by e.g. calling: + + smake LINKMODE=dynamic + + If there are already existing binaries, call: + + smake relink LINKMODE=dynamic + + instead. + + +Compiling a different ELF RUNPATH into the binaries: + + In order to allow binaries to work correctly even if the shared + libraries are not in the default search path of the runtime linker, + a RUNPATH needs to be set. + + The ELF RUNPATH is by default derived from $(INS_BASE). If you like to + set INS_BASE=/usr and create binaries that do not include a RUNPATH at all, + call: + + smake relink RUNPATH= + + +Using a different man path prefix: + + Manual pages are by default installed under: + + $(INS_BASE)/$(MANBASE)/man + and MANBASE=share + + If you like a different prefix for man pages, call: + + smake DEFMANBASE=something install + + to install man pages into $(INS_BASE)/something/man/* + + If you like to install man pages under $(INS_BASE)/man/*, call + + smake DEFMANBASE=. install + +Installing stripped binaries: + + If you like to install stripped binaries via "smake install", call: + + smake STRIPFLAGS=-s install + + This calls "strip" on every final install path for all executable + binaries. + +Installing to a prototype directory to implement package creation staging: + + If you like to create a prototype directory tree that is used as an + intermediate store for package creation, use the DESTDIR macro: + + smake INS_BASE=/usr/local DESTDIR=/tmp install + + This will compile in "/usr/local" as prefix into all related binaries + and then create a usr/local tree below /tmp (i.e. /tmp/usr/local). + + Note that you need to call "smake clean" before in case that the code + was previously compiled with different defaults with regards to INS_BASE + +Setting different default directory permissions for install directories: + + All directories that are created by the Schily makefile system in the + target directory path when + + smake install + + is called system use a special default 022 that is in DEFINSUMASK= + This causes all directories in the target install path to be created + with 0755 permissions. + + All other directories that are created by the Schily makefile system + use a single global default 002 that is in DEFUMASK= + + If you like to create install directories with e.g. 0775 permissions, + call: + + smake DEFINSUMASK=002 install + +Using a different C compiler: + + The *compiler family* is configured via the CCOM= make macro. This + selects a whole set of related macros that are needed to support a + specific compiler family. + + The *compiler family* usually defines a C compiler and a related + C++ compiler. + + If the configured default compiler family is not present on the current + machine, the makefilesystem will try an automatic fallback to GCC. For + this reason, in most cases, you will not need to manually select a + compiler. + + The default compiler family can be modified in the files in the + DEFAULT directory. If you want to have a different compiler family + for one compilation, call: + + make CCOM=gcc + or + make CCOM=cc + + This works even when your make program doesn't propagate make macros. + + +Creating 64 bit executables on Solaris: + + Simply call: + + make CCOM=gcc64 + or + make CCOM=cc64 + + It is not clear if GCC already supports other platforms in 64 bit mode. + As all GCC versions before 3.1 did emit hundreds of compilation + warnings related to 64 bit bugs when compiling itself, so there may be + other platforms are not supported in 64 bit mode. + +Creating executables using the Sun Studio compiler on Linux: + + Simply call: + + make CCOM=suncc + + If the compilation does not work, try: + + mkdir /opt/sunstudio12/prod/include/cc/linux + cp /usr/include/linux/types.h /opt/sunstudio12/prod/include/cc/linux + + Then edit /opt/sunstudio12/prod/include/cc/linux/types.h and remove all + lines like: "#if defined(__GNUC__) && !defined(__STRICT_ANSI__)" + as well as the related #endif. + +Creating executables using the clang compiler: + + Simply call: + + make CCOM=clang + + And in order to intentionally create 32 bit or 64 bit binaries, call: + + make CCOM=clang64 + or + make CCOM=clang64 + + +Using a different compiler binary name: + + Call: + + make CC=/opt/instrumented/bin/cc + + Note that all knowledge about the options of a compiler is derived + from the CCOM= variable, so if you like to use an instrumented gcc + variant, you may like to call: + + make CCOM=gcc CC=fluffy-gcc + + You may use CC="fluffy-gcc fluffy-gcc-specific options" if you like + to enforce specific options with the compiler. See hints on cross + compilation below. + + +Getting help from the make file system: + + For a list of targets call: + + make .help + + .help is a special target that prints help for the makefile system. + + +Getting more information on the make file system: + + The man page makefiles.4 located in man/man4/makefiles.4 contains + the documentation on general use and for leaf makefiles. + + The man page makerules.4 located in man/man4/makerules.4 contains + the documentation for system programmers who want to modify + the make rules of the makefile system. + + For further information read + + http://sf.net/projects/schilytools/files/makefiles/PortableSoftware.ps.gz + + +Hints for compilation: + + The makefile system is optimized for 'smake'. Smake will give the + fastest processing and best debugging output. + + SunPro make will work as is. GNU make need some special preparation. + + Read READMEs/README.gmake for more information on gmake. + + To use GNU make create a file called 'Gmake' in your search path + that contains: + + #!/bin/sh + MAKEPROG=gmake + export MAKEPROG + exec gmake "$@" + + and call 'Gmake' instead of gmake. On Linux, there is no gmake, the + program installed as 'make' on Linux is really a gmake. + + 'Gmake' and 'Gmake.linux' are part of this distribution. + + Some versions of gmake are very buggy. There are e.g. versions of gmake + on some architectures that will not correctly recognize the default + target. In this case, call 'make all' or '../Gmake all'. + + Note that pseudo error messages from gmake similar to: + + gmake[1]: Entering directory `cdrtools-1.10/conf' + ../RULES/rules.cnf:58: ../incs/sparc-sunos5-cc/Inull: No such file or directory + ../RULES/rules.cnf:59: ../incs/sparc-sunos5-cc/rules.cnf: No such file or directory + + are a result of a bug in GNU make. The make file system itself is + correct (as you could prove by using smake). + If your gmake version still has this bug, send a bug report to: + + "Paul D. Smith" + + He is the current GNU make maintainer. + + If you like to use 'smake', please always compile it from source. + The packages are located on: + + https://sourceforge.net/projects/s-make/files/alpha/ + + Smake has a -D flag to see the actual makefile source used + and a -d flag that gives easy to read debugging info. Use smake -xM + to get a makefile dependency list. Try smake -help + + +Compiling the project using engineering defaults: + + The defaults found in the directory DEFAULTS are configured to + give minimum warnings. This is made because many people will + be irritated by warning messages and because the GNU C compiler + will give warnings for perfectly correct and portable C code. + + If you want to port code to new platforms or do engineering + on the code, you should use the alternate set of defaults found + in the directory DEFAULTS_ENG. + You may do this permanently by renaming the directories or + for one compilation by calling: + + make DEFAULTSDIR=DEFAULTS_ENG + + Note however, that some GCC versions print a lot of wrong warnings + in this mode. Well known problems with GCC warnings are: + + - The recursive printf format "%r" that is in use since ~ 1980 + is not supported and causes a lot of incorrect warnings as + GCC does not know that "%r" takes 2 parameters. + + - The standard C construct "(void) read(fd, buf, sizeof (buf))" + is flagged by some versions of GCC even though the void cast + is a clear expression of the fact that the return code from read + is intentionally ignored. This may cause many useless warnings + for last resort error messages used in programs. + + +Compiling the project to allow debugging with dbx/gdb: + + If you like to compile with debugging information for dbx or gdb, + call: + + make clean + make COPTX=-g LDOPTX=-g + + If your debugger does not like optimized binaries, call something + like: + + make "COPTX=-g -xO0" LDOPTX=-g + or + make "COPTX=-g -O0" LDOPTX=-g + + depending on the option system used by your C compiler. + + +Compiling the project to allow performance monitoring with gprof from BSD: + + If you like to compile for performance monitoriing with gprof, + call: + + make clean + make COPTX=-xpg LDOPTX=-xpg LINKMODE=profiled + + or + make COPTX=-pg LDOPTX=-pg LINKMODE=profiled + + depending on the option system used by your C compiler. + + +Creating Blastwave packages: + + Call: + .clean + smake -f Mcsw + + You need the program "fakeroot" and will find the results + in packages/. + + Note that a single program source tree will allow you to create + packages like CSWstar but not the packages CSWschilybase and + CSWschilyutils on which CSWstar depends. + + + + + If you want to see an example, please have a look at the "star" + source. It may be found on: + + http://sourceforge.net/projects/s-tar/files/ + + Have a look at the manual page, it is included in the distribution. + Install the manual page with + + make install first and include /opt/schily/man in your MANPATH + + Note that some systems (e.g. Solaris 2.x) require you either to call + /usr/lib/makewhatis /opt/schily/man or to call + + man -F + + +Compiling in a cross compilation environment: + + The Schily autoconf system has been enhanced to support cross + compilation. Schily autoconf is based on GNU autoconf-2.13 and + GNU autoconf does not support cross compilation because it needs + to run scripts on the target system for some of the tests. + + The "configure" script that is delivered with the Schily makefile + system runs more than 770 tests and aprox 70 of them need to be + run on the target system. + + The Schily autoconf system now supports a method to run these ~70 + tests natively on a target system. You either need a target machine + with remote login features or you need an emulator with a method to + copy files into the emulated system and to run binaries on the + emulated system as e.g. the Android emulator. + + We currently deliver three scripts for "remote" execution of + programs on the target system: + + runrmt_ssh runs the commands remove via ssh + runrmt_rsh runs the commands remove via rsh + runrmt_android runs the commands remove via the debug bridge + + If you need to remotely run programs on a system that is not + supported by one of there three scripts, you need to modify one + of them to match your needs. + + To enable Cross Compilation use the following environment variables: + + CONFIG_RMTCALL= Set up to point to a script that does + the remote execution, e.g.: + + CONFIG_RMTCALL=`pwd`/conf/runrmt_ssh + + CONFIG_RMTHOST= Set up to point to your remote host, e.g.: + + CONFIG_RMTHOST=hostname + or + CONFIG_RMTHOST=user@hostname + + use a dummy if you like to use something + like the Android emulator. + + CONFIG_RMTDEBUG= Set to something non-null in order to + let the remote execution script mark + remote comands. This will result in + configure messages like: + + checking bits in minor device number... REMOTE 8 + + If you cannot run commands on the target + platform, you may set: + + CONFIG_RMTDEBUG=true + CONFIG_RMTCALL=: + + carefully watch for the "REMOTE" flagged test + output and later manually edit the file: + + incs//xconfig.h + + Do not forget to manually edit the files: + + incs//align.h + and + incs//avoffset.h + + Note that smake includes automake features that automatically + retrieve system ID information. For this reason, you need to overwrite + related macros from the command line if you like to do a + cross compilation. + + Related make macros: + + K_ARCH= # (sun4v) Kernel ARCH filled from uname -m / arch -k + M_ARCH= # (sun4) Machine filled from arch + P_ARCH= # (sparc) CPU ARCH filled from uname -p / mach + OSNAME= # sunos, linux, .... + OSREL= # 5.11 + OSVERSION= # snv_130 + CCOM= # generic compiler name (e.g. "gcc") + CC= # compiler to call (name for binary) + CC_COM= # compiler to call (name + basic args) + + ARCH= overwrites M_ARCH and P_ARCH + + It is usually suffucient to set ARCH and OSNAME. + + In order to use a cross compiler environment instead of a native compiler, + set the make macro CC_COM or CC to something different than "cc". + + If you are on Linux and like to compile for Android, do the following: + + 1) set up CC acording to the instructions from the cross compiler + tool chain. Important: you need to read the information for your + tool chain. A working setup may look similar to: + + NDK=/home/joerg/android-ndk-r7 + SYSROOT=\$NDK/platforms/android-14/arch-arm + CC="\$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=\$SYSROOT" + export NDK + export SYSROOT + export CC + + + 2) set environment variables CONFIG_RMTCALL / CONFIG_RMTHOST, e.g.: + setenv CONFIG_RMTCALL `pwd`/conf/runrmt_android + setenv CONFIG_RMTHOST NONE + + 3) call smake: + + smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC_COM=$CC" + + or + + smake ARCH=armv5 OSNAME=linux CCOM=gcc "CC=$CC" + + +Compiling with the address sanitizer: + + Be careful with a compiler enhancement called "addess sanitizer". + + First a note: the address sanitizer needs a lot of memory when in + 64-bit mode. For this reason, it is recommended to run the tests + in 32-bit mode as it may be impossible to provdie a sufficient amount + of memory for the 64-bit mode. + + 1) The address sanitizer may cause autoconf to behave incorrectly in + case that the compiler options used by the "configure" run include the + address sanitizer. It seems that in addition, the address sanitizer + adds more libraries to the link list and as a result prevents + the correct autoconf decision on whether a specific library from + a "configure" test is needed by some binaries. + + If you are not sure about the current state of the source tree, start + with calling: + + ./.clean + + in the top level source directory. This makes the source tree to behave + as if if was recently unpacked from the tar archive. + + Then run run e.g.: + + cd inc/ + smake CCOM=gcc32 + cd .. + + to prepare the auto-configuration without using the address sanitizer. + This special treatment is needed as the assumptions in the address + sanitizer would not allow us to run the autoconfiguration code + correctly. + + 2) The address sanitizer by default ignores installed SIGSEGV handlers + and thus ignores the intention of the author of the code. + + The correct behavior may be switched on via setting the environment + variable: + + ASAN_OPTIONS=allow_user_segv_handler=true + + As a redult, the command line to compile the code after the + auto-configuration has been done as mentioned above is: + + ASAN_OPTIONS=allow_user_segv_handler=true smake CCOM=gcc32 COPTX="-g -O0 -fsanitize=address" LDOPTX="-g -fsanitize=address" + + 3) If you are on Linux, do not forget to call "ulimit -c unlimited", + before calling the binary. This is needed as the default on Linux is + not to create a core file. + + 4) Set the environment ASAN_OPTIONS= for the execution of the binary + to control the behavior of the Address Sanitizer while the binary + is run. + + If you like to disable the memory leak detection because your program + is a short running program that intentionally does not free() resources + before calling exit(), use: + + ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0 + + If you also like to get a core dump on error to debug, you may like + to use: + + ASAN_OPTIONS=allow_user_segv_handler=true:detect_leaks=0:abort_on_error=1 + + Note that the Address Sanitizer disables the creation of a core file + for 64 bit binaries as the tables used by the Address Sanitizer may + cause the core file to have a size of 16 TB. + + +Compiling with the "Americal fuzzy lop": + + Follow the instruction from above for the address sanitizer, but + use this command line to call the compiler: + + ASAN_OPTIONS=allow_user_segv_handler=true AFL_HARDEN=1 AFL_USE_ASAN=1 smake CC=afl-gcc CCOM=gcc32 + + +Author: + +Joerg Schilling +Seestr. 110 +D-13353 Berlin +Germany + +Email: joerg@schily.isdn.cs.tu-berlin.de, js@cs.tu-berlin.de + joerg.schilling@fokus.fraunhofer.de + +Please mail bugs and suggestions to me. diff --git a/README.linux-shm b/README.linux-shm new file mode 100644 index 0000000..d4ae4a2 --- /dev/null +++ b/README.linux-shm @@ -0,0 +1,25 @@ +System V IPC +CONFIG_SYSVIPC + Inter Process Communication is a suite of library functions and + system calls which let processes (running programs) synchronize and + exchange information. It is generally considered to be a good thing, + and some programs won't run unless you say Y here. In particular, if + you want to run the DOS emulator dosemu under Linux (read the + DOSEMU-HOWTO, available from + http://www.linuxdoc.org/docs.html#howto ), you'll need to say Y + here. + + You can find documentation about IPC with "info ipc" and also in + section 6.4 of the Linux Programmer's Guide, available from + http://www.linuxdoc.org/docs.html#guide . + + Shared memory is now implemented using a new (minimal) virtual file + system, which you need to mount before programs can use shared memory. + To do this automatically at system startup just add the following line + to your /etc/fstab: + + none /var/shm shm defaults 0 0 + + Saying Y here enlarges your kernel by about 18 KB. Just say Y. + + diff --git a/README.mkisofs b/README.mkisofs new file mode 100644 index 0000000..221c030 --- /dev/null +++ b/README.mkisofs @@ -0,0 +1,16 @@ +Cdrtools carries is the official version of mkisofs. + +To compile mkisofs correctly on all supported platforms (> 30) you +need to use the Schily makefilesystem to get the systematic portability +support. + +Read the file README.multi to learn how to create multi-session +CD-R's with this release of cdrecord and mkisofs. + +Read the file README.cdplus to learn how to create CD-plus/CD-extra +CD-R's with this release of cdrecord and mkisofs. + +You definitely need this release of mkisofs to +create multi-session CD-R's on SunOS/Solaris/SGI-IRIX OS/2 and Win32. + +Jörg Schilling diff --git a/README.next b/README.next new file mode 100644 index 0000000..3ba5556 --- /dev/null +++ b/README.next @@ -0,0 +1 @@ +For CD-Recording please read the README.volmgt too. diff --git a/README.openserver b/README.openserver new file mode 100644 index 0000000..39ce5d6 --- /dev/null +++ b/README.openserver @@ -0,0 +1,84 @@ +CDRTOOLS compiles without changes on any SCO OpenServer 5.0.4 +or later installation having the SCO DevSys or GCC-2.95 and +smake-1.2a04 or later installed. + +You can get pre-packaged, custom installable binaries from: + + http://www.sco.com/skunkware/cdrtools + +Some general notes on CDRTOOLS are available from: + + http://www.sco.com/skunkware/cdrtools/SCO-NOTES.html + + +Limitations for CDRTOOLS-1.8 on SCO OpenServer 5: + +1) SCO OpenServer 5.0.0 and 5.0.2 are unsupported! + +2) There is only support for SCSI devices + +3) There no support for AHA 154X scsi controllers + +=================================================================== +NOTE: cdrecord now supports the -scanbus option. Therefore the + old addressing methods are NO LONGER AVAILABLE !!! +=================================================================== + +As there is no real generic SCSI driver, cdrecord uses the pass through +ioctl of the cdrom target driver (Srom). + +The correct dev= syntax on SCO Openserver 5 is: + + dev=scsibus,target,lun (and scsibus is scsibus now!!!) + +A sample output from cdrecord -scanbus looks like: + +#cdrecord -scanbus +Cdrecord 1.8 (i686-pc-sco3.2v5.0.5) Copyright (C) 1995-2000 Jörg Schilling +Using libscg version 'schily-0.1' +scsibus0: + 0,0,0 0) 'SEAGATE ' 'ST34573LC ' '5960' Disk + 0,1,0 1) 'SEAGATE ' 'ST34573LC ' '5960' Disk + 0,2,0 2) 'SEAGATE ' 'ST34573LC ' '5960' Disk + 0,3,0 3) * + 0,4,0 4) * + 0,5,0 5) 'PIONEER ' 'CD-ROM DR-U06S ' '1.05' Removable CD-ROM + 0,6,0 6) 'TEAC ' 'CD-R56S ' '1.0E' Removable CD-ROM + 0,7,0 7) * + +The first column showing the triple x,y,z tells you the address to use. + +As you can see the TEAC CD-R56S CD-Writer does have the following address: + + dev=0,6,0 + +=================================================================== + THE OLD ADDRESSING IS NO LONGER AVAILABLE! + + PLEASE ADJUST YOUR /etc/default/cdrecord FILES! +=================================================================== + +Running cdrecord with the old address method will result in an error! + +#cdrecord dev=/dev/rcd1:6,0 -inq +Cdrecord 1.8 (i386-pc-sco3.2v5.0.5) Copyright (C) 1995-2000 Jörg Schilling +scsidev: '/dev/rcd1:6,0' +devname: '/dev/rcd1' +scsibus: 0 target: 6 lun: 0 +cdrecord: Invalid argument. Open by 'devname' no longer supported on this OS. Cannot open SCSI driver. +cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. + + +MAKE SURE YOU HAVE MEDIA IN YOUR CD-ROM DEVICES, SO THAT CDRECORD CAN +OPEN THE DEVICE FOR PASS-THROUGH ACCESS! + + +To compile cdrtools, you need 'smake' version 1.2a04 or later from: + + ftp://ftp.sco.com/skunkware/osr5/vols + + +Please make sure you use smake-1.2a04 or later, cause smake-1.2 versions +before a04 will coredump on the compilation of cdrtools on OpenServer. + + diff --git a/README.os2 b/README.os2 new file mode 100644 index 0000000..74944fb --- /dev/null +++ b/README.os2 @@ -0,0 +1,25 @@ +Compiling on OS/2: + +1) Install EMX + +2) You need /bin/sh, /bin/rm, /bin/mv + + Create a directory /bin and put /bin/sh into this directory + mkdir /bin + cp -p d:/emx/bin/sh.exe /bin + cp -p d:/emx/bin/rm.exe /bin + cp -p d:/emx/bin/mv.exe /bin + + + + +/*--------------------------------------------------------------------------*/ +Note that the Joliet implementation on OS/2 is buggy: + +It expects the file in the directories in the wrong order. +While Microsoft wants the files to be in ASCII (binary) order, +OS/2 likes to have the files in lexical order (uppercase and +lowercase together). This makes CD's with Joliet attributes +unreadable on OS/2 if there are files that start the same way +but differ in case. +/*--------------------------------------------------------------------------*/ diff --git a/README.sgi b/README.sgi new file mode 100644 index 0000000..d1b5a82 --- /dev/null +++ b/README.sgi @@ -0,0 +1,30 @@ +On IRIX there is a program from SGI which is called 'smake' too. +Be sure to call the Schily smake when compiling. The IRIX smake +is too dumb. + +SGI apearantly has a bug in its mlock*() implementation. + +This shows up as a total system freeze for approx. 60 sec at the startup of cdrecord +if cdrecord uses the FIFO. + +It can be fixed by: + +- IRIX 6.2: applying patches (see freeware.sgi.com/Installable/cdrecord-1.8.html) + +- IRIX 6.5: Using 6.5.7m or above. + +/*--------------------------------------------------------------------------*/ +Note: IRIX 6.2 requires the latest rollup patches for mlockall and for + POSIX 1003.1b scheduling (patches 3771 and 3704 or their successors). +/*--------------------------------------------------------------------------*/ + +I am using my SCSI library, you don't need to link the program with -lds + +This cdrecord distribution contains a mkisofs that runs on SGI +and allows you th read a filesystem from a CD-R device with 2048 bytes +sector size. This is done with the SCSI user level library. + + +*** Important: IRIX has problems with drives that do disconnects on the SCSI +after an odd number of transferred bytes. It seems that there is a patch for this +problem. Search google for "wd93" to find pointers. diff --git a/README.unixware b/README.unixware new file mode 100644 index 0000000..146a16c --- /dev/null +++ b/README.unixware @@ -0,0 +1,89 @@ +CDRTOOLS compiles without changes on any UnixWare 7.0.1 or later installation +having the UnixWare/OpenServer DevKit (UODK) or GCC-2.95 and smake-1.2 +installed. + +You can get pre-packaged, pkgadd installable binaries from: + + http://www.sco.com/skunkware/cdrtools + +Some general notes on CDRTOOLS are available from: + + http://www.sco.com/skunkware/cdrtools/SCO-NOTES.html + + +Limitations for CDRTOOLS-1.8 on UnixWare: + +1) SCO UnixWare 2.1.X and UnixWare 7.0.0 are not supported + - UW2.1.X will compile/work with little changes + - UW7.0.0 wasn't tested at all + +2) There is only support for SCSI devices + +3) UnixWare 7.0.1 requires additional PTF's to enable some + host bus adapters to work with a logical block size of more than + 512 bytes. (Please see the above SCO_NOTES document for details!) + +=================================================================== +NOTE: cdrecord now supports the -scanbus option. Therefore the + old addressing methods are NO LONGER AVAILABLE !!! + + As UnixWare 7.1.1 doesn't allow to open the passthrough + interface for disks, this is disabled by default. + cdrecord -scanbus will therefore only list devices other + than disks. To enable the scanning of disks, you need to + set an environment variable "LIBSCG_SCAN_ALL". + + Be warned, doing so might lock your disk subsystem! +=================================================================== + +The correct dev= syntax on UnixWare 7 is: + + dev=scsibus,target,lun (and scsibus is scsibus now!!!) + +A sample output from cdrecord -scanbus looks like: + +#cdrecord -scanbus +Cdrecord 1.8 (i586-sco-sysv5uw7.0.1) Copyright (C) 1995-2000 Jörg Schilling +Using libscg version 'schily-0.1' +scsibus0: + 0,0,0 0) 'SEAGATE ' 'ST34573LC ' '5960' Disk + 0,1,0 1) 'SEAGATE ' 'ST34573LC ' '5960' Disk + 0,2,0 2) 'SEAGATE ' 'ST34573LC ' '5960' Disk + 0,3,0 3) * + 0,4,0 4) * + 0,5,0 5) 'PIONEER ' 'CD-ROM DR-U06S ' '1.05' Removable CD-ROM + 0,6,0 6) 'TEAC ' 'CD-R56S ' '1.0E' Removable CD-ROM + 0,7,0 7) * + +The first column showing the triple x,y,z tells you the address to use. + +As you can see the TEAC CD-R56S CD-Writer does have the following address: + + dev=0,6,0 + +=================================================================== + THE OLD ADDRESSING IS NO LONGER AVAILABLE! + + PLEASE ADJUST YOUR /etc/default/cdrecord FILES! +=================================================================== + +Running cdrecord with the old address method will result in an error! + +#cdrecord dev=/dev/rcdrom/cdrom1:6,0 -inq +Cdrecord 1.8 (i386-pc-sco3.2v5.0.5) Copyright (C) 1995-2000 Jörg Schilling +scsidev: '/dev/rcd1:6,0' +devname: '/dev/rcd1' +scsibus: 0 target: 6 lun: 0 +cdrecord: Invalid argument. Open by 'devname' no longer supported on this OS. Cannot open SCSI driver. +cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. + + +To compile cdrtools, you need 'smake' from: + + ftp://ftp.sco.com/skunkware/uw7/Packages + + +or 'gmake'. Smake is preferred as gmake bugs will cause bogus warnings +and may confuse about the state of the make run. + + diff --git a/README.vms b/README.vms new file mode 100644 index 0000000..1ca0b26 --- /dev/null +++ b/README.vms @@ -0,0 +1,140 @@ +This README was written by Dr. Eberhard Heuser-Hofmann + vaxinf@chclu.chemie.uni-konstanz.de + +If you are looking for a *.zip file instead of the tar archive, +check this address: + +ftp://v36.chemie.uni-konstanz.de/cdrecord_vms/ + +/*--------------------------------------------------------------------------*/ +Hi, + +this is the OpenVMS Version of J.Schilling's cdrecord-program. + +There is a command-procedure called build_all.com in the [.cdrecord] subdir, +that compiles and links the code. The cdrecord-program is been produced in +[.cdrecord.vms] subdirectory. + +Define this program as a symbol via + +$ cdrecord:==$disk:[dir]cdrecord.exe + +$ cdrecord -help gives an idea about the options, that are possible: + +cdrecord -help +Usage: cdrecord.exe [options] track1...trackn +Options: + -version print version information and exit + dev=target SCSI target to use as CD/DVD-Recorder + gracetime=# set the grace time before starting to write to #. + timeout=# set the default SCSI command timeout to #. + debug=#,-d Set to # or increment misc debug level + kdebug=#,kd=# do Kernel debugging + -verbose,-v increment general verbose level by one + -Verbose,-V increment SCSI command transport verbose level by one + -silent,-s do not print status of failed SCSI commands + driver=name user supplied driver name, use with extreme care + driveropts=opt a comma separated list of driver specific options + -checkdrive check if a driver for the drive is present + -prcap print drive capabilities for MMC compliant drives + -inq do an inquiry for the drive and exit + -scanbus scan the SCSI bus and exit + -reset reset the SCSI bus with the cdrecorder (if possible) + -overburn allow to write more than the official size of a medium + -ignsize ignore the known size of a medium (may cause problems) + -useinfo use *.inf files to overwrite audio options. + speed=# set speed of drive + blank=type blank a CD-RW disc (see blank=help) + -load load the disk and exit (works only with tray loader) + -eject eject the disk after doing the work + -dummy do everything with laser turned off + -msinfo retrieve multi-session info for mkisofs >= 1.10 + -toc retrieve and print TOC/PMA data + -atip retrieve and print ATIP data + -multi generate a TOC that allows multi session + In this case default track type is CD-ROM XA2 + -fix fixate a corrupt or unfixated disk (generate a TOC) + -nofix do not fixate disk after writing tracks + -waiti wait until input is available before opening SCSI + -immed Try to use the SCSI IMMED flag with certain long lasting commands + -force force to continue on some errors to allow blanking bad disks + -dao Write disk in SAO mode. This option will be replaced in the future. + -raw Write disk in RAW mode. This option will be replaced in the future. + -raw96r Write disk in RAW/RAW96R mode. This option will be replaced in the future. + -raw96p Write disk in RAW/RAW96P mode. This option will be replaced in the future. + -raw16 Write disk in RAW/RAW16 mode. This option will be replaced in the future. + tsize=# Length of valid data in next track + padsize=# Amount of padding for next track + pregap=# Amount of pre-gap sectors before next track + defpregap=# Amount of pre-gap sectors for all but track #1 + mcn=text Set the media catalog number for this CD to 'text' + isrc=text Set the ISRC number for the next track to 'text' + index=list Set the index list for the next track to 'list' + -text Write CD-Text from information from *.inf files + textfile=name Set the file with CD-Text data to 'name' + -audio Subsequent tracks are CD-DA audio tracks + -data Subsequent tracks are CD-ROM data mode 1 (default) + -mode2 Subsequent tracks are CD-ROM data mode 2 + -xa1 Subsequent tracks are CD-ROM XA mode 1 + -xa2 Subsequent tracks are CD-ROM XA mode 2 + -cdi Subsequent tracks are CDI tracks + -isosize Use iso9660 file system size for next data track + -preemp Audio tracks are mastered with 50/15 µs preemphasis + -nopreemp Audio tracks are mastered with no preemphasis (default) + -copy Audio tracks have unlimited copy permission + -nocopy Audio tracks may only be copied once for personal use (default) + -scms Audio tracks will not have any copy permission at all + -pad Pad data tracks with 15 zeroed sectors + Pad audio tracks to a multiple of 2352 bytes + -nopad Do not pad data tracks (default) + -shorttrack Subsequent tracks may be non Red Book < 4 seconds if in SAO or RAW mode + -noshorttrack Subsequent tracks must be >= 4 seconds + -swab Audio data source is byte-swapped (little-endian/Intel) +The type of the first track is used for the toc type. +Currently only form 1 tracks are supported. + +One important point is how the CDR-device is being selected: + +dev=i,j,k + +where: +i: 0 1 2 3 4 5 6 7 8 9 ... 32 33 + dka dkb dkc dkd gka gkb gkc gkd dqa dqb ... dqy dqz + +j: scsi-id +k: sub-lun (usually 0) + +As an example: + +dev=1,5,2 selects dkb502: + +An typical example how to put virtual disk data onto a cd-rom is given here: + +$ cdrecord -speed 2 dev=0,4,0 dka200:[000000]vda0.dsk + +Additional hints: + +1. Due to timeout problems use -immed switch for IDE-burners under OpenVMS 7.3 + or modify the timeout value in the dqdriver source. + +2. HP has written a command procedure, that calls cdrecord. You should + modify this com-file to activate the cdrecord burnproof option: + "driveropts=burnproof". + +Be aware that cdrecord has copyright on it. + +Eberhard + +=============================================================================== + +Dr. Eberhard Heuser-Hofmann +Univ. Konstanz +Fakultaet fuer Chemie +Universitaets-Strasse 10 +D-78464 Konstanz +Germany +Phone: +49-7531-88-2026, FAX: +49-7531-88-3139 +email: vaxinf@chclu.chemie.uni-konstanz.de + +=============================================================================== + diff --git a/README.xxxBSD b/README.xxxBSD new file mode 100644 index 0000000..900f81d --- /dev/null +++ b/README.xxxBSD @@ -0,0 +1,86 @@ +The current *BSD port will not yet be able to scan the SCSI bus +for a CD-Recorder as it is on other architectures. + +User level SCSI seems not be be well tested on *BSD + +It would be nice if the kernel hackers of all *BSD flavors could agree in +adding decent and useful SCSI user land transport support. +This would cause the following changes: + + - Add a driver that is present by default and offeres an + easy to address interface to the /dev/ namespace. + - Create device file entries for this driver by default. + - allow to send all commands on this driver even if the main + driver entry is in use, At least allow: + INQUIRY + TEST_UNIT_READY + REQUEST_SENSE + to be able to scan the SCSI bus for drives. + +NOTE: This changed with FreeBSD/cam cdrecord -scanbus works on FreeBSD/cam + +Workaround: + +If /dev/su0-0-0 ... does not exist on your system, you may try +to create the devices with the MAKEDEV.su script below. + +If /dev/su0-0-0 ... do not work on your system, you may try +use dev=/dev/rcd0a:@,0 od dev=/dev/rcd0a:@ +If the CD-Recorder is on /dev/cd0a + +Read the man page for more information. + +There is no way to get the device node entry from the numerical target +specification on *BSD. You must specify the appropriate device node name: +e.g. dev=/dev/cd0.ctl:6,0 together with the numerical target specification. +A short form is: + + dev=/dev/cd0.ctl:@ + +But this syntax may not work on all *BSD flavours as not all *BSD flavours +support mapping back the target/lun numbers from a device. + +In any case: read the cdrecord man page and try to find the /dev/* entry for +your CD-recorder that allows to be used with ioctl's. + +On FreeBSD/cam, you will be able to access the CD-Recorder as on other +systems. If your CD-Recorder is on SCSI Bus 0, Target 2, lun 0 +type: + +cdrecord dev=0,2,0 ..... + +Jörg + +------------------------- MAKEDEV.su------------------ +#!/bin/sh + +# +# You must check which minor base is really needed for your system +# The su driver seems not to be well tested on *BSD +# +# If nothing else helps, create a link /dev/scgx to the right +# /dev/ entry (an entry that responds right with /sbin/scsi) +# for your needed device. +# +minorbase="536870912 + 2" +#minorbase="0" +#minorbase="0 + 2" +#minorbase="0 + 3" + +mknod /dev/su0-0-0 c 18 `expr $minorbase + 0 '*' 8` +mknod /dev/su0-1-0 c 18 `expr $minorbase + 1 '*' 8` +mknod /dev/su0-2-0 c 18 `expr $minorbase + 2 '*' 8` +mknod /dev/su0-3-0 c 18 `expr $minorbase + 3 '*' 8` +mknod /dev/su0-4-0 c 18 `expr $minorbase + 4 '*' 8` +mknod /dev/su0-5-0 c 18 `expr $minorbase + 5 '*' 8` +mknod /dev/su0-6-0 c 18 `expr $minorbase + 6 '*' 8` +mknod /dev/su0-7-0 c 18 `expr $minorbase + 7 '*' 8` + +mknod /dev/su1-0-0 c 18 `expr $minorbase + 1 '*' 64 + 0 '*' 8` +mknod /dev/su1-1-0 c 18 `expr $minorbase + 1 '*' 64 + 1 '*' 8` +mknod /dev/su1-2-0 c 18 `expr $minorbase + 1 '*' 64 + 2 '*' 8` +mknod /dev/su1-3-0 c 18 `expr $minorbase + 1 '*' 64 + 3 '*' 8` +mknod /dev/su1-4-0 c 18 `expr $minorbase + 1 '*' 64 + 4 '*' 8` +mknod /dev/su1-5-0 c 18 `expr $minorbase + 1 '*' 64 + 5 '*' 8` +mknod /dev/su1-6-0 c 18 `expr $minorbase + 1 '*' 64 + 6 '*' 8` +mknod /dev/su1-7-0 c 18 `expr $minorbase + 1 '*' 64 + 7 '*' 8` diff --git a/READMEs/README.aix b/READMEs/README.aix new file mode 100644 index 0000000..4922a52 --- /dev/null +++ b/READMEs/README.aix @@ -0,0 +1,32 @@ +You need to use GNUmake or my smake to compile on AIX + +Read the file README.compile before compiling. + +NOTE: AIX seems to have a kernel bug in the mmap() part + that may cause kernel panics. + +If you observe this kernel panic, try to add a line: + +COPTS += -DUSE_USGSHM + +to the file cdrecord/Makefile + +or compile the package using: + +make COPTX=-DUSE_USGSHM + +It seems that SVrx style shared memory does not have this kernel bug +In newer AIX releases, the mmap() kernel problem seems to be fixed. + +If you like to create bootable CD's for AIX on the CHRP architecture: + + The /usr/sbin/mkcd command starting shipping with + AIX 4.3.3 back in Oct 99'. It's installed by default with the system. + There's more info about it in /usr/lpp/bos.sysmgt/mkcd.README.html. + + +NOTE: there is currently no real SCSI generic support for AIX, so + cdrecord -scanbus will not work. + + /dev/rcd0 is mapped to dev=0,0,0 + /dev/rcd1 is mapped to dev=0,1,0 diff --git a/READMEs/README.gmake b/READMEs/README.gmake new file mode 100644 index 0000000..49ea21a --- /dev/null +++ b/READMEs/README.gmake @@ -0,0 +1,47 @@ +Gmake compliance is included for convenience because it may +be found on many systems and most make programs are worse +than gmake. + + ***** If you are on a platform that is not yet known by the ***** + ***** Schily makefilesystem you cannot use GNU make. ***** + ***** In this case, the automake features of smake are required. ***** + +The major problem with gmake is that it does not handle the +include directive correctly. The general rule for a make program is +to first try to "make" any object it should look on. Gmake +does not try to "make" any makefile it should include. One result +is many warnings about non-existent files (which you could ignore). +The other problem with gmake and include files is hat gmake +includes the files in the opposite order than expected. The result is +that dependencies may not handled correctly. + +If you have problems with the make file system and gmake, +you are out of luck. Gmake has a debug option, but it gives +tons of debug messages. Less than 1% of these debug messages are +useful. Important things are missing in these debug messages. + +Gmake has bug with the VPATH= option. Some of the macros are +not expanded correctly. I had to remove all occurrences of +$@ $* and $^ on some places for this reason. + +On some platforms (e.g. OSF1), gmake is not able to correctly recognize +the default target. If gmake complains about this, call ./Gmake all + +To use GNU make create a file called 'Gmake' in you search path +that contains: + +#!/bin/sh +MAKEPROG=gmake +export MAKEPROG +exec gmake "$@" + +and call 'Gmake' instead of gmake. On Linux and on Cygwin there is +no gmake, 'make' on Linux and on Cygwin is really a gmake. + +'Gmake' and 'Gmake.linux' are part of this distribution. + +Note that makefile versions past 98/10/13 are trying to recognize +gmake by assuming that $(MAKE_COMMAND) is only present if you +are running gmake. So it may be worth to try to just call 'gmake' +or even 'make' if your system uses gmake as the default make program. + diff --git a/READMEs/README.hpux b/READMEs/README.hpux new file mode 100644 index 0000000..0bd2350 --- /dev/null +++ b/READMEs/README.hpux @@ -0,0 +1,139 @@ + I M P O R T A N T + +On HP-UX-11.x the maximal data size (allocated data) of a 32 bit program is +64 MB. + +One solution is to build a 64 bit binary, for those the default process memory +limit is 1 GB. + +64bit binaries can be created with + + cc +DA2.0w + cc +DD64 + +if you have the HP C-ANSI-C compiler. + +To compile in 64 bit mode, first call ./.clean then call + + make COPTX=+DD64 LDOPTX=+DD64 + make COPTX=+DD64 LDOPTX=+DD64 install + + +If you have an older GNU gcc, you need a 64bit compiled gcc. Older GNU gcc versions +are not capable of switching, so you need a separate compiler installation for either: + +l1:/u/usr/merijn 102 > file /usr/local/pa*/bin/gcc +/usr/local/pa20_32/bin/gcc: PA-RISC2.0 shared executable dynamically linked -not stripped +/usr/local/pa20_64/bin/gcc: ELF-64 executable object file - PA-RISC 2.0 (LP64) +l1:/u/usr/merijn 103 > + +With a newer GCC, you may call ./.clean then call: + + make COPTX=-mlp64 LDOPTX=-mlp64 + make COPTX=-mlp64 LDOPTX=-mlp64 install + + +The other way is to alter some kernel parameters which require a reboot. +The default kernel parameter seem to look like: + +Kernel param. Value +maxdsiz 67108864 +maxdsiz_64bit 1073741824 +maxfiles 200 +maxfiles_lim 2048 +maxssiz 8388608 +maxssiz_64bit 8388608 +maxswapchunks 3250 +maxtsiz 67108864 +maxtsiz_64bit 1073741824 + +The important one is maxdsiz, 64 MB is the default and it is rather low. +There is some information page at http://www.uwsg.iu.edu/hp/hpux-tune.html#maxdsiz +and they recommend to increase it to 1.9 GB. Sounds extreme. + +At http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x08afe7613948d5118fef0090279cd0f9,00.html +they recommend 500 MB. + +maxssiz shouldn't be a problem either since it has to do with swap and such as +storing arrays and recursion etc. + +If you like to know how to create 64 bit binaries on Solaris, please +read README.compile. I hope this helps. If you found the right way for HP-UX, +please send me a mail. + + + +The Schily makefile system usually should be able to find the best C-compiler +on HP-UX automatically. If it does not work, here is a way force to use a different +compiler. + + +You may compile with the HP ANSI C-Compiler using: + + make CCOM=cc + +To compile with the free K&R C-compiler call: + + gmake CCOM=cc 'COPTS= ' +or + smake CCOM=cc 'COPTS= ' +/*--------------------------------------------------------------------------*/ + +HP-UX SCSI hints: + +Note that there are no device nodes for userland SCSI on HP-UX, +you have to call the included shell script MKNOD.hpux first. + +If you own a HP-9000-800 series machine, you need to install +the file MKNOD.hpux-800 in the /etc init shell script directory +in order to call it after each boot. + +This script will create the files in /dev/scsi/... and /dev/rscsi/... +The permissions will be set to read/write for root only. + + +HP does not handle CD-ROMs as well as it should. On the HP have a look at +the man pages for + pfs + pfsd + pfs_mount +and anymore that they refer too. + +/*--------------------------------------------------------------------------*/ + +From: +H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) + +As of Jun 2002, there are some patches available to HP-UX 11.00 and 11i that +prevent the need for pfs, and these are highly recommended, since Rock-Ridge +extensions are now supported from the kernel level. + +For 11.00: + +a5:/ 103 # swlist | grep -i rock + PHCO_26449 1.0 Add Rock Ridge extension to mount_cdfs(1M) + PHKL_26448 1.0 Y2k; Rock Ridge extension for ISO-9660 + PHKL_26450 1.0 Rock Ridge extension for ISO-9660 +a5:/ 104 # + +PHKL_26448 is not recommended, but I never had any trouble with it. I still +have to install PHKL_28060 over PHKL_26448 + + PHKL_28060 1.0 Y2k; Rock Ridge extension for ISO-9660 + +For 11i: + + PHKL_28025 1.0 Rock Ridge extension for ISO-9660 + PHKL_26269 1.0 Rock Ridge extension for ISO-9660 + PHCO_25841 1.0 Add Rock Ridge extension to mount_cdfs(1M) + +I don't have 11i (yet), so I got this from HP-UX' patch database. + +The problem is that they did /not/ enable RR by default, but made it a mount +option. D'uh! But you can add it in /etc/fstab, and never worry again :) + +a5:/ 104 # grep cd /etc/fstab +/dev/cd0 /cdrom cdfs ro,rr,noauto 0 0 +a5:/ 105 # + + diff --git a/READMEs/README.install b/READMEs/README.install new file mode 100644 index 0000000..1c33dba --- /dev/null +++ b/READMEs/README.install @@ -0,0 +1,33 @@ +To install makefiles, just take the tar archive makefiles.tar +and untar it on the source root of your new project. + +The tar file contains: + +- the RULES directory with the main make rules +- two different DEFAULT directories with predefined project settings +- a directory containing templates for all purpose +- a skeleton directory structure for the new project +- some README files that will be useful for developers and users + +If you want to see a better example, please have a look at the "star" +source. It may be found on: + +http://sourceforge.net/projects/s-tar/files/ + + +Have a look at the manual page, it is included in the distribution. +Install the manual page with + +make install first and include /opt/schily/man in your MANPATH + +Author: + +Joerg Schilling +Seestr. 110 +D-13353 Berlin +Germany + +Email: joerg@schily.isdn.cs.tu-berlin.de, js@cs.tu-berlin.de + joerg.schilling@fokus.fraunhofer.de + +Please mail bugs and suggestions to me. diff --git a/READMEs/README.linux b/READMEs/README.linux new file mode 100644 index 0000000..6c7a4c3 --- /dev/null +++ b/READMEs/README.linux @@ -0,0 +1,189 @@ +WARNING: Do not use 'mc' to extract the tar file! +All mc versions before 4.0.14 cannot extract symbolic links correctly. + +Linux is the most self incompatible OS I know. If you have any problem, +first carefully read this file. + +Linux includes the gnu make program by default but it is called 'make' on linux. +You will definitely need the shell script Gmake.linux to use gmake +on a linux system. + +Install it as /usr/bin/Gmake with: + +cp Gmake.linux /usr/bin/Gmake + +Then compile the system by calling: + +/usr/bin/Gmake +or ./Gmake.linux + +NOTE for all Linux 2.5.x versions and all Linux versions before 2.6.8: + + Linux did ship with defective kernel include files starting + with 2.5.x. These defective kernel include files did prevent + compilation. If you have problems compiling software and see + error messages related to include/scsi/scsi.h & include/scsi/sg.h + either upgrade to Linux-2.6.8 or newer or remove /usr/src/linux + +NOTE for all Linux versions using libc.so.6: + + Libc.so.6 is definitely a big problem in binary compatibility. + First you should note that Linux is not a OS but only a kernel. + + Creating a OS from kernel, libraries and applications is done + by various companies that create "Linux distributions". It seems + that these companies (e.g. SuSE and Red Hat) are fighting wars + against each other. + + There is no guarantee that a binary that has been compiled + on one Linux distribution will run correctly on a different + release of the same vendor or on a distribution from a different + vendor. You cannot copy binaries between different Linux + versions, always compile the sources by yourself. + + We should consider that the name libc.so.6 is burned out for + these incompatibility reasons. But stop: Don't be too fast. + The dynamic linker on Linux does not work correctly. It has + been derived from the SunOS 4.x linker (which worked correctly) + but the Linux version does not even warn if it could not + find a library with the right major version number. Until + this is fixed it makes no sense to switch to libc.so.7 + + See below for more information. + + +NOTES for S.u.S.E distributions: If the "make" run aborts with strange messages, +then you need to unset an environment variable called PROMPT_COMMAND +It contains illegal values for a make file system. + + I M P O R T A N T + + please carefully read all notes: + +Newer Linux kernels (from 2.3.51) moved SVSv shared memory into a filesystem. +If you get messages with error code EINVAL related to shared memory, you +most likely installed a newer kernel on an old system that does not mount +the new shared memory filesystem. +For information on this filesystem please read README.linux-shm + +If you have any problems to access a device on the SCSI bus, check your +/dev/sg devices first. Your system should either only have /dev/sga... +or /dev/sg0... The newer Linux kernel use /dev/sg0... so the actual +SCSI transport code checks for /dev/sg0... first. Many Linux installations +have too few /dev/sg* device nodes. This is because of the funny device +mapping. It may be possible that one SCSI device eats up 8 /dev/sg* entries. +I recommend to have at least 20 /dev/sg* device nodes. + +In any case: first read the man page for hints how to specify the device. +If nothing helps, first run e.g. cdrecord -scanbus. If this does not find +your device, the problem is in your kernel or system installation. +If scanning the bus finds the device, you are using the wrong device name. +If nothing help try to call e.g. strace cdrecord + +Linux ATAPI hints: + +Read README.ATAPI to learn how to use ATAPI drives with the SCSI transport +library. + +Linux SCSI hints: + +If you want to use the user SCSI library on a target that is connected +to a SCSI hostadapter which is not the first, you need to apply a patch +to your Linux kernel code. This patch is located in the file + +Linux.scsi-patch + +Please chdir to /usr/src, call +patch < Linux.scsi-patch +and re-compile and re-install your kernel. + +Linux kernels past 2.0.30 will probably already have this patch included. + +I recommend to use Linux 2.0.35 or later or Linux 2.1.115 or later. +These versions of Linux will include ATAPI support in a way needed by cdrecord. +Linux 2.1.115 or newer will in addition support the Parallel Port / ATAPI +adapters found in some CD-R or CD-RW drives. + +IMPORTANT: + +- Linux driver design oddities ****************************************** + Although cdrecord supports to use dev=/dev/sgc, it is not recommended + and it is unsupported. + + The /dev/sg* device mapping in Linux is not stable! Using dev=/dev/sgc + in a shell script may fail after a reboot because the device you want + to talk to has moved to /dev/sgd. For the proper and OS independent + dev=,, syntax read the man page of cdrecord. + +- Linux Kernel bug ****************************************************** + In some architectures (at least on sparc / alpha / ppc) kernels prior + to 2.0.32 are not usable because the call to mlockall() kills cdrecord. + +- You configured you kernel the wrong way ******************************* + If you get a message like: + + cdrecord: Function not implemented. shmget failed + + You need to look for three possible reasons: + + - You are using a Linux Kernel 2.3.51 or newer. + Read README.linux-shm + + - You removed SVSv IPC from your kernel. You need to enable it again. + Run a Linux kernel config and recompile with SYSv IPC. + + - The allowed amount of shared memory in the kernel is + not sufficient. See next main point for a solution: + +- Linux kernel oddities ************************************************* + You may need to edit /usr/src/linux/include/asm*/shmparam.h to allow at least + 4 MB of shared memory for your architecture by modifying SHMMAX + and re-compile/re-install Linux ! + (note that Linux for Intel by default allows 16 MB) + + Do this by e.g. changing the #define for SHMMAX to: + + #define SHMMAX 0x1000000 /* max shared seg size (bytes) */ + + This will allow 16 MB for shared memory. + +- Linux kernel memory management **************************************** + If you get the message: "Cannot allocate memory. Cannot send SCSI cmd via ioctl" + Your kernel/include files are inconsistent. + + This seems to be the case with most actual Linux kernels!!!!!! + + Make sure, that the include file /usr/src/linux/include/scsi/sg.h + reflects the actual kernel. Usually, the files /usr/include/scsi/sg.h + and /usr/src/linux/include/scsi/sg.h should be identical. + + **** Never change the content of /usr/src/linux/include/scsi/sg.h without + properly recompiling the kernel. Cdrecord depends on the fact that + the value of the define SG_BIG_BUFF uses the same value as the actual + kernel. Use cdrecord -scanbus -debug to get the value of SG_BIG_BUFF + with cdrecord has been compiled. An output of: + + scsi_getbuf: 32768 bytes + + indicates that cdrecord has been compiled with 32k SG_BIG_BUF + + The Linux 'sg' driver is the worst driver design, I've ever seen. + +- Linux Binary incompatibility ***************************************** + If any of the options that take a equal sign ('=') in the middle does + not work correctly (e.g. dev= or if=) you are using a binary that + does not work correctly on your current OS distribution. + + If dev=0,0,0 does not work but -dev=0,0,0 works you found this + incompatibility. This problem is caused by an incompatibility + in ctype.h and it seems that there are other compatibility problems + e.g. with reading /etc/default/cdrecord. + + You cannot copy binaries between different Linux versions, + always compile the sources by yourself. + + If a hint from a user is correct then even a RPM binary built for + RH-6.2 did not work on RH-6.2 because of these binary incompatibilities. + + +Joerg diff --git a/READMEs/README.macosX b/READMEs/README.macosX new file mode 100644 index 0000000..c9ed0c6 --- /dev/null +++ b/READMEs/README.macosX @@ -0,0 +1,98 @@ +February 25, 2002 + +MacOS 10.1 driver now in the tree in libscg/scsi-mac-iokit.c. + +It supports: + * Firewire, USB, and ATAPI MMC-3 compliant burners + * SCSI parallel bus attached burners (requires MacOS X.1.3) + +It does not support: + * Older non MMC-3 burners + * CD-ROM drives/DVD-ROM drives (i.e. non-burners) + +Note that this is a limitation of MacOS X and not of the driver. +See the end of the document if you're curious why. + +If you just want to burn ISO images, you may want to consider using Apple's +hdiutil program, but it is not clear how standard compliant this method is. + +Building +-------- + +Note if you installed MacOS X on a HFS+ volume, make install will fail if +there is a file called INSTALL in the directory tree because this Filesystem +is not POSIX compliant. POSIX requires to honor character case but HFS+ +ignores the character case. If you like to use "make install" rename +INSTALL to something else. (e.g. INSTALL.txt) + + +Device Naming +------------- + +You need to pass a device name on the command line to the cdrecord utility + +CD burners: (probably) IOCompactDiscServices +DVD burners: (probably) IODVDServices + +# ./cdrecord dev=IOCompactDiscServices -toc + +or if you have multiple drives, you can append a number to differentiate + +# ./cdrecord dev=IOCompactDiscServices/2 -toc + +That should talk to the second CD-R on the system (NOT TESTED). + +Sharing nicely with the Finder +------------------------------ + +The MacOS 10.1 Finder will offer to burn any blank media you put into +the burner. However, you don't want to use the Finder, you want to +use cdrecord! So, how do you get around this problem? + +When you insert the media, the Finder asks "Do you want to prepare this +disc?". Click on the "Ignore" button. + +The Finder will then say "No volumes found. Click Continue to continue +without ejecting". Click on the "Continue" button. + + +Common Errors +------------- + +No matching device ... found: +Make sure you typed the device names correctly. See above. Use ioreg +-l to find if there is an IOCompactDiscServices or IODVDServices in +the device tree. + +Unable to get exclusive access: +Another programs (usually the Finder) has exclusive access to the drive. +See "Sharing Nicely with the Finder" + +Unable to get plugin interface: +The SCSI Architecture Family of drivers (supports Firewire, ATAPI, and +USB) has a special module that allows user code like libscg to send +SCSI commands to a device. This module is only attached, though, if +the kernel device driver thinks the device is sufficiently interesting +(e.g. the kernel thinks it's a burner). + +You can see if the module is loaded by looking for +SCSITaskUserClientIniter in the output of ioreg -l. + +Why doesn't it support my SCSI device? +-------------------------------------- + +Apple's kernel drivers enforces the rule that application cannot send +SCSI commands to devices for which they feel they have enough kernel +support. This includes hard disks and CD/DVD ROMs. They make an exception +for burners, though. + +There are two possible work-arounds, neither of which has been +implemented. One is to write a kernel driver that wraps the Apple +kernel drivers and exposes a raw SCSI interface, overriding the Apple +kernel drivers. The other is to write a SCSI device emulator at user +mode that translates SCSI commands into the appropriate interface +calls to IOKit. + +Bugs +---- +Send bugs to: csapuntz@stanford.edu diff --git a/READMEs/README.macosX-old-versions b/READMEs/README.macosX-old-versions new file mode 100644 index 0000000..eac3ee6 --- /dev/null +++ b/READMEs/README.macosX-old-versions @@ -0,0 +1,104 @@ +********************************************************************************* +* * +* WARNING * +* * +* This is only valid for OLD MacOS X versions * +* This are versions _before_ MacOS X-10.1 (Darwin-1.4) * +* * +* * +********************************************************************************* + +If uname -a does print something like: + +Darwin HOST 1.4 Darwin Kernel Version 1.4: Sun Sep 9 15:39:59 PDT 2001; root:xnu/xnu-201.obj~1/RELEASE_PPC Power Macintosh powerpc + +or a version > 1.4 then you should rather read README.macosX + +/*--------------------------------------------------------------------------*/ + +Unfortunately, Apple does not deliver a consistent Mac OS-X system +The longer they work on it, the more bugs they introduce... + +In addition, there is no visible 'clean' road of development. +Release names (from 'uname') are confusing and don't help to find out what +release they refer to. + +/*--------------------------------------------------------------------------*/ + The next hint is for Mac OS X versions up to January 2000 only: + +The file tries to include which cannot +be found. + +To be able to compile, I suggest to create a symlink: + +System/Library/Frameworks/System.framework/Versions/B/Headers/kern -> kernserv + +To do this, chdir to: + +System/Library/Frameworks/System.framework/Versions/B/Headers/ + +and call + +ln -s kernserv kern + +as root. +/*--------------------------------------------------------------------------*/ + + +/*--------------------------------------------------------------------------*/ + This hint is for Mac OS X version starting ~ April 2000: + +Apple did remove the generic SCSI transport driver for unknown reasons! +Cdrtools compile, but as there is no SCSI transport, you may only write +CD's connected to other systems using the REMOTE SCSI protocol. +/*--------------------------------------------------------------------------*/ + +/*--------------------------------------------------------------------------*/ + This hint is for Mac OS X versions starting around March 2001: + +If your compile log looks like this: + + ==> MAKING "all" ON SUBCOMPONENT ".../libschily.mk" + ==> COMPILING "OBJ/powerpc-darwin-cc/cmpbytes.o" +cmpbytes.c: In function `cmpbytes': +cmpbytes.c:49: invalid operands to binary | +make[1]: *** [OBJ/powerpc-darwin-cc/cmpbytes.o] Error 1 +make: *** [all] Error 2 + +You are hit by the Apple developers. Some time ago they started to introduce +a file which uses types defines in +While the buggy types are ignored in they are used if found +in . + +As a workaround, you may edit + + incs/power-macintosh-darwin-cc/xconfig.h + +after it has been created by autoconf and make the lint containing +HAME_INTTYPES_H this way: + +/* #undef HAVE_INTTYPES_H */ /* to use UNIX-98 inttypes.h */ + +This will tell the autoconf using code to ignore the system supplied + and use the internal version. + +IMPORTANT: Don't forget to tell the Apple support that MacOSX sucks until they +fix such fundamental bugs in the system include files! + +In case you are interested in the full details: the reason why cdrecord +does not compile is that MacOS X defines a type + +typedef int * intptr_t; +typedef unsigned int * uintptr_t; + +instead of the correct: + +typedef long intptr_t; +typedef unsigned long intptr_t; + +... a result of either Apple developers being unwilling to read or unable to +understand simple standards written in English :-( + +See: http://www.opengroup.org/onlinepubs/7908799/xsh/inttypes.h.html + +/*--------------------------------------------------------------------------*/ diff --git a/READMEs/README.mingw32 b/READMEs/README.mingw32 new file mode 100644 index 0000000..61dfd25 --- /dev/null +++ b/READMEs/README.mingw32 @@ -0,0 +1,13 @@ + +How to compile: + +- Download (http://www.mingw.org) and install the following Mingw32 packages: + + MinGW-3.1.0-1.exe + MSYS-1.0.10.exe + +- Set PATH environment variable using command: + + set path=c:\msys\1.0\bin;c:\mingw\bin;%path% + +- enter 'make' command in top level directory of the unpacked project diff --git a/READMEs/README.msdos b/READMEs/README.msdos new file mode 100644 index 0000000..849a74a --- /dev/null +++ b/READMEs/README.msdos @@ -0,0 +1,89 @@ +# @(#)README.msdos 1.2 04/06/07 J. Schilling + +You cannot compile this program on DOS directly, you need a win32 environment. +See below for more information. You need DJGPP for a compilation. + +The DOS/DJGPP have been made with help from + Alex Kopylov + +You may like to check his Web Page: http://bootcd.narod.ru/index_e.htm too. + +Compilation under DJGPP is fully integrated into the Schily Makefile System, +however you need to use 'smake' (version 1.2a20 or newer). It seems that +GNU make and other make programs don't work. + +As the file names of a typical UNIX project don't fit into the DOS 8.3 naming +scheme, you must have long names support, i.e. you must use a Windows DOS-box +instead pure DOS + +To compile under DJGPP: + +- Unpack the following DJGPP packages into c:\djgpp directory: + + ftp://ftp.delorie.com/pub/djgpp/current/v2/beta/djdev204.zip + ftp://ftp.delorie.com/pub/djgpp/alpha/v2gnu/bsh205bb.zip + ftp://ftp.delorie.com/pub/djgpp/alpha/v2gnu/gcc340b.zip + ftp://ftp.delorie.com/pub/djgpp/alpha/v2gnu/gpp340b.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/bnu214b.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/dif28b.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/fil41b.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/grep251b.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gwk311b.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/gzip135b.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/mak380b.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/pat253b.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/sed407b.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/shl2011b.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/tar112ab.zip + ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/txt20b.zip + +Note that these are the best files on 21.05.2004, things may change in future. + +- Set environment variables using commands: + + set path=c:\djgpp\bin;%path% + set djgpp=c:\djgpp\djgpp.env + + If you are using an smake version before 1.2a23, you also need: + + set djgpp_sh=c:\djgpp\bin\sh.exe + + +- Unpack the source archive using command: + + tar -xpz < package-name.tar.gz + + If you like to use star, you need star-1.5a36 or newer. + Use a command line like: + + star -xpz < package-name.tar.gz + +- Enter 'smake' command in top level directory of the unpacked project + (to make 'smake' itself, use a command 'dos_make' instead). + + Note that in case you don't have a 'smake' binary for DOS, you need to + compile one before or fetch a binary from: + + http://bootcd.narod.ru/index_e.htm + +In order to run commands on MS-DOS that use SCSI commands, you must have an +ASPI manager installed in your config.sys. For example: + + SCSI devices: + + device = aspi2dos.sys (not tested!) + device = aspi4dos.sys (not tested!) + device = aspi8dos.sys + device = aspi8u2.sys (not tested!) + + ATAPI devices: + + device = oakaspi.sys + + USB devices: + + device = usbaspi.sys (not tested!) + +The ASPI managers may be fetched from: + + http://bootcd.narod.ru/index_e.htm diff --git a/READMEs/README.ppc b/READMEs/README.ppc new file mode 100644 index 0000000..f1b4cae --- /dev/null +++ b/READMEs/README.ppc @@ -0,0 +1,62 @@ +If your system uses the SVr4 ABI (designed by Motorola), you will only +be able to compile my library files lib/format.c and lib/getargs.c if your +C-compiler supports the macro va_copy() or __va_copy() from stdarg.h. + +Mach/Next STep/Apple Rhapsody on ppc use a 'void *' for the type va_list +so you don't need to make changes on these systems. + +Solaris/ppc (made in 1992) is the first UNIX implementation for the PPC. +It includes the va_copy() macro that allows you to assign a C object of the +type va_list in a system independent way. + +Linux/ppc uses exactly the same construct as Solaris for the type va_list. +You will only be able to compile lib/format.c and lib/getargs.c if your +C-compiler includes the macro va_copy() or __va_copy(). If this is not the +case, you will need to upgrade your C-compiler first. GCC 2.8.0 and later +includes this macro. + +Here is what Solaris /usr/include/sys/varargs.h looks like: + +/* + * va_copy is a Solaris extension to provide a portable way to perform + * a variable argument list ``bookmarking'' function. + */ +#if defined(__ppc) +#define va_copy(to, from) ((to)[0] = (from)[0]) +#else +#define va_copy(to, from) ((to) = (from)) +#endif + +To be able to compile my lib/format.c and lib/getargs.c on a OS +implementation that uses an array for va_list, you will need +this va_copy() enhancement too. + +The files mentioned above already compile on a PPC Apple Rhapsody system. +But as mentioned before, Rhapsody uses a void * for va_list (maybe because +Apple includes badly designed international printf code from BSD 4.4 +that requires va_list to be void * to work). + +Notice: lib/format.c allows a %r format that needs additional features + in stdarg.h. You need to know whether va_list is an array. + I hope that GCC will include some definitions in future versions + that allow to propagate va_list type objects from var args + in function calls. + +GCC +=== + +If you are not using GCC 2.8.0, you can add the following definition +to va-ppc.h : + +/usr/lib/gcc-lib/*-linux-gnulibc1/2.*/include/va-ppc.h + +#define va_copy(to, from) ((to)[0] = (from)[0]) + +and to all other va-*.h files: + +#define va_copy(to, from) ((to) = (from)) + +Important: Check before if you don't have a GCC that is already patched. + +Joerg + diff --git a/READMEs/README.solaris b/READMEs/README.solaris new file mode 100644 index 0000000..a071e93 --- /dev/null +++ b/READMEs/README.solaris @@ -0,0 +1,82 @@ +Never compile anything in a locale other than "C" unless you are sure +that your C-compiler and the program 'nm' has been patched. +This is not needed with Solaris 2.6 or later and with the Workshop 5.0 +compiler or later. + +Even if you are a recent Solaris version, use locale "C" in case of problems. + +To ensure that locale "C"' is set, do + +setenv LC_ALL C + +in csh +or + +LC_ALL=C +export LC_ALL +in sh + +before running make. Or simply call + +env LC_ALL=C make + +The reason: + +1) On Solaris before 2.5.1 'nm' dumps core in any other locale. + For that reason lorder will not work. + *** no patch available **** but fixed on Solaris 2.5.1 + according to Sun + +2) The SunPro C-compiler will not convert floating + point numbers correctly if e.g. in "de" locale (Germany) + 1.3 will be interpreted as 1.0!!!! + *** patch available *** + +3) /usr/xpg4/bin/tr does not work correctly if locale is not "C" + Try: + echo ABC | env LC_ALL=de /usr/xpg4/bin/tr 'A-Z' 'a-z' + + it prints: + + BCD + + + +If you want to do compilations on Solaris, it is best not have /usr/ucb +in your PATH. If you want to have /usr/ucb in the PATH it must be the last +entry. You also should put /usr/ccs/bin/ before /usr/xpg4/bin/ in the PATH +to make sure that /usr/ccs/bin/make is used and not /usr/xpg4/bin/make. + +To be able to use 'make' 'as' and 'ld' you need to make sure that +/usr/ccs/bin is in your path. + +Avoid /usr/ucb and /usr/xpg4/bin in your PATH if you have problems. + +Make sure - even if you use GCC - you don't use GNU as, GNU ld +and GNU tsort/lorder. + +For CD-Recording please read the README.volmgt too. + +On Solaris you need to stop the volume management if you like to use the USCSI +fallback SCSI transport code. Even things like cdrecord -scanbus +will not work if the volume management is running. + +If you run Solaris 7 FCS, install patch 107465-02 to fix a read ahead bug in the +hsfs code. + +If you have problems with 12 byte SCSI commands on Solaris (mainly x86) get +Patch 108779-01 + +If you have problems with ISO-9660 partitions > 4 GB where Solaris wraps to +offset mod 4 GB when reading from the FS install patch 113277-04. + + + IMPORTANT information for Solaris x86 + +If have no DMA, you will get problems with buffer underruns and may never use +the maximum write speed of current CD/DVD drives. + +For more information, read README.solaris-x86-ata-DMA and README.solaris-x86-ATAPI-DMA +and take care that the locations for patching may change in future versions. + + diff --git a/READMEs/README.sunos b/READMEs/README.sunos new file mode 100644 index 0000000..b2f6389 --- /dev/null +++ b/READMEs/README.sunos @@ -0,0 +1,11 @@ +It seems that at there is a structure alignment problem +with the structure scsi_cmd at least with gcc. + +If you get a message: 'XXX + +If you want to run cdrecord on SunOS 4.x on a sparc system +please make sure that you are using the old Sun cc +by typing: + + make CCOM=cc + diff --git a/READMEs/README.win32 b/READMEs/README.win32 new file mode 100644 index 0000000..da7d792 --- /dev/null +++ b/READMEs/README.win32 @@ -0,0 +1,202 @@ +# @(#)README.win32 1.10 14/12/07 Copyright 2000-2014 J. Schilling + +cdrecord-1.8a22 or later can be compiled on Win9X/NT4 using Cygnus' cygwin +which is freely available from: + + http://sourceware.cygnus.com/cygwin/ +or + http://sources.redhat.com/cygwin/ + +To compile on Cygwin, get Cygwin by executing setup.exe + +You will need approx. 120 MB to install a full cygwin developer release. + +Get the tar'ed cdrtools source and unpack it with 'gnutar' or 'star', + +e.g. Start a bash command line window and type: + + star -xpz < cdrtools-3.01.tar.gz + + don't use winzip to unpack the tar archive, it will not + unpack symlinks correctly. + +Then (from the bash command line window) run 'make' ... + +If you have problems with GNU make, get 'smake' from: + + http://sourceforge.net/projects/s-make/files/alpha/ + +/*--------------------------------------------------------------------------*/ +A bash window is available from the START -> Programs -> Cygnus Solutions +menu or by clicking at the Cygwin Logo on the desktop. +/*--------------------------------------------------------------------------*/ +Pre-compiled current 'cdrtools' Win32 binaries which should run on +W95, W98 and WNT are available from: + + http://sourceforge.net/projects/cdrtools/files/alpha/win32 + +To use the pre-compiled binary, put the files cygwin1.dll, mount.exe as well +as the files: + +cdrecord.exe - The CD recording program +cdda2wav.exe - The DAE (Digital Audio Extraction) program +mkisofs.exe - The ISO-9660/Rock Ridge/Joliet Filesystem formatter +readcd.exe - A simple program to extract CD-ROM raw data to a file + +in your WINDOWS binary directory and from a Command/MS-DOS (or bash) window +type: + cdrecord -help + +for usage, see also: + + http://cdrecord.org/ + +All programs in this directory are Unix command line utilities and know +nothing about DOS/WIN. They run in a POSIX subsystem that is supplied by +cygwin1.dll. Therefore all directory names are given in Unix (POSIX) format +(i.e. use '/' for a directory separator, not '\'). To access files on another +disks (i.e. floppy, CDROM and network disk), you need to use the supplied "mount" +command e.g. + + mount a: /a + mount d: /cdrom + +i.e. files on the floppy disk are accessed as being in directory /a and +files on the CDROM are accessed as /cdrom (assuming your CDROM is drive d:) + +Yu may also use the new /cygpath notation by typing /cygpath/a for +your local floppy. + +The notation //a/dir as a replacement for the DOS directory name a:\dir +may not work in future releases of Cygwin. + +The following command creates a CD image in the current directory +using a source directories on the CDROM drive, a sub-directory and the +floppy drive: + + mkisofs -o hsfs.iso -J -R /cdrom/subdir dir1 /a + +If you use the options noted above, the hsfs.iso image is ISO-9660 +compliant and includes both Rock Ridge (IEEE P1282) and +Joliet (Microsoft proprietary) extensions. + +If your CD writer is on target 6, type + + cdrecord dev=6,0 -v speed=4 hsfs.iso + +to write the image at speed 4 in TAO mode, or + + cdrecord dev=6,0 -v speed=4 -dao hsfs.iso + +to write the image in DAO mode. + +If you don't like to create the image file 'hsfs.iso' you may use a PIPE +to connect mkisofs's output to cdrecord's input by calling: + + mkisofs -J -R /cdrom/subdir dir1 /a | cdrecord dev=6,0 -v speed=4 - + +IMPORTANT NOTE: If you use PIPE's on Win32, you definitely need a POSIX + compliant shell to start the programs. Native Win32 PIPE's + are not POSIX compliant and will not work with POSIX compliant + programs. + +/*--------------------------------------------------------------------------*/ +If you don't know which target your CD-writer is, call + + cdrecord -scanbus + +This gives output similar to: + +Cdrecord-ProDVD sparc-sun-solaris2.4 release 1.8a39 Copyright (C) 1995-2000 Jörg Schilling +Using libscg version 'schily-0.1' +scsibus0: + 0,0,0 0) 'Quantum ' 'XP34300 ' 'F76D' Disk + 0,1,0 1) 'SEAGATE ' 'ST11200N ' '8334' Disk + 0,2,0 2) * + 0,3,0 3) 'TOSHIBA ' 'MK537FB/ ' '6258' Disk + 0,4,0 4) 'WANGTEK ' '5150ES SCSI-36 ' 'ESB6' Removable Tape + 0,5,0 5) 'EXABYTE ' 'EXB-8500-85QUE ' '0428' Removable Tape + 0,6,0 6) 'TOSHIBA ' 'XM-3401TASUNSLCD' '3593' Removable CD-ROM + 0,7,0 7) HOST ADAPTOR +scsibus1: + 1,0,0 100) 'IBM ' 'DCAS-34330 ' 'S65A' Disk + 1,1,0 101) * + 1,2,0 102) * + 1,3,0 103) * + 1,4,0 104) 'PLEXTOR ' 'CD-R PX-W8220T' '1.00' Removable CD-ROM + 1,5,0 105) 'YAMAHA ' 'CRW4416S ' '1.0f' Removable CD-ROM + 1,6,0 106) * + 1,7,0 107) HOST ADAPTOR + +The numbers on the labels are SCSIbus# * 100 + target# + +You then call cdrecord dev=bus#,target#,0 + +If you e.g. like to talk to the Yamaha drive from the list above, you need to +call: + + cdrecord dev=1,5,0 ...... + +/*--------------------------------------------------------------------------*/ + + NOTE + +If "cdrecord -scanbus" dumps core (dies from program fault), you have +a broken ASPI driver on your PC. + +If you cannot see your drive(s), the following registry changes should make +them visible: + + [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Aspi32] + "ErrorControl"=dword:00000001 + "Start"=dword:00000001 + "Type"=dword:00000001 + + [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Aspi32\Parameters] + "ExcludeMiniports"="" + + +If you like to use the tools with SCSI or ATAPI, you need a working +ASPI32 driver and dll on your system. If you don't have it already, +look for 'aspi_me'. You need to set you clock back to a time before +Jan 1st 1999 to be able to install it. Note that 'aspi_me' contains +original Adaptec drivers and is banned from most ftp servers for this +reason. + +If you do not have superuser permission which would allow you to use +the SPTI SCSI interface that is similar to a UNIX ioctl interface, +you need a special ASPI driver version on NT-5.0 (Win2000) + +You may get one by searching for: + + wnaspi32.dll + + +/*--------------------------------------------------------------------------*/ + + IMPORTANT + +In order to avoid damaging CD blanks because Win is trying to access +the drive while cdrecord writes to it, you definitely should edit +your registry and set the value of + +HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom\Autorun + +to '0'. + +The Registry entry noted above is valid for WNT, I don't know +if you need to do this for W95 or W98, nor do I know the +correct Registry entry for these systems. + +/*--------------------------------------------------------------------------*/ + + For binary only users: + +Error messages and help output is directed to stderr. Win32 command +interpreters don't know about stderr. I recommend to install bash.exe +because it is a POSIX compliant shell and allow working PIPE's and +it also gives you a command line history that may be edited using +cursor commands. + +Otherwise you may want to install the Cygwin light version which +only includes the user commands. diff --git a/RULES/9000-725-hp-ux-cc.rul b/RULES/9000-725-hp-ux-cc.rul new file mode 100644 index 0000000..80fd583 --- /dev/null +++ b/RULES/9000-725-hp-ux-cc.rul @@ -0,0 +1,36 @@ +#ident "@(#)9000-725-hp-ux-cc.rul 1.14 14/04/01 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for HP/UX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH:cc%=hp%).rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +LORDER= echo +TSORT= cat diff --git a/RULES/9000-725-hp-ux-gcc.rul b/RULES/9000-725-hp-ux-gcc.rul new file mode 100644 index 0000000..07b045c --- /dev/null +++ b/RULES/9000-725-hp-ux-gcc.rul @@ -0,0 +1,46 @@ +#ident "@(#)9000-725-hp-ux-gcc.rul 1.11 17/05/03 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for HP/UX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .sl + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -b +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld +LNDYNLIB= @ + +LORDER= echo +TSORT= cat diff --git a/RULES/MKLINKS b/RULES/MKLINKS new file mode 100644 index 0000000..61b9f5f --- /dev/null +++ b/RULES/MKLINKS @@ -0,0 +1,448 @@ +#!/bin/sh +########################################################################### +#ident "@(#)MKLINKS 1.130 17/08/01 " +########################################################################### +# Written 1996-2015 by J. Schilling +########################################################################### +# Copyright (c) 1996-2015 J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +if [ -r ldummy.lnk ]; then + if [ $# -le 0 ]; then + exit 0 + fi +fi +########################################################################### +symlink="ln -s" +MKLINKS_TEST=${MKLINKS_TEST-:} +if [ ".$MKLINKS_COPY" = '.' ]; then + rm -f xxzzy.123 xxzzy.345 + echo test > xxzzy.123 + $symlink xxzzy.123 xxzzy.345 + test $? = 0 || symlink=cp + test -r xxzzy.345 || symlink=cp + ${MKLINKS_TEST} -h xxzzy.345 || symlink=cp + rm -f xxzzy.123 xxzzy.345 +else + symlink=cp +fi +########################################################################### + +$symlink ldummy.cnf ldummy.lnk +$symlink mk-.id mk-make.id +# +$symlink mk-smake.id mk-build.id +$symlink r-smake.dep r-build.dep +$symlink r-smake.obj r-build.obj +$symlink r-smake.tag r-build.tag +$symlink r-make.obj r-gmake.obj +$symlink r-make.obj r-sunpro.obj +$symlink r-make.tag r-sunpro.tag + +$symlink cc-clang.rul cc-clang32.rul +$symlink cc-clang.rul cc-clang64.rul +$symlink cc-gcc.rul cc-gcc32.rul +$symlink cc-gcc.rul cc-gcc64.rul +$symlink cc-sunpro.rul cc-sunpro32.rul +$symlink cc-sunpro.rul cc-sunpro64.rul +$symlink cc-ibm.rul cc-ibm32.rul +$symlink cc-ibm.rul cc-ibm64.rul + +if [ -r r-make.c4x ]; then + $symlink r-make.c4x r-gmake.c4x + $symlink r-make.c4x-dep r-gmake.c4x-dep + $symlink r-smake.c4x r-build.c4x + $symlink r-smake.c4x-dep r-build.c4x-dep +fi + +$symlink 9000-725-hp-ux-cc.rul 9000-725-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc.rul 9000-710-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-712-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-715-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-735-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-743-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-755-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-777-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-778-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-780-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-782-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-785-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-800-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-820-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-831-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul 9000-899-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc.rul ia64-hp-ux-cc.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-710-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-712-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-715-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-735-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-743-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-755-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-777-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-778-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-780-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-782-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-785-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-800-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-820-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-831-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul 9000-899-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-cc64.rul ia64-hp-ux-cc64.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-710-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-712-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-715-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-735-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-743-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-755-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-777-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-778-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-780-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-782-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-785-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-800-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-820-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-831-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul 9000-899-hp-ux-gcc.rul +$symlink 9000-725-hp-ux-gcc.rul ia64-hp-ux-gcc.rul +$symlink hppa-nextstep-cc.rul i386-nextstep-cc.rul +$symlink hppa-nextstep-cc.rul m68k-nextstep-cc.rul +$symlink hppa-nextstep-cc.rul sparc-nextstep-cc.rul +$symlink hppa-nextstep-cc.rul i386-nextstep-gcc.rul +$symlink hppa-nextstep-cc.rul m68k-nextstep-gcc.rul +$symlink hppa-nextstep-cc.rul sparc-nextstep-gcc.rul +$symlink os-irix.id os-irix64.id +$symlink ip22-irix-cc.rul ip22-irix-cc64.rul +# it is not clear whether the next entry works: +# comment was: does not work because of GCC_OPT64= -mabi=64 +$symlink ip22-irix-gcc.rul ip22-irix-gcc64.rul +$symlink ip22-irix-cc.rul ip17-irix-cc.rul +$symlink ip22-irix-cc.rul ip20-irix-cc.rul +$symlink ip22-irix-cc.rul ip27-irix-cc.rul +$symlink ip22-irix-cc.rul ip28-irix-cc.rul +$symlink ip22-irix-cc.rul ip30-irix-cc.rul +$symlink ip22-irix-cc.rul ip32-irix-cc.rul +$symlink ip22-irix-cc.rul ip35-irix-cc.rul +$symlink ip22-irix-gcc.rul ip17-irix-gcc.rul +$symlink ip22-irix-gcc.rul ip20-irix-gcc.rul +$symlink ip22-irix-gcc.rul ip27-irix-gcc.rul +$symlink ip22-irix-gcc.rul ip28-irix-gcc.rul +$symlink ip22-irix-gcc.rul ip30-irix-gcc.rul +$symlink ip22-irix-gcc.rul ip32-irix-gcc.rul +$symlink ip22-irix-gcc.rul ip35-irix-gcc.rul +$symlink ip22-irix-cc64.rul ip17-irix-cc64.rul +$symlink ip22-irix-cc64.rul ip20-irix-cc64.rul +$symlink ip22-irix-cc64.rul ip27-irix-cc64.rul +$symlink ip22-irix-cc64.rul ip28-irix-cc64.rul +$symlink ip22-irix-cc64.rul ip30-irix-cc64.rul +$symlink ip22-irix-cc64.rul ip32-irix-cc64.rul +$symlink ip22-irix-cc64.rul ip35-irix-cc64.rul +$symlink ip22-irix-gcc64.rul ip17-irix-gcc64.rul +$symlink ip22-irix-gcc64.rul ip20-irix-gcc64.rul +$symlink ip22-irix-gcc64.rul ip27-irix-gcc64.rul +$symlink ip22-irix-gcc64.rul ip28-irix-gcc64.rul +$symlink ip22-irix-gcc64.rul ip30-irix-gcc64.rul +$symlink ip22-irix-gcc64.rul ip32-irix-gcc64.rul +$symlink ip22-irix-gcc64.rul ip35-irix-gcc64.rul +$symlink i386-at386-gnu-cc.rul i686-at386-gnu-cc.rul +$symlink i386-at386-gnu-gcc.rul i686-at386-gnu-gcc.rul +$symlink i386-freebsd-cc.rul sparc64-freebsd-cc.rul +$symlink i386-freebsd-clang.rul i386-freebsd-clang32.rul +$symlink i386-freebsd-clang.rul i386-freebsd-clang64.rul +$symlink i386-freebsd-clang.rul amd64-freebsd-clang.rul +$symlink i386-freebsd-clang.rul amd64-freebsd-clang32.rul +$symlink i386-freebsd-clang.rul amd64-freebsd-clang64.rul +$symlink i386-freebsd-clang.rul arm64-freebsd-clang.rul +$symlink i386-freebsd-clang.rul arm64-freebsd-clang32.rul +$symlink i386-freebsd-clang.rul arm64-freebsd-clang64.rul +$symlink i386-freebsd-gcc.rul sparc64-freebsd-gcc.rul +$symlink i386-freebsd-cc.rul amd64-freebsd-cc.rul +$symlink i386-freebsd-gcc.rul amd64-freebsd-gcc.rul +$symlink i386-freebsd-cc.rul i386-dragonfly-cc.rul +$symlink i386-freebsd-gcc.rul i386-dragonfly-gcc.rul +$symlink i386-freebsd-cc.rul x86_64-dragonfly-cc.rul +$symlink i386-freebsd-gcc.rul x86_64-dragonfly-gcc.rul +$symlink i386-netbsd-cc.rul amd64-netbsd-cc.rul +$symlink i386-netbsd-gcc.rul amd64-netbsd-gcc.rul +$symlink i386-netbsd-cc.rul alpha-netbsd-cc.rul +$symlink i386-netbsd-gcc.rul alpha-netbsd-gcc.rul +$symlink i386-netbsd-cc.rul sparc-netbsd-cc.rul +$symlink i386-netbsd-gcc.rul sparc-netbsd-gcc.rul +$symlink i386-netbsd-cc.rul mac68k-netbsd-cc.rul +$symlink i386-netbsd-gcc.rul mac68k-netbsd-gcc.rul +$symlink i386-netbsd-cc.rul amiga-netbsd-cc.rul +$symlink i386-netbsd-gcc.rul amiga-netbsd-gcc.rul +$symlink i386-netbsd-cc.rul macppc-netbsd-cc.rul +$symlink i386-netbsd-gcc.rul macppc-netbsd-gcc.rul +$symlink i386-openbsd-cc.rul amd64-openbsd-cc.rul +$symlink i386-openbsd-gcc.rul amd64-openbsd-gcc.rul +$symlink amd64-bitrig-clang.rul amd64-bitrig-clang32.rul +$symlink amd64-bitrig-clang.rul amd64-bitrig-clang64.rul +$symlink amd64-bitrig-clang.rul i386-bitrig-clang.rul +$symlink i386-bsd-os-cc.rul sparc-bsd-os-cc.rul +$symlink i386-bsd-os-gcc.rul sparc-bsd-os-gcc.rul +$symlink i386-bsd-os3-cc.rul sparc-bsd-os3-cc.rul +$symlink i386-bsd-os3-gcc.rul sparc-bsd-os3-gcc.rul +$symlink i586-linux-cc.rul i586-linux-cc64.rul +$symlink i586-linux-cc.rul i386-linux-cc.rul +$symlink i586-linux-clang.rul i586-linux-clang32.rul +$symlink i586-linux-clang.rul i586-linux-clang64.rul +$symlink i586-linux-cc.rul i486-linux-cc.rul +$symlink i586-linux-cc.rul i686-linux-cc.rul +$symlink i586-linux-gcc.rul i586-linux-gcc32.rul +$symlink i586-linux-gcc.rul i586-linux-gcc64.rul +$symlink i586-linux-gcc.rul i386-linux-gcc.rul +$symlink i586-linux-gcc.rul i486-linux-gcc.rul +$symlink i586-linux-gcc.rul i686-linux-gcc.rul +$symlink i586-linux-cc.rul sparc-linux-cc.rul +$symlink i586-linux-gcc.rul sparc-linux-gcc.rul +$symlink i586-linux-cc.rul sparc64-linux-cc.rul +$symlink i586-linux-gcc.rul sparc64-linux-gcc.rul +$symlink i586-linux-cc.rul alpha-linux-cc.rul +$symlink i586-linux-gcc.rul alpha-linux-gcc.rul +$symlink i586-linux-cc.rul ppc-linux-cc.rul +$symlink i586-linux-gcc.rul ppc-linux-gcc.rul +$symlink i586-linux-cc.rul ppc64-linux-cc.rul +$symlink i586-linux-gcc.rul ppc64-linux-gcc.rul +$symlink i586-linux-cc.rul ppc64le-linux-cc.rul +$symlink i586-linux-gcc.rul ppc64le-linux-gcc.rul +$symlink i586-linux-cc.rul m68k-linux-cc.rul +$symlink i586-linux-gcc.rul m68k-linux-gcc.rul +$symlink i586-linux-cc.rul armv4l-linux-cc.rul +$symlink i586-linux-gcc.rul armv4l-linux-gcc.rul +$symlink i586-linux-cc.rul armv4tl-linux-cc.rul +$symlink i586-linux-gcc.rul armv4tl-linux-gcc.rul +$symlink i586-linux-cc.rul mips-linux-cc.rul +$symlink i586-linux-gcc.rul mips-linux-gcc.rul +$symlink i586-linux-cc.rul mipsel-linux-cc.rul +$symlink i586-linux-gcc.rul mipsel-linux-gcc.rul +$symlink i586-linux-cc.rul mips64-linux-cc.rul +$symlink i586-linux-gcc.rul mips64-linux-gcc.rul +$symlink i586-linux-cc.rul s390-linux-cc.rul +$symlink i586-linux-gcc.rul s390-linux-gcc.rul +$symlink i586-linux-cc.rul s390x-linux-cc.rul +$symlink i586-linux-gcc.rul s390x-linux-gcc.rul +$symlink i586-linux-cc.rul parisc-linux-cc.rul +$symlink i586-linux-gcc.rul parisc-linux-gcc.rul +$symlink i586-linux-cc.rul parisc64-linux-cc.rul +$symlink i586-linux-gcc.rul parisc64-linux-gcc.rul +$symlink i586-linux-cc.rul ia64-linux-cc.rul +$symlink i586-linux-gcc.rul ia64-linux-gcc.rul +$symlink i586-linux-cc.rul x86_64-linux-cc.rul +$symlink i586-linux-clang.rul x86_64-linux-clang.rul +$symlink i586-linux-clang32.rul x86_64-linux-clang32.rul +$symlink i586-linux-clang64.rul x86_64-linux-clang64.rul +$symlink i586-linux-gcc.rul x86_64-linux-gcc.rul +$symlink i586-linux-cc.rul armv5l-linux-cc.rul +$symlink i586-linux-gcc.rul armv5l-linux-gcc.rul +$symlink i586-linux-cc.rul armv5teb-linux-cc.rul +$symlink i586-linux-gcc.rul armv5teb-linux-gcc.rul +$symlink i586-linux-cc.rul armv5tejl-linux-cc.rul +$symlink i586-linux-gcc.rul armv5tejl-linux-gcc.rul +$symlink i586-linux-cc.rul armv5tel-linux-cc.rul +$symlink i586-linux-gcc.rul armv5tel-linux-gcc.rul +$symlink i586-linux-cc.rul armv6l-linux-cc.rul +$symlink i586-linux-gcc.rul armv6l-linux-gcc.rul +$symlink i586-linux-cc.rul armv7l-linux-cc.rul +$symlink i586-linux-gcc.rul armv7l-linux-gcc.rul +$symlink i586-linux-cc.rul aarch64-linux-cc.rul +$symlink i586-linux-clang.rul aarch64-linux-clang.rul +$symlink i586-linux-clang32.rul aarch64-linux-clang32.rul +$symlink i586-linux-clang64.rul aarch64-linux-clang64.rul +$symlink i586-linux-gcc.rul aarch64-linux-gcc.rul +$symlink i586-linux-gcc32.rul aarch64-linux-gcc32.rul +$symlink i586-linux-gcc64.rul aarch64-linux-gcc64.rul +$symlink i586-linux-cc.rul sh3-linux-cc.rul +$symlink i586-linux-gcc.rul sh3-linux-gcc.rul +$symlink i586-linux-cc.rul sh4-linux-cc.rul +$symlink i586-linux-gcc.rul sh4-linux-gcc.rul +$symlink i586-linux-cc.rul sh4a-linux-cc.rul +$symlink i586-linux-gcc.rul sh4a-linux-gcc.rul +$symlink i586-linux-gcc32.rul x86_64-linux-gcc32.rul +$symlink i586-linux-gcc.rul x86_64-linux-gcc64.rul +$symlink i586-linux-gcc32.rul sparc64-linux-gcc32.rul +$symlink i586-linux-gcc.rul sparc64-linux-gcc64.rul +$symlink i586-linux-gcc32.rul mips64-linux-gcc32.rul +$symlink i586-linux-gcc32.rul parisc64-linux-gcc32.rul +$symlink i586-linux-suncc.rul i586-linux-suncc32.rul +$symlink i586-linux-suncc.rul i586-linux-suncc64.rul +$symlink i586-linux-suncc.rul i686-linux-suncc.rul +$symlink i586-linux-suncc.rul i486-linux-suncc.rul +$symlink i586-linux-suncc.rul i386-linux-suncc.rul +$symlink i586-linux-suncc.rul x86_64-linux-suncc.rul +$symlink i586-linux-suncc64.rul i686-linux-suncc64.rul +$symlink i586-linux-suncc64.rul x86_64-linux-suncc64.rul +$symlink i586-linux-cc.rul i386-gnu-kfreebsd-cc.rul +$symlink i586-linux-gcc.rul i386-gnu-kfreebsd-gcc.rul +$symlink i586-linux-cc.rul i486-gnu-kfreebsd-cc.rul +$symlink i586-linux-gcc.rul i486-gnu-kfreebsd-gcc.rul +$symlink i586-linux-cc.rul i586-gnu-kfreebsd-cc.rul +$symlink i586-linux-gcc.rul i586-gnu-kfreebsd-gcc.rul +$symlink i586-linux-cc.rul i686-gnu-kfreebsd-cc.rul +$symlink i586-linux-gcc.rul i686-gnu-kfreebsd-gcc.rul +$symlink i586-linux-cc.rul amd64-gnu-kfreebsd-cc.rul +$symlink i586-linux-gcc.rul amd64-gnu-kfreebsd-gcc.rul +$symlink i586-linux-gcc32.rul amd64-gnu-kfreebsd-gcc32.rul +$symlink i586-linux-cc.rul x86_64-gnu-kfreebsd-cc.rul +$symlink i586-linux-gcc.rul x86_64-gnu-kfreebsd-gcc.rul +$symlink i586-linux-gcc32.rul x86_64-gnu-kfreebsd-gcc32.rul +#$symlink os-cygwin32_nt.id os-cygwin_95-4.0.id +#$symlink os-cygwin32_nt.id os-cygwin_98-4.0.id +#$symlink os-cygwin32_nt.id os-cygwin_98-4.10.id +#$symlink os-cygwin32_nt.id os-cygwin_me-4.90.id +#$symlink os-cygwin32_nt.id os-cygwin_nt-4.0.id +#$symlink os-cygwin32_nt.id os-cygwin_nt-5.0.id +#$symlink os-cygwin32_nt.id os-cygwin_nt-5.1.id +$symlink os-cygwin_95-4.0.id os-cygwin_98-4.0.id +$symlink os-unixware.id os-openunix.id +$symlink i486-cygwin32_nt-cc.rul i486-cygwin32_nt-cc32.rul +$symlink i486-cygwin32_nt-cc.rul i486-cygwin32_nt-cc64.rul +$symlink i486-cygwin32_nt-gcc.rul i486-cygwin32_nt-gcc32.rul +$symlink i486-cygwin32_nt-gcc.rul i486-cygwin32_nt-gcc64.rul +$symlink i486-cygwin32_nt-cc.rul i386-cygwin32_nt-cc.rul +$symlink i486-cygwin32_nt-cc.rul i586-cygwin32_nt-cc.rul +$symlink i486-cygwin32_nt-cc.rul i686-cygwin32_nt-cc.rul +$symlink i486-cygwin32_nt-cc.rul i786-cygwin32_nt-cc.rul +$symlink i486-cygwin32_nt-cc.rul i686-cygwin32_wow-cc.rul +$symlink i486-cygwin32_nt-cc.rul i786-cygwin32_wow-cc.rul +$symlink i486-cygwin32_nt-cc.rul i686-cygwin32_wow64-cc.rul +$symlink i486-cygwin32_nt-cc.rul i786-cygwin32_wow64-cc.rul +$symlink i486-cygwin32_nt-cc64.rul i686-cygwin32_wow-cc64.rul +$symlink i486-cygwin32_nt-cc64.rul i786-cygwin32_wow-cc64.rul +$symlink i486-cygwin32_nt-cc64.rul i686-cygwin32_wow64-cc64.rul +$symlink i486-cygwin32_nt-cc64.rul i786-cygwin32_wow64-cc64.rul +$symlink i486-cygwin32_nt-cl.rul i386-cygwin32_nt-cl.rul +$symlink i486-cygwin32_nt-cl.rul i586-cygwin32_nt-cl.rul +$symlink i486-cygwin32_nt-cl.rul i686-cygwin32_nt-cl.rul +$symlink i486-cygwin32_nt-cl.rul i786-cygwin32_nt-cl.rul +$symlink i486-cygwin32_nt-cl.rul i686-cygwin32_wow-cl.rul +$symlink i486-cygwin32_nt-cl.rul i786-cygwin32_wow-cl.rul +$symlink i486-cygwin32_nt-cl.rul i686-cygwin32_wow64-cl.rul +$symlink i486-cygwin32_nt-cl.rul i786-cygwin32_wow64-cl.rul +$symlink i686-cygwin32_wow64-cl64.rul i686-cygwin32_nt-cl64.rul +$symlink i686-cygwin32_wow64-cl64.rul i786-cygwin32_nt-cl64.rul +$symlink i686-cygwin32_wow64-cl64.rul i686-cygwin32_wow-cl64.rul +$symlink i686-cygwin32_wow64-cl64.rul i786-cygwin32_wow-cl64.rul +$symlink i486-cygwin32_nt-gcc.rul i386-cygwin32_nt-gcc.rul +$symlink i486-cygwin32_nt-gcc.rul i586-cygwin32_nt-gcc.rul +$symlink i486-cygwin32_nt-gcc.rul i686-cygwin32_nt-gcc.rul +$symlink i486-cygwin32_nt-gcc.rul i786-cygwin32_nt-gcc.rul +$symlink i486-cygwin32_nt-gcc.rul i686-cygwin32_wow-gcc.rul +$symlink i486-cygwin32_nt-gcc.rul i786-cygwin32_wow-gcc.rul +$symlink i486-cygwin32_nt-gcc.rul i686-cygwin32_wow64-gcc.rul +$symlink i486-cygwin32_nt-gcc.rul i786-cygwin32_wow64-gcc.rul +$symlink i486-cygwin32_nt-gcc64.rul i686-cygwin32_wow-gcc64.rul +$symlink i486-cygwin32_nt-gcc64.rul i786-cygwin32_wow-gcc64.rul +$symlink i486-cygwin32_nt-gcc64.rul i686-cygwin32_wow64-gcc64.rul +$symlink i486-cygwin32_nt-gcc64.rul i786-cygwin32_wow64-gcc64.rul +$symlink i486-cygwin32_nt-gcc.rul x86_64-cygwin32_nt-gcc.rul +$symlink i486-cygwin32_nt-gcc32.rul x86_64-cygwin32_nt-gcc32.rul +$symlink i486-cygwin32_nt-gcc64.rul x86_64-cygwin32_nt-gcc64.rul +$symlink power-macintosh-rhapsody-cc.rul power-macintosh-mac-os10-cc.rul +$symlink power-macintosh-rhapsody-gcc.rul power-macintosh-mac-os10-gcc.rul +$symlink power-macintosh-darwin-cc.rul power-macintosh-darwin-cc32.rul +$symlink power-macintosh-darwin-cc.rul power-macintosh-darwin-cc64.rul +$symlink power-macintosh-darwin-gcc.rul power-macintosh-darwin-gcc32.rul +$symlink power-macintosh-darwin-gcc.rul power-macintosh-darwin-gcc64.rul +$symlink power-macintosh-darwin-cc.rul i386-darwin-cc.rul +$symlink power-macintosh-darwin-gcc.rul i386-darwin-gcc.rul +$symlink power-macintosh-darwin-cc64.rul i386-darwin-cc64.rul +$symlink power-macintosh-darwin-gcc64.rul i386-darwin-gcc64.rul +$symlink power-macintosh-darwin-cc32.rul i386-darwin-cc32.rul +$symlink power-macintosh-darwin-gcc32.rul i386-darwin-gcc32.rul +$symlink power-macintosh-darwin-cc.rul x86_64-darwin-cc.rul +$symlink power-macintosh-darwin-gcc.rul x86_64-darwin-gcc.rul +$symlink power-macintosh-darwin-cc64.rul x86_64-darwin-cc64.rul +$symlink power-macintosh-darwin-gcc64.rul x86_64-darwin-gcc64.rul +$symlink power-macintosh-darwin-cc32.rul x86_64-darwin-cc32.rul +$symlink power-macintosh-darwin-gcc32.rul x86_64-darwin-gcc32.rul +$symlink i386-darwin-clang.rul i386-darwin-clang32.rul +$symlink i386-darwin-clang.rul i386-darwin-clang64.rul +$symlink i386-darwin-clang.rul x86_64-darwin-clang.rul +$symlink i386-darwin-clang32.rul x86_64-darwin-clang32.rul +$symlink i386-darwin-clang64.rul x86_64-darwin-clang64.rul +$symlink i86pc-sunos5-cc.rul i86pc-sunos5-cc32.rul +$symlink i86pc-sunos5-cc.rul i86pc-sunos5-cc64.rul +$symlink i86pc-sunos5-clang.rul i86pc-sunos5-clang32.rul +$symlink i86pc-sunos5-clang.rul i86pc-sunos5-clang64.rul +$symlink i86pc-sunos5-gcc.rul i86pc-sunos5-gcc32.rul +$symlink i86pc-sunos5-gcc.rul i86pc-sunos5-gcc64.rul +$symlink sun4-sunos5-gcc.rul aarch64-sunos5-gcc.rul +$symlink sun4-sunos5-gcc.rul aarch64-sunos5-gcc32.rul +$symlink sun4-sunos5-gcc.rul aarch64-sunos5-gcc64.rul +$symlink sun4-sunos5-clang.rul aarch64-sunos5-clang.rul +$symlink sun4-sunos5-clang.rul aarch64-sunos5-clang32.rul +$symlink sun4-sunos5-clang.rul aarch64-sunos5-clang64.rul +$symlink sun4-sunos5-cc.rul sun4-sunos5-cc32.rul +$symlink sun4-sunos5-cc.rul sun4-sunos5-cc64.rul +$symlink sun4-sunos5-clang.rul sun4-sunos5-clang32.rul +$symlink sun4-sunos5-clang.rul sun4-sunos5-clang64.rul +$symlink sun4-sunos5-gcc.rul sun4-sunos5-gcc32.rul +$symlink sun4-sunos5-gcc.rul sun4-sunos5-gcc64.rul +$symlink sun4-sunos4-cc.rul sun4c-sunos4-cc.rul +$symlink sun4-sunos4-gcc.rul sun4c-sunos4-gcc.rul +$symlink sun4-sunos5-cc.rul sun4c-sunos5-cc.rul +$symlink sun4-sunos5-gcc.rul sun4c-sunos5-gcc.rul +$symlink sun4-sunos4-cc.rul sun4m-sunos4-cc.rul +$symlink sun4-sunos4-gcc.rul sun4m-sunos4-gcc.rul +$symlink sun4-sunos5-cc.rul sun4m-sunos5-cc.rul +$symlink sun4-sunos5-gcc.rul sun4m-sunos5-gcc.rul +$symlink sun4-sunos5-cc.rul sun4d-sunos5-cc.rul +$symlink sun4-sunos5-gcc.rul sun4d-sunos5-gcc.rul +$symlink sun4-sunos5-cc.rul sun4e-sunos5-cc.rul +$symlink sun4-sunos5-gcc.rul sun4e-sunos5-gcc.rul +$symlink sun4-sunos5-cc.rul sun4L-sunos5-cc.rul +$symlink sun4-sunos5-gcc.rul sun4L-sunos5-gcc.rul +$symlink sun4-sunos5-cc.rul sun4u-sunos5-cc.rul +$symlink sun4-sunos5-gcc.rul sun4u-sunos5-gcc.rul +$symlink sun4-sunos5-cc64.rul sun4u-sunos5-cc64.rul +$symlink sun4-sunos5-gcc64.rul sun4u-sunos5-gcc64.rul +$symlink sun4-sunos5-cc.rul sun4us-sunos5-cc.rul +$symlink sun4-sunos5-gcc.rul sun4us-sunos5-gcc.rul +$symlink sun4-sunos5-cc64.rul sun4us-sunos5-cc64.rul +$symlink sun4-sunos5-gcc64.rul sun4us-sunos5-gcc64.rul +$symlink sun4-sunos5-cc.rul sun4v-sunos5-cc.rul +$symlink sun4-sunos5-gcc.rul sun4v-sunos5-gcc.rul +$symlink sun4-sunos5-cc64.rul sun4v-sunos5-cc64.rul +$symlink sun4-sunos5-gcc64.rul sun4v-sunos5-gcc64.rul +$symlink i386-unixware-cc.rul i486-unixware-cc.rul +$symlink i386-unixware-gcc.rul i486-unixware-gcc.rul +$symlink i386-unixware-cc.rul i586-unixware-cc.rul +$symlink i386-unixware-gcc.rul i586-unixware-gcc.rul +$symlink i386-unixware-cc.rul pentium-iii-unixware-cc.rul +$symlink i386-unixware-gcc.rul pentium-iii-unixware-gcc.rul +$symlink i386-unixware-cc.rul pentium-pro-unixware-cc.rul +$symlink i386-unixware-gcc.rul pentium-pro-unixware-gcc.rul +$symlink i386-unixware-cc.rul pentium-4-unixware-cc.rul +$symlink i386-unixware-gcc.rul pentium-4-unixware-gcc.rul +$symlink i386-ms-dos-gcc.rul i486-ms-dos-gcc.rul +$symlink i386-ms-dos-gcc.rul i586-ms-dos-gcc.rul +$symlink i386-ms-dos-gcc.rul i686-ms-dos-gcc.rul +$symlink i386-ms-dos-gcc.rul i786-ms-dos-gcc.rul +$symlink atarist-freemint-gcc.rul atariclone-freemint-gcc.rul +$symlink atarist-freemint-gcc.rul atariste-freemint-gcc.rul +$symlink atarist-freemint-gcc.rul ataritt-freemint-gcc.rul +$symlink atarist-freemint-gcc.rul falcon-freemint-gcc.rul +$symlink atarist-freemint-gcc.rul milan-freemint-gcc.rul +$symlink atarist-freemint-gcc.rul hades-freemint-gcc.rul +$symlink atarist-freemint-gcc.rul aranym-freemint-gcc.rul +$symlink bepc-beos-gcc.rul bemac-beos-gcc.rul +$symlink bepc-haiku-cc.rul bemac-haiku-cc.rul +$symlink bepc-haiku-gcc.rul bemac-haiku-gcc.rul +$symlink bepc-haiku-cc.rul x86_64-haiku-cc.rul +$symlink bepc-haiku-gcc.rul x86_64-haiku-gcc.rul +$symlink alpha-openvms-cc.rul alphaserver_ds20_500_mhz-openvms-cc.rul +$symlink rs6000-aix-cc.rul rs6000-aix-cc32.rul +$symlink rs6000-aix-cc.rul rs6000-aix-cc64.rul +$symlink rs6000-aix-gcc.rul rs6000-aix-gcc32.rul +$symlink rs6000-aix-gcc.rul rs6000-aix-gcc64.rul diff --git a/RULES/README b/RULES/README new file mode 100644 index 0000000..e3bad23 --- /dev/null +++ b/RULES/README @@ -0,0 +1,27 @@ +PATH setzen +LD_RUN_PATH loeschen +LD_LIBRARY_PATH Loeschen +umask setzen + +symlink libxxx.so -> libxxx.so.x.y +bei install setzen + +highlevel rules: + +rules.aux +rules.cmd +rules.dir +rules.drv +rules.lib +rules.loc +rules.mks +rules.mod +rules.rdi +rules.shl + +sollten umbenannt werden z.B. in xrules.* + +SunPRo -mt GCC -D_REENTRANT -lthread + +DESTDIR fuer GNU autoconf Kompatibilitaet? + diff --git a/RULES/alpha-openvms-cc.rul b/RULES/alpha-openvms-cc.rul new file mode 100644 index 0000000..f5895f0 --- /dev/null +++ b/RULES/alpha-openvms-cc.rul @@ -0,0 +1,36 @@ +#ident "@(#)alpha-openvms-cc.rul 1.1 09/10/31 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for OpenVMS using GNV +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-openvms.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LORDER= echo +TSORT= cat diff --git a/RULES/alpha-osf1-cc.rul b/RULES/alpha-osf1-cc.rul new file mode 100644 index 0000000..e297581 --- /dev/null +++ b/RULES/alpha-osf1-cc.rul @@ -0,0 +1,36 @@ +#ident "@(#)alpha-osf1-cc.rul 1.7 07/05/08 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Digital UNIX (OSF1) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-dec.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LORDER= echo +TSORT= cat diff --git a/RULES/alpha-osf1-gcc.rul b/RULES/alpha-osf1-gcc.rul new file mode 100644 index 0000000..f7f9bc3 --- /dev/null +++ b/RULES/alpha-osf1-gcc.rul @@ -0,0 +1,45 @@ +#ident "@(#)alpha-osf1-gcc.rul 1.8 07/05/09 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Digital UNIX (OSF1) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +LIBS_PATH= -L$(OLIBSDIR) -L/usr/ccs/lib + +LDLIBS= $(LIBS) $(LIBX) -lrt + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat diff --git a/RULES/amd64-bitrig-clang.rul b/RULES/amd64-bitrig-clang.rul new file mode 100644 index 0000000..f6c0c50 --- /dev/null +++ b/RULES/amd64-bitrig-clang.rul @@ -0,0 +1,41 @@ +#ident "@(#)amd64-bitrig-clang.rul 1.2 15/11/18 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Bitrig using Clang +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/atarist-freemint-gcc.rul b/RULES/atarist-freemint-gcc.rul new file mode 100644 index 0000000..3eca6c7 --- /dev/null +++ b/RULES/atarist-freemint-gcc.rul @@ -0,0 +1,59 @@ +#ident @(#)atarist-freemint-gcc.rul 1.4 08/11/14 +########################################################################### +# Written 2008 by Y. Doyeux +########################################################################### +# +# Platform dependent MACROS for FreeMiNT on ATARI computers +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += -DNO_USER_XCVT + +KDEFINES= -DKERNEL -D_KERNEL + +#COPTDYN= -fpic +COPTDYN= + +LIB_PREFIX= lib +LIB_SUFFIX= .a +#SHL_SUFFIX= .so.1.0 +SHL_SUFFIX= + +LIB_SOCKET= -lsocket +LIB_MATH= -lm +LIB_KVM= + +_STACKSIZE= $(_UNIQ)$(STACKSIZE) +__STACKSIZE= $(_STACKSIZE:$(_UNIQ)=0x10000) # Default stack size 64kB +STACK_SIZE= $(__STACKSIZE:$(_UNIQ)%=%) + +LDLIBS= $(LIBS) $(LIBX) && stack -S $(STACK_SIZE) $@ # Hack to set stack size + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +#LDOPTDYN= -shared -Wl,-soname,$(TARGET) +#LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so +LDOPTDYN= +LNDYNLIB= + +# +# ranlib does not work and is not needed +# +#RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + +LORDER= echo diff --git a/RULES/aviion-dgux3-cc.rul b/RULES/aviion-dgux3-cc.rul new file mode 100644 index 0000000..c24d601 --- /dev/null +++ b/RULES/aviion-dgux3-cc.rul @@ -0,0 +1,34 @@ +#ident "@(#)aviion-dgux3-cc.rul 1.8 07/05/08 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for DGUX 3.x on mc88100 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-dg.rul + +OSDEFS += -D__SVR4 -DSVR4 + +KDEFINES= -DKERNEL -D_KERNEL + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= -lkvm -lelf + +ARFLAGS= crs diff --git a/RULES/aviion-dgux3-gcc.rul b/RULES/aviion-dgux3-gcc.rul new file mode 100644 index 0000000..0a9679b --- /dev/null +++ b/RULES/aviion-dgux3-gcc.rul @@ -0,0 +1,36 @@ +#ident "@(#)aviion-dgux3-gcc.rul 1.9 07/05/08 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for DGUX 3.x on mc88100 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += -D__SVR4 -DSVR4 + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= -lkvm -lelf + +#LDOPTDYN= -dy -G -ztext -h $(TARGET) -ldl +LDOPTDYN= -shared -ztext -h $(TARGET) -ldl + +ARFLAGS= crs diff --git a/RULES/aviion-dgux4-cc.rul b/RULES/aviion-dgux4-cc.rul new file mode 100644 index 0000000..1b9ada7 --- /dev/null +++ b/RULES/aviion-dgux4-cc.rul @@ -0,0 +1,33 @@ +#ident "@(#)aviion-dgux4-cc.rul 1.8 07/05/08 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for DGUX 4.x on mc88100/pentium +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-dg.rul + +OSDEFS += -D__SVR4 -DSVR4 + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= -lkvm -lelf + +ARFLAGS= crs diff --git a/RULES/aviion-dgux4-gcc.rul b/RULES/aviion-dgux4-gcc.rul new file mode 100644 index 0000000..2389da8 --- /dev/null +++ b/RULES/aviion-dgux4-gcc.rul @@ -0,0 +1,35 @@ +#ident "@(#)aviion-dgux4-gcc.rul 1.9 07/05/08 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for DGUX 4.x on mc88100/pentium +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += -D__SVR4 -DSVR4 + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= -lkvm -lelf + +LDOPTDYN= -shared -ztext -h $(TARGET) -ldl + +ARFLAGS= crs diff --git a/RULES/bemac-beos-cc.rul b/RULES/bemac-beos-cc.rul new file mode 100644 index 0000000..2d8cb67 --- /dev/null +++ b/RULES/bemac-beos-cc.rul @@ -0,0 +1,42 @@ +#ident @(#)bemac-beos-cc.rul 1.10 13/11/04 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for BeOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-bemwcc.rul + +OSDEFS += + +CPPOPTS= -O4 -g -i- -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +#LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LORDER= echo +TSORT= cat + +LN= /bin/ln -s diff --git a/RULES/bemac-beos-mwcc.rul b/RULES/bemac-beos-mwcc.rul new file mode 100644 index 0000000..73400d4 --- /dev/null +++ b/RULES/bemac-beos-mwcc.rul @@ -0,0 +1,42 @@ +#ident @(#)bemac-beos-mwcc.rul 1.10 13/11/04 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for BeOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-bemwcc.rul + +OSDEFS += + +CPPOPTS= -relax_pointers -opt all -sym on -g -i- -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +#LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LORDER= echo +TSORT= cat + +LN= /bin/ln -s diff --git a/RULES/bepc-beos-cc.rul b/RULES/bepc-beos-cc.rul new file mode 100644 index 0000000..b1d4c7c --- /dev/null +++ b/RULES/bepc-beos-cc.rul @@ -0,0 +1,53 @@ +#ident @(#)bepc-beos-cc.rul 1.10 07/05/09 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for BeOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +# +# XXX Old BeOS needs libroot.so to get [efg]cvt() +# XXX New BeOS seems to have this in libc and in addition we include +# XXX strtod.c for floating point conversion on OS without such code. +# XXX For this reason, -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS has been +# XXX removed and printing floating numbers will work with old/new BeOS +# +#OSDEFS += -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +#CONFFLAGS= i586 + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so + +LIB_SOCKET= -lsocket -lbind +LIB_MATH= +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +LN= /bin/ln -s diff --git a/RULES/bepc-beos-gcc.rul b/RULES/bepc-beos-gcc.rul new file mode 100644 index 0000000..381375a --- /dev/null +++ b/RULES/bepc-beos-gcc.rul @@ -0,0 +1,53 @@ +#ident @(#)bepc-beos-gcc.rul 1.12 07/05/09 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for BeOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +# +# XXX Old BeOS needs libroot.so to get [efg]cvt() +# XXX New BeOS seems to have this in libc and in addition we include +# XXX strtod.c for floating point conversion on OS without such code. +# XXX For this reason, -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS has been +# XXX removed and printing floating numbers will work with old/new BeOS +# +#OSDEFS += -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +#CONFFLAGS= i586 + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so + +LIB_SOCKET= -lsocket -lbind +LIB_MATH= +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +LN= /bin/ln -s diff --git a/RULES/bepc-haiku-cc.rul b/RULES/bepc-haiku-cc.rul new file mode 100644 index 0000000..63209b3 --- /dev/null +++ b/RULES/bepc-haiku-cc.rul @@ -0,0 +1,58 @@ +#ident "@(#)bepc-haiku-cc.rul 1.6 17/05/28 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Haiku, a BeOS like OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-g$(C_ARCH).rul + +# +# XXX Old BeOS needs libroot.so to get [efg]cvt() +# XXX New BeOS seems to have this in libc and in addition we include +# XXX strtod.c for floating point conversion on OS without such code. +# XXX For this reason, -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS has been +# XXX removed and printing floating numbers will work with old/new BeOS +# +#OSDEFS += -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +#CONFFLAGS= i586 + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_C= + +#LIB_SOCKET= -lsocket -lbind +LIB_SOCKET= -lnetwork +LIB_MATH= +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +LN= /bin/ln -s diff --git a/RULES/bepc-haiku-gcc.rul b/RULES/bepc-haiku-gcc.rul new file mode 100644 index 0000000..3c0675a --- /dev/null +++ b/RULES/bepc-haiku-gcc.rul @@ -0,0 +1,58 @@ +#ident "@(#)bepc-haiku-gcc.rul 1.6 17/05/29 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Haiku, a BeOS like OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +# +# XXX Old BeOS needs libroot.so to get [efg]cvt() +# XXX New BeOS seems to have this in libc and in addition we include +# XXX strtod.c for floating point conversion on OS without such code. +# XXX For this reason, -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS has been +# XXX removed and printing floating numbers will work with old/new BeOS +# +#OSDEFS += -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +#CONFFLAGS= i586 + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_C= + +#LIB_SOCKET= -lsocket -lbind +LIB_SOCKET= -lnetwork +LIB_MATH= +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +LN= /bin/ln -s diff --git a/RULES/cc-apollo.rul b/RULES/cc-apollo.rul new file mode 100644 index 0000000..ab31228 --- /dev/null +++ b/RULES/cc-apollo.rul @@ -0,0 +1,96 @@ +#ident "@(#)cc-apollo.rul 1.18 17/05/28 " +########################################################################### +# Written 2001-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for DomainOS (sys5.3, 10.4.1) cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(APOLLOCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(APOLLOC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +CWOPTS= -W0,-info,4 +COPTOPT= -O +COPTDYN= -fpic +COPTGPROF= -pg +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +#CC_COM= cc -A systype,bsd4.3 +CC_COM_DEF= /bsd4.3/bin/cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true + +RMDEP= : +#MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); cc -M +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); /user/local/com/makedepend +MKDEP_OUT= +_MKDIR= $(_MKDIR_SH) +MKDIR= $(MKDIR_SH) +INSMKDIR= $(INSMKDIR_SH) + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) # makedepend? +MKC++DEP_OUT= diff --git a/RULES/cc-bemwcc.rul b/RULES/cc-bemwcc.rul new file mode 100644 index 0000000..fbab18b --- /dev/null +++ b/RULES/cc-bemwcc.rul @@ -0,0 +1,117 @@ +#ident @(#)cc-bemwcc.rul 1.17 17/05/28 +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for BeOS mwcc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(BEMWCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(BEMWC++OPTOPT) $(C++OPTX) + + +# +# XXX Old BeOS needs libroot.so to get [efg]cvt() +# XXX New BeOS seems to have this in libc and in addition we include +# XXX strtod.c for floating point conversion on OS without such code. +# XXX For this reason, -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS has been +# XXX removed and printing floating numbers will work with old/new BeOS +# +#OSDEFS += -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS + +# +# XXX This is used by bemac-beos-cc.rul +# +CPPOPTS= -O4 -g -i- -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +# +# XXX This is used by bemac-beos-mwcc.rul +# +CPPOPTS= -relax_pointers -opt all -sym on -g -i- -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +# +# XXX This is used by powerpc-beos-mwcc.rul +# +CPPOPTS= -relax_pointers -opt global -sym on -g -i- -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +CWOPTS= -w8 +COPTOPT= -opt off +COPTDYN= #-fpic +COPTGPROF= #-pg +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +# +# XXX This is used by powerpc-beos-mwcc.rul +# +LDOPTS= -multidefs -sym on -g $(LIBS_PATH) $(LDPATH) + +LDOPTS= -multidefs -msg nodup -sym on -g $(LIBS_PATH) $(LDPATH) +LDOPTDYN=# -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= mwccppc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -make +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) # -make? +MKC++DEP_OUT= diff --git a/RULES/cc-clang.rul b/RULES/cc-clang.rul new file mode 100644 index 0000000..c5c2030 --- /dev/null +++ b/RULES/cc-clang.rul @@ -0,0 +1,90 @@ +#ident "@(#)cc-clang.rul 1.2 17/05/28 " +########################################################################### +# Written 1996-2014 by J. Schilling +########################################################################### +# +# Platform independent MACROS for Clang +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CLANG_OPT= +CLANG_OPT32= -m32 +CLANG_OPT64= -m64 +CLANG_OPTXX= $(CLANG_OPT$(C_ARCH:clang%=%)) + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(CLANGOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(G++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= $(CLANG_OPTXX) +# -Wtraditional now causes more pain than it helps +CWOPTS= -Wall -Wtraditional +CWOPTS= -Wall -Wno-unknown-pragmas \ + -Wshadow -Wmissing-prototypes -Wstrict-prototypes +COPTOPT= -O +COPTDYN= -fpic +COPTGPROF= -pg +C++OPTS= $(CLANG_OPTXX) +C++WOPTS= $(CWOPTS) +C++OPTOPT= $(COPTOPT) +C++OPTDYN= -fpic +C++OPTGPROF= -pg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= clang +CC++_COM_DEF= clang++ +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) $(CLANG_OPTXX) +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) $(CLANG_OPTXX) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) $(CLANG_OPTXX) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) $(CLANG_OPTXX) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) $(CLANG_OPTXX) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) $(CLANG_OPTXX) + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) $(CLANG_OPTXX) -M +MKDEP_OUT= +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) $(CLANG_OPTXX) -M +MKC++DEP_OUT= diff --git a/RULES/cc-dec.rul b/RULES/cc-dec.rul new file mode 100644 index 0000000..78819ab --- /dev/null +++ b/RULES/cc-dec.rul @@ -0,0 +1,89 @@ +#ident "@(#)cc-dec.rul 1.16 17/05/28 " +########################################################################### +# Written 1998-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Digital UNIX cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(DECCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(DECC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +CWOPTS= +COPTOPT= -O +COPTDYN= -fpic +COPTGPROF= -pg +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) -L/usr/ccs/lib +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) -lrt + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -M +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) -M +MKC++DEP_OUT= diff --git a/RULES/cc-dg.rul b/RULES/cc-dg.rul new file mode 100644 index 0000000..afdb29a --- /dev/null +++ b/RULES/cc-dg.rul @@ -0,0 +1,88 @@ +#ident "@(#)cc-dg.rul 1.16 17/05/28 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for DGUX cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(DGCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(DGC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= -Xa +CWOPTS= -v +COPTOPT= -O +COPTDYN= -Kpic +COPTGPROF= -xpg +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTDYN= -dy -G -ztext -h $(TARGET) -ldl +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -xM +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) -xM +MKC++DEP_OUT= diff --git a/RULES/cc-dumb.rul b/RULES/cc-dumb.rul new file mode 100644 index 0000000..28a93a6 --- /dev/null +++ b/RULES/cc-dumb.rul @@ -0,0 +1,93 @@ +#ident "@(#)cc-dumb.rul 1.16 17/05/28 " +########################################################################### +# Written 1997-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for unknown systems systems with dumb cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(DUMBCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(DUMBC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +CWOPTS= +# +# Switch optimizing on if your compiler supports it +#COPTOPT= -O +COPTOPT= +COPTDYN= -fpic +COPTGPROF= -pg +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) + +RMDEP= : +#MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -M +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); echo "Cannot do -M with unknown cc"; : +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM); echo "Cannot do -M with unknown CC"; : +MKC++DEP_OUT= diff --git a/RULES/cc-gcc.rul b/RULES/cc-gcc.rul new file mode 100644 index 0000000..e910cb9 --- /dev/null +++ b/RULES/cc-gcc.rul @@ -0,0 +1,90 @@ +#ident "@(#)cc-gcc.rul 1.17 17/05/28 " +########################################################################### +# Written 1996-2014 by J. Schilling +########################################################################### +# +# Platform independent MACROS for GCC +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +GCC_OPT= +GCC_OPT32= -m32 +GCC_OPT64= -m64 +GCC_OPTXX= $(GCC_OPT$(C_ARCH:gcc%=%)) + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(G++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= $(GCC_OPTXX) +# -Wtraditional now causes more pain than it helps +CWOPTS= -Wall -Wtraditional +CWOPTS= -Wall -Wno-unknown-pragmas \ + -Wshadow -Wmissing-prototypes -Wstrict-prototypes +COPTOPT= -O +COPTDYN= -fpic +COPTGPROF= -pg +C++OPTS= $(GCC_OPTXX) +C++WOPTS= $(CWOPTS) +C++OPTOPT= $(COPTOPT) +C++OPTDYN= -fpic +C++OPTGPROF= -pg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= gcc +CC++_COM_DEF= g++ +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) $(GCC_OPTXX) +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) $(GCC_OPTXX) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) $(GCC_OPTXX) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) $(GCC_OPTXX) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) $(GCC_OPTXX) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) $(GCC_OPTXX) + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) $(GCC_OPTXX) -M +MKDEP_OUT= +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) $(GCC_OPTXX) -M +MKC++DEP_OUT= diff --git a/RULES/cc-hp.rul b/RULES/cc-hp.rul new file mode 100644 index 0000000..1220dff --- /dev/null +++ b/RULES/cc-hp.rul @@ -0,0 +1,100 @@ +#ident "@(#)cc-hp.rul 1.17 17/05/28 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for HP/UC cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(HPCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(HPC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +# +# -Ae -> ANSI C (non-bundled C only - bundled C ignores -Ae) +# +DAportable -> Create Parisc-1.1 code +# +HP_CC_ANSI_OPT= -Ae # May be overwritten later from $(OINCSDIR)/rules.cnf +HP_CC_OPT_OPT= -O # May be overwritten later from $(OINCSDIR)/rules.cnf +HP_CC_GPROF_OPT= -G # May be overwritten later from $(OINCSDIR)/rules.cnf + +COPTS= $(HP_CC_ANSI_OPT) +DAportable +CWOPTS= +COPTOPT= $(HP_CC_OPT_OPT) +COPTDYN= +z +COPTGPROF= $(HP_CC_GPROF_OPT) +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .sl + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +#LDOPTDYN= -Wl,-soname,$(TARGET) +LDOPTDYN= -b +LNDYNLIB= @ + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +#DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(SRCROOT)/conf/mkdep-hpux.sh +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +#DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; ld +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM); echo "Cannot do -M with unknown CC"; : +MKC++DEP_OUT= diff --git a/RULES/cc-hp64.rul b/RULES/cc-hp64.rul new file mode 100644 index 0000000..c2c53d7 --- /dev/null +++ b/RULES/cc-hp64.rul @@ -0,0 +1,98 @@ +#ident "@(#)cc-hp64.rul 1.18 17/05/28 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for HP/UC cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(HPCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(HPC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +# +# -Ae -> ANSI C (non-bundled C only - bundled C ignores -Ae) +# +DAportable -> Create Parisc-1.1 code +# +HP_CC_ANSI_OPT= -Ae # May be overwritten later from $(OINCSDIR)/rules.cnf +HP_CC_OPT_OPT= -O # May be overwritten later from $(OINCSDIR)/rules.cnf +HP_CC_GPROF_OPT= -G # May be overwritten later from $(OINCSDIR)/rules.cnf + +COPTS= $(HP_CC_ANSI_OPT) +DD64 +#COPTS= $(HP_CC_ANSI_OPT) +DAportable +DD64 +CWOPTS= +COPTOPT= $(HP_CC_OPT_OPT) +COPTDYN= +z +COPTGPROF= $(HP_CC_GPROF_OPT) +C++OPTS= +DD64 +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .sl + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -Wl,-soname,$(TARGET) +LNDYNLIB= @ + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +DD64 +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DD64 +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) +DD64 + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(SRCROOT)/conf/mkdep-hpux.sh +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM); echo "Cannot do -M with unknown CC"; : +MKC++DEP_OUT= diff --git a/RULES/cc-ibm.rul b/RULES/cc-ibm.rul new file mode 100644 index 0000000..82b29b0 --- /dev/null +++ b/RULES/cc-ibm.rul @@ -0,0 +1,104 @@ +#ident "@(#)cc-ibm.rul 1.16 17/05/28 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for IBM AIX cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +IBMCC_OPT= +IBMCC_OPT32= -q32 +IBMCC_OPT64= -q64 +IBMCC_OPTXX= $(IBMCC_OPT$(C_ARCH:cc%=%)) + +IBMLD_OPT= +IBMLD_OPT32= -b32 +IBMLD_OPT64= -b64 +IBMLC_OPTXX= $(IBMLD_OPT$(C_ARCH:cc%=%)) + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(IBMCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(IBMC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= $(IBMCC_OPTXX) +CWOPTS= +COPTOPT= -O +COPTDYN= -pic +COPTGPROF= -pg +C++OPTS= $(IBMCC_OPTXX) +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= +LNDYNLIB= @ + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) $(IBMCC_OPTXX) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) $(IBMCC_OPTXX) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(SRCROOT)/conf/mkdep-aix.sh $(IBMCC_OPTXX) +MKDEP_OUT= + +#$RMDEP= : +#$#MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -M +#$MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); echo "Cannot do -M with IBM'cc"; : +#$MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) $(IBMCC_OPTXX) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) $(IBMCC_OPTXX) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) $(IBMCC_OPTXX) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM); # mkdep-aix.sh? +MKC++DEP_OUT= diff --git a/RULES/cc-msc.rul b/RULES/cc-msc.rul new file mode 100644 index 0000000..ee1c1fd --- /dev/null +++ b/RULES/cc-msc.rul @@ -0,0 +1,126 @@ +#ident "@(#)cc-msc.rul 1.27 17/05/28 " +########################################################################### +# Written 2006-2014 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for CYGWIN32_NT using MSVC +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(MSCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(MSC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +CWOPTS= -W3 +COPTOPT= -O2 +COPTDYN= +#COPTGPROF= -pg +# +# /EHs C++-EH aktivieren (ohne SEH-Ausnahmen) +# /EHa C++-EH aktivieren (mit SEH-Ausnahmen) +# /EHc nothrow als Standard fr externes "C" +# MS seems to need -EHsc in order to create useful code with exceptions +# +C++OPTS= -EHsc +C++WOPTS= -W3 +C++OPTOPT= -O2 +C++OPTDYN= +#C++OPTGPROF= -pg + + +LIB_PREFIX= +LIB_SUFFIX= .lib +SHL_SUFFIX= .dll + +LIB_C= -lc + +#LIBS_PATH= -libpath:$(OLIBSDIR) +#LIBS_PATH_STATIC= -libpath:$(OLIBSDIR_STATIC) +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +WIN_LIBS= $(WIN32_LIBS) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS:-l%=%.lib) $(LIBX:-l%=%.lib) $(WIN_LIBS:-l%=%.lib) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +#LDOPTS= -link $(LIBS_PATH) $(LDPATH) +LDOPTS= -link $(LIBS_PATH:-L%=-libpath:%) $(LDPATH:-L%=-libpath:%) +#LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LDOPTDYN= -dll -def:$(TARGETLIB).def +LNDYNLIB= @ + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cl.exe +CC++_COM_DEF= $(CC_COM_DEF) +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) -nologo +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) -nologo +OUTPUT_OPTION= -Fo$(O:%=%/)$@ +CC_OUTPUT_FILTER= | tail -n +2 # Filter cl.exe filename echo +LD_OUTPUT_OPTION= -Fe$@ +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) -nologo +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) -nologo +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) -nologo +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) -nologo +DYNLD.o= $(DYNLD) `$(LORDER) $(POFILES) | $(TSORT)` $(LDFLAGS) -out:$@ $(LDLIBS) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true +AR= @echo " ==> ARCHIVING \"$@\""; lib.exe -nologo +ARFLAGS= +AR.o= $(AR) $(ARFLAGS) -out:$@ + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); sh $(SRCROOT)/conf/mkdep-msc.sh +MKDEP_OUT= +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); sh $(SRCROOT)/conf/mkdep-msc.sh +MKC++DEP_OUT= + +VC=7 + +_VC_SETUP= $(_UNIQ)$(VC_SETUP) +__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=vc$(VC)$(_PLATFORM:%=-%)-setup) +VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%) + +########################################################################### +# IMPORTANT Note: +# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from Defaults.* +# in order to be able to test for the existence of "cl.exe" early. +########################################################################### +include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) + +OSDEFS += $(WINNTDEFS) + +# +# Tell MKLINKS to copy files instead of linking them +# +MKLINKS_COPY= true +export MKLINKS_COPY diff --git a/RULES/cc-msc64.rul b/RULES/cc-msc64.rul new file mode 100644 index 0000000..83a714e --- /dev/null +++ b/RULES/cc-msc64.rul @@ -0,0 +1,28 @@ +#ident "@(#)cc-msc64.rul 1.18 09/05/17 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for CYGWIN32_NT using MSVC +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +include $(SRCROOT)/$(RULESDIR)/cc-msc.rul + +MSCOPT64= -machine:X64 + +VC=7_64 diff --git a/RULES/cc-msposix.rul b/RULES/cc-msposix.rul new file mode 100644 index 0000000..0fc9828 --- /dev/null +++ b/RULES/cc-msposix.rul @@ -0,0 +1,112 @@ +#ident "@(#)cc-msposix.rul 1.24 17/05/28 " +########################################################################### +# Written 2006-2013 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for INTERIX using MSVC in POSIX c89 mode +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(MSCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(MSC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +CWOPTS= +COPTOPT= -O2 +COPTDYN= +#COPTGPROF= -pg +# +# /EHs C++-EH aktivieren (ohne SEH-Ausnahmen) +# /EHa C++-EH aktivieren (mit SEH-Ausnahmen) +# /EHc nothrow als Standard fr externes "C" +# MS seems to need -EHsc in order to create useful code with exceptions +# +C++OPTS= -EHsc +C++WOPTS= -W3 +C++OPTOPT= -O2 +C++OPTDYN= +#C++OPTGPROF= -pg + + +LIB_PREFIX= +LIB_SUFFIX= .lib +SHL_SUFFIX= .dll + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS:-l%=%.lib) $(LIBX:-l%=%.lib) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +#LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LDOPTDYN= -dll -def:$(TARGETLIB).def +LNDYNLIB= @ + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= $(CC_COM_DEF) +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +CC++ = @echo " ==> COMPILING \"$@\""; $(CC_COM) +#OUTPUT_OPTION= -Fo$(O:%=%/)$@ +#LD_OUTPUT_OPTION= -Fe$@ +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) -nologo +DYNLD.o= $(DYNLD) `$(LORDER) $(POFILES) | $(TSORT)` $(LDFLAGS) -out:$@ $(LDLIBS) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true +AR= @echo " ==> ARCHIVING \"$@\""; lib.exe -nologo +ARFLAGS= +AR.o= $(AR) $(ARFLAGS) -out:$@ + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); sh $(SRCROOT)/conf/mkdep-msc.sh +MKDEP_OUT= +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); sh $(SRCROOT)/conf/mkdep-msc.sh +MKC++DEP_OUT= + +VC=7 + +_VC_SETUP= $(_UNIQ)$(VC_SETUP) +__VC_SETUP= $(_VC_SETUP:$(_UNIQ)=vc$(VC)$(_PLATFORM:%=-%)-setup) +VCSETUP= $(__VC_SETUP:$(_UNIQ)%=%) + +########################################################################### +# IMPORTANT Note: +# We also include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) from Defaults.* +# in order to be able to test for the existence of "/bin/cc" early. +########################################################################### +include $(DEFLTSROOT)/$(DEFLTSDIR)/$(VCSETUP) diff --git a/RULES/cc-openvms.rul b/RULES/cc-openvms.rul new file mode 100644 index 0000000..a69f0e2 --- /dev/null +++ b/RULES/cc-openvms.rul @@ -0,0 +1,92 @@ +#ident "@(#)cc-openvms.rul 1.12 17/05/28 " +########################################################################### +# Written 1998-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for GNV OpenVMS cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(DECCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(DECC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +CWOPTS= -verbose +COPTOPT= -O +COPTDYN= -fpic +COPTGPROF= -pg +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= +LIB_SUFFIX= .olb +SHL_SUFFIX= .so.1.0 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) -L/usr/ccs/lib +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) + +RMDEP= : +# cc -M t.c creates a file t.mms wich t.obj : /EISNER$DRA3/decuserve_user/schilling/t.c lines +#MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -M +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); echo "Cannot yet do -M with OpenVMS cc"; : +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +#MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) -M +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM); echo "Cannot yet do -M with OpenVMS CC"; : +MKC++DEP_OUT= diff --git a/RULES/cc-pcc.rul b/RULES/cc-pcc.rul new file mode 100644 index 0000000..bd6615a --- /dev/null +++ b/RULES/cc-pcc.rul @@ -0,0 +1,85 @@ +#ident "@(#)cc-pcc.rul 1.8 17/05/28 " +########################################################################### +# Written 2010-2013 by J. Schilling +########################################################################### +# +# Platform independent MACROS for PCC +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(G++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +# -Wtraditional now causes more pain than it helps +#*CWOPTS= -Wall -Wtraditional +#*CWOPTS= -Wall -Wno-unknown-pragmas \ +#* -Wshadow -Wmissing-prototypes -Wstrict-prototypes +COPTOPT= -O +COPTDYN= -fpic +COPTGPROF= -pg +C++OPTS= +C++WOPTS= $(CWOPTS) +C++OPTOPT= $(COPTOPT) +C++OPTDYN= -fpic +C++OPTGPROF= -pg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= pcc +CC++_COM_DEF= p++ +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -M +MKDEP_OUT= +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) -M +MKC++DEP_OUT= diff --git a/RULES/cc-sco_os.rul b/RULES/cc-sco_os.rul new file mode 100644 index 0000000..623ce11 --- /dev/null +++ b/RULES/cc-sco_os.rul @@ -0,0 +1,92 @@ +#ident "@(#)cc-sco_os.rul 1.19 17/05/28 " +########################################################################### +# Written 1999-2017 by J. Schilling/Santa Cruz Operation +########################################################################### +# +# Platform dependent MACROS for SCO OpenServer 5 cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(SCO_OSCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(SCO_OSC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= -belf +CWOPTS= -w3 +COPTOPT= -O +COPTDYN= -KPIC +COPTGPROF= -pg +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -dy -G $(TARGET) +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); sh $(SRCROOT)/conf/mkdep-sco.sh +MKDEP_OUT= +_MKDIR= $(_MKDIR_SH) +MKDIR= $(MKDIR_SH) +INSMKDIR= $(INSMKDIR_SH) + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) # mkdep-sco.sh? +MKC++DEP_OUT= diff --git a/RULES/cc-sco_uw.rul b/RULES/cc-sco_uw.rul new file mode 100644 index 0000000..6fec63b --- /dev/null +++ b/RULES/cc-sco_uw.rul @@ -0,0 +1,90 @@ +#ident "@(#)cc-sco_uw.rul 1.16 17/05/28 " +########################################################################### +# Written 1999-2017 by J. Schilling/Santa Cruz Operation +########################################################################### +# +# Platform dependent MACROS for SCO UnixWare 2.x / 7.x cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(SCO_UWCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(SCO_UWC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +CWOPTS= -v +COPTOPT= -O +COPTDYN= -KPIC +#COPTGPROF= -pg +COPTGPROF= -p +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -dy -G $(TARGET) +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); sh $(SRCROOT)/conf/mkdep-sco.sh +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) # mkdep-sco.sh? +MKC++DEP_OUT= diff --git a/RULES/cc-sgi.rul b/RULES/cc-sgi.rul new file mode 100644 index 0000000..2724fb6 --- /dev/null +++ b/RULES/cc-sgi.rul @@ -0,0 +1,85 @@ +#ident "@(#)cc-sgi.rul 1.14 17/05/28 " +########################################################################### +# Written 1996-2013 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Silicon Graphics cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(SGICOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(SGIC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +CWOPTS= -fullwarn +COPTOPT= -O +COPTDYN= -Kpic +COPTGPROF= -p1 +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) $(LARGEFILE_OPT) +#LDOPTDYN= -dy -G -ztext -h $(TARGET) -ldl +LNDYNLIB= @ + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= CC +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -M +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) -M +MKC++DEP_OUT= diff --git a/RULES/cc-sgi64.rul b/RULES/cc-sgi64.rul new file mode 100644 index 0000000..d8ed693 --- /dev/null +++ b/RULES/cc-sgi64.rul @@ -0,0 +1,85 @@ +#ident "@(#)cc-sgi64.rul 1.14 17/05/28 " +########################################################################### +# Written 1996-2013 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Silicon Graphics cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(SGICOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(SGIC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= -64 +CWOPTS= -fullwarn +COPTOPT= -O +COPTDYN= -Kpic +COPTGPROF= -p1 +C++OPTS= -64 +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) $(LARGEFILE_OPT) +#LDOPTDYN= -dy -G -ztext -h $(TARGET) -ldl +LNDYNLIB= @ + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= CC +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) -64 +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) -64 +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) -64 +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -64 -M +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) -64 +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) -64 +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) -64 +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) -64 -M +MKC++DEP_OUT= diff --git a/RULES/cc-sony.rul b/RULES/cc-sony.rul new file mode 100644 index 0000000..8bd5c69 --- /dev/null +++ b/RULES/cc-sony.rul @@ -0,0 +1,90 @@ +#ident @(#)cc-sony.rul 1.15 17/05/28 +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Sony cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(SONYCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(SONYC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +CWOPTS= -fullwarn +COPTOPT= -O +COPTDYN= -Kpic +COPTGPROF= -p1 +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +#LDOPTDYN= -dy -G -ztext -h $(TARGET) -ldl +LNDYNLIB= @ + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -M +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) -M +MKC++DEP_OUT= diff --git a/RULES/cc-sun.rul b/RULES/cc-sun.rul new file mode 100644 index 0000000..5f02dc5 --- /dev/null +++ b/RULES/cc-sun.rul @@ -0,0 +1,90 @@ +#ident "@(#)cc-sun.rul 1.15 17/05/28 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Sun cc (SunOS 4.x) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(SUNCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(SUNC++OPTOPT) $(C++OPTX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= +CWOPTS= +COPTOPT= -O +COPTDYN= -pic +COPTGPROF= -pg +C++OPTS= +C++WOPTS= +#C++OPTOPT= -O +#C++OPTDYN= -Kpic +#C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= +LNDYNLIB= @ + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= echo "C++ not yet supported"; exit -1; : +# +# Use to comment out C++ projects +# +C++BUILD= $(NUMBER_SIGN) + +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -M +MKDEP_OUT= + +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) -M +MKC++DEP_OUT= diff --git a/RULES/cc-sunpro.rul b/RULES/cc-sunpro.rul new file mode 100644 index 0000000..8bc8fdd --- /dev/null +++ b/RULES/cc-sunpro.rul @@ -0,0 +1,108 @@ +#ident "@(#)cc-sunpro.rul 1.17 17/05/28 " +########################################################################### +# Written 1996-2014 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunPro (Studio) cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CPPFLAGS= -DSCHILY_BUILD $(CPPOPTS) $(CPPOPTX) $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(SUNPROCOPTOPT) $(COPTX) +C++FLAGS= $(C++OPTS) $(C++WARNOPTS) $(C++OPTOPT) $(SUNPROC++OPTOPT) $(C++OPTX) + +LINTFLAGS= -Nlevel=4 + +_SUNPROCOPT= $(_UNIQ)$(XARCH_GEN_) +__SUNPROCOPT= $(_SUNPROCOPT:$(_UNIQ)=-xarch=generic) +SUNPROCOPT= $(__SUNPROCOPT:$(_UNIQ)%=%) + +SUN_CC32_OPT= $(SUN_CC64_OPT:-m64=-m32) + +_SUNPROCOPT32= $(_UNIQ)$(SUN_CC32_OPT) +__SUNPROCOPT32= $(_SUNPROCOPT32:$(_UNIQ)=-xarch=generic) +SUNPROCOPT32= $(__SUNPROCOPT32:$(_UNIQ)%=%) + +_SUNPROCOPT64= $(_UNIQ)$(SUN_CC64_OPT) +__SUNPROCOPT64= $(_SUNPROCOPT64:$(_UNIQ)=-xarch=generic64) +SUNPROCOPT64= $(__SUNPROCOPT64:$(_UNIQ)%=%) + +C_ARCH_= $(C_ARCH:suncc%=%) +SUNPROCOPTXX= $(SUNPROCOPT$(C_ARCH_:cc%=%)) +XARCH_GEN= $(SUNPROCOPTXX) + +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) +COPTS= -Xa $(SUNPROCOPTXX) +CWOPTS= -v +COPTOPT= -O +COPTDYN= -Kpic +COPTGPROF= -xpg +C++OPTS= $(SUNPROCOPTXX) +C++WOPTS= +C++OPTOPT= -O +C++OPTDYN= -Kpic +C++OPTGPROF= -xpg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1 + +LIB_C= -lc + +LIBS_PATH= -L$(OLIBSDIR) +LIBS_PATH_STATIC= -L$(OLIBSDIR_STATIC) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +# +# Sunpro C/C++ run on Solaris and Linux and both have linkers +# that support mapfiles +# +MAPVERS= $(_MAPVERS) # This enables to use mapfiles + +LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTDYN= -dy -G -ztext -h $(TARGET) $(PMAPVERS:%=-M%) -ldl +LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +__CC_COM= $(_UNIQ)$(CC) +___CC_COM= $(__CC_COM:$(_UNIQ)=$(CC_COM_DEF)) +CC_COM= $(___CC_COM:$(_UNIQ)%=%) + +__CC++_COM= $(_UNIQ)$(CCC) +___CC++_COM= $(__CC++_COM:$(_UNIQ)=$(CC++_COM_DEF)) +CC++_COM= $(___CC++_COM:$(_UNIQ)%=%) + +CC_COM_DEF= cc +CC++_COM_DEF= CC +CC= $(CC_COM_DEF) +CCC= $(CC++_COM_DEF) + +CCCC= @echo " ==> COMPILING \"$@\""; $(CC_COM) $(SUNPROCOPTXX) +CC++ = @echo " ==> COMPILING \"$@\""; $(CC++_COM) $(SUNPROCOPTXX) +LDCC= @echo " ==> LINKING \"$@\""; $(CC_COM) $(SUNPROCOPTXX) +LDCC++ = @echo " ==> LINKING \"$@\""; $(CC++_COM) $(SUNPROCOPTXX) +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; $(CC_COM) $(SUNPROCOPTXX) +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; $(CC++_COM) $(SUNPROCOPTXX) + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC_COM) -xM $(SUNPROCOPTXX) +MKDEP_OUT= +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(CC++_COM) -xM $(SUNPROCOPTXX) +MKC++DEP_OUT= diff --git a/RULES/dn5500-domainos-cc.rul b/RULES/dn5500-domainos-cc.rul new file mode 100644 index 0000000..43bff7e --- /dev/null +++ b/RULES/dn5500-domainos-cc.rul @@ -0,0 +1,37 @@ +#ident "@(#)dn5500-domainos-cc.rul 1.6 07/05/08 " +########################################################################### +# Written 2001 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for DomainOS (sys5.3, 10.4.1) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-apollo.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LORDER= echo +TSORT= cat + diff --git a/RULES/dummy.dep b/RULES/dummy.dep new file mode 100644 index 0000000..da7e13a --- /dev/null +++ b/RULES/dummy.dep @@ -0,0 +1,22 @@ +#ident @(#)dummy.dep 1.2 06/05/14 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Dependency building dummy rules +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +depend rmdep: + @echo "$@: nothing to make" diff --git a/RULES/dynamic.lnk b/RULES/dynamic.lnk new file mode 100644 index 0000000..c3f6570 --- /dev/null +++ b/RULES/dynamic.lnk @@ -0,0 +1,22 @@ +#ident @(#)dynamic.lnk 1.1 06/07/20 +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Rules for commands that are links dynamically against internal libs +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +SHLDIR= /pic +NO_SHL= diff --git a/RULES/gmake.wrn b/RULES/gmake.wrn new file mode 100644 index 0000000..5787406 --- /dev/null +++ b/RULES/gmake.wrn @@ -0,0 +1,25 @@ + W A R N I N G Messages like: + +gmake[2]: Entering directory `/tmp/cdrtools-2.01/libschily' +../RULES/r-gmake.dep:76: OBJ//cvmod.d: No such file or directory +../RULES/r-gmake.dep:76: OBJ//dat.d: No such file or directory +../RULES/r-gmake.dep:76: OBJ//fcons.d: No such file or directory +../RULES/r-gmake.dep:76: OBJ//fdown.d: No such file or directory +../RULES/r-gmake.dep:76: OBJ//fdup.d: No such file or directory +../RULES/r-gmake.dep:76: OBJ//ffileread.d: No such file or directory +../RULES/r-gmake.dep:76: OBJ//ffilewrite.d: No such file or directory +../RULES/r-gmake.dep:76: OBJ//fgetline.d: No such file or directory +../RULES/r-gmake.dep:76: OBJ//fgetstr.d: No such file or directory +../RULES/r-gmake.dep:76: OBJ//file_raise.d: No such file or directory +../RULES/r-gmake.dep:76: OBJ//fileclose.d: No such file or directory +.... + +are caused by a GNU make bug and not by the Schily makefile system. + +The related bug has been reported to the GNU make maintainers in 1998 but +as the bug has not yet been fixed, it seems that GNU make is unmaintained :-( +A working highly portable make program is at + + https://sourceforge.net/projects/s-make/files/ + +You may switch off this warning by calling "gmake GMAKE_NOWARN=true ..." diff --git a/RULES/hppa-nextstep-cc.rul b/RULES/hppa-nextstep-cc.rul new file mode 100644 index 0000000..3a07cf3 --- /dev/null +++ b/RULES/hppa-nextstep-cc.rul @@ -0,0 +1,50 @@ +#ident "@(#)hppa-nextstep-cc.rul 1.14 15/03/26 " +########################################################################### +# Written 1996-2015 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for NeXT Step on hppa (GCC) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul +CC_COM_DEF= cc + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= +LNDYNLIB= @ + +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + +_MKDIR= $(_MKDIR_SH) +MKDIR= $(MKDIR_SH) +INSMKDIR= $(INSMKDIR_SH) diff --git a/RULES/hppa-nextstep-gcc.rul b/RULES/hppa-nextstep-gcc.rul new file mode 100644 index 0000000..2d3f737 --- /dev/null +++ b/RULES/hppa-nextstep-gcc.rul @@ -0,0 +1,49 @@ +#ident "@(#)hppa-nextstep-gcc.rul 1.12 15/03/26 " +########################################################################### +# Written 1996-2015 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for NeXT Step on hppa (GCC) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= +LNDYNLIB= @ + +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + +_MKDIR= $(_MKDIR_SH) +MKDIR= $(MKDIR_SH) +INSMKDIR= $(INSMKDIR_SH) diff --git a/RULES/i386-at386-gnu-cc.rul b/RULES/i386-at386-gnu-cc.rul new file mode 100644 index 0000000..aa8f0a7 --- /dev/null +++ b/RULES/i386-at386-gnu-cc.rul @@ -0,0 +1,41 @@ +#ident "@(#)i386-at386-gnu-cc.rul 1.7 07/05/09 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for GNU (hurd) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat diff --git a/RULES/i386-at386-gnu-gcc.rul b/RULES/i386-at386-gnu-gcc.rul new file mode 100644 index 0000000..5b4c9c0 --- /dev/null +++ b/RULES/i386-at386-gnu-gcc.rul @@ -0,0 +1,41 @@ +#ident "@(#)i386-at386-gnu-gcc.rul 1.7 07/05/09 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for GNU (hurd) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat diff --git a/RULES/i386-bsd-os-cc.rul b/RULES/i386-bsd-os-cc.rul new file mode 100644 index 0000000..bef75eb --- /dev/null +++ b/RULES/i386-bsd-os-cc.rul @@ -0,0 +1,51 @@ +#ident "@(#)i386-bsd-os-cc.rul 1.15 13/11/04 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for BSD/OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) -I/sys $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +#COPTDYN= -fpic +COPTDYN= + +LIB_PREFIX= lib +LIB_SUFFIX= .a +#SHL_SUFFIX= .so.1.0 +SHL_SUFFIX= + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +#LDOPTDYN= -shared -Wl,-soname,$(TARGET) +#LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so +LDOPTDYN= +LNDYNLIB= + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-bsd-os-gcc.rul b/RULES/i386-bsd-os-gcc.rul new file mode 100644 index 0000000..7f358c7 --- /dev/null +++ b/RULES/i386-bsd-os-gcc.rul @@ -0,0 +1,51 @@ +#ident "@(#)i386-bsd-os-gcc.rul 1.15 13/11/04 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for BSD/OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) -I/sys $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +#COPTDYN= -fpic +COPTDYN= + +LIB_PREFIX= lib +LIB_SUFFIX= .a +#SHL_SUFFIX= .so.1.0 +SHL_SUFFIX= + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +#LDOPTDYN= -shared -Wl,-soname,$(TARGET) +#LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so +LDOPTDYN= +LNDYNLIB= + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-bsd-os3-cc.rul b/RULES/i386-bsd-os3-cc.rul new file mode 100644 index 0000000..eb5c3f5 --- /dev/null +++ b/RULES/i386-bsd-os3-cc.rul @@ -0,0 +1,56 @@ +#ident "@(#)i386-bsd-os3-cc.rul 1.13 13/11/04 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for BSD/OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) -I/sys $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +#COPTDYN= -fpic +COPTDYN= + +LIB_PREFIX= lib +LIB_SUFFIX= .a +#SHL_SUFFIX= .so.1.0 +SHL_SUFFIX= + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +#LDOPTDYN= -shared -Wl,-soname,$(TARGET) +#LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so +LDOPTDYN= +LNDYNLIB= + +# shlicc2 is not present oln older or newer systems +#LDCC= @echo " ==> LINKING \"$@\""; shlicc2 +LDCC= @echo " ==> LINKING \"$@\""; shlicc +#DYNLD= @echo " ==> LINKING dynamic library \"$@\""; gcc +DYNLD= +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-bsd-os3-gcc.rul b/RULES/i386-bsd-os3-gcc.rul new file mode 100644 index 0000000..f2dbd11 --- /dev/null +++ b/RULES/i386-bsd-os3-gcc.rul @@ -0,0 +1,56 @@ +#ident "@(#)i386-bsd-os3-gcc.rul 1.13 13/11/04 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for BSD/OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += +CPPOPTS= -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) -I/sys $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +#COPTDYN= -fpic +COPTDYN= + +LIB_PREFIX= lib +LIB_SUFFIX= .a +#SHL_SUFFIX= .so.1.0 +SHL_SUFFIX= + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +#LDOPTDYN= -shared -Wl,-soname,$(TARGET) +#LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so +LDOPTDYN= +LNDYNLIB= + +# shlicc2 is not present oln older or newer systems +#LDCC= @echo " ==> LINKING \"$@\""; shlicc2 +LDCC= @echo " ==> LINKING \"$@\""; shlicc +#DYNLD= @echo " ==> LINKING dynamic library \"$@\""; gcc +DYNLD= +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-darwin-clang.rul b/RULES/i386-darwin-clang.rul new file mode 100644 index 0000000..566bdbf --- /dev/null +++ b/RULES/i386-darwin-clang.rul @@ -0,0 +1,62 @@ +#ident "@(#)i386-darwin-clang.rul 1.2 14/04/02 " +########################################################################### +# Written 1996-2014 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Darwin-1.2 ff. (Apple MacOS X) x86 (CLANG) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +COPTDYN= -fPIC +C++OPTDYN= -fPIC + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .dylib + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDFRAMEWORKS= -framework IOKit -framework CoreFoundation +LDOPTS= $(LIBS_PATH) $(LDPATH) $(LDFRAMEWORKS) +LDOPTDYN= -install_name $(INSBASE)/lib/$(TARGET) +LNDYNLIB= @ + +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; libtool -dynamic +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; libtool -dynamic +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + +# +# lorder seems not to work on some versions because Apple installed +# a broken /bin/sh that is not POSIX cimpliant an will not +# be able to run the /usr/bin/lorder script. The error messages are: +# type: not found +# type: not found +# lorder: nm: not found +# ... disable it +# +LORDER= echo +TSORT= cat diff --git a/RULES/i386-freebsd-cc.rul b/RULES/i386-freebsd-cc.rul new file mode 100644 index 0000000..2b521d7 --- /dev/null +++ b/RULES/i386-freebsd-cc.rul @@ -0,0 +1,39 @@ +#ident "@(#)i386-freebsd-cc.rul 1.8 07/05/08 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for FreeBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-freebsd-clang.rul b/RULES/i386-freebsd-clang.rul new file mode 100644 index 0000000..c874a63 --- /dev/null +++ b/RULES/i386-freebsd-clang.rul @@ -0,0 +1,41 @@ +#ident "@(#)i386-freebsd-clang.rul 1.1 14/04/02 " +########################################################################### +# Written 1997-2014 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for FreeBSD using Clang +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-freebsd-gcc.rul b/RULES/i386-freebsd-gcc.rul new file mode 100644 index 0000000..7e6a85a --- /dev/null +++ b/RULES/i386-freebsd-gcc.rul @@ -0,0 +1,39 @@ +#ident "@(#)i386-freebsd-gcc.rul 1.8 07/05/08 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for FreeBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-mingw32_nt-gcc.rul b/RULES/i386-mingw32_nt-gcc.rul new file mode 100644 index 0000000..71ccaf5 --- /dev/null +++ b/RULES/i386-mingw32_nt-gcc.rul @@ -0,0 +1,49 @@ +#ident "@(#)i386-mingw32_nt-gcc.rul 1.13 15/03/26 " +########################################################################### +# +# Platform dependent MACROS for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += +CPPOPTS= -I/MinGW/Include -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +WIN_LIBS= $(WIN32_LIBS) + +LDLIBS= $(LIBS) $(LIBX) $(WIN_LIBS) -lmingw32 + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +_MKDIR= $(_MKDIR_SH) +MKDIR= $(MKDIR_SH) +INSMKDIR= $(INSMKDIR_SH) diff --git a/RULES/i386-minix-clang.rul b/RULES/i386-minix-clang.rul new file mode 100644 index 0000000..b39e7cd --- /dev/null +++ b/RULES/i386-minix-clang.rul @@ -0,0 +1,41 @@ +#ident "@(#)i386-minix-clang.rul 1.2 15/11/18 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Minix 3 using Clang +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-ms-dos-gcc.rul b/RULES/i386-ms-dos-gcc.rul new file mode 100644 index 0000000..dc4b880 --- /dev/null +++ b/RULES/i386-ms-dos-gcc.rul @@ -0,0 +1,44 @@ +#ident "@(#)i386-ms-dos-gcc.rul 1.5 07/05/08 " +########################################################################### +# +# Platform dependent MACROS for MSDOS/DJGPP v2 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +COPTDYN= +COPTGPROF= -pg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= +LNDYNLIB= + +#LDCC= @echo " ==> LINKING \"$@\""; gcc -Wl,--strip-all +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld + +LORDER= echo +TSORT= cat diff --git a/RULES/i386-netbsd-cc.rul b/RULES/i386-netbsd-cc.rul new file mode 100644 index 0000000..4241d74 --- /dev/null +++ b/RULES/i386-netbsd-cc.rul @@ -0,0 +1,41 @@ +#ident "@(#)i386-netbsd-cc.rul 1.11 07/05/09 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for NetBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += +#OSDEFS += -DIS_UNIX + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-netbsd-gcc.rul b/RULES/i386-netbsd-gcc.rul new file mode 100644 index 0000000..c56da8c --- /dev/null +++ b/RULES/i386-netbsd-gcc.rul @@ -0,0 +1,41 @@ +#ident "@(#)i386-netbsd-gcc.rul 1.11 07/05/09 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for NetBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += +#OSDEFS += -DIS_UNIX + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-openbsd-cc.rul b/RULES/i386-openbsd-cc.rul new file mode 100644 index 0000000..b613168 --- /dev/null +++ b/RULES/i386-openbsd-cc.rul @@ -0,0 +1,40 @@ +#ident "@(#)i386-openbsd-cc.rul 1.10 07/05/09 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for OpenBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-openbsd-gcc.rul b/RULES/i386-openbsd-gcc.rul new file mode 100644 index 0000000..6aca6c7 --- /dev/null +++ b/RULES/i386-openbsd-gcc.rul @@ -0,0 +1,40 @@ +#ident "@(#)i386-openbsd-gcc.rul 1.10 07/05/09 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for OpenBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/i386-openserver-cc.rul b/RULES/i386-openserver-cc.rul new file mode 100644 index 0000000..2d2a661 --- /dev/null +++ b/RULES/i386-openserver-cc.rul @@ -0,0 +1,35 @@ +#ident "@(#)i386-openserver-cc.rul 1.5 13/07/21 " +########################################################################### +# Written 1999 by J. Schilling/Santa Cruz Operation +########################################################################### +# +# Platform dependent MACROS for SCO OpenServer 5 using cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-sco_os.rul + +OSDEFS += -DSCO -DOPENSERVER + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= + +LORDER= echo +TSORT= cat + diff --git a/RULES/i386-openserver-gcc.rul b/RULES/i386-openserver-gcc.rul new file mode 100644 index 0000000..de01626 --- /dev/null +++ b/RULES/i386-openserver-gcc.rul @@ -0,0 +1,48 @@ +#ident "@(#)i386-openserver-gcc.rul 1.9 15/03/26 " +########################################################################### +# Written 1999-2015 by J. Schilling/Santa Cruz Operation +########################################################################### +# +# Platform dependent MACROS for SCO OpenServer 5 using gcc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += -DSCO -DOPENSERVER +COPTS= -melf + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= + +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -dy -G $(TARGET) + +LORDER= echo +TSORT= cat + +_MKDIR= $(_MKDIR_SH) +MKDIR= $(MKDIR_SH) +INSMKDIR= $(INSMKDIR_SH) diff --git a/RULES/i386-os2-gcc.rul b/RULES/i386-os2-gcc.rul new file mode 100644 index 0000000..70225a1 --- /dev/null +++ b/RULES/i386-os2-gcc.rul @@ -0,0 +1,56 @@ +#ident "@(#)i386-os2-gcc.rul 1.13 07/05/09 " +########################################################################### +# First version written 1999 by C. Wohlgemuth +########################################################################### +# +# Platform dependent MACROS for OS/2 using gcc (EMX) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +# XXX strtod.c now does floating point conversion on OS without ?cvt(). +# XXX For this reason, -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS has been +# XXX removed and printing floating numbers will work on any OS. +# +OSDEFS += -D__OS2 + +# +# Using -Zcrtdll is a hack to allow this flag to be seen +# from configure too. +COPTS= -Zcrtdll + +KDEFINES= + +COPTDYN= +COPTGPROF= +LIB_PREFIX= +LIB_SUFFIX= .a +SHL_SUFFIX= + +LIB_SOCKET= -lsocket +LIB_MATH= +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LDOPTDYN= + +LDCC= @echo " ==> LINKING \"$@\""; gcc -Zcrtdll + +LORDER= echo +TSORT= cat diff --git a/RULES/i386-unixware-cc.rul b/RULES/i386-unixware-cc.rul new file mode 100644 index 0000000..e1a69f7 --- /dev/null +++ b/RULES/i386-unixware-cc.rul @@ -0,0 +1,36 @@ +#ident "@(#)i386-unixware-cc.rul 1.7 07/05/08 " +########################################################################### +# Written 1999 by J. Schilling/Santa Cruz Operation +########################################################################### +# +# Platform dependent MACROS for SCO UnixWare 2.x / 7.x using cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-sco_uw.rul + +OSDEFS += -DUNIXWARE -DSVR4 + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +ARFLAGS= cr +LORDER= echo +TSORT= cat diff --git a/RULES/i386-unixware-gcc.rul b/RULES/i386-unixware-gcc.rul new file mode 100644 index 0000000..d156167 --- /dev/null +++ b/RULES/i386-unixware-gcc.rul @@ -0,0 +1,41 @@ +#ident "@(#)i386-unixware-gcc.rul 1.6 07/05/08 " +########################################################################### +# Written 1999 by J. Schilling/Santa Cruz Operation +########################################################################### +# +# Platform dependent MACROS for SCO UnixWare 2.x / 7.x using gcc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += -DUNIXWARE -DSVR4 + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= + +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -dy -G $(TARGET) + +LORDER= echo +TSORT= cat diff --git a/RULES/i486-cygwin32_nt-cc.rul b/RULES/i486-cygwin32_nt-cc.rul new file mode 100644 index 0000000..ef8a288 --- /dev/null +++ b/RULES/i486-cygwin32_nt-cc.rul @@ -0,0 +1,48 @@ +#ident "@(#)i486-cygwin32_nt-cc.rul 1.12 17/07/06 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for CYGWIN32_NT +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH:cc%=gcc%).rul + +OSDEFS += -mwin32 + +KDEFINES= +#COPTDYN= -fpic +COPTDYN= + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .dll + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +#LDOPTDYN= -shared -Wl,-soname,$(TARGET) +#LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so +LNDYNLIB= + +LORDER= echo +TSORT= cat diff --git a/RULES/i486-cygwin32_nt-cl.rul b/RULES/i486-cygwin32_nt-cl.rul new file mode 100644 index 0000000..d3e9e20 --- /dev/null +++ b/RULES/i486-cygwin32_nt-cl.rul @@ -0,0 +1,48 @@ +#ident "@(#)i486-cygwin32_nt-cl.rul 1.8 09/05/21 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for CYGWIN32_NT using MSVC +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +_PLATFORM= cygwin +include $(SRCROOT)/$(RULESDIR)/cc-msc.rul + +# +# Supress useless cl warnings like: +# warning C4996: 'strerror' wurde als veraltet deklariert +# Consider using strerror_s instead. +# +OSDEFS += -D_CRT_SECURE_NO_DEPRECATE + +# +# Supress useless cl warnings like: +# warning C4996: 'fdopen' wurde als veraltet deklariert +# The POSIX name for this item is deprecated. Instead, use +# the ISO C++ conformant name: _fdopen. +# +OSDEFS += -D_CRT_NONSTDC_NO_DEPRECATE + +KDEFINES= + +LIB_SOCKET= Ws2_32.lib +LIB_MATH= +LIB_KVM= + +LORDER= echo +TSORT= cat diff --git a/RULES/i486-cygwin32_nt-gcc.rul b/RULES/i486-cygwin32_nt-gcc.rul new file mode 100644 index 0000000..47e4fd9 --- /dev/null +++ b/RULES/i486-cygwin32_nt-gcc.rul @@ -0,0 +1,48 @@ +#ident "@(#)i486-cygwin32_nt-gcc.rul 1.12 17/07/06 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for CYGWIN32_NT +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS += -mwin32 + +KDEFINES= +#COPTDYN= -fpic +COPTDYN= + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .dll + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +#LDOPTDYN= -shared -Wl,-soname,$(TARGET) +#LNDYNLIB= @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so +LNDYNLIB= + +LORDER= echo +TSORT= cat diff --git a/RULES/i486-mingw32_nt-gcc.rul b/RULES/i486-mingw32_nt-gcc.rul new file mode 100644 index 0000000..a3838fa --- /dev/null +++ b/RULES/i486-mingw32_nt-gcc.rul @@ -0,0 +1,49 @@ +#ident "@(#)i486-mingw32_nt-gcc.rul 1.12 15/03/26 " +########################################################################### +# +# Platform dependent MACROS for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += +CPPOPTS= -I/MinGW/Include -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +WIN_LIBS= $(WIN32_LIBS) + +LDLIBS= $(LIBS) $(LIBX) $(WIN_LIBS) -lmingw32 + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +_MKDIR= $(_MKDIR_SH) +MKDIR= $(MKDIR_SH) +INSMKDIR= $(INSMKDIR_SH) diff --git a/RULES/i586-linux-cc.rul b/RULES/i586-linux-cc.rul new file mode 100644 index 0000000..ddda349 --- /dev/null +++ b/RULES/i586-linux-cc.rul @@ -0,0 +1,51 @@ +#ident "@(#)i586-linux-cc.rul 1.14 15/03/26 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Linux +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-g$(C_ARCH).rul + +# +# LINUX_SRC_INCLUDE is defined in DEFAULTS/Defaults.linux +# +INCDIRSX += $(LINUX_SRC_INCLUDE) +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +# +# Uncomment the next line in case you are on an old Linux version that +# does not support the -R linker flag. +# +#LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat diff --git a/RULES/i586-linux-clang.rul b/RULES/i586-linux-clang.rul new file mode 100644 index 0000000..cdd7fd9 --- /dev/null +++ b/RULES/i586-linux-clang.rul @@ -0,0 +1,51 @@ +#ident "@(#)i586-linux-clang.rul 1.1 14/04/02 " +########################################################################### +# Written 1996-2014 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Linux using Clang +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +# +# LINUX_SRC_INCLUDE is defined in DEFAULTS/Defaults.linux +# +INCDIRSX += $(LINUX_SRC_INCLUDE) +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +# +# Uncomment the next line in case you are on an old Linux version that +# does not support the -R linker flag. +# +#LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat diff --git a/RULES/i586-linux-gcc.rul b/RULES/i586-linux-gcc.rul new file mode 100644 index 0000000..78ad6f1 --- /dev/null +++ b/RULES/i586-linux-gcc.rul @@ -0,0 +1,51 @@ +#ident "@(#)i586-linux-gcc.rul 1.14 15/03/26 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Linux +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +# +# LINUX_SRC_INCLUDE is defined in DEFAULTS/Defaults.linux +# +INCDIRSX += $(LINUX_SRC_INCLUDE) +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +# +# Uncomment the next line in case you are on an old Linux version that +# does not support the -R linker flag. +# +#LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat diff --git a/RULES/i586-linux-suncc.rul b/RULES/i586-linux-suncc.rul new file mode 100644 index 0000000..bc5f228 --- /dev/null +++ b/RULES/i586-linux-suncc.rul @@ -0,0 +1,55 @@ +#ident "@(#)i586-linux-suncc.rul 1.6 14/04/01 " +########################################################################### +# Written 2007-2014 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Linux using Sun Studio +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH:cc%=sunpro%).rul +CC_COM_DEF= suncc +CC++_COM_DEF= sunCC + +# +# LINUX_SRC_INCLUDE is defined in DEFAULTS/Defaults.linux +# +INCDIRSX += $(LINUX_SRC_INCLUDE) +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +# +# Uncomment the next line in case you are on an old Linux version that +# does not support the -R linker flag. +# +#LDOPTS= $(LIBS_PATH) $(LDPATH) + +LDOPTDYN= -dy -G -Wl,-shared -Wl,-soname,$(TARGET) + +LORDER= echo +TSORT= cat diff --git a/RULES/i586-mingw32_nt-gcc.rul b/RULES/i586-mingw32_nt-gcc.rul new file mode 100644 index 0000000..520f524 --- /dev/null +++ b/RULES/i586-mingw32_nt-gcc.rul @@ -0,0 +1,49 @@ +#ident "@(#)i586-mingw32_nt-gcc.rul 1.12 15/03/26 " +########################################################################### +# +# Platform dependent MACROS for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += +CPPOPTS= -I/MinGW/Include -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +WIN_LIBS= $(WIN32_LIBS) + +LDLIBS= $(LIBS) $(LIBX) $(WIN_LIBS) -lmingw32 + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +_MKDIR= $(_MKDIR_SH) +MKDIR= $(MKDIR_SH) +INSMKDIR= $(INSMKDIR_SH) diff --git a/RULES/i586-pyro-cc.rul b/RULES/i586-pyro-cc.rul new file mode 100644 index 0000000..60500a8 --- /dev/null +++ b/RULES/i586-pyro-cc.rul @@ -0,0 +1,53 @@ +#ident "@(#)i586-pyro-cc.rul 1.1 12/12/02 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Pyro +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +# +# Uncomment the next line in case you are on an old Linker version that +# does not support the -R linker flag. +# +#LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +# +# The current developement system has these files in /boot/NIX/coreutils/bin +# +LN= /boot/NIX/coreutils/bin/ln +SYMLINK= /boot/NIX/coreutils/bin/ln -s +RM= /boot/NIX/coreutils/bin/rm +MV= /boot/NIX/coreutils/bin/mv diff --git a/RULES/i586-pyro-gcc.rul b/RULES/i586-pyro-gcc.rul new file mode 100644 index 0000000..f1d4c9b --- /dev/null +++ b/RULES/i586-pyro-gcc.rul @@ -0,0 +1,53 @@ +#ident "@(#)i586-pyro-gcc.rul 1.1 12/12/02 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Pyro +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +# +# Uncomment the next line in case you are on an old Linker version that +# does not support the -R linker flag. +# +#LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +# +# The current developement system has these files in /boot/NIX/coreutils/bin +# +LN= /boot/NIX/coreutils/bin/ln +SYMLINK= /boot/NIX/coreutils/bin/ln -s +RM= /boot/NIX/coreutils/bin/rm +MV= /boot/NIX/coreutils/bin/mv diff --git a/RULES/i586-syllable-cc.rul b/RULES/i586-syllable-cc.rul new file mode 100644 index 0000000..258f098 --- /dev/null +++ b/RULES/i586-syllable-cc.rul @@ -0,0 +1,53 @@ +#ident "@(#)i586-syllable-cc.rul 1.3 09/02/02 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Syllable +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +# +# Uncomment the next line in case you are on an old Linker version that +# does not support the -R linker flag. +# +#LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +# +# The current developement system has these files in /bin +# +#LN= /usr/indexes/bin/ln +#SYMLINK= /usr/indexes/bin/ln -s +#RM= /usr/indexes/bin/rm +#MV= /usr/indexes/bin/mv diff --git a/RULES/i586-syllable-gcc.rul b/RULES/i586-syllable-gcc.rul new file mode 100644 index 0000000..307834c --- /dev/null +++ b/RULES/i586-syllable-gcc.rul @@ -0,0 +1,53 @@ +#ident "@(#)i586-syllable-gcc.rul 1.3 09/02/02 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Syllable +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +# +# Uncomment the next line in case you are on an old Linker version that +# does not support the -R linker flag. +# +#LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +# +# The current developement system has these files in /bin +# +#LN= /usr/indexes/bin/ln +#SYMLINK= /usr/indexes/bin/ln -s +#RM= /usr/indexes/bin/rm +#MV= /usr/indexes/bin/mv diff --git a/RULES/i686-cygwin32_wow64-cl64.rul b/RULES/i686-cygwin32_wow64-cl64.rul new file mode 100644 index 0000000..7e0ec02 --- /dev/null +++ b/RULES/i686-cygwin32_wow64-cl64.rul @@ -0,0 +1,40 @@ +#ident "@(#)i686-cygwin32_wow64-cl64.rul 1.8 09/05/17 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for CYGWIN32_WOW64 using MSVC +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +_PLATFORM= cygwin +include $(SRCROOT)/$(RULESDIR)/cc-msc64.rul + +# +# Supress useless cl warnings like: +# warning C4996: 'strerror' wurde als veraltet deklariert +# Consider using strerror_s instead. +# +OSDEFS += -D_CRT_SECURE_NO_DEPRECATE + +KDEFINES= + +LIB_SOCKET= Ws2_32.lib +LIB_MATH= +LIB_KVM= + +LORDER= echo +TSORT= cat diff --git a/RULES/i686-mingw32_nt-gcc.rul b/RULES/i686-mingw32_nt-gcc.rul new file mode 100644 index 0000000..a886380 --- /dev/null +++ b/RULES/i686-mingw32_nt-gcc.rul @@ -0,0 +1,49 @@ +#ident "@(#)i686-mingw32_nt-gcc.rul 1.12 15/03/26 " +########################################################################### +# +# Platform dependent MACROS for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += +CPPOPTS= -I/MinGW/Include -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +WIN_LIBS= $(WIN32_LIBS) + +LDLIBS= $(LIBS) $(LIBX) $(WIN_LIBS) -lmingw32 + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +_MKDIR= $(_MKDIR_SH) +MKDIR= $(MKDIR_SH) +INSMKDIR= $(INSMKDIR_SH) diff --git a/RULES/i786-mingw32_nt-gcc.rul b/RULES/i786-mingw32_nt-gcc.rul new file mode 100644 index 0000000..71330f5 --- /dev/null +++ b/RULES/i786-mingw32_nt-gcc.rul @@ -0,0 +1,49 @@ +#ident "@(#)i786-mingw32_nt-gcc.rul 1.12 15/03/26 " +########################################################################### +# +# Platform dependent MACROS for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += +CPPOPTS= -I/MinGW/Include -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +WIN_LIBS= $(WIN32_LIBS) + +LDLIBS= $(LIBS) $(LIBX) $(WIN_LIBS) -lmingw32 + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +_MKDIR= $(_MKDIR_SH) +MKDIR= $(MKDIR_SH) +INSMKDIR= $(INSMKDIR_SH) diff --git a/RULES/i86pc-sunos5-cc.rul b/RULES/i86pc-sunos5-cc.rul new file mode 100644 index 0000000..b19786d --- /dev/null +++ b/RULES/i86pc-sunos5-cc.rul @@ -0,0 +1,37 @@ +#ident "@(#)i86pc-sunos5-cc.rul 1.13 14/03/28 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunOS 5.x on PC +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH:cc%=sunpro%).rul + +OSDEFS += -D__SVR4 -DSVR4 + +KDEFINES= -DKERNEL -D_KERNEL + + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= -lkvm -lelf +LIB_VOLMGT= -lvolmgt + +ARFLAGS= crs diff --git a/RULES/i86pc-sunos5-clang.rul b/RULES/i86pc-sunos5-clang.rul new file mode 100644 index 0000000..97fd987 --- /dev/null +++ b/RULES/i86pc-sunos5-clang.rul @@ -0,0 +1,47 @@ +#ident "@(#)i86pc-sunos5-clang.rul 1.2 14/04/07 " +########################################################################### +# Written 1996-2014 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunOS 5.x for PC using Clang +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS += -D__SVR4 -DSVR4 +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= -lkvm -lelf +LIB_VOLMGT= -lvolmgt + +# +# Solaris comes with a linker that supports mapfiles +# +MAPVERS= $(_MAPVERS) # This enables to use mapfiles + +# +# We should use -Wl,-ztext here, but gcc does not create fully compliant +# object files. +# +#LDOPTDYN= -dy -G -h $(TARGET) $(PMAPVERS:%=-Wl,-M%) -ldl +LDOPTDYN= -Wl,-dy -Wl,-G -Wl,-h$(TARGET) $(PMAPVERS:%=-Wl,-M%) -ldl + +ARFLAGS= crs diff --git a/RULES/i86pc-sunos5-gcc.rul b/RULES/i86pc-sunos5-gcc.rul new file mode 100644 index 0000000..3bc3810 --- /dev/null +++ b/RULES/i86pc-sunos5-gcc.rul @@ -0,0 +1,46 @@ +#ident "@(#)i86pc-sunos5-gcc.rul 1.15 14/03/28 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunOS 5.x for PC +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS += -D__SVR4 -DSVR4 +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= -lkvm -lelf +LIB_VOLMGT= -lvolmgt + +# +# Solaris comes with a linker that supports mapfiles +# +MAPVERS= $(_MAPVERS) # This enables to use mapfiles + +# +# We should use -Wl,-ztext here, but gcc does not create fully compliant +# object files. +# +LDOPTDYN= -dy -G -h $(TARGET) $(PMAPVERS:%=-Wl,-M%) -ldl + +ARFLAGS= crs diff --git a/RULES/i86pc-sunos5-pcc.rul b/RULES/i86pc-sunos5-pcc.rul new file mode 100644 index 0000000..03c8b5e --- /dev/null +++ b/RULES/i86pc-sunos5-pcc.rul @@ -0,0 +1,40 @@ +#ident "@(#)i86pc-sunos5-pcc.rul 1.3 13/01/09 " +########################################################################### +# Written 2010-2013 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunOS 5.x for PC +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-pcc.rul + +OSDEFS += -D__SVR4 -DSVR4 +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= -lkvm -lelf +LIB_VOLMGT= -lvolmgt + +# +# Solaris comes with a linker that supports mapfiles +# +MAPVERS= $(_MAPVERS) # This enables to use mapfiles + +LDOPTDYN= -dy -G -Wl,-ztext -h $(TARGET) $(PMAPVERS:%=-Wl,-M%) -ldl + +ARFLAGS= crs diff --git a/RULES/ip22-irix-cc.rul b/RULES/ip22-irix-cc.rul new file mode 100644 index 0000000..ea6ffc7 --- /dev/null +++ b/RULES/ip22-irix-cc.rul @@ -0,0 +1,40 @@ +#ident "@(#)ip22-irix-cc.rul 1.10 14/04/01 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Silicon Graphics IRIX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH:cc%=sgi%).rul + +OSDEFS += -D__SVR4 -DSVR4 $(LARGEFILE_OPT) + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +ARFLAGS= crs +# +# lorder seems not to work on some machines, disable it +# +LORDER= echo +TSORT= cat diff --git a/RULES/ip22-irix-gcc.rul b/RULES/ip22-irix-gcc.rul new file mode 100644 index 0000000..b3e13fb --- /dev/null +++ b/RULES/ip22-irix-gcc.rul @@ -0,0 +1,48 @@ +#ident "@(#)ip22-irix-gcc.rul 1.13 15/11/30 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Silicon Graphics IRIX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul +GCC_OPT64= -mabi=64 + +OSDEFS += -D__SVR4 -DSVR4 + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= +LNDYNLIB= @ + +FLOAT_OPTIONS= + +ARFLAGS= crs +# +# lorder seems not to work on some machines, disable it +# +LORDER= echo +TSORT= cat diff --git a/RULES/ldummy.cnf b/RULES/ldummy.cnf new file mode 100644 index 0000000..3b1ea05 --- /dev/null +++ b/RULES/ldummy.cnf @@ -0,0 +1,20 @@ +#ident @(#)ldummy.cnf 1.2 06/05/14 +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Dummy Make Rules for local dynamic configuration +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### diff --git a/RULES/local.cnf b/RULES/local.cnf new file mode 100644 index 0000000..1172b9a --- /dev/null +++ b/RULES/local.cnf @@ -0,0 +1,48 @@ +#ident @(#)local.cnf 1.12 15/11/10 +########################################################################### +# Written 1998-2014 by J. Schilling +########################################################################### +# +# Make Rules for local dynamic configuration +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +configure: autoconf.m4 acgeneral.m4 acspecific.m4 acoldnames.m4 aclocal.m4 \ + local.cnf.in lconfig.h.in + @echo " ==> AUTOCONFIGURING LOCAL \"$@\""; sh ./autoconf + +#config: $(ARCHDIR)/local.cnf + +$(ARCHDIR)/Inull: + $(MKDIR) -p $(ARCHDIR) + @echo > $@ + +$(ARCHDIR)/local.cnf $(ARCHDIR)/lconfig.h: $(LCONFIG_DEP) $(ARCHDIR)/Inull \ + configure local.cnf.in lconfig.h.in + $(RUL_LCONF) + +########################################################################### +RUL_LCONF= @echo " ==> CONFIGURING LOCAL RULES \"$@\""; \ + $(RM_F) $(ARCHDIR)/local.cnf $(ARCHDIR)/lconfig.h; \ + cd $(ARCHDIR); \ + CONFIG_NOFAIL=TRUE CC="$(XCC_COM)" CFLAGS="$(CFLAGS)" \ + CXXFLAGS="$(C++FLAGS)" CPPFLAGS="$(OS_DEFS)" \ + LDFLAGS="$(LDOPTS)" sh $(INVERSE_SUBARCHDIR)../../configure $(CONFFLAGS) +########################################################################### +include $(ARCHDIR)/Inull +include $(ARCHDIR)/local.cnf +########################################################################### diff --git a/RULES/m68k-amigaos-gcc.rul b/RULES/m68k-amigaos-gcc.rul new file mode 100644 index 0000000..7fc7152 --- /dev/null +++ b/RULES/m68k-amigaos-gcc.rul @@ -0,0 +1,42 @@ +#ident "@(#)m68k-amigaos-gcc.rul 1.7 07/05/09 " +########################################################################### +# Written 1997,2001 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for AmigaOS GCC systems +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib +LORDER= echo +TSORT= cat diff --git a/RULES/man-bsd.def b/RULES/man-bsd.def new file mode 100644 index 0000000..d813c8b --- /dev/null +++ b/RULES/man-bsd.def @@ -0,0 +1,48 @@ +#ident @(#)man-bsd.def 1.2 06/05/14 +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Definition for manual sections on BSD based systems +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +MANSECT_CMD= man1 +MANSECT_SYSCALL= man2 +MANSECT_LIB= man3 +MANSECT_FILEFORM= man5 +MANSECT_HDR= man7 +MANSECT_TABLES= man7 +MANSECT_MACROS= man7 +MANSECT_GAMES= man6 +MANSECT_DEMOS= man6 +MANSECT_DEVICE= man4 +MANSECT_NETWORK= man4 +MANSECT_ADMIN= man8 +MANSECT_DRIVER= man4 + +MANSUFF_CMD= 1 +MANSUFF_SYSCALL= 2 +MANSUFF_LIB= 3 +MANSUFF_FILEFORM= 5 +MANSUFF_HDR= 7 +MANSUFF_TABLES= 7 +MANSUFF_MACROS= 7 +MANSUFF_GAMES= 6 +MANSUFF_DEMOS= 6 +MANSUFF_DEVICE= 4 +MANSUFF_NETWORK= 4 +MANSUFF_ADMIN= 8 +MANSUFF_DRIVER= 4 diff --git a/RULES/man-sysv.def b/RULES/man-sysv.def new file mode 100644 index 0000000..06cfd5c --- /dev/null +++ b/RULES/man-sysv.def @@ -0,0 +1,48 @@ +#ident @(#)man-sysv.def 1.2 06/05/14 +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Definition for manual sections on SYSV based systems +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +MANSECT_CMD= man1 +MANSECT_SYSCALL= man2 +MANSECT_LIB= man3 +MANSECT_FILEFORM= man4 +MANSECT_HDR= man5 +MANSECT_TABLES= man5 +MANSECT_MACROS= man5 +MANSECT_GAMES= man6 +MANSECT_DEMOS= man6 +MANSECT_DEVICE= man7 +MANSECT_NETWORK= man7 +MANSECT_ADMIN= man8 +MANSECT_DRIVER= man9 + +MANSUFF_CMD= 1 +MANSUFF_SYSCALL= 2 +MANSUFF_LIB= 3 +MANSUFF_FILEFORM= 4 +MANSUFF_HDR= 5 +MANSUFF_TABLES= 5 +MANSUFF_MACROS= 5 +MANSUFF_GAMES= 6 +MANSUFF_DEMOS= 6 +MANSUFF_DEVICE= 7 +MANSUFF_NETWORK= 7 +MANSUFF_ADMIN= 8 +MANSUFF_DRIVER= 9 diff --git a/RULES/mk-.id b/RULES/mk-.id new file mode 100644 index 0000000..6808d8b --- /dev/null +++ b/RULES/mk-.id @@ -0,0 +1,68 @@ +#ident "@(#)mk-.id 1.18 12/12/29 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Name of make program (make/gmake/smake) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +MAKEPROG= make # Sun make +WAIT= .WAIT # Sun make notation to wait for parallel targets + +SPACE= $(_UNIQ:$(_UNIQ)%= ) +PRE_NUMBER= pre\# +NUMBER_SIGN= $(PRE_NUMBER:pre\%=%) + +########################################################################### +# +# standard (automatic) machine identification +# +########################################################################### +# +# XP_ARCH = uname -p = mach # Processor (sparc/mc68020) +# XK_ARCH = uname -m = arch -k # Kernel (sun3/sun4c/sun4m) +# XM_ARCH = arch ~ arch -k # Machine (sun3/sun4) +# +########################################################################### +# +# Due to a bug in /usr/xpg*/bin/tr on Solaris, we cannot directly translit +# many different chars to '-' using e.g. tr ', /\\()"' ',------' +# +# This is why we use sed 'y%ABC\\%abc-%'. Note that this will not work on *BSD +# +########################################################################### + +XP_ARCH:sh= (mach || uname -p || true)2>/dev/null | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' +XK_ARCH:sh= uname -m | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' +XM_ARCH:sh= (arch || /usr/ucb/arch || true)2>/dev/null | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' + +P_ARCH= $(XP_ARCH) +K_ARCH= $(XK_ARCH) +M_ARCH= $(XM_ARCH) + +_XP_ARCH= $(XP_ARCH:unknown=$(K_ARCH)) + +_P_ARCH= $(_UNIQ)$(_XP_ARCH) +__P_ARCH= $(_P_ARCH:$(_UNIQ)=$(K_ARCH)) +P_ARCH= $(__P_ARCH:$(_UNIQ)%=%) + +_M_ARCH= $(_UNIQ)$(XM_ARCH) +__M_ARCH= $(_M_ARCH:$(_UNIQ)=$(K_ARCH)) +M_ARCH= $(__M_ARCH:$(_UNIQ)%=%) + +OSNAME:sh= uname -s | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' +OSREL:sh= uname -r | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' +OSVERSION:sh= uname -v | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' diff --git a/RULES/mk-gmake.id b/RULES/mk-gmake.id new file mode 100644 index 0000000..12cd67d --- /dev/null +++ b/RULES/mk-gmake.id @@ -0,0 +1,100 @@ +#ident "@(#)mk-gmake.id 1.24 12/12/29 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Name of make program (make/gmake/smake) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +_SETENV= $(_UNIQ)$(SETENV) +__SETENV= $(_SETENV:$(_UNIQ)=rules.env) +___SETENV= $(__SETENV:$(_UNIQ)none=rules.nul) +SET_ENV= $(___SETENV:$(_UNIQ)%=%) + +include $(SRCROOT)/$(RULESDIR)/$(SET_ENV) + +MAKEPROG= gmake +.SHELLFLAGS= -ce # switch gmake-3.82 ff. to POSIX behavior +WAIT= # gmake is unable to wait for parallel targets + +SPACE= $(_UNIQ:$(_UNIQ)%= ) +PRE_NUMBER= pre\# +NUMBER_SIGN= $(PRE_NUMBER:pre%=%) + +########################################################################### +# +# standard (automatic) machine identification +# +########################################################################### +# +# XP_ARCH = uname -p = mach # Processor (sparc/mc68020) +# XK_ARCH = uname -m = arch -k # Kernel (sun3/sun4c/sun4m) +# XM_ARCH = arch ~ arch -k # Machine (sun3/sun4) +# +########################################################################### +# +# Due to a bug in /usr/xpg*/bin/tr on Solaris, we cannot directly translit +# many different chars to '-' using e.g. tr ', /\\()"' ',------' +# This is why we first tranliterate everything to '/ and later to '-' +# +# Due to a bug in *BSDs sed, we cannot use sed 'y%ABC\\%abc-%' +# +########################################################################### + +ifndef ARCH_DONE + +ifndef GMAKE_NOWARN +__gmake_warn:= $(shell cat $(SRCROOT)/$(RULESDIR)/gmake.wrn 1>&2; sleep 2) +endif + +_MACHCMD= (mach || uname -p || true) 2> /dev/null +_ARCHCMD= (arch || /usr/ucb/arch || true) 2> /dev/null + +XP_ARCH:= $(shell $(_MACHCMD) | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"' 'abcdefghijklmnopqrstuvwxyz,//////' | tr ',/' ',\-') +XK_ARCH:= $(shell uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"' 'abcdefghijklmnopqrstuvwxyz,//////' | tr ',/' ',\-') +XM_ARCH:= $(shell $(_ARCHCMD) | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"' 'abcdefghijklmnopqrstuvwxyz,//////' | tr ',/' ',\-') + +P_ARCH= $(XP_ARCH) +K_ARCH= $(XK_ARCH) +M_ARCH= $(XM_ARCH) + +_XP_ARCH= $(XP_ARCH:unknown=$(K_ARCH)) + +_P_ARCH= $(_UNIQ)$(_XP_ARCH) +__P_ARCH= $(_P_ARCH:$(_UNIQ)=$(K_ARCH)) +P_ARCH= $(__P_ARCH:$(_UNIQ)%=%) + +_M_ARCH= $(_UNIQ)$(XM_ARCH) +__M_ARCH= $(_M_ARCH:$(_UNIQ)=$(K_ARCH)) +M_ARCH= $(__M_ARCH:$(_UNIQ)%=%) + +OSNAME:= $(shell uname -s | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"' 'abcdefghijklmnopqrstuvwxyz,//////' | tr ',/' ',\-') +OSREL:= $(shell uname -r | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"' 'abcdefghijklmnopqrstuvwxyz,//////' | tr ',/' ',\-') +OSVERSION:= $(shell uname -v | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"' 'abcdefghijklmnopqrstuvwxyz,//////' | tr ',/' ',\-') + +ARCH_DONE= TRUE + +export XP_ARCH +export K_ARCH +export XM_ARCH +export P_ARCH +export M_ARCH +export OSNAME +export OSREL +export OSVERSION +export ARCH_DONE + +endif diff --git a/RULES/mk-smake.id b/RULES/mk-smake.id new file mode 100644 index 0000000..2735b60 --- /dev/null +++ b/RULES/mk-smake.id @@ -0,0 +1,76 @@ +#ident "@(#)mk-smake.id 1.10 12/12/29 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Name of make program (make/gmake/smake) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +_SETENV= $(_UNIQ)$(SETENV) +__SETENV= $(_SETENV:$(_UNIQ)=rules.env) +___SETENV= $(__SETENV:$(_UNIQ)none=rules.nul) +SET_ENV= $(___SETENV:$(_UNIQ)%=%) + +include $(SRCROOT)/$(RULESDIR)/$(SET_ENV) + +MAKEPROG= $(MAKE_NAME) +WAIT= # smake-1.2.1 does not yet wait for parallel targets + +SPACE= $(_UNIQ:$(_UNIQ)%= ) +#NUMBER_SIGN= NUMBER_SIGN is defined internally by smake + +########################################################################### +# +# standard (automatic) machine identification +# +########################################################################### +# +# XP_ARCH = MAKE_ARCH = uname -p = mach # Processor (sparc/mc68020) +# XK_ARCH = MAKE_MACH = uname -m = arch -k # Kernel (sun3/sun4c/sun4m) +# XM_ARCH = MAKE_M_ARCH = arch ~ arch -k # Machine (sun3/sun4) +# +########################################################################### + +XP_ARCH= $(MAKE_ARCH) +XK_ARCH= $(MAKE_MACH) +XM_ARCH= $(MAKE_M_ARCH) + +P_ARCH= $(XP_ARCH) +K_ARCH= $(XK_ARCH) +M_ARCH= $(XM_ARCH) + +_P_ARCH= $(_UNIQ)$(XP_ARCH) +__P_ARCH= $(_P_ARCH:$(_UNIQ)=$(MAKE_MACH)) +P_ARCH= $(__P_ARCH:$(_UNIQ)%=%) + +_M_ARCH= $(_UNIQ)$(MAKE_M_ARCH) +__M_ARCH= $(_M_ARCH:$(_UNIQ)=$(MAKE_MACH)) +M_ARCH= $(__M_ARCH:$(_UNIQ)%=%) + +HOSTNAME= $(MAKE_HOST) +OSNAME= $(MAKE_OS) +OSDEFS= $(MAKE_OSDEFS) +OSREL= $(MAKE_OSREL) +OSVERSION= $(MAKE_OSVERSION) + +# +# Disable Simple Suffix Rules +# +.SSUFFIX_RULES: +# +# Disable Suffix Rules +# +.SUFFIXES: diff --git a/RULES/mk-sunpro.id b/RULES/mk-sunpro.id new file mode 100644 index 0000000..7d6e7dc --- /dev/null +++ b/RULES/mk-sunpro.id @@ -0,0 +1,70 @@ +#ident "@(#)mk-sunpro.id 1.19 17/05/08 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Name of make program (make/gmake/smake) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +MAKEPROG= $(MAKE_NAME) # Use the new ID from the Schilytools version +WAIT= .WAIT # Sun make notation to wait for parallel targets + +SPACE= $(_UNIQ:$(_UNIQ)%= ) +PRE_NUMBER= pre\# +NUMBER_SIGN= $(PRE_NUMBER:pre\%=%) + +########################################################################### +# +# standard (automatic) machine identification +# +########################################################################### +# +# XP_ARCH = uname -p = mach # Processor (sparc/mc68020) +# XK_ARCH = uname -m = arch -k # Kernel (sun3/sun4c/sun4m) +# XM_ARCH = arch ~ arch -k # Machine (sun3/sun4) +# +########################################################################### +# +# Due to a bug in /usr/xpg*/bin/tr on Solaris, we cannot directly translit +# many different chars to '-' using e.g. tr ', /\\()"' ',------' +# +# This is why we use sed 'y%ABC\\%abc-%'. Note that this will not work on *BSD +# +########################################################################### + +XP_ARCH:sh= (mach || uname -p || true)2>/dev/null | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' +XK_ARCH:sh= uname -m | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' +XM_ARCH:sh= (arch || /usr/ucb/arch || true)2>/dev/null | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' + +P_ARCH= $(XP_ARCH) +K_ARCH= $(XK_ARCH) +M_ARCH= $(XM_ARCH) + +_XP_ARCH= $(XP_ARCH:unknown=$(K_ARCH)) + +_P_ARCH= $(_UNIQ)$(_XP_ARCH) +__P_ARCH= $(_P_ARCH:$(_UNIQ)=$(K_ARCH)) +P_ARCH= $(__P_ARCH:$(_UNIQ)%=%) + +_M_ARCH= $(_UNIQ)$(XM_ARCH) +__M_ARCH= $(_M_ARCH:$(_UNIQ)=$(K_ARCH)) +M_ARCH= $(__M_ARCH:$(_UNIQ)%=%) + +OSNAME:sh= uname -s | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' +OSREL:sh= uname -r | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' +OSVERSION:sh= uname -v | sed 'y%ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"%abcdefghijklmnopqrstuvwxyz,------%' diff --git a/RULES/news4000-newsos6-cc.rul b/RULES/news4000-newsos6-cc.rul new file mode 100644 index 0000000..22f37f1 --- /dev/null +++ b/RULES/news4000-newsos6-cc.rul @@ -0,0 +1,39 @@ +#ident @(#)news4000-newsos6-cc.rul 1.6 07/05/08 +########################################################################### +# +# Platform dependent MACROS for Sony NEWS-OS 6.x +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-sony.rul + +# +# From objectx@polyphony.scei.co.jp XXX is -D__STDC__=0 correct ??? +# +OSDEFS += -D__SVR4 -DSVR4 -D__STDC__=0 + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= -lsocket +LIB_MATH= -lm +LIB_KVM= + +ARFLAGS= crs +# +# lorder seems not to work on some machines, disable it +# +LORDER= echo +TSORT= cat diff --git a/RULES/os-aix.def b/RULES/os-aix.def new file mode 100644 index 0000000..946b6bc --- /dev/null +++ b/RULES/os-aix.def @@ -0,0 +1,21 @@ +#ident "@(#)os-aix.def 1.3 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for AIX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-aix.id b/RULES/os-aix.id new file mode 100644 index 0000000..0ed1bed --- /dev/null +++ b/RULES/os-aix.id @@ -0,0 +1,24 @@ +#ident "@(#)os-aix.id 1.2 06/05/14 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for AIX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= aix +-O_ARCH= -$(O_ARCH) +K_ARCH= rs6000 +P_ARCH= rs6000 diff --git a/RULES/os-amigaos.def b/RULES/os-amigaos.def new file mode 100644 index 0000000..2cbd438 --- /dev/null +++ b/RULES/os-amigaos.def @@ -0,0 +1,21 @@ +#ident "@(#)os-amigaos.def 1.2 06/05/14 " +########################################################################### +# Written 2001 by J. Schilling +########################################################################### +# +# Global os definitions for AmigaOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-amigaos.id b/RULES/os-amigaos.id new file mode 100644 index 0000000..d2527ce --- /dev/null +++ b/RULES/os-amigaos.id @@ -0,0 +1,22 @@ +#ident "@(#)os-amigaos.id 1.2 06/05/14 " +########################################################################### +# Written 2001 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for AmigaOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= amigaos +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-beos.def b/RULES/os-beos.def new file mode 100644 index 0000000..9744f77 --- /dev/null +++ b/RULES/os-beos.def @@ -0,0 +1,21 @@ +#ident @(#)os-beos.def 1.2 06/05/14 +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for BeOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-beos.id b/RULES/os-beos.id new file mode 100644 index 0000000..3d55acd --- /dev/null +++ b/RULES/os-beos.id @@ -0,0 +1,22 @@ +#ident @(#)os-beos.id 1.2 06/05/14 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for BeOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= beos +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-bitrig.def b/RULES/os-bitrig.def new file mode 100644 index 0000000..f3fcd6f --- /dev/null +++ b/RULES/os-bitrig.def @@ -0,0 +1,23 @@ +#ident "@(#)os-bitrig.def 1.1 15/10/08 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# Global os definitions for Bitrig +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-bitrig.id b/RULES/os-bitrig.id new file mode 100644 index 0000000..dfdd4d7 --- /dev/null +++ b/RULES/os-bitrig.id @@ -0,0 +1,24 @@ +#ident "@(#)os-bitrig.id 1.1 15/10/08 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Bitrig +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= bitrig +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-bsd-os.def b/RULES/os-bsd-os.def new file mode 100644 index 0000000..545382b --- /dev/null +++ b/RULES/os-bsd-os.def @@ -0,0 +1,21 @@ +#ident "@(#)os-bsd-os.def 1.2 06/05/14 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Global os definitions for BSD/OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-bsd-os.id b/RULES/os-bsd-os.id new file mode 100644 index 0000000..dbaecdc --- /dev/null +++ b/RULES/os-bsd-os.id @@ -0,0 +1,23 @@ +#ident "@(#)os-bsd-os.id 1.3 06/05/14 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for BSD/OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +_O_ARCH= $(OSREL:3.%=bsd-os3) +O_ARCH= $(_O_ARCH:4.%=bsd-os) +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-bsd-os3.def b/RULES/os-bsd-os3.def new file mode 100644 index 0000000..6db63dd --- /dev/null +++ b/RULES/os-bsd-os3.def @@ -0,0 +1,21 @@ +#ident "@(#)os-bsd-os3.def 1.2 06/05/14 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Global os definitions for BSD/OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-cygwin32_nt.def b/RULES/os-cygwin32_nt.def new file mode 100644 index 0000000..ce489cb --- /dev/null +++ b/RULES/os-cygwin32_nt.def @@ -0,0 +1,22 @@ +#ident "@(#)os-cygwin32_nt.def 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for CYGWIN32_NT +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd + diff --git a/RULES/os-cygwin32_nt.id b/RULES/os-cygwin32_nt.id new file mode 100644 index 0000000..d37e161 --- /dev/null +++ b/RULES/os-cygwin32_nt.id @@ -0,0 +1,24 @@ +#ident "@(#)os-cygwin32_nt.id 1.5 07/05/29 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= cygwin32_nt +-O_ARCH= -$(O_ARCH) + +WINNTDEFS += -D_WIN32_WINNT=0x0400 diff --git a/RULES/os-cygwin32_wow.def b/RULES/os-cygwin32_wow.def new file mode 100644 index 0000000..292bee9 --- /dev/null +++ b/RULES/os-cygwin32_wow.def @@ -0,0 +1,24 @@ +#ident "@(#)os-cygwin32_wow.def 1.1 15/06/29 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for CYGWIN32_WOW +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd + diff --git a/RULES/os-cygwin32_wow.id b/RULES/os-cygwin32_wow.id new file mode 100644 index 0000000..9bff978 --- /dev/null +++ b/RULES/os-cygwin32_wow.id @@ -0,0 +1,26 @@ +#ident "@(#)os-cygwin32_wow.id 1.1 15/06/29 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= cygwin32_wow +-O_ARCH= -$(O_ARCH) + +#WINNTDEFS += -D_WIN32_WINNT=0x0400 diff --git a/RULES/os-cygwin32_wow64.def b/RULES/os-cygwin32_wow64.def new file mode 100644 index 0000000..4503145 --- /dev/null +++ b/RULES/os-cygwin32_wow64.def @@ -0,0 +1,22 @@ +#ident "@(#)os-cygwin32_wow64.def 1.3 09/04/11 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for CYGWIN32_WOW64 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd + diff --git a/RULES/os-cygwin32_wow64.id b/RULES/os-cygwin32_wow64.id new file mode 100644 index 0000000..7094129 --- /dev/null +++ b/RULES/os-cygwin32_wow64.id @@ -0,0 +1,24 @@ +#ident "@(#)os-cygwin32_wow64.id 1.6 09/04/11 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= cygwin32_wow64 +-O_ARCH= -$(O_ARCH) + +#WINNTDEFS += -D_WIN32_WINNT=0x0400 diff --git a/RULES/os-cygwin_95-4.0.id b/RULES/os-cygwin_95-4.0.id new file mode 100644 index 0000000..c8f9055 --- /dev/null +++ b/RULES/os-cygwin_95-4.0.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_95-4.0.id 1.2 07/05/08 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows 4.0 (WIN-95) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +OSDEFS += -D_WIN32_WINDOWS=0x0400 diff --git a/RULES/os-cygwin_98-4.10.id b/RULES/os-cygwin_98-4.10.id new file mode 100644 index 0000000..c54bde3 --- /dev/null +++ b/RULES/os-cygwin_98-4.10.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_98-4.10.id 1.2 07/05/08 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows 4.10 (WIN-98) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +OSDEFS += -D_WIN32_WINDOWS=0x0410 diff --git a/RULES/os-cygwin_me-4.90.id b/RULES/os-cygwin_me-4.90.id new file mode 100644 index 0000000..27b1d9a --- /dev/null +++ b/RULES/os-cygwin_me-4.90.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_me-4.90.id 1.2 07/05/08 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows 4.90 (ME) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +OSDEFS += -D_WIN32_WINDOWS=0x0490 diff --git a/RULES/os-cygwin_nt-10.0-wow.id b/RULES/os-cygwin_nt-10.0-wow.id new file mode 100644 index 0000000..64c9812 --- /dev/null +++ b/RULES/os-cygwin_nt-10.0-wow.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-10.0-wow.id 1.1 15/08/03 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-10.0 (Win 10.0) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow.id + +WINNTDEFS += -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00 diff --git a/RULES/os-cygwin_nt-10.0-wow64.id b/RULES/os-cygwin_nt-10.0-wow64.id new file mode 100644 index 0000000..02c3172 --- /dev/null +++ b/RULES/os-cygwin_nt-10.0-wow64.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-10.0-wow64.id 1.1 15/08/03 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-10.0 (Win 10.0) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow64.id + +WINNTDEFS += -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00 diff --git a/RULES/os-cygwin_nt-10.0.id b/RULES/os-cygwin_nt-10.0.id new file mode 100644 index 0000000..4a07666 --- /dev/null +++ b/RULES/os-cygwin_nt-10.0.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-10.0.id 1.1 15/08/03 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-10.0 (Win 10.0) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +WINNTDEFS += -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00 diff --git a/RULES/os-cygwin_nt-4.0.id b/RULES/os-cygwin_nt-4.0.id new file mode 100644 index 0000000..df08af3 --- /dev/null +++ b/RULES/os-cygwin_nt-4.0.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_nt-4.0.id 1.4 07/05/29 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-4.0 (NT-4.0) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +WINNTDEFS += -D_WIN32_WINNT=0x0400 diff --git a/RULES/os-cygwin_nt-5.0.id b/RULES/os-cygwin_nt-5.0.id new file mode 100644 index 0000000..6b0b680 --- /dev/null +++ b/RULES/os-cygwin_nt-5.0.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_nt-5.0.id 1.4 07/05/29 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-5.0 (WIN2000) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +WINNTDEFS += -D_WIN32_WINNT=0x0500 diff --git a/RULES/os-cygwin_nt-5.1.id b/RULES/os-cygwin_nt-5.1.id new file mode 100644 index 0000000..21ac2ae --- /dev/null +++ b/RULES/os-cygwin_nt-5.1.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_nt-5.1.id 1.4 07/05/29 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-5.1 (XP) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +WINNTDEFS += -D_WIN32_WINNT=0x0501 diff --git a/RULES/os-cygwin_nt-5.2-wow.id b/RULES/os-cygwin_nt-5.2-wow.id new file mode 100644 index 0000000..49f815b --- /dev/null +++ b/RULES/os-cygwin_nt-5.2-wow.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-5.2-wow.id 1.1 15/06/29 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-5.2 (Server 2003) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow.id + +WINNTDEFS += -D_WIN32_WINNT=0x0502 diff --git a/RULES/os-cygwin_nt-5.2-wow64.id b/RULES/os-cygwin_nt-5.2-wow64.id new file mode 100644 index 0000000..ad0cb38 --- /dev/null +++ b/RULES/os-cygwin_nt-5.2-wow64.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_nt-5.2-wow64.id 1.5 09/04/11 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-5.2 (Server 2003) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow64.id + +WINNTDEFS += -D_WIN32_WINNT=0x0502 diff --git a/RULES/os-cygwin_nt-5.2.id b/RULES/os-cygwin_nt-5.2.id new file mode 100644 index 0000000..8b65f96 --- /dev/null +++ b/RULES/os-cygwin_nt-5.2.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_nt-5.2.id 1.4 07/05/29 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-5.2 (Server 2003) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +WINNTDEFS += -D_WIN32_WINNT=0x0502 diff --git a/RULES/os-cygwin_nt-6.0-wow.id b/RULES/os-cygwin_nt-6.0-wow.id new file mode 100644 index 0000000..a4860f4 --- /dev/null +++ b/RULES/os-cygwin_nt-6.0-wow.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-6.0-wow.id 1.1 15/06/29 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.0 (Vista) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow.id + +WINNTDEFS += -D_WIN32_WINNT=0x0600 diff --git a/RULES/os-cygwin_nt-6.0-wow64.id b/RULES/os-cygwin_nt-6.0-wow64.id new file mode 100644 index 0000000..b39459e --- /dev/null +++ b/RULES/os-cygwin_nt-6.0-wow64.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_nt-6.0-wow64.id 1.1 09/07/26 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.0 (Vista) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow64.id + +WINNTDEFS += -D_WIN32_WINNT=0x0600 diff --git a/RULES/os-cygwin_nt-6.0.id b/RULES/os-cygwin_nt-6.0.id new file mode 100644 index 0000000..8449280 --- /dev/null +++ b/RULES/os-cygwin_nt-6.0.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_nt-6.0.id 1.5 09/04/08 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.0 (Win Vista) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +WINNTDEFS += -D_WIN32_WINNT=0x0600 diff --git a/RULES/os-cygwin_nt-6.1-wow.id b/RULES/os-cygwin_nt-6.1-wow.id new file mode 100644 index 0000000..16a7091 --- /dev/null +++ b/RULES/os-cygwin_nt-6.1-wow.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-6.1-wow.id 1.1 15/06/29 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.1 (Win 7) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow.id + +WINNTDEFS += -D_WIN32_WINNT=0x0601 diff --git a/RULES/os-cygwin_nt-6.1-wow64.id b/RULES/os-cygwin_nt-6.1-wow64.id new file mode 100644 index 0000000..7f0c3b0 --- /dev/null +++ b/RULES/os-cygwin_nt-6.1-wow64.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_nt-6.1-wow64.id 1.1 09/07/26 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.1 (Win 7) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow64.id + +WINNTDEFS += -D_WIN32_WINNT=0x0601 diff --git a/RULES/os-cygwin_nt-6.1.id b/RULES/os-cygwin_nt-6.1.id new file mode 100644 index 0000000..22ae6e5 --- /dev/null +++ b/RULES/os-cygwin_nt-6.1.id @@ -0,0 +1,23 @@ +#ident "@(#)os-cygwin_nt-6.1.id 1.5 09/04/08 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.1 (Win 7) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +WINNTDEFS += -D_WIN32_WINNT=0x0601 diff --git a/RULES/os-cygwin_nt-6.2-wow.id b/RULES/os-cygwin_nt-6.2-wow.id new file mode 100644 index 0000000..5822a0c --- /dev/null +++ b/RULES/os-cygwin_nt-6.2-wow.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-6.2-wow.id 1.1 15/06/29 " +########################################################################### +# Written 2013 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.2 (Win 8) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow.id + +WINNTDEFS += -D_WIN32_WINNT=0x0602 diff --git a/RULES/os-cygwin_nt-6.2-wow64.id b/RULES/os-cygwin_nt-6.2-wow64.id new file mode 100644 index 0000000..34f259f --- /dev/null +++ b/RULES/os-cygwin_nt-6.2-wow64.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-6.2-wow64.id 1.1 13/09/16 " +########################################################################### +# Written 2013 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.2 (Win 8) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow64.id + +WINNTDEFS += -D_WIN32_WINNT=0x0602 diff --git a/RULES/os-cygwin_nt-6.2.id b/RULES/os-cygwin_nt-6.2.id new file mode 100644 index 0000000..bf57efb --- /dev/null +++ b/RULES/os-cygwin_nt-6.2.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-6.2.id 1.1 13/09/16 " +########################################################################### +# Written 2013 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.2 (Win 8) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +WINNTDEFS += -D_WIN32_WINNT=0x0602 diff --git a/RULES/os-cygwin_nt-6.3-wow.id b/RULES/os-cygwin_nt-6.3-wow.id new file mode 100644 index 0000000..4ac8d94 --- /dev/null +++ b/RULES/os-cygwin_nt-6.3-wow.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-6.3-wow.id 1.1 15/06/29 " +########################################################################### +# Written 2013 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.3 (Win 8.1) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow.id + +WINNTDEFS += -D_WIN32_WINNT=0x0603 diff --git a/RULES/os-cygwin_nt-6.3-wow64.id b/RULES/os-cygwin_nt-6.3-wow64.id new file mode 100644 index 0000000..9a55e25 --- /dev/null +++ b/RULES/os-cygwin_nt-6.3-wow64.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-6.3-wow64.id 1.1 13/09/16 " +########################################################################### +# Written 2013 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.3 (Win 8.1) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow64.id + +WINNTDEFS += -D_WIN32_WINNT=0x0603 diff --git a/RULES/os-cygwin_nt-6.3.id b/RULES/os-cygwin_nt-6.3.id new file mode 100644 index 0000000..02447a5 --- /dev/null +++ b/RULES/os-cygwin_nt-6.3.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-6.3.id 1.1 13/09/16 " +########################################################################### +# Written 2013 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.3 (Win 8.1) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +WINNTDEFS += -D_WIN32_WINNT=0x0603 diff --git a/RULES/os-cygwin_nt-6.4-wow.id b/RULES/os-cygwin_nt-6.4-wow.id new file mode 100644 index 0000000..c7452f2 --- /dev/null +++ b/RULES/os-cygwin_nt-6.4-wow.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-6.4-wow.id 1.1 15/08/03 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.4 (Win 10.0) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow.id + +WINNTDEFS += -D_WIN32_WINNT=0x0604 diff --git a/RULES/os-cygwin_nt-6.4-wow64.id b/RULES/os-cygwin_nt-6.4-wow64.id new file mode 100644 index 0000000..54d1b6b --- /dev/null +++ b/RULES/os-cygwin_nt-6.4-wow64.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-6.4-wow64.id 1.1 15/08/03 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.4 (Win 10.0) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_wow64.id + +WINNTDEFS += -D_WIN32_WINNT=0x0604 diff --git a/RULES/os-cygwin_nt-6.4.id b/RULES/os-cygwin_nt-6.4.id new file mode 100644 index 0000000..ed9d0d2 --- /dev/null +++ b/RULES/os-cygwin_nt-6.4.id @@ -0,0 +1,25 @@ +#ident "@(#)os-cygwin_nt-6.4.id 1.1 15/08/03 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Cygnus GCC for MS Windows NT-6.4 (Win 10.0) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-cygwin32_nt.id + +WINNTDEFS += -D_WIN32_WINNT=0x0604 diff --git a/RULES/os-darwin.def b/RULES/os-darwin.def new file mode 100644 index 0000000..576846c --- /dev/null +++ b/RULES/os-darwin.def @@ -0,0 +1,21 @@ +#ident "@(#)os-darwin.def 1.2 06/05/14 " +########################################################################### +# Written 2001 by J. Schilling +########################################################################### +# +# Global definitions for Mac OS X (Darwin) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-darwin.id b/RULES/os-darwin.id new file mode 100644 index 0000000..3a780c4 --- /dev/null +++ b/RULES/os-darwin.id @@ -0,0 +1,22 @@ +#ident "@(#)os-darwin.id 1.2 06/05/14 " +########################################################################### +# Written 2001 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Mac OS X (Darwin) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= darwin +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-dgux.id b/RULES/os-dgux.id new file mode 100644 index 0000000..2236add --- /dev/null +++ b/RULES/os-dgux.id @@ -0,0 +1,23 @@ +#ident "@(#)os-dgux.id 1.2 06/05/14 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for DGUX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +_O_ARCH= $(OSREL:r4.%=dgux4) +O_ARCH= $(_O_ARCH:5.4r3%=dgux3) +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-dgux3.def b/RULES/os-dgux3.def new file mode 100644 index 0000000..07e74bb --- /dev/null +++ b/RULES/os-dgux3.def @@ -0,0 +1,21 @@ +#ident "@(#)os-dgux3.def 1.3 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for DGUX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-dgux4.def b/RULES/os-dgux4.def new file mode 100644 index 0000000..ea0ac50 --- /dev/null +++ b/RULES/os-dgux4.def @@ -0,0 +1,21 @@ +#ident "@(#)os-dgux4.def 1.3 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for DGUX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-domainos.def b/RULES/os-domainos.def new file mode 100644 index 0000000..4c4debd --- /dev/null +++ b/RULES/os-domainos.def @@ -0,0 +1,23 @@ +#ident "@(#)os-domainos.def 1.2 06/05/14 " +########################################################################### +# Written 2001 by J. Schilling +########################################################################### +# +# Global os definitions for Apollo Domain/OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# Domain/OS uses it's own style, so let's use SVSv. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-domainos.id b/RULES/os-domainos.id new file mode 100644 index 0000000..ce7bf77 --- /dev/null +++ b/RULES/os-domainos.id @@ -0,0 +1,22 @@ +#ident "@(#)os-domainos.id 1.2 06/05/14 " +########################################################################### +# Written 2001 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Apollo Domain/OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= domainos +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-dragonfly.def b/RULES/os-dragonfly.def new file mode 100644 index 0000000..63f8912 --- /dev/null +++ b/RULES/os-dragonfly.def @@ -0,0 +1,21 @@ +#ident "@(#)os-dragonfly.def 1.2 06/05/14 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Global os definitions for DragonFly BSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-dragonfly.id b/RULES/os-dragonfly.id new file mode 100644 index 0000000..ec9e46f --- /dev/null +++ b/RULES/os-dragonfly.id @@ -0,0 +1,22 @@ +#ident "@(#)os-dragonfly.id 1.2 06/05/14 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for DragonFly BSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= dragonfly +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-freebsd.def b/RULES/os-freebsd.def new file mode 100644 index 0000000..53e479c --- /dev/null +++ b/RULES/os-freebsd.def @@ -0,0 +1,21 @@ +#ident "@(#)os-freebsd.def 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for FreeBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-freebsd.id b/RULES/os-freebsd.id new file mode 100644 index 0000000..67a6363 --- /dev/null +++ b/RULES/os-freebsd.id @@ -0,0 +1,22 @@ +#ident "@(#)os-freebsd.id 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for FreeBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= freebsd +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-freemint.def b/RULES/os-freemint.def new file mode 100644 index 0000000..ba82177 --- /dev/null +++ b/RULES/os-freemint.def @@ -0,0 +1,21 @@ +#ident @(#)os-freemint.def 1.1 08/11/08 +########################################################################### +# Written 2008 by Y. Doyeux +########################################################################### +# +# Global os definitions for FreeMiNT on ATARI computers +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-freemint.id b/RULES/os-freemint.id new file mode 100644 index 0000000..2dc812c --- /dev/null +++ b/RULES/os-freemint.id @@ -0,0 +1,22 @@ +#ident @(#)os-freemint.id 1.1 08/11/08 +########################################################################### +# Written 2008 by Y. Doyeux +########################################################################### +# +# OS specific MACRO definitions for FreeMiNT on ATARI computers +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= freemint +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-gnu-kfreebsd.def b/RULES/os-gnu-kfreebsd.def new file mode 100644 index 0000000..60c4a5a --- /dev/null +++ b/RULES/os-gnu-kfreebsd.def @@ -0,0 +1,21 @@ +#ident "@(#)os-gnu-kfreebsd.def 1.1 12/08/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for Debian with FreeBSD kernel +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-gnu-kfreebsd.id b/RULES/os-gnu-kfreebsd.id new file mode 100644 index 0000000..8f61be8 --- /dev/null +++ b/RULES/os-gnu-kfreebsd.id @@ -0,0 +1,22 @@ +#ident "@(#)os-gnu-kfreebsd.id 1.1 12/08/14 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Debian with FreeBSD kernel +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= gnu-kfreebsd +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-gnu.def b/RULES/os-gnu.def new file mode 100644 index 0000000..df0c6e2 --- /dev/null +++ b/RULES/os-gnu.def @@ -0,0 +1,21 @@ +#ident "@(#)os-gnu.def 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for GNU (hurd) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-gnu.id b/RULES/os-gnu.id new file mode 100644 index 0000000..bc77ee9 --- /dev/null +++ b/RULES/os-gnu.id @@ -0,0 +1,22 @@ +#ident "@(#)os-gnu.id 1.2 06/05/14 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for GNU (hurd) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= gnu +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-haiku.def b/RULES/os-haiku.def new file mode 100644 index 0000000..300d6d5 --- /dev/null +++ b/RULES/os-haiku.def @@ -0,0 +1,21 @@ +#ident "@(#)os-haiku.def 1.1 09/02/03 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for Haiku, a BeOS like OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-haiku.id b/RULES/os-haiku.id new file mode 100644 index 0000000..1187073 --- /dev/null +++ b/RULES/os-haiku.id @@ -0,0 +1,22 @@ +#ident "@(#)os-haiku.id 1.1 09/02/03 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Haiku, a BeOS like OS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= haiku +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-hp-ux.def b/RULES/os-hp-ux.def new file mode 100644 index 0000000..df26aee --- /dev/null +++ b/RULES/os-hp-ux.def @@ -0,0 +1,21 @@ +#ident "@(#)os-hp-ux.def 1.3 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for HP-UX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-hp-ux.id b/RULES/os-hp-ux.id new file mode 100644 index 0000000..ff03f61 --- /dev/null +++ b/RULES/os-hp-ux.id @@ -0,0 +1,22 @@ +#ident "@(#)os-hp-ux.id 1.2 06/05/14 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for HP/UX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= hp-ux +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-interix-nt-4.0.id b/RULES/os-interix-nt-4.0.id new file mode 100644 index 0000000..07856fa --- /dev/null +++ b/RULES/os-interix-nt-4.0.id @@ -0,0 +1,21 @@ +#ident "@(#)os-interix-nt-4.0.id 1.3 07/05/29 " +########################################################################### +# Written 2007 by J. Schilling +########################################################################### +# +# Global os definitions for Interix Systems (SFU) MS Windows NT-4.0 (NT-4.0) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +WINNTDEFS += -D_WIN32_WINNT=0x0400 diff --git a/RULES/os-interix-nt-5.0.id b/RULES/os-interix-nt-5.0.id new file mode 100644 index 0000000..5c87f93 --- /dev/null +++ b/RULES/os-interix-nt-5.0.id @@ -0,0 +1,21 @@ +#ident "@(#)os-interix-nt-5.0.id 1.3 07/05/29 " +########################################################################### +# Written 2007 by J. Schilling +########################################################################### +# +# Global os definitions for Interix Systems (SFU) MS Windows NT-5.0 (WIN2000) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +WINNTDEFS += -D_WIN32_WINNT=0x0500 diff --git a/RULES/os-interix-nt-5.1.id b/RULES/os-interix-nt-5.1.id new file mode 100644 index 0000000..02a8ab7 --- /dev/null +++ b/RULES/os-interix-nt-5.1.id @@ -0,0 +1,21 @@ +#ident "@(#)os-interix-nt-5.1.id 1.3 07/05/29 " +########################################################################### +# Written 2007 by J. Schilling +########################################################################### +# +# Global os definitions for Interix Systems (SFU) MS Windows NT-5.1 (XP) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +WINNTDEFS += -D_WIN32_WINNT=0x0501 diff --git a/RULES/os-interix-nt-5.2.id b/RULES/os-interix-nt-5.2.id new file mode 100644 index 0000000..443cea7 --- /dev/null +++ b/RULES/os-interix-nt-5.2.id @@ -0,0 +1,21 @@ +#ident "@(#)os-interix-nt-5.2.id 1.3 07/05/29 " +########################################################################### +# Written 2007 by J. Schilling +########################################################################### +# +# Global os definitions for Interix Systems (SFU) MS Windows NT-5.2 (Server 2003) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +WINNTDEFS += -D_WIN32_WINNT=0x0502 diff --git a/RULES/os-interix-nt-6.0.id b/RULES/os-interix-nt-6.0.id new file mode 100644 index 0000000..b7446de --- /dev/null +++ b/RULES/os-interix-nt-6.0.id @@ -0,0 +1,23 @@ +#ident "@(#)os-interix-nt-6.0.id 1.1 13/08/11 " +########################################################################### +# Written 2013 by J. Schilling +########################################################################### +# +# Global os definitions for Interix Systems (SFU) MS Windows NT-6.0 (Win Vista) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +WINNTDEFS += -D_WIN32_WINNT=0x0600 diff --git a/RULES/os-interix-nt-6.1.id b/RULES/os-interix-nt-6.1.id new file mode 100644 index 0000000..439e098 --- /dev/null +++ b/RULES/os-interix-nt-6.1.id @@ -0,0 +1,23 @@ +#ident "@(#)os-interix-nt-6.1.id 1.1 13/08/11 " +########################################################################### +# Written 2013 by J. Schilling +########################################################################### +# +# Global os definitions for Interix Systems (SFU) MS Windows NT-6.1 (Win 7) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +WINNTDEFS += -D_WIN32_WINNT=0x0601 diff --git a/RULES/os-interix.def b/RULES/os-interix.def new file mode 100644 index 0000000..7475041 --- /dev/null +++ b/RULES/os-interix.def @@ -0,0 +1,21 @@ +#ident "@(#)os-interix.def 1.1 06/06/29 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Global os definitions for Interix Systems (WIN-NT with SFU) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-interix.id b/RULES/os-interix.id new file mode 100644 index 0000000..47536ad --- /dev/null +++ b/RULES/os-interix.id @@ -0,0 +1,40 @@ +#ident "@(#)os-interix.id 1.4 07/05/29 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Global os definitions for Interix Systems (WIN-NT with SFU) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= interix +-O_ARCH= -$(O_ARCH) + +########################################################################### +# +# In case we are unable to get the MS-WIN version that +# runs under Interix, we define NT-4.0 Service Pack 3 +# and use it as a fall-back definition. +# +########################################################################### +WINNTDEFS += -D_WIN32_WINNT=0x0403 + +########################################################################### +# +# $(MAKE_HOST_OSREL) is only defined in smake. If the macro in undefined +# -include allows to fail the "include" and use the fall-back above. +# +########################################################################### +-include $(SRCROOT)/$(RULESDIR)/os-interix-nt-$(MAKE_HOST_OSREL).id + diff --git a/RULES/os-irix.def b/RULES/os-irix.def new file mode 100644 index 0000000..3ab95aa --- /dev/null +++ b/RULES/os-irix.def @@ -0,0 +1,21 @@ +#ident "@(#)os-irix.def 1.3 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for IRIX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-irix.id b/RULES/os-irix.id new file mode 100644 index 0000000..65f3a86 --- /dev/null +++ b/RULES/os-irix.id @@ -0,0 +1,22 @@ +#ident "@(#)os-irix.id 1.2 06/05/14 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Silicon Graphics IRIX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= irix +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-linux.def b/RULES/os-linux.def new file mode 100644 index 0000000..9ca9fe4 --- /dev/null +++ b/RULES/os-linux.def @@ -0,0 +1,21 @@ +#ident "@(#)os-linux.def 1.3 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for Linux +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-linux.id b/RULES/os-linux.id new file mode 100644 index 0000000..4d7de00 --- /dev/null +++ b/RULES/os-linux.id @@ -0,0 +1,22 @@ +#ident "@(#)os-linux.id 1.2 06/05/14 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Linux +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= linux +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mac-os.id b/RULES/os-mac-os.id new file mode 100644 index 0000000..0b79e90 --- /dev/null +++ b/RULES/os-mac-os.id @@ -0,0 +1,23 @@ +#ident "@(#)os-mac-os.id 1.2 06/05/14 " +########################################################################### +# Written 2000 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Mac OS X +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +_O_ARCH= $(OSREL:9.%=mac-os9) +O_ARCH= $(_O_ARCH:10.%=mac-os10) +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mac-os10.def b/RULES/os-mac-os10.def new file mode 100644 index 0000000..8b15cd0 --- /dev/null +++ b/RULES/os-mac-os10.def @@ -0,0 +1,21 @@ +#ident "@(#)os-mac-os10.def 1.2 06/05/14 " +########################################################################### +# Written 2000 by J. Schilling +########################################################################### +# +# Global os definitions for Mac OS X +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-mingw32_95-4.0.id b/RULES/os-mingw32_95-4.0.id new file mode 100644 index 0000000..7c16a61 --- /dev/null +++ b/RULES/os-mingw32_95-4.0.id @@ -0,0 +1,20 @@ +#ident "@(#)os-mingw32_95-4.0.id 1.2 06/05/14 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_98-4.0.id b/RULES/os-mingw32_98-4.0.id new file mode 100644 index 0000000..2aa136f --- /dev/null +++ b/RULES/os-mingw32_98-4.0.id @@ -0,0 +1,20 @@ +#ident "@(#)os-mingw32_98-4.0.id 1.2 06/05/14 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_98-4.10.id b/RULES/os-mingw32_98-4.10.id new file mode 100644 index 0000000..caf8985 --- /dev/null +++ b/RULES/os-mingw32_98-4.10.id @@ -0,0 +1,20 @@ +#ident "@(#)os-mingw32_98-4.10.id 1.2 06/05/14 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_me-4.90.id b/RULES/os-mingw32_me-4.90.id new file mode 100644 index 0000000..5e9e994 --- /dev/null +++ b/RULES/os-mingw32_me-4.90.id @@ -0,0 +1,20 @@ +#ident "@(#)os-mingw32_me-4.90.id 1.2 06/05/14 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_nt-4.0.id b/RULES/os-mingw32_nt-4.0.id new file mode 100644 index 0000000..9a7f6ff --- /dev/null +++ b/RULES/os-mingw32_nt-4.0.id @@ -0,0 +1,20 @@ +#ident "@(#)os-mingw32_nt-4.0.id 1.2 06/05/14 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_nt-5.0.id b/RULES/os-mingw32_nt-5.0.id new file mode 100644 index 0000000..e123224 --- /dev/null +++ b/RULES/os-mingw32_nt-5.0.id @@ -0,0 +1,20 @@ +#ident "@(#)os-mingw32_nt-5.0.id 1.2 06/05/14 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_nt-5.1.id b/RULES/os-mingw32_nt-5.1.id new file mode 100644 index 0000000..51a64f0 --- /dev/null +++ b/RULES/os-mingw32_nt-5.1.id @@ -0,0 +1,20 @@ +#ident "@(#)os-mingw32_nt-5.1.id 1.2 06/05/14 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_nt-5.2.id b/RULES/os-mingw32_nt-5.2.id new file mode 100644 index 0000000..300692f --- /dev/null +++ b/RULES/os-mingw32_nt-5.2.id @@ -0,0 +1,20 @@ +#ident "@(#)os-mingw32_nt-5.2.id 1.2 06/05/14 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_nt-6.0.id b/RULES/os-mingw32_nt-6.0.id new file mode 100644 index 0000000..2255390 --- /dev/null +++ b/RULES/os-mingw32_nt-6.0.id @@ -0,0 +1,22 @@ +#ident "@(#)os-mingw32_nt-6.0.id 1.1 15/12/09 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_nt-6.1.id b/RULES/os-mingw32_nt-6.1.id new file mode 100644 index 0000000..7f2a8dd --- /dev/null +++ b/RULES/os-mingw32_nt-6.1.id @@ -0,0 +1,22 @@ +#ident "@(#)os-mingw32_nt-6.1.id 1.1 15/12/09 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_nt-6.2.id b/RULES/os-mingw32_nt-6.2.id new file mode 100644 index 0000000..f8caa36 --- /dev/null +++ b/RULES/os-mingw32_nt-6.2.id @@ -0,0 +1,22 @@ +#ident "@(#)os-mingw32_nt-6.2.id 1.1 15/12/09 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_nt-6.3.id b/RULES/os-mingw32_nt-6.3.id new file mode 100644 index 0000000..6d3cf1c --- /dev/null +++ b/RULES/os-mingw32_nt-6.3.id @@ -0,0 +1,22 @@ +#ident "@(#)os-mingw32_nt-6.3.id 1.1 15/12/09 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_nt-6.4.id b/RULES/os-mingw32_nt-6.4.id new file mode 100644 index 0000000..845d4ed --- /dev/null +++ b/RULES/os-mingw32_nt-6.4.id @@ -0,0 +1,22 @@ +#ident "@(#)os-mingw32_nt-6.4.id 1.1 15/12/09 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-mingw32_nt.def b/RULES/os-mingw32_nt.def new file mode 100644 index 0000000..57e243b --- /dev/null +++ b/RULES/os-mingw32_nt.def @@ -0,0 +1,25 @@ +#ident "@(#)os-mingw32_nt.def 1.3 11/08/04 " +########################################################################### +# +# Global os definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd + +# +# Tell MKLINKS to run "test -h xxzzy.345 || symlink=cp +# +MKLINKS_TEST= test +export MKLINKS_TEST diff --git a/RULES/os-mingw32_nt.id b/RULES/os-mingw32_nt.id new file mode 100644 index 0000000..9fbf905 --- /dev/null +++ b/RULES/os-mingw32_nt.id @@ -0,0 +1,20 @@ +#ident "@(#)os-mingw32_nt.id 1.2 06/05/14 " +########################################################################### +# +# OS specific MACRO definitions for Win32/Mingw32 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= mingw32_nt +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-minix.def b/RULES/os-minix.def new file mode 100644 index 0000000..a24243a --- /dev/null +++ b/RULES/os-minix.def @@ -0,0 +1,23 @@ +#ident "@(#)os-minix.def 1.1 15/11/08 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# Global os definitions for Minix +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-minix.id b/RULES/os-minix.id new file mode 100644 index 0000000..ff94494 --- /dev/null +++ b/RULES/os-minix.id @@ -0,0 +1,24 @@ +#ident "@(#)os-minix.id 1.1 15/11/08 " +########################################################################### +# Written 2015 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Minix +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= minix +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-ms-dos.def b/RULES/os-ms-dos.def new file mode 100644 index 0000000..dbf0d54 --- /dev/null +++ b/RULES/os-ms-dos.def @@ -0,0 +1,19 @@ +#ident "@(#)os-ms-dos.def 1.2 06/05/14 " +########################################################################### +# +# Global os definitions for MS-DOS/DJGPP v2 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-ms-dos.id b/RULES/os-ms-dos.id new file mode 100644 index 0000000..08c1b44 --- /dev/null +++ b/RULES/os-ms-dos.id @@ -0,0 +1,20 @@ +#ident "@(#)os-ms-dos.id 1.2 06/05/14 " +########################################################################### +# +# OS specific MACRO definitions for MS-DOS/DJGPP v2 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= ms-dos +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-netbsd.def b/RULES/os-netbsd.def new file mode 100644 index 0000000..8e11af5 --- /dev/null +++ b/RULES/os-netbsd.def @@ -0,0 +1,21 @@ +#ident "@(#)os-netbsd.def 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for NetBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-netbsd.id b/RULES/os-netbsd.id new file mode 100644 index 0000000..1b278a6 --- /dev/null +++ b/RULES/os-netbsd.id @@ -0,0 +1,22 @@ +#ident "@(#)os-netbsd.id 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for NetBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= netbsd +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-news-os.id b/RULES/os-news-os.id new file mode 100644 index 0000000..3bb7aeb --- /dev/null +++ b/RULES/os-news-os.id @@ -0,0 +1,21 @@ +#ident @(#)os-news-os.id 1.2 06/05/14 +########################################################################### +# +# OS specific MACRO definitions for Sony NEWS-OS 6.x +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +_O_ARCH= $(OSREL:5.%=newsos5) +O_ARCH= $(_O_ARCH:6.%=newsos6) +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-newsos6.def b/RULES/os-newsos6.def new file mode 100644 index 0000000..12aaf87 --- /dev/null +++ b/RULES/os-newsos6.def @@ -0,0 +1,19 @@ +#ident @(#)os-newsos6.def 1.2 06/05/14 +########################################################################### +# +# Global os definitions for Sony NEWS-OS 6.x +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-nextstep.def b/RULES/os-nextstep.def new file mode 100644 index 0000000..c79464e --- /dev/null +++ b/RULES/os-nextstep.def @@ -0,0 +1,21 @@ +#ident "@(#)os-nextstep.def 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for NeXT Step +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-nextstep.id b/RULES/os-nextstep.id new file mode 100644 index 0000000..d11fdbf --- /dev/null +++ b/RULES/os-nextstep.id @@ -0,0 +1,22 @@ +#ident "@(#)os-nextstep.id 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for NeXT Step +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= nextstep +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-openbsd.def b/RULES/os-openbsd.def new file mode 100644 index 0000000..19ea5ee --- /dev/null +++ b/RULES/os-openbsd.def @@ -0,0 +1,21 @@ +#ident "@(#)os-openbsd.def 1.3 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for OpenBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-openbsd.id b/RULES/os-openbsd.id new file mode 100644 index 0000000..46cfbec --- /dev/null +++ b/RULES/os-openbsd.id @@ -0,0 +1,22 @@ +#ident "@(#)os-openbsd.id 1.3 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for OpenBSD +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= openbsd +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-openserver.def b/RULES/os-openserver.def new file mode 100644 index 0000000..0582212 --- /dev/null +++ b/RULES/os-openserver.def @@ -0,0 +1,21 @@ +#ident "@(#)os-openserver.def 1.2 06/05/14 " +########################################################################### +# Written 1999 by J. Schilling/Santa Cruz Operation +########################################################################### +# +# Global os definitions for SCO OpenServer 5 Systems +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-openvms.def b/RULES/os-openvms.def new file mode 100644 index 0000000..c2481b3 --- /dev/null +++ b/RULES/os-openvms.def @@ -0,0 +1,21 @@ +#ident "@(#)os-openvms.def 1.1 09/10/29 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# Global definitions for OpenVMS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-openvms.id b/RULES/os-openvms.id new file mode 100644 index 0000000..6d4f2b4 --- /dev/null +++ b/RULES/os-openvms.id @@ -0,0 +1,22 @@ +#ident "@(#)os-openvms.id 1.1 09/10/29 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for OpenVMS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= openvms +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-os-2.id b/RULES/os-os-2.id new file mode 100644 index 0000000..9364322 --- /dev/null +++ b/RULES/os-os-2.id @@ -0,0 +1,22 @@ +#ident "@(#)os-os-2.id 1.2 06/05/14 " +########################################################################### +# Written 1999 by C. Wohlgemuth +########################################################################### +# +# OS specific MACRO definitions for OS/2 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= os2 +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-os2.def b/RULES/os-os2.def new file mode 100644 index 0000000..b4c1b98 --- /dev/null +++ b/RULES/os-os2.def @@ -0,0 +1,21 @@ +#ident "@(#)os-os2.def 1.2 06/05/14 " +########################################################################### +# Written 1998 by C. Wohlgemuth +########################################################################### +# +# Global os definitions for OS/2 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-osf1.def b/RULES/os-osf1.def new file mode 100644 index 0000000..f5863bc --- /dev/null +++ b/RULES/os-osf1.def @@ -0,0 +1,21 @@ +#ident "@(#)os-osf1.def 1.2 06/05/14 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# Global os definitions for Digital UNIX (OSF1) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-osf1.id b/RULES/os-osf1.id new file mode 100644 index 0000000..1abfbd4 --- /dev/null +++ b/RULES/os-osf1.id @@ -0,0 +1,22 @@ +#ident "@(#)os-osf1.id 1.2 06/05/14 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Digital UNIX (OSF1) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= osf1 +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-pyro.def b/RULES/os-pyro.def new file mode 100644 index 0000000..eba3eef --- /dev/null +++ b/RULES/os-pyro.def @@ -0,0 +1,21 @@ +#ident "@(#)os-pyro.def 1.1 12/12/02 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# Global os definitions for Pyro +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-pyro.id b/RULES/os-pyro.id new file mode 100644 index 0000000..54ddd0b --- /dev/null +++ b/RULES/os-pyro.id @@ -0,0 +1,22 @@ +#ident "@(#)os-pyro.id 1.1 12/12/02 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Pyro +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= pyro +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-qnx.def b/RULES/os-qnx.def new file mode 100644 index 0000000..b4fd601 --- /dev/null +++ b/RULES/os-qnx.def @@ -0,0 +1,21 @@ +#ident "@(#)os-qnx.def 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for QNX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-qnx.id b/RULES/os-qnx.id new file mode 100644 index 0000000..63a0549 --- /dev/null +++ b/RULES/os-qnx.id @@ -0,0 +1,22 @@ +#ident "@(#)os-qnx.id 1.2 06/05/14 " +########################################################################### +# Written 1998 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for QNX +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= qnx +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-rhapsody.def b/RULES/os-rhapsody.def new file mode 100644 index 0000000..8ccb026 --- /dev/null +++ b/RULES/os-rhapsody.def @@ -0,0 +1,21 @@ +#ident "@(#)os-rhapsody.def 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global definitions for NeXT Step (Apple Rhapsody) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-rhapsody.id b/RULES/os-rhapsody.id new file mode 100644 index 0000000..3117462 --- /dev/null +++ b/RULES/os-rhapsody.id @@ -0,0 +1,22 @@ +#ident "@(#)os-rhapsody.id 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for NeXT Step (Apple Rhapsody) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= rhapsody +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-sco_sv.id b/RULES/os-sco_sv.id new file mode 100644 index 0000000..818cde4 --- /dev/null +++ b/RULES/os-sco_sv.id @@ -0,0 +1,25 @@ +#ident "@(#)os-sco_sv.id 1.3 07/05/03 " +########################################################################### +# Written 1999 by J. Schilling/Santa Cruz Operation +########################################################################### +# +# OS specific MACRO definitions for SCO OpenServer 5 Systems +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= openserver + +_O_ARCH= $(OSVERSION:5.%=openserver) +O_ARCH= $(_O_ARCH:6.%=unixware) +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-sunos.id b/RULES/os-sunos.id new file mode 100644 index 0000000..41145c0 --- /dev/null +++ b/RULES/os-sunos.id @@ -0,0 +1,23 @@ +#ident "@(#)os-sunos.id 1.2 06/05/14 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for SunOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +_O_ARCH= $(OSREL:4.%=sunos4) +O_ARCH= $(_O_ARCH:5.%=sunos5) +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-sunos4.def b/RULES/os-sunos4.def new file mode 100644 index 0000000..a221ba5 --- /dev/null +++ b/RULES/os-sunos4.def @@ -0,0 +1,21 @@ +#ident "@(#)os-sunos4.def 1.3 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for SunOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-sunos5.def b/RULES/os-sunos5.def new file mode 100644 index 0000000..6b880e8 --- /dev/null +++ b/RULES/os-sunos5.def @@ -0,0 +1,21 @@ +#ident "@(#)os-sunos5.def 1.3 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Global os definitions for Solaris +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-syllable.def b/RULES/os-syllable.def new file mode 100644 index 0000000..dfb2cae --- /dev/null +++ b/RULES/os-syllable.def @@ -0,0 +1,21 @@ +#ident "@(#)os-syllable.def 1.1 09/02/01 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# Global os definitions for Syllable +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= bsd diff --git a/RULES/os-syllable.id b/RULES/os-syllable.id new file mode 100644 index 0000000..54a4a8f --- /dev/null +++ b/RULES/os-syllable.id @@ -0,0 +1,22 @@ +#ident "@(#)os-syllable.id 1.1 09/02/01 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# OS specific MACRO definitions for Syllable +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= syllable +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-unix_sv.id b/RULES/os-unix_sv.id new file mode 100644 index 0000000..3555f52 --- /dev/null +++ b/RULES/os-unix_sv.id @@ -0,0 +1,22 @@ +#ident "@(#)os-unix_sv.id 1.2 06/05/14 " +########################################################################### +# Written 1999 by J. Schilling/Santa Cruz Operation +########################################################################### +# +# OS specific MACRO definitions for UnixWare 2 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= unixware +-O_ARCH= -$(O_ARCH) diff --git a/RULES/os-unixware.def b/RULES/os-unixware.def new file mode 100644 index 0000000..f843031 --- /dev/null +++ b/RULES/os-unixware.def @@ -0,0 +1,21 @@ +#ident "@(#)os-unixware.def 1.2 06/05/14 " +########################################################################### +# Written 2000 by J. Schilling/Santa Cruz Operation +########################################################################### +# +# Global os definitions for UnixWare 7 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +MANSTYLE= sysv diff --git a/RULES/os-unixware.id b/RULES/os-unixware.id new file mode 100644 index 0000000..bd849d5 --- /dev/null +++ b/RULES/os-unixware.id @@ -0,0 +1,22 @@ +#ident "@(#)os-unixware.id 1.2 06/05/14 " +########################################################################### +# Written 2000 by J. Schilling/Santa Cruz Operation +########################################################################### +# +# OS specific MACRO definitions for UnixWare 7 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +O_ARCH= unixware +-O_ARCH= -$(O_ARCH) diff --git a/RULES/pci-qnx-cc.rul b/RULES/pci-qnx-cc.rul new file mode 100644 index 0000000..213c466 --- /dev/null +++ b/RULES/pci-qnx-cc.rul @@ -0,0 +1,39 @@ +#ident "@(#)pci-qnx-cc.rul 1.7 07/05/08 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for unknown systems systems with dumb cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-dumb.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +# Set Stack size to 256k +LDOPTS= $(LIBS_PATH) $(LDPATH) -N 256k + +LORDER= echo +TSORT= cat diff --git a/RULES/power-macintosh-darwin-cc.rul b/RULES/power-macintosh-darwin-cc.rul new file mode 100644 index 0000000..e1764e6 --- /dev/null +++ b/RULES/power-macintosh-darwin-cc.rul @@ -0,0 +1,64 @@ +#ident "@(#)power-macintosh-darwin-cc.rul 1.21 14/04/02 " +########################################################################### +# Written 1996-2014 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Darwin-1.2 ff. (Apple MacOS X) PPC (GCC) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH:cc%=gcc%).rul +CC_COM_DEF= cc + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +COPTDYN= -fPIC +C++OPTDYN= -fPIC + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .dylib + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDFRAMEWORKS= -framework IOKit -framework CoreFoundation +LDOPTS= $(LIBS_PATH) $(LDPATH) $(LDFRAMEWORKS) +LDOPTDYN= -install_name $(INSBASE)/lib/$(TARGET) +LDLIBDYN= -lgcc_s.1 +LNDYNLIB= @ + +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; libtool -dynamic +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; libtool -dynamic +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + +# +# lorder seems not to work on some versions because Apple installed +# a broken /bin/sh that is not POSIX cimpliant an will not +# be able to run the /usr/bin/lorder script. The error messages are: +# type: not found +# type: not found +# lorder: nm: not found +# ... disable it +# +LORDER= echo +TSORT= cat diff --git a/RULES/power-macintosh-darwin-gcc.rul b/RULES/power-macintosh-darwin-gcc.rul new file mode 100644 index 0000000..9f6c10d --- /dev/null +++ b/RULES/power-macintosh-darwin-gcc.rul @@ -0,0 +1,63 @@ +#ident "@(#)power-macintosh-darwin-gcc.rul 1.19 14/04/02 " +########################################################################### +# Written 1996-2014 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Darwin-1.2 ff. (Apple MacOS X) PPC (GCC) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +COPTDYN= -fPIC +C++OPTDYN= -fPIC + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .dylib + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDFRAMEWORKS= -framework IOKit -framework CoreFoundation +LDOPTS= $(LIBS_PATH) $(LDPATH) $(LDFRAMEWORKS) +LDOPTDYN= -install_name $(INSBASE)/lib/$(TARGET) +LDLIBDYN= -lgcc_s.1 +LNDYNLIB= @ + +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; libtool -dynamic +DYNLDC++ = @echo " ==> LINKING dynamic library \"$@\""; libtool -dynamic +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + +# +# lorder seems not to work on some versions because Apple installed +# a broken /bin/sh that is not POSIX cimpliant an will not +# be able to run the /usr/bin/lorder script. The error messages are: +# type: not found +# type: not found +# lorder: nm: not found +# ... disable it +# +LORDER= echo +TSORT= cat diff --git a/RULES/power-macintosh-rhapsody-cc.rul b/RULES/power-macintosh-rhapsody-cc.rul new file mode 100644 index 0000000..d1e6490 --- /dev/null +++ b/RULES/power-macintosh-rhapsody-cc.rul @@ -0,0 +1,58 @@ +#ident "@(#)power-macintosh-rhapsody-cc.rul 1.13 13/07/22 " +########################################################################### +# Written 1996-2013 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for NeXT Step 4.x (Apple Rhapsody) PPC (GCC) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul +CC_COM_DEF= cc + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= +LNDYNLIB= @ + +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + +# +# lorder seems not to work on some versions because Apple installed +# a broken /bin/sh that is not POSIX cimpliant an will not +# be able to run the /usr/bin/lorder script. The error messages are: +# type: not found +# type: not found +# lorder: nm: not found +# ... disable it +# +LORDER= echo +TSORT= cat diff --git a/RULES/power-macintosh-rhapsody-gcc.rul b/RULES/power-macintosh-rhapsody-gcc.rul new file mode 100644 index 0000000..8cab4cb --- /dev/null +++ b/RULES/power-macintosh-rhapsody-gcc.rul @@ -0,0 +1,55 @@ +#ident "@(#)power-macintosh-rhapsody-gcc.rul 1.11 07/05/09 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for NeXT Step 4.x (Apple Rhapsody) PPC (GCC) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= +LNDYNLIB= @ + +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + +# +# lorder seems not to work on some versions because Apple installed +# a broken /bin/sh that is not POSIX cimpliant an will not +# be able to run the /usr/bin/lorder script. The error messages are: +# type: not found +# type: not found +# lorder: nm: not found +# ... disable it +# +LORDER= echo +TSORT= cat diff --git a/RULES/powerpc-beos-gcc.rul b/RULES/powerpc-beos-gcc.rul new file mode 100644 index 0000000..dc4aa69 --- /dev/null +++ b/RULES/powerpc-beos-gcc.rul @@ -0,0 +1,51 @@ +#ident "@(#)powerpc-beos-gcc.rul 1.8 07/05/09 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for BeOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +# +# XXX Old BeOS needs libroot.so to get [efg]cvt() +# XXX New BeOS seems to have this in libc and in addition we include +# XXX strtod.c for floating point conversion on OS without such code. +# XXX For this reason, -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS has been +# XXX removed and printing floating numbers will work with old/new BeOS +# +#OSDEFS += -DNO_FLOATINGPOINT -DUSE_FLOATINGARGS +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +#CONFFLAGS= + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so + +LIB_SOCKET= +LIB_MATH= +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat diff --git a/RULES/powerpc-beos-mwcc.rul b/RULES/powerpc-beos-mwcc.rul new file mode 100644 index 0000000..ad6e9fe --- /dev/null +++ b/RULES/powerpc-beos-mwcc.rul @@ -0,0 +1,44 @@ +#ident "@(#)powerpc-beos-mwcc.rul 1.11 13/11/04 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for BeOS +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-bemwcc.rul + +OSDEFS += + +CPPOPTS= -relax_pointers -opt global -sym on -g -i- -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(INCDIRSX:%=-I%) + +KDEFINES= -DKERNEL -D_KERNEL + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +#LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LDOPTS= -multidefs -sym on -g $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat + +LN= /bin/ln -s diff --git a/RULES/profiled.lnk b/RULES/profiled.lnk new file mode 100644 index 0000000..91bd3f3 --- /dev/null +++ b/RULES/profiled.lnk @@ -0,0 +1,22 @@ +#ident "@(#)profiled.lnk 1.1 07/06/29 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Rules for commands that are links statically against internal libs +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +SHLDIR= /profiled +NO_SHL= no diff --git a/RULES/r-gmake.dep b/RULES/r-gmake.dep new file mode 100644 index 0000000..50eff5c --- /dev/null +++ b/RULES/r-gmake.dep @@ -0,0 +1,94 @@ +#ident "@(#)r-gmake.dep 1.16 15/04/15 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Dependency building rules for gmake +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +DEP_SUFFIX= .d +RMDEP= $(RM) $(RM_FORCE) $@ +___C++DEP_FILES= $(C++FILES:%.C=%.d) +__C++DEP_FILES= $(___C++DEP_FILES:%.cc=%.d) +_C++DEP_FILES= $(__C++DEP_FILES:%.cpp=%.d) +C++DEP_FILES= $(_C++DEP_FILES:%.cxx=%.d) +C++PDEP_FILES= $(C++DEP_FILES:%=$(ARCHDIR)/%) +DEP_FILE= $(CFILES:%.c=%.d) $(C++DEP_FILES) +PDEP_FILE= $(CFILES:%.c=$(ARCHDIR)/%.d) $(C++PDEP_FILES) +PALLDEP_FILE= $(CFILES:%.c=$(ARCHDIR)/%.d) $(C++PDEP_FILES) $(ARCHDIR)/$(TARGET).dep +DEP_DEP= $(ARCHDIR)/Dnull +########################################################################### +depend: rmdep $(DEP_FILE) + +rmdep: + $(RM) $(RM_FORCE) $(PALLDEP_FILE) + +########################################################################### +# +# Make the complete path to the architecture subdirectory. +# Make $(ARCHDIR)/man as well here to avoid this directory to become root +# owned when root later calls "make install". +# +########################################################################### +$(ARCHDIR) $(ARCHDIR)/man: + $(MKDIR) -p $@ + +########################################################################### +# +# Generate dependency file(s). +# This rules is checked when the dependency file(s) are included. +# +# Modify the the path for .o files to reflect that they are placed in +# $(ARCHDIR). Add the dependency file itself to each line so that +# the dependencies will be rebuilt if a source is newer that the +# appropriate dependency file. +# +########################################################################### +$(ARCHDIR)/%.d: %.c + $(MKDEP) $(CPPFLAGS) $(MKDEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(ARCHDIR)/\1.d:;' > $@ + +$(ARCHDIR)/%.d: %.C + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(ARCHDIR)/\1.d:;' > $@ +$(ARCHDIR)/%.d: %.cc + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(ARCHDIR)/\1.d:;' > $@ +$(ARCHDIR)/%.d: %.cpp + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(ARCHDIR)/\1.d:;' > $@ +$(ARCHDIR)/%.d: %.cxx + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(ARCHDIR)/\1.d:;' > $@ + +$(PDEP_FILE): $(DEP_DEP) + +$(DEP_DEP): + @if [ ! -f $@ ]; then \ + echo " ==> MAKING DIRECTORY \"$(ARCHDIR)\""; \ + $(_MKDIR) -p $(ARCHDIR); \ + echo " ==> MAKING DIRECTORY \"$(ARCHDIR)/man\""; \ + $(_MKDIR) -p $(ARCHDIR)/man; \ + echo > $@; \ + fi + +########################################################################### +# +# Include the dependency file(s) generated from the rules above. +# +########################################################################### +-include $(PDEP_FILE) diff --git a/RULES/r-gmake.tag b/RULES/r-gmake.tag new file mode 100644 index 0000000..9cbde85 --- /dev/null +++ b/RULES/r-gmake.tag @@ -0,0 +1,25 @@ +#ident "@(#)r-gmake.tag 1.3 07/12/01 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Tag building rules for gmake +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +TAGS: $(CFILES) $(CFILES_TAG) $(HFILES) $(HFILES_TAG) + $(ETAGS) $+ + +tags: $(CFILES) $(CFILES_TAG) $(HFILES) $(HFILES_TAG) + $(CTAGS) -t $+ diff --git a/RULES/r-make.dep b/RULES/r-make.dep new file mode 100644 index 0000000..0f45168 --- /dev/null +++ b/RULES/r-make.dep @@ -0,0 +1,86 @@ +#ident "@(#)r-make.dep 1.10 15/03/26 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Dependency building rules for make +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# Note that we currently do not support C++ with Sun make as Sun make +# only allows one file to folllow a include directive +# +DEP_SUFFIX= .dep +RMDEP= $(RM) $(RM_FORCE) $@ +___C++DEP_FILES= $(C++FILES:%.C=$(ARCHDIR)/%.d) +__C++DEP_FILES= $(___C++DEP_FILES:%.cc=$(ARCHDIR)/%.d) +_C++DEP_FILES= $(__C++DEP_FILES:%.cpp=$(ARCHDIR)/%.d) +C++DEP_FILES= $(_C++DEP_FILES:%.cxx=$(ARCHDIR)/%.d) +C++PDEP_FILES= $(C++DEP_FILES) +DEP_FILE= $(ARCHDIR)/$(TARGET).dep +PDEP_FILE= $(ARCHDIR)/$(TARGET).dep +PALLDEP_FILE= $(CFILES:%.c=$(ARCHDIR)/%.d) $(C++PDEP_FILES) $(ARCHDIR)/$(TARGET).dep +DEP_DEP= $(ARCHDIR)/Dnull +########################################################################### +depend: rmdep $(DEP_FILE) + +rmdep: + $(RM) $(RM_FORCE) $(PALLDEP_FILE) + +########################################################################### +# +# Make the complete path to the architecture subdirectory. +# Make $(ARCHDIR)/man as well here to avoid this directory to become root +# owned when root later calls "make install". +# +########################################################################### +$(ARCHDIR) $(ARCHDIR)/man: + $(MKDIR) -p $@ + +########################################################################### +# +# Generate dependency file(s). +# This rules is checked when the dependency file(s) are included. +# +# Modify the the path for .o files to reflect that they are placed in +# $(ARCHDIR). Add the dependency file itself to each line so that +# the dependencies will be rebuilt if a source is newer that the +# appropriate dependency file. +# +########################################################################### +$(ARCHDIR)/%.dep: %.c + $(MKDEP) $(CPPFLAGS) $(MKDEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(DEP_FILE):;' > $@ + +$(DEP_FILE): $(DEP_DEP) $(CFILES) + $(MKDEP) $(CPPFLAGS) $(MKDEP_OUT) $(CFILES) \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(DEP_FILE):;' > $@ + +$(DEP_DEP): + @if [ ! -f $@ ]; then \ + echo " ==> MAKING DIRECTORY \"$(ARCHDIR)\""; \ + $(_MKDIR) -p $(ARCHDIR); \ + echo " ==> MAKING DIRECTORY \"$(ARCHDIR)/man\""; \ + $(_MKDIR) -p $(ARCHDIR)/man; \ + echo > $@; \ + fi + +########################################################################### +# +# Include the dependency file(s) generated from the rules above. +# +########################################################################### +include $(DEP_FILE) diff --git a/RULES/r-make.obj b/RULES/r-make.obj new file mode 100644 index 0000000..dd515ee --- /dev/null +++ b/RULES/r-make.obj @@ -0,0 +1,60 @@ +#ident @(#)r-make.obj 1.9 15/04/15 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Object building rules for gmake +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# This defines a rule that compiles source files from current directory and +# puts the resultant objects directly into $(ARCHDIR), +# to allow concurrent compilation on different platforms. +# Object file names are constructed from $(CFILES) and $(C++FILES). +########################################################################### +ARCHDIRX= $(ARCHDIR)/ +___C++OFILES= $(C++FILES:%.C=$(ARCHDIR)/%.$o) +__C++OFILES= $(___C++OFILES:%.cc=$(ARCHDIR)/%.$o) +_C++OFILES= $(__C++OFILES:%.cpp=$(ARCHDIR)/%.$o) +C++OFILES= $(_C++OFILES:%.cxx=$(ARCHDIR)/%.$o) +C++POFILES= $(C++OFILES) +OFILES= $(CFILES:%.c=$(ARCHDIR)/%.$o) $(C++OFILES) +POFILES= $(CFILES:%.c=$(ARCHDIR)/%.$o) $(C++POFILES) +########################################################################### +__COMPILE.c= $(_UNIQ)$(COMPILE.c) +___COMPILE.c= $(__COMPILE.c:$(_UNIQ)=$(CCCC) $(CFLAGS) $(CPPFLAGS) -c) +_COMPILE.c= $(___COMPILE.c:$(_UNIQ)%=%) + +__COMPILE.cc= $(_UNIQ)$(COMPILE.cc) +___COMPILE.cc= $(__COMPILE.cc:$(_UNIQ)=$(CC++) $(C++FLAGS) $(CPPFLAGS) -c) +_COMPILE.cc= $(___COMPILE.cc:$(_UNIQ)%=%) + +__OUTPUT_OPTION= $(_UNIQ)$(OUTPUT_OPTION) +___OUTPUT_OPTION= $(__OUTPUT_OPTION:$(_UNIQ)=-o $@) +_OUTPUT_OPTION= $(___OUTPUT_OPTION:$(_UNIQ)%=%) +########################################################################### + +$(ARCHDIR)/%.$o: %.c + $(_COMPILE.c) $(_OUTPUT_OPTION) $< $(CC_OUTPUT_FILTER) +$(ARCHDIR)/%.$o: %.C + $(_COMPILE.cc) $(_OUTPUT_OPTION) $< $(CC_OUTPUT_FILTER) +$(ARCHDIR)/%.$o: %.cc + $(_COMPILE.cc) $(_OUTPUT_OPTION) $< $(CC_OUTPUT_FILTER) +$(ARCHDIR)/%.$o: %.cpp + $(_COMPILE.cc) $(_OUTPUT_OPTION) $< $(CC_OUTPUT_FILTER) +$(ARCHDIR)/%.$o: %.cxx + $(_COMPILE.cc) $(_OUTPUT_OPTION) $< $(CC_OUTPUT_FILTER) +########################################################################### diff --git a/RULES/r-make.tag b/RULES/r-make.tag new file mode 100644 index 0000000..a6e1f5e --- /dev/null +++ b/RULES/r-make.tag @@ -0,0 +1,25 @@ +#ident "@(#)r-make.tag 1.3 07/12/01 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Tag building rules for make +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +TAGS: $(CFILES) $(CFILES_TAG) $(HFILES) $(HFILES_TAG) + $(ETAGS) $(CFILES) $(CFILES_TAG) $(HFILES) $(HFILES_TAG) + +tags: $(CFILES) $(CFILES_TAG) $(HFILES) $(HFILES_TAG) + $(CTAGS) -t $(CFILES) $(CFILES_TAG) $(HFILES) $(HFILES_TAG) diff --git a/RULES/r-smake.dep b/RULES/r-smake.dep new file mode 100644 index 0000000..4f8e1c6 --- /dev/null +++ b/RULES/r-smake.dep @@ -0,0 +1,102 @@ +#ident "@(#)r-smake.dep 1.15 15/03/26 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Dependency building rules for smake +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +DEP_SUFFIX= .d +RMDEP= $(RM) $(RM_FORCE) $(ARCHDIR)/$@ +___C++DEP_FILES= $(C++FILES:%.C=%.d) +__C++DEP_FILES= $(___C++DEP_FILES:%.cc=%.d) +_C++DEP_FILES= $(__C++DEP_FILES:%.cpp=%.d) +C++DEP_FILES= $(_C++DEP_FILES:%.cxx=%.d) +C++PDEP_FILES= $(C++DEP_FILES:%=$(ARCHDIR)/%) +DEP_FILE= $(CFILES:%.c=%.d) $(C++DEP_FILES) +PDEP_FILE= $(CFILES:%.c=$(ARCHDIR)/%.d) $(C++PDEP_FILES) +PALLDEP_FILE= $(CFILES:%.c=$(ARCHDIR)/%.d) $(C++PDEP_FILES) $(ARCHDIR)/$(TARGET).dep +DEP_DEP= $(ARCHDIR)/Dnull +########################################################################### +depend: rmdep $(DEP_FILE) + +rmdep: + $(RM) $(RM_FORCE) $(PALLDEP_FILE) + +########################################################################### +# +# Make the complete path to the architecture subdirectory. +# Make $(ARCHDIR)/man as well here to avoid this directory to become root +# owned when root later calls "make install". +# +########################################################################### +$(ARCHDIR) $(ARCHDIR)/man: + $(MKDIR) -p $@ + +########################################################################### +# +# Generate dependency file(s). +# This rules is checked when the dependency file(s) are included. +# +# Modify the the path for .o files to reflect that they are placed in +# $(ARCHDIR). Add the dependency file itself to each line so that +# the dependencies will be rebuilt if a source is newer that the +# appropriate dependency file. +# +########################################################################### + +# Do not define Simple Suffix Rules anymore +#.d: .c +# $(MKDEP) $(CPPFLAGS) $(MKDEP_OUT) $< \ +# | sed -e 's;^\(.*\)\.$o[ ]*:;\1.$o \1.d:;' > $(ARCHDIR)/$@ + +%.d: %.c + $(MKDEP) $(CPPFLAGS) $(MKDEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;\1.$o \1.d:;' > $(ARCHDIR)/$@ + +%.d: %.C + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;\1.$o \1.d:;' > $(ARCHDIR)/$@ +%.d: %.cc + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;\1.$o \1.d:;' > $(ARCHDIR)/$@ +%.d: %.cpp + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;\1.$o \1.d:;' > $(ARCHDIR)/$@ +%.d: %.cxx + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;\1.$o \1.d:;' > $(ARCHDIR)/$@ + +$(DEP_DEP): + @if [ ! -f $@ ]; then \ + echo " ==> MAKING DIRECTORY \"$(ARCHDIR)\""; \ + $(_MKDIR) -p $(ARCHDIR); \ + echo " ==> MAKING DIRECTORY \"$(ARCHDIR)/man\""; \ + $(_MKDIR) -p $(ARCHDIR)/man; \ + echo > $@; \ + fi + +#$(DEP_FILE): +# $(MKDEP) $(CPPFLAGS) -f - $(CFILES) \ +# | sed -e 's;^\(.*\.$o[ ]*:\);$(ARCHDIR)/\1;' > $@ + +########################################################################### +# +# Include the dependency file(s) generated from the rules above. +# +########################################################################### +-include $(DEP_DEP) $(DEP_FILE) diff --git a/RULES/r-smake.obj b/RULES/r-smake.obj new file mode 100644 index 0000000..fdc1319 --- /dev/null +++ b/RULES/r-smake.obj @@ -0,0 +1,64 @@ +#ident @(#)r-smake.obj 1.10 13/07/22 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Object building rules for smake +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# This defines a rule that compiles source files from current directory and +# puts the resultant objects directly into $(ARCHDIR), +# to allow concurrent compilation on different platforms. +# Object file names are constructed from $(CFILES) and $(C++FILES). +########################################################################### +ARCHDIRX= +___C++OFILES= $(C++FILES:%.C=%.$o) +__C++OFILES= $(___C++OFILES:%.cc=%.$o) +_C++OFILES= $(__C++OFILES:%.cpp=%.$o) +C++OFILES= $(_C++OFILES:%.cxx=%.$o) +C++POFILES= $(C++OFILES:%=$(ARCHDIR)/%) +OFILES= $(CFILES:%.c=%.$o) $(C++OFILES) +POFILES= $(CFILES:%.c=$(ARCHDIR)/%.$o) $(C++POFILES) +.OBJDIR: $(ARCHDIR) +########################################################################### +__COMPILE.c= $(_UNIQ)$(COMPILE.c) +___COMPILE.c= $(__COMPILE.c:$(_UNIQ)=$(CCCC) $(CFLAGS) $(CPPFLAGS) -c) +_COMPILE.c= $(___COMPILE.c:$(_UNIQ)%=%) + +__COMPILE.cc= $(_UNIQ)$(COMPILE.cc) +___COMPILE.cc= $(__COMPILE.cc:$(_UNIQ)=$(CC++) $(C++FLAGS) $(CPPFLAGS) -c) +_COMPILE.cc= $(___COMPILE.cc:$(_UNIQ)%=%) + +__OUTPUT_OPTION= $(_UNIQ)$(OUTPUT_OPTION) +___OUTPUT_OPTION= $(__OUTPUT_OPTION:$(_UNIQ)=-o $O/$@) +_OUTPUT_OPTION= $(___OUTPUT_OPTION:$(_UNIQ)%=%) +########################################################################### +%.$o: %.c + $(_COMPILE.c) $(_OUTPUT_OPTION) $< $(CC_OUTPUT_FILTER) +%.$o: %.C + $(_COMPILE.cc) $(_OUTPUT_OPTION) $< $(CC_OUTPUT_FILTER) +%.$o: %.cc + $(_COMPILE.cc) $(_OUTPUT_OPTION) $< $(CC_OUTPUT_FILTER) +%.$o: %.cpp + $(_COMPILE.cc) $(_OUTPUT_OPTION) $< $(CC_OUTPUT_FILTER) +%.$o: %.cxx + $(_COMPILE.cc) $(_OUTPUT_OPTION) $< $(CC_OUTPUT_FILTER) + +#$(ARCHDIR)/%.$o: %.c +# $(CCCC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $(*F).c + +########################################################################### diff --git a/RULES/r-smake.tag b/RULES/r-smake.tag new file mode 100644 index 0000000..28a2b53 --- /dev/null +++ b/RULES/r-smake.tag @@ -0,0 +1,25 @@ +#ident "@(#)r-smake.tag 1.4 07/12/01 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Tag building rules for smake +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +TAGS: $(CFILES) $(CFILES_TAG) $(HFILES) $(HFILES_TAG) + $(ETAGS) $r1 + +tags: $(CFILES) $(CFILES_TAG) $(HFILES) $(HFILES_TAG) + $(CTAGS) -t $r1 diff --git a/RULES/r-sunpro.dep b/RULES/r-sunpro.dep new file mode 100644 index 0000000..ee2d601 --- /dev/null +++ b/RULES/r-sunpro.dep @@ -0,0 +1,94 @@ +#ident "@(#)r-sunpro.dep 1.17 17/05/08 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Dependency building rules for SunPro Make (Schilytools version) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +DEP_SUFFIX= .d +RMDEP= $(RM) $(RM_FORCE) $@ +___C++DEP_FILES= $(C++FILES:%.C=%.d) +__C++DEP_FILES= $(___C++DEP_FILES:%.cc=%.d) +_C++DEP_FILES= $(__C++DEP_FILES:%.cpp=%.d) +C++DEP_FILES= $(_C++DEP_FILES:%.cxx=%.d) +C++PDEP_FILES= $(C++DEP_FILES:%=$(ARCHDIR)/%) +DEP_FILE= $(CFILES:%.c=%.d) $(C++DEP_FILES) +PDEP_FILE= $(CFILES:%.c=$(ARCHDIR)/%.d) $(C++PDEP_FILES) +PALLDEP_FILE= $(CFILES:%.c=$(ARCHDIR)/%.d) $(C++PDEP_FILES) $(ARCHDIR)/$(TARGET).dep +DEP_DEP= $(ARCHDIR)/Dnull +########################################################################### +depend: rmdep $(DEP_FILE) + +rmdep: + $(RM) $(RM_FORCE) $(PALLDEP_FILE) + +########################################################################### +# +# Make the complete path to the architecture subdirectory. +# Make $(ARCHDIR)/man as well here to avoid this directory to become root +# owned when root later calls "make install". +# +########################################################################### +$(ARCHDIR) $(ARCHDIR)/man: + $(MKDIR) -p $@ + +########################################################################### +# +# Generate dependency file(s). +# This rules is checked when the dependency file(s) are included. +# +# Modify the the path for .o files to reflect that they are placed in +# $(ARCHDIR). Add the dependency file itself to each line so that +# the dependencies will be rebuilt if a source is newer that the +# appropriate dependency file. +# +########################################################################### +$(ARCHDIR)/%.d: %.c + $(MKDEP) $(CPPFLAGS) $(MKDEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(ARCHDIR)/\1.d:;' > $@ + +$(ARCHDIR)/%.d: %.C + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(ARCHDIR)/\1.d:;' > $@ +$(ARCHDIR)/%.d: %.cc + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(ARCHDIR)/\1.d:;' > $@ +$(ARCHDIR)/%.d: %.cpp + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(ARCHDIR)/\1.d:;' > $@ +$(ARCHDIR)/%.d: %.cxx + $(MKC++DEP) $(CPPFLAGS) $(MKC++DEP_OUT) $< \ + | sed -e 's;^\(.*\)\.$o[ ]*:;$(ARCHDIR)/\1.$o $(ARCHDIR)/\1.d:;' > $@ + +$(PDEP_FILE): $(DEP_DEP) + +$(DEP_DEP): + @if [ ! -f $@ ]; then \ + echo " ==> MAKING DIRECTORY \"$(ARCHDIR)\""; \ + $(_MKDIR) -p $(ARCHDIR); \ + echo " ==> MAKING DIRECTORY \"$(ARCHDIR)/man\""; \ + $(_MKDIR) -p $(ARCHDIR)/man; \ + echo > $@; \ + fi + +########################################################################### +# +# Include the dependency file(s) generated from the rules above. +# +########################################################################### +include $(PDEP_FILE) diff --git a/RULES/rs6000-aix-cc.rul b/RULES/rs6000-aix-cc.rul new file mode 100644 index 0000000..799d4cf --- /dev/null +++ b/RULES/rs6000-aix-cc.rul @@ -0,0 +1,40 @@ +#ident "@(#)rs6000-aix-cc.rul 1.11 15/12/01 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for AIX on RS6000 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH:cc%=ibm%).rul + +AIX_ARCH= $(IBMCC_OPTXX:-q%=-X%) + +OSDEFS += -DPROTOTYTPES + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + +LORDER= lorder $(AIX_ARCH) +AR= @echo " ==> ARCHIVING \"$@\""; ar $(AIX_ARCH) diff --git a/RULES/rs6000-aix-gcc.rul b/RULES/rs6000-aix-gcc.rul new file mode 100644 index 0000000..5e2433c --- /dev/null +++ b/RULES/rs6000-aix-gcc.rul @@ -0,0 +1,54 @@ +#ident "@(#)rs6000-aix-gcc.rul 1.11 15/11/29 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for AIX on RS6000 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul +GCC_OPT32= -maix32 +GCC_OPT64= -maix64 +AIX_ARCH= $(GCC_OPTXX:-maix%=-X%) + +OSDEFS += -DPROTOTYTPES + +KDEFINES= -DKERNEL -D_KERNEL + +COPTDYN= -pic + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= +LNDYNLIB= @ + +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + +LORDER= lorder $(AIX_ARCH) +AR= @echo " ==> ARCHIVING \"$@\""; ar $(AIX_ARCH) diff --git a/RULES/rules.aux b/RULES/rules.aux new file mode 100644 index 0000000..0bba23c --- /dev/null +++ b/RULES/rules.aux @@ -0,0 +1,38 @@ +#ident "@(#)rules.aux 1.9 10/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Rules for installing auxiliary files +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +PTARGET= $(TARGET)$(AUXSRCEXT) +SRCFILE= $(TARGET)$(AUXSRCEXT) +########################################################################### + +_INSMODEI= $(_UNIQ)$(INSMODE) +__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEF)) +INSMODEI= $(__INSMODEI:$(_UNIQ)%=%) + +all: $(SRCFILE) + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/sub.htm +include $(SRCROOT)/$(RULESDIR)/rules.clr +include $(SRCROOT)/$(RULESDIR)/rules.ins +include $(SRCROOT)/$(RULESDIR)/rules.tag +include $(SRCROOT)/$(RULESDIR)/rules.hlp +include $(SRCROOT)/$(RULESDIR)/dummy.dep +########################################################################### diff --git a/RULES/rules.clr b/RULES/rules.clr new file mode 100644 index 0000000..762ffca --- /dev/null +++ b/RULES/rules.clr @@ -0,0 +1,46 @@ +#ident @(#)rules.clr 1.7 10/10/02 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Rules to make source tree clean +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# Do not remove target if it is in the current directory +########################################################################### +RMTARGET= $(PTARGET:$(TARGET)%=%) +########################################################################### +clean: + $(RM) $(RM_FORCE) $(CLEAN_FILES) $(POFILES) \ + $(PTARGETC) \ + $(PMAPVERS) \ + $(CLEAN_FILEX) \ + $(PYOFILES) $(PLOFILES) + +clobber: clean + $(RM) $(RM_FORCE) $(RMTARGET) $(PALLDEP_FILE) \ + $(PTARGETC) \ + $(CLOBBER_FILEX) + $(RM) $(RM_FORCE) $(ARCHDIR)/Dnull + +distclean: + $(RM) $(RM_RF) $(CLEAN_FILES) \ + .EDTMP *.bak OBJ/* \ + $(SRCROOT)/libs/* $(SRCROOT)/incs/* + +rmtarget: + $(RM) $(RM_FORCE) $(RMTARGET) + +relink: rmtarget all diff --git a/RULES/rules.cmd b/RULES/rules.cmd new file mode 100644 index 0000000..490c3ef --- /dev/null +++ b/RULES/rules.cmd @@ -0,0 +1,56 @@ +#ident @(#)rules.cmd 1.15 16/08/10 +########################################################################### +# Written 1996-2013 by J. Schilling +########################################################################### +# +# Rules for user level commands (usually found in .../bin) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +_EXEEXT= $(EXEEXT) +_XEXEEXT= $(XEXEEXT) +########################################################################### +INSFLAGS += $(STRIPFLAGS) +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.obj +include $(SRCROOT)/$(RULESDIR)/rules.dyn +########################################################################### + +_INSMODEI= $(_UNIQ)$(INSMODE) +__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEX)) +INSMODEI= $(__INSMODEI:$(_UNIQ)%=%) + +__LD_OUTPUT_OPTION= $(_UNIQ)$(LD_OUTPUT_OPTION) +___LD_OUTPUT_OPTION= $(__LD_OUTPUT_OPTION:$(_UNIQ)=-o $@) +_LD_OUTPUT_OPTION= $(___LD_OUTPUT_OPTION:$(_UNIQ)%=%) + +LIBS_PATH += $(LIBS_PATH_STATIC) + +all: $(PTARGET) + +$(PTARGET): $(OFILES) $(SRCLIBS) + $(LDCC) $(_LD_OUTPUT_OPTION) $(POFILES) $(LDFLAGS) $(LDLIBS) + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/sub.htm +include $(SRCROOT)/$(RULESDIR)/rules.lnt +include $(SRCROOT)/$(RULESDIR)/rules.clr +include $(SRCROOT)/$(RULESDIR)/rules.ins +include $(SRCROOT)/$(RULESDIR)/rules.tag +include $(SRCROOT)/$(RULESDIR)/rules.hlp +include $(SRCROOT)/$(RULESDIR)/rules.dep +include $(SRCROOT)/$(RULESDIR)/rules.cst +########################################################################### diff --git a/RULES/rules.cnf b/RULES/rules.cnf new file mode 100644 index 0000000..50085aa --- /dev/null +++ b/RULES/rules.cnf @@ -0,0 +1,73 @@ +#ident @(#)rules.cnf 1.17 15/11/10 +########################################################################### +# Written 1998-2013 by J. Schilling +########################################################################### +# +# Make Rules for global dynamic configuration +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +$(SRCROOT)/autoconf/configure: $(SRCROOT)/autoconf/autoconf.m4 \ + $(SRCROOT)/autoconf/acgeneral.m4 \ + $(SRCROOT)/autoconf/acspecific.m4 \ + $(SRCROOT)/autoconf/acoldnames.m4 \ + $(SRCROOT)/autoconf/aclocal.m4 \ + $(SRCROOT)/autoconf/rules.cnf.in \ + $(SRCROOT)/autoconf/xconfig.h.in + @echo " ==> AUTOCONFIGURING GLOBAL \"$@\""; \ + cd $(SRCROOT)/autoconf && sh ./autoconf + +config: $(OINCSDIR)/rules.cnf + +$(OINCSDIR)/Inull: + $(MKDIR) -p $(OINCSDIR) + @echo > $@ + +$(OINCSDIR): + $(MKDIR) -p $@ + +# +# Hack until the --*cc.rul files are updated +# +_HCC_COM= $(OARCH:%-gcc=gcc) +HCC_COM= $(_HCC_COM:%-cc=cc) + +_XCC_COM= $(_UNIQ)$(CC_COM) +__XCC_COM= $(_XCC_COM:$(_UNIQ)=$(HCC_COM)) +XCC_COM= $(__XCC_COM:$(_UNIQ)%=%) + +#CONFFLAGS += -cc=$(XCC_COM) + +$(OINCSDIR)/rules.cnf $(OINCSDIR)/xconfig.h: $(OINCSDIR)/Inull \ + $(SRCROOT)/autoconf/configure \ + $(SRCROOT)/autoconf/rules.cnf.in \ + $(SRCROOT)/autoconf/xconfig.h.in + $(RUL_CONF) + +########################################################################### +OS_DEFS= $(OSINCDIRS:%=-I%) $(OSDEFS) $(OSDEFSX) +RUL_CONF= @echo " ==> CONFIGURING RULES \"$@\""; \ + $(RM_F) $(OINCSDIR)/rules.cnf $(OINCSDIR)/xconfig.h; \ + cd $(OINCSDIR); \ + CONFIG_NOFAIL=TRUE CC="$(XCC_COM)" CFLAGS="$(CFLAGS)" \ + CXXFLAGS="$(C++FLAGS)" CPPFLAGS="$(OS_DEFS)" \ + LDFLAGS="$(LDOPTS)" sh ../../autoconf/configure $(CONFFLAGS) +########################################################################### +include $(OINCSDIR)/Inull +include $(OINCSDIR)/rules.cnf +########################################################################### +include $(SRCROOT)/$(RULESDIR)/$(LOCAL_CNF) diff --git a/RULES/rules.cpl b/RULES/rules.cpl new file mode 100644 index 0000000..31d3083 --- /dev/null +++ b/RULES/rules.cpl @@ -0,0 +1,24 @@ +#ident "@(#)rules.cpl 1.1 06/07/21 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Rules for C++ projects +# +# Cannot use the file name rules.c++ on some OS. +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +LDCC= $(LDCC++) +DYNLD= $(DYNLDC++) diff --git a/RULES/rules.cst b/RULES/rules.cst new file mode 100644 index 0000000..d173796 --- /dev/null +++ b/RULES/rules.cst @@ -0,0 +1,33 @@ +#ident @(#)rules.cst 1.1 16/08/10 +########################################################################### +# Written 2016 by J. Schilling +########################################################################### +# +# Rules for "cstyle" +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +CSTYLE= cstyle +CSTYLEOPTS_DEF= -K + +_CSTYLEOPTS= $(_UNIQ)$(CSTYLEOPTS) +__CSTYLEOPTS= $(_CSTYLEOPTS:$(_UNIQ)=$(CSTYLEOPTS_DEF)) +CSTYLE_OPTS= $(__CSTYLEOPTS:$(_UNIQ)%=%) + + +cstyle: $(CFILES) $(HFILES) + $(CSTYLE) $(CSTYLE_OPTS) $(CSTYLEOPTX) $^ diff --git a/RULES/rules.csw b/RULES/rules.csw new file mode 100644 index 0000000..546bd1c --- /dev/null +++ b/RULES/rules.csw @@ -0,0 +1,52 @@ +#ident "@(#)rules.csw 1.6 11/09/28 " +########################################################################### +# Written 2005 by J. Schilling +########################################################################### +# +# Rules for creating Blastwave SVr4 packages +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +PKG :sh= sed -n 's/^PKG=//p' pkginfo +#VERSION :sh= sed -n 's/^VERSION=//p' pkginfo +VERSION :sh= sed -n 's/^VERSION=\([^,]*\).*/\1/p' pkginfo +NAME :sh= sed -n 's/^NAME=//p' pkginfo|awk '{print $1}' +OS_NAME :sh= uname -s +DATE :sh= date '+REV=%Y.%m.%d' + +VENDOR= -CSW +PROTOTYPE= prototype + +$(SRCROOT)/packages/$(OARCH): + $(MKDIR) -p $@ + +all: $(SRCROOT)/packages/$(OARCH) + if [ .$(PKG_RELOC) = .no ]; then \ + pkgmk -o -r `pwd`/$(SRCROOT)/$(PROTODIR)$(PKGROOTX) -d $(SRCROOT)/packages/$(OARCH) \ + -a $(P_ARCH) \ + -v $(VERSION),$(DATE) -f $(PROTOTYPE)_r \ + $(EMAIL:%=EMAIL=%) $(HOTLINE:%=HOTLINE=%) \ + pkgbase=`pwd` \ + $(PKGOPTX); \ + else \ + pkgmk -o -b `pwd`/$(SRCROOT)/$(PROTODIR)/$(INSBASE) -d $(SRCROOT)/packages/$(OARCH) \ + -a $(P_ARCH) \ + -v $(VERSION),$(DATE) -f $(PROTOTYPE) BASEDIR=$(INSBASE) \ + $(EMAIL:%=EMAIL=%) $(HOTLINE:%=HOTLINE=%) \ + pkgbase=`pwd` \ + $(PKGOPTX); \ + fi + pkgtrans -s $(SRCROOT)/packages/$(OARCH) $(NAME)-$(VERSION),$(DATE)-$(OS_NAME)$(OSREL)-$(P_ARCH)$(VENDOR).pkg $(PKG) + gzip -9f $(SRCROOT)/packages/$(OARCH)/$(NAME)-$(VERSION),$(DATE)-$(OS_NAME)$(OSREL)-$(P_ARCH)$(VENDOR).pkg diff --git a/RULES/rules.dep b/RULES/rules.dep new file mode 100644 index 0000000..d0b795c --- /dev/null +++ b/RULES/rules.dep @@ -0,0 +1,21 @@ +#ident "@(#)rules.dep 1.2 06/05/14 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Dependency building rules ... use MAKEPROG specific version +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/r-$(MAKEPROG).dep diff --git a/RULES/rules.dir b/RULES/rules.dir new file mode 100644 index 0000000..403c841 --- /dev/null +++ b/RULES/rules.dir @@ -0,0 +1,26 @@ +#ident @(#)rules.dir 1.8 06/05/14 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# DIRS contains the names of all directories where sub make should take place +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +include $(SRCROOT)/$(RULESDIR)/rules1.dir + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.hlp +########################################################################### diff --git a/RULES/rules.drv b/RULES/rules.drv new file mode 100644 index 0000000..cb6062c --- /dev/null +++ b/RULES/rules.drv @@ -0,0 +1,42 @@ +#ident @(#)rules.drv 1.8 08/12/27 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Rules for loadable drivers +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.obj +########################################################################### + +_INSMODEI= $(_UNIQ)$(INSMODE) +__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEX)) +INSMODEI= $(__INSMODEI:$(_UNIQ)%=%) + +all: $(PTARGET) + +$(PTARGET): $(OFILES) $(SRCLIBS) + $(LD) -r -o $@ $(POFILES) $(SRCLIBS) $(LIBS) + +INSBASE= $(INS_KBASE:%/=%) +CPPOPTS += $(KDEFINES) +########################################################################### +include $(SRCROOT)/$(RULESDIR)/sub.htm +include $(SRCROOT)/$(RULESDIR)/rules.clr +include $(SRCROOT)/$(RULESDIR)/rules.ins +include $(SRCROOT)/$(RULESDIR)/rules.tag +include $(SRCROOT)/$(RULESDIR)/rules.hlp +include $(SRCROOT)/$(RULESDIR)/rules.dep +########################################################################### diff --git a/RULES/rules.dyn b/RULES/rules.dyn new file mode 100644 index 0000000..d603f39 --- /dev/null +++ b/RULES/rules.dyn @@ -0,0 +1,28 @@ +#ident @(#)rules.dyn 1.1 06/07/20 +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Rules for dynamic vs. static linking against internal libs +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +_DEFLNKMODE= $(_UNIQ)$(DEFLINKMODE) +__DEFLNKMODE= $(_DEFLNKMODE:$(_UNIQ)=static) +DEFLNKMODE= $(__DEFLNKMODE:$(_UNIQ)%=%) +_LNKMODE= $(_UNIQ)$(LINKMODE) +__LNKMODE= $(_LNKMODE:$(_UNIQ)=$(DEFLNKMODE)) +LNKMODE= $(__LNKMODE:$(_UNIQ)%=%) +########################################################################### +include $(SRCROOT)/$(RULESDIR)/$(LNKMODE).lnk diff --git a/RULES/rules.env b/RULES/rules.env new file mode 100644 index 0000000..bd61ff9 --- /dev/null +++ b/RULES/rules.env @@ -0,0 +1,47 @@ +#ident "@(#)rules.env 1.2 09/08/15 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# Rules for setting the locale environment to the default "C" +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# +# acgeneral.m4 claims that SCO Unix may have problems with setting LANG=C +# so we are careful not to set LANG unless it was already set by someone else +# +########################################################################### + +_LANG= $(_UNIQ)$(LANG) +__LANG= $(_LANG:$(_UNIQ)=NO_LANG) +___LANG= $(__LANG:$(_UNIQ)%=LANG) + +$(___LANG)=C +LC_ALL=C +LC_COLLATE=C +LC_CTYPE=C +LC_MESSAGES=C +LC_MONETARY=C +LC_NUMERIC=C +LC_TIME=C + +export $(___LANG) +export LC_ALL +export LC_COLLATE +export LC_CTYPE +export LC_MESSAGES +export LC_MONETARY +export LC_NUMERIC +export LC_TIME diff --git a/RULES/rules.hlp b/RULES/rules.hlp new file mode 100644 index 0000000..7a4323c --- /dev/null +++ b/RULES/rules.hlp @@ -0,0 +1,77 @@ +#ident "@(#)rules.hlp 1.20 17/06/28 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Help rules +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# Location for targets: +# +# - all : see appropriate rules +# - man installman : rules.man +# - lint : rules.lnt +# - clean, clobber, distclean, relink, rmtarget : rules.clr +# - rel : rules.rel +# - install, ibins : rules.ins +# - html, htmlx, htmlxn : rules.htm & sub.htm +# - tarpkg, tarpkg1 tarpkg2 : rules.sps +# - depend, rmdep : rules.dep +# - config : rules.cnf +# - tags, TAGS : rules.tag +# - .help : rules.hlp +# - .version : rules.hlp +# - tests : rules.tst +# - tinfo : rules.dir/rules.rdi +# - cstyle : rules.cst +# +########################################################################### +.help: + @echo "Usage: make [target]" + @echo "Available targets are:" $(ALLTARGETS) + @echo " all make the default target" + @echo " man make localized man pages" + @echo " lint lint all sources for the default target" + @echo " clean remove all made objects and the default target" + @echo " clobber remove all from 'clean' and all dependency files" + @echo " cstyle run 'cstyle' on the source files + @echo " distclean remove all from 'clobber' and all made files" + @echo " for all architectures" + @echo " relink remove and relink the default target" + @echo " rmtarget remove the default target" + @echo " install install the default target to final destination" + @echo " installman install the man pages to final destination" + @echo " ibins install the default target to local dir 'bins'" + @echo " uninstall uninstall the default target from final destination" + @echo " html create html vesions from the manual pages" + @echo " htmlx create enhanced html vesions from the manual pages" + @echo " htmlxn create enhanced html vesions from the manual pages if needed" + @echo " tarpkg create an installable tar packet -> tarpkg1 + parpkg2" + @echo " tarpkg1 helps to create an installable tar packet - install stage" + @echo " tarpkg2 installable tar packet - tar -c stage" + @echo " depend remove dependency file to prepare a remake" + @echo " config remake the dynamic configuration files" + @echo " tags make vi/ved compatible tag file" + @echo " TAGS make emacs compatible tag file" + @echo " .help display this help" + @echo " .version display version information for the makefile system" + @echo " tests Run conformance tests if available for target" + @echo " tinfo display target info for slottable target components" + @echo " shell start $(SHELL) with the environment used for compilation" + +.version: + @echo "Makefiles (The Schily Makefile System) Version: $(MAKEFILES_VERSION)" diff --git a/RULES/rules.htm b/RULES/rules.htm new file mode 100644 index 0000000..689bd64 --- /dev/null +++ b/RULES/rules.htm @@ -0,0 +1,50 @@ +#ident "@(#)rules.htm 1.6 16/01/27 " +########################################################################### +# Written 2007 by J. Schilling +########################################################################### +# +# Manual page to html converting rules +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +html: $(MANFILE) + soelim $(MANFILE) | tbl | nroff -u1 -Tlp -man - | col -x | \ + man2html -cgiurl '$$title.$$section.html' -compress -nodepage \ + > $(MANFILE).html + +htmlxn: $(MANFILE).html + +$(MANFILE).html: $(MANFILE) + soelim $(MANFILE) | tbl | nroff -u1 -Tlp -man - | col -x | \ + (sed -e 's/XXX/$(MANFILE)/g' $(SRCROOT)/conf/pre.html; \ + man2html -cgiurl '../man$$section$$subsection/$$title.$$section$$subsection.html' -compress -nodepage; \ + cat $(SRCROOT)/conf/post.html) | \ + egrep -v 'HTML|BODY'> $(MANFILE).html + +$(MANFILE).dhtml: $(MANFILE) + soelim $(MANFILE) | tbl | nroff -u1 -Tlp -mdoc - | col -x | \ + (sed -e 's/XXX/$(MANFILE)/g' $(SRCROOT)/conf/pre.html; \ + man2html -cgiurl '../man$$section$$subsection/$$title.$$section$$subsection.html' -compress -nodepage; \ + cat $(SRCROOT)/conf/post.html) | \ + egrep -v 'HTML|BODY'> $(MANFILE).html + +htmlx: $(MANFILE) + soelim $(MANFILE) | tbl | nroff -u1 -Tlp -man - | col -x | \ + (sed -e 's/XXX/$(MANFILE)/g' $(SRCROOT)/conf/pre.html; \ + man2html -cgiurl '$$title.$$section.html' -compress -nodepage; \ + cat $(SRCROOT)/conf/post.html) | \ + egrep -v 'HTML|BODY'> $(MANFILE).html diff --git a/RULES/rules.inc b/RULES/rules.inc new file mode 100644 index 0000000..e0c3ea8 --- /dev/null +++ b/RULES/rules.inc @@ -0,0 +1,61 @@ +#ident @(#)rules.inc 1.10 11/07/16 +########################################################################### +# Written 1999 by J. Schilling +########################################################################### +# +# Rules for creating include files (usually found in .../incs/machdir) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +#_EXEEXT= $(EXEEXT) # Do not install as xxx.h.exe +_XEXEEXT= $(XEXEEXT) +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.obj +########################################################################### + +PTARGET= $(OINCSDIR)/$(TARGET) +PTARGETC= $(ARCHDIR)/$(TARGETC) +PTARGETCX= $(ARCHDIR)/$(TARGETC)$(_EXEEXT) + +_INSMODEI= $(_UNIQ)$(INSMODE) +__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEF)) +INSMODEI= $(__INSMODEI:$(_UNIQ)%=%) + +__LD_OUTPUT_OPTION= $(_UNIQ)$(LD_OUTPUT_OPTION) +___LD_OUTPUT_OPTION= $(__LD_OUTPUT_OPTION:$(_UNIQ)=-o $@) +_LD_OUTPUT_OPTION= $(___LD_OUTPUT_OPTION:$(_UNIQ)%=%) + +LIBS_PATH += $(LIBS_PATH_STATIC) + +all: $(PTARGETCX) $(PTARGET) + +$(PTARGETCX): $(OFILES) $(SRCLIBS) + $(LDCC) $(_LD_OUTPUT_OPTION) $(POFILES) $(LDFLAGS) $(LDLIBS) +# +# If calling "$(PTARGETC)$(_XEXEEXT)" fails, this may be a cross compilation, +# so retry to run the command under control of "$(CONFIG_RMTCALL)". +# +$(PTARGET): $(OINCSDIR) $(PTARGETCX) + @echo " ==> GENERATING include file \"$@\""; \ + $(PTARGETC)$(_XEXEEXT) > $@ || \ + $(CONFIG_RMTCALL) $(PTARGETC)$(_XEXEEXT) > $@ + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/sub.htm +include $(SRCROOT)/$(RULESDIR)/rules.clr +include $(SRCROOT)/$(RULESDIR)/rules.ins +include $(SRCROOT)/$(RULESDIR)/rules.tag +include $(SRCROOT)/$(RULESDIR)/rules.hlp +include $(SRCROOT)/$(RULESDIR)/rules.dep +########################################################################### diff --git a/RULES/rules.ins b/RULES/rules.ins new file mode 100644 index 0000000..5768278 --- /dev/null +++ b/RULES/rules.ins @@ -0,0 +1,111 @@ +#ident @(#)rules.ins 1.27 17/08/01 +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Rules for target installation +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +$(DEST_DIR)$(INSBASE)/$(INSDIR)$(SUBINSDIR)$(SUBINS): + $(INSMKDIR) -p $@ +$(SRCROOT)/bins/$(OARCH): + $(MKDIR) -p $@ + +$(DEST_DIR)$(INSBASE)/$(INSDIR)$(SUBINSDIR)$(SUBINS)/$(TARGET)$(_EXEEXT): $(PTARGET) \ + $(DEST_DIR)$(INSBASE)/$(INSDIR)$(SUBINSDIR)$(SUBINS) + $(INSTALL) $(INSFLAGS) $(INSOPTX) $(PTARGET) $@ + +$(SRCROOT)/bins/$(OARCH)/$(TARGET)$(_EXEEXT): $(PTARGET) + $(INSTALL) $(INSFLAGS) $(INSOPTX) $(PTARGET) $@ + +PHARDLINKS= $(HARDLINKS:%=$(DEST_DIR)$(INSBASE)/$(INSDIR)$(SUBINSDIR)$(SUBINS)/%$(_EXEEXT)) +hardlinks: finstall $(PHARDLINKS) + +PSYMLINKS= $(SYMLINKS:%=$(DEST_DIR)$(INSBASE)/$(INSDIR)$(SUBINSDIR)$(SUBINS)/%$(_EXEEXT)) +symlinks: finstall $(PSYMLINKS) + +_INSMODEINS= $(_UNIQ)$(INSMODEI) +__INSMODEINS= $(_INSMODEINS:$(_UNIQ)=$(INSMODEX)) +INSMODEINS= $(__INSMODEINS:$(_UNIQ)%=%) + +dummy $(PHARDLINKS): $(DEST_DIR)$(INSBASE)/$(INSDIR)$(SUBINSDIR)$(SUBINS)/$(TARGET)$(_EXEEXT) + @echo " ==> INSTALLING link \"$@\""; $(RM) $(RM_FORCE) $@; [ ! -d "$(@D)" ] && sh $(SRCROOT)/conf/mkdir-sh -p "$(@D)"; $(LN) $(DEST_DIR)$(INSBASE)/$(INSDIR)$(SUBINSDIR)$(SUBINS)/$(TARGET)$(_EXEEXT) $@ + +symdummy $(PSYMLINKS): $(DEST_DIR)$(INSBASE)/$(INSDIR)$(SUBINSDIR)$(SUBINS)/$(TARGET)$(_EXEEXT) + @echo " ==> INSTALLING symlink \"$@\""; $(RM) $(RM_FORCE) $@; [ ! -d "$(@D)" ] && sh $(SRCROOT)/conf/mkdir-sh -p "$(@D)"; $(SYMLINK) $(TARGET)$(_EXEEXT) $@ + +xinstall: finstall + @if [ ".$(XMK_FILE)" != . ] ; then \ + for XMK_F in $(XMK_FILE) XxZzY-- ; do \ + ( \ + if [ -r ./$$XMK_F ] ; then \ + echo " ==> MAKING \"install\" ON SUBCOMPONENT \"$(CURDIR)/$$XMK_F\""; \ + "$(MAKE)" -f $$XMK_F $(MAKEMACS) XARCH=$(XARCH) install; \ + else \ + if [ $$XMK_F != XxZzY-- ]; then \ + echo "NOTICE: Partial source ($(DIRNAME)/$$XMK_F) missing";\ + fi \ + fi \ + ); \ + done \ + fi + +xuninstall: + @if [ ".$(XMK_FILE)" != . ] ; then \ + for XMK_F in $(XMK_FILE) XxZzY-- ; do \ + ( \ + if [ -r ./$$XMK_F ] ; then \ + echo " ==> MAKING \"uninstall\" ON SUBCOMPONENT \"$(CURDIR)/$$XMK_F\""; \ + "$(MAKE)" -f $$XMK_F $(MAKEMACS) XARCH=$(XARCH) uninstall; \ + else \ + if [ $$XMK_F != XxZzY-- ]; then \ + echo "NOTICE: Partial source ($(DIRNAME)/$$XMK_F) missing";\ + fi \ + fi \ + ); \ + done \ + fi + +man installman: + @if [ ".$(XMK_FILE)" != . ] ; then \ + for XMK_F in $(XMK_FILE) XxZzY-- ; do \ + ( \ + if [ -r ./$$XMK_F ] ; then \ + echo " ==> MAKING \"$@\" ON SUBCOMPONENT \"$(CURDIR)/$$XMK_F\""; \ + "$(MAKE)" -f $$XMK_F $(MAKEMACS) XARCH=$(XARCH) $@; \ + else \ + if [ $$XMK_F != XxZzY-- ]; then \ + echo "NOTICE: Partial source ($(DIRNAME)/$$XMK_F) missing";\ + fi \ + fi \ + ); \ + done \ + fi + +finstall: $(DEST_DIR)$(INSBASE)/$(INSDIR)$(SUBINSDIR)$(SUBINS) \ + $(DEST_DIR)$(INSBASE)/$(INSDIR)$(SUBINSDIR)$(SUBINS)/$(TARGET)$(_EXEEXT) + +install: all finstall \ + hardlinks symlinks \ + xinstall + +uninstall: xuninstall + $(RM) $(RM_FORCE) $(PSYMLINKS) $(PHARDLINKS) \ + $(DEST_DIR)$(INSBASE)/$(INSDIR)$(SUBINSDIR)$(SUBINS)/$(TARGET)$(_EXEEXT) + +ibins: all $(SRCROOT)/bins/$(OARCH) \ + $(SRCROOT)/bins/$(OARCH)/$(TARGET)$(_EXEEXT) diff --git a/RULES/rules.lib b/RULES/rules.lib new file mode 100644 index 0000000..4d90e5a --- /dev/null +++ b/RULES/rules.lib @@ -0,0 +1,55 @@ +#ident "@(#)rules.lib 1.11 16/08/10 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Rules for traditional libraries (libxxx.a) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.obj +########################################################################### +TARGET= $(LIB_PREFIX)$(TARGETLIB)$(LIB_SUFFIX) +TARGET_PATH= $(OLIBSDIR) +PTARGET= $(OLIBSDIR)/$(TARGET) + +_INSMODEI= $(_UNIQ)$(INSMODE) +__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEF)) +INSMODEI= $(__INSMODEI:$(_UNIQ)%=%) + +__AR.o= $(_UNIQ)$(AR.o) +___AR.o= $(__AR.o:$(_UNIQ)=$(AR) $(ARFLAGS) $@) +_AR.o= $(___AR.o:$(_UNIQ)%=%) + +all: $(TARGET_PATH) $(PTARGET) + +$(TARGET_PATH): + $(MKDIR) -p $@ + +$(PTARGET): $(OFILES) + $(_AR.o) `$(LORDER) $(POFILES) | $(TSORT)` + $(RANLIB) $@ + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/sub.htm +include $(SRCROOT)/$(RULESDIR)/rules.lnt +include $(SRCROOT)/$(RULESDIR)/rules.clr +include $(SRCROOT)/$(RULESDIR)/rules.ins +include $(SRCROOT)/$(RULESDIR)/rules.tag +include $(SRCROOT)/$(RULESDIR)/rules.hlp +include $(SRCROOT)/$(RULESDIR)/rules.dep +include $(SRCROOT)/$(RULESDIR)/rules.cst +########################################################################### diff --git a/RULES/rules.lnt b/RULES/rules.lnt new file mode 100644 index 0000000..b90c18e --- /dev/null +++ b/RULES/rules.lnt @@ -0,0 +1,25 @@ +#ident @(#)rules.lnt 1.3 06/05/14 +########################################################################### +# Written 2001 by J. Schilling +########################################################################### +# +# Rules for lint +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +lint: $(CFILES) + lint $(LINTFLAGS) $(CPPFLAGS) $^ + +########################################################################### diff --git a/RULES/rules.loc b/RULES/rules.loc new file mode 100644 index 0000000..d0e53c1 --- /dev/null +++ b/RULES/rules.loc @@ -0,0 +1,51 @@ +#ident "@(#)rules.loc 1.10 17/06/18 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Rules to localize files +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +PTARGET= $(ARCHDIR)/$(TARGET) +########################################################################### +# +# We are doing a copy to $(ARCHDIR) to be able to have platform dependent +# shell files in future. +# +########################################################################### +_INSMODEI= $(_UNIQ)$(INSMODE) +__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEF)) +INSMODEI= $(__INSMODEI:$(_UNIQ)%=%) + +all: $(PTARGET) + +install: $(ARCHDIR) + +$(PTARGET): $(ARCHDIR) $(SRCFILE) + $(LOCALIZE) $(SRCFILE) $@ + +$(ARCHDIR): + $(MKDIR) -p $@ + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/sub.htm +include $(SRCROOT)/$(RULESDIR)/rules.clr +include $(SRCROOT)/$(RULESDIR)/rules.ins +include $(SRCROOT)/$(RULESDIR)/rules.tag +include $(SRCROOT)/$(RULESDIR)/rules.hlp +include $(SRCROOT)/$(RULESDIR)/dummy.dep +########################################################################### diff --git a/RULES/rules.man b/RULES/rules.man new file mode 100644 index 0000000..e8bba45 --- /dev/null +++ b/RULES/rules.man @@ -0,0 +1,67 @@ +#ident "@(#)rules.man 1.9 17/06/18 " +########################################################################### +# Written 1997-2015 by J. Schilling +########################################################################### +# +# Manual page building rules +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/man-$(MANSTYLE).def +########################################################################### + +INSDIR= $(MANBASE:%=%/)$(MANDIR)/$(MANSECT) +SUBARCHDIR= /$(MANDIR) +TARGET= $(TARGETMAN).$(MANSUFFIX) +SRCFILE= $(MANFILE) + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.htm + + +########################################################################### +# The rest is copied from rules.loc +########################################################################### +PTARGET= $(ARCHDIR)/$(TARGET) +########################################################################### +# +# We are doing a copy to $(ARCHDIR) to be able to have platform dependent +# shell files in future. +# +########################################################################### +_INSMODEI= $(_UNIQ)$(INSMODE) +__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEF)) +INSMODEI= $(__INSMODEI:$(_UNIQ)%=%) + +all man: $(PTARGET) + +install installman: $(ARCHDIR) + +installman: man install + +$(PTARGET): $(ARCHDIR) $(SRCFILE) + $(LOCALIZE) $(SRCFILE) $@ + +$(ARCHDIR): + $(MKDIR) -p $@ + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.clr +include $(SRCROOT)/$(RULESDIR)/rules.ins +include $(SRCROOT)/$(RULESDIR)/rules.tag +include $(SRCROOT)/$(RULESDIR)/rules.hlp +include $(SRCROOT)/$(RULESDIR)/dummy.dep +########################################################################### diff --git a/RULES/rules.mkd b/RULES/rules.mkd new file mode 100644 index 0000000..90b9e5c --- /dev/null +++ b/RULES/rules.mkd @@ -0,0 +1,23 @@ +#ident "%W% %E% %Q%" +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# make complete path to the architecture subdirectory. +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +$(ARCHDIR): + $(MKDIR) -p $@ + diff --git a/RULES/rules.mks b/RULES/rules.mks new file mode 100644 index 0000000..40ca2fa --- /dev/null +++ b/RULES/rules.mks @@ -0,0 +1,37 @@ +#ident "@(#)rules.mks 1.13 08/04/19 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Rules for multiple Makefiles (*.mk) in one subdirectory +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +$(ALLTARGETS): + @ for MK in $(MK_FILES) ; \ + do \ + ( \ + if [ -r ./$$MK ] ; then \ + echo " ==> MAKING \"$@\" ON SUBCOMPONENT \"$(CURDIR)/$$MK\""; "$(MAKE)" -f $$MK $(MAKEMACS) XARCH=$(XARCH) $@;\ + else \ + echo "NOTICE: Partial source ($(CURDIR)/$$MK) missing";\ + fi \ + ); \ + done + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.dyn +include $(SRCROOT)/$(RULESDIR)/rules.hlp +########################################################################### diff --git a/RULES/rules.mod b/RULES/rules.mod new file mode 100644 index 0000000..0e8701d --- /dev/null +++ b/RULES/rules.mod @@ -0,0 +1,40 @@ +#ident @(#)rules.mod 1.7 07/05/06 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Rules for loadable streams modules +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.obj +########################################################################### + +_INSMODEI= $(_UNIQ)$(INSMODE) +__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEX)) +INSMODEI= $(__INSMODEI:$(_UNIQ)%=%) + +all: $(PTARGET) + +$(PTARGET): $(OFILES) $(SRCLIBS) + $(LD) -r -o $@ $(OFILES) $(SRCLIBS) $(LIBS) + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/sub.htm +include $(SRCROOT)/$(RULESDIR)/rules.clr +include $(SRCROOT)/$(RULESDIR)/rules.ins +include $(SRCROOT)/$(RULESDIR)/rules.tag +include $(SRCROOT)/$(RULESDIR)/rules.hlp +include $(SRCROOT)/$(RULESDIR)/rules.dep +########################################################################### diff --git a/RULES/rules.nul b/RULES/rules.nul new file mode 100644 index 0000000..dc6ca31 --- /dev/null +++ b/RULES/rules.nul @@ -0,0 +1,20 @@ +#ident "@(#)rules.nul 1.1 09/08/12 " +########################################################################### +# Written 2009 by J. Schilling +########################################################################### +# +# NUL dummy rule +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### diff --git a/RULES/rules.obj b/RULES/rules.obj new file mode 100644 index 0000000..faf20d6 --- /dev/null +++ b/RULES/rules.obj @@ -0,0 +1,23 @@ +#ident @(#)rules.obj 1.4 06/05/14 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Object building rules ... use MAKEPROG specific version +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +PTARGET= $(ARCHDIR)/$(TARGET)$(_EXEEXT) +########################################################################### +include $(SRCROOT)/$(RULESDIR)/r-$(MAKEPROG).obj diff --git a/RULES/rules.pkg b/RULES/rules.pkg new file mode 100644 index 0000000..ce33264 --- /dev/null +++ b/RULES/rules.pkg @@ -0,0 +1,95 @@ +#ident "@(#)rules.pkg 1.6 17/08/04 " +########################################################################### +# Written 2005 by J. Schilling +########################################################################### +# +# Rules for creating binary tar packages +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +########################################################################### +# If we are included before rules.dir, this will stop to propagate +# the targets "pkg1" & "pkg" to sub makes but handle packaging at this +# directory bundling level. +########################################################################### +PKGTARGETS= + +PROTODIR= proto/$(OARCH) +$(PROTODIR): + $(MKDIR) -p $@ + +_TARGETAR= $(TARGET_AR:%=$(OTARSDIR)/%) +__TARGETAR= $(_UNIQ)$(_TARGETAR) +___TARGETAR= $(__TARGETAR:$(_UNIQ)=$(PROTODIR)) +TARGETAR= $(___TARGETAR:$(_UNIQ)%=%) + +_MCS_PROJECT= $(_UNIQ)$(PROJECTNAME) +__MCS_PROJECT= $(_MCS_PROJECT:$(_UNIQ)=SPS-Generic) +MCS_PROJECTNAME= $(__MCS_PROJECT:$(_UNIQ)%=%) + +ta: + echo "'$(TARGETAR)'" + echo "'$(TARGETAR).tar'" + +pkg: $(PROTODIR) pkg1 package + +pkg1: + rm -rf $(PROTODIR) + mkdir -p $(PROTODIR) $(PROTODIR)/$(INSBASE)/bin $(PROTODIR)/$(INSBASE)/sbin $(PROTODIR)/$(INSBASE)/etc \ + $(PROTODIR)/$(INSBASE)/lib $(PROTODIR)/$(INSBASE)/share/man + ln -s share/man $(PROTODIR)/$(INSBASE)/man + if [ ."$(PRE_INST_CMDS)" != . ]; then cd $(PROTODIR) && eval "$(PRE_INST_CMDS)" ; fi + "$(MAKE)" $(MAKE_FILE) DESTDIR=`pwd`/$(PROTODIR) install + if [ ."$(POST_INST_CMDS)" != . ]; then cd $(PROTODIR) && eval "$(POST_INST_CMDS)" ; fi + -if [ ."$(STRIPLIST)" != . ]; then chmod u+w $(STRIPLIST:%=$(PROTODIR)/%); strip $(STRIPLIST:%=$(PROTODIR)/%); fi + -if [ ."$(STRIPXLIST)" != . ]; then chmod u+w $(STRIPXLIST:%=$(PROTODIR)/%); strip -x $(STRIPXLIST:%=$(PROTODIR)/%); fi + -if [ ."$(MCSLIST)" != . ]; then chmod u+w $(MCSLIST:%=$(PROTODIR)/%); mcs -d -a "$(MCS_PROJECTNAME)" $(MCSLIST:%=$(PROTODIR)/%); fi + if [ ."$(POST_STRIP_CMDS)" != . ]; then cd $(PROTODIR) && eval "$(POST_STRIP_CMDS)" ; fi + ##find $(PROTODIR) -print | sort > /tmp/so.$$; diff filelist /tmp/so.$$; rm -f /tmp/so.$$ + #echo 'i pkginfo' > SV-pkglist + #echo 'i depend' >> SV-pkglist + #echo 'i copyright' >> SV-pkglist + + #cd $(PROTODIR); find . -print | sort | pkgproto | sed 's/joerg bs/root bin/' >> ../../SV-pkglist + +_PKGDEF_DIR= $(_UNIQ)$(PKGTYPE) +__PKGDEF_DIR= $(_PKGDEF_DIR:$(_UNIQ)=default) +PKGDEF_DIR= $(__PKGDEF_DIR:$(_UNIQ)%=%) + +package: + echo PKGDEF_DIR $(PKGDEF_DIR) + echo DIRNAME: $(DIRNAME) CURDIR: $(CURDIR) + #pkgmk -o -b `pwd`/$(PROTODIR)/ -d `pwd`/PKGS -f SV-pkglist + #star -C $(PROTODIR)/ pkglist=pkglist -cP > $(TARGETAR).tar + #bzip2 -9f $(TARGETAR).tar + #rm -rf $(PROTODIR) + + @list=""; \ + if [ -d $(SRCROOT)/pkgdefs/$(PKGDEF_DIR) ]; then \ + list=`echo $(SRCROOT)/pkgdefs/$(PKGDEF_DIR)/*` ; \ + fi; \ + for DIR in $${list} ; \ + do \ + ( \ + echo " ==> MAKING \"$@\" ON SUBDIRECTORY \"$(CURDIR)/$$DIR\"";\ + if [ -d ./$$DIR -a -r ./$$DIR/Makefile ] ; then \ + cd ./$$DIR && "$(MAKE)" $(MAKEMACS) XARCH=$(XARCH) DIRNAME=$(CURDIR)/$$DIR all; \ + else \ + echo "NOTICE: Partial source ($(CURDIR)/$$DIR) missing";\ + fi \ + ); \ + done diff --git a/RULES/rules.prg b/RULES/rules.prg new file mode 100644 index 0000000..7700410 --- /dev/null +++ b/RULES/rules.prg @@ -0,0 +1,119 @@ +#ident "@(#)rules.prg 1.23 17/04/16 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Generic rules for program names +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# +# This file holds definitions that are common to all architectures. +# It should be included first and then partially overwritten, +# if the current architecture requires some changes. +# +########################################################################### +# +# Use the object file extension from the autoconf run for '$o' (.o). +# It may be overwritten my the compiler configuration rules cc-*.rul +# +########################################################################### +o= $(OBJEXT) + +CLEAN_FILES= core err + +# +# Setting $(SHELL) inside a makefile is a really bad idea. +# Since we allow "smake" to default SHELL to /bin/bosh in +# case that /bin/sh is broken but /bin/bosh exists, this +# must not be defined anymore. +# +#SHELL= /bin/sh + +LN= /bin/ln +SYMLINK= /bin/ln -s +RM= /bin/rm +MV= /bin/mv +LORDER= $(LORDER_PROG) +TSORT= $(TSORT_PROG) +CTAGS= vctags +ETAGS= etags +UMASK= umask $(UMASK_VAL) +UMASK_DEF= 002 +INSUMASK= umask $(INSUMASK_VAL) +INSUMASK_DEF= 022 + +RM_FORCE= -f +RM_RECURS= -r +RM_RF= $(RM_RECURS) $(RM_FORCE) + +RM_F= $(RM) $(RM_FORCE) + +INSMODEF_DEF= 444 +INSMODED_DEF= 755 +INSMODEX_DEF= 755 +INSUSR_DEF= root +INSGRP_DEF= bin + +_DEFINSUMASK= $(_UNIQ)$(DEFINSUMASK) +__DEFINSUMASK= $(_DEFINSUMASK:$(_UNIQ)=$(INSUMASK_DEF)) +INSUMASK_VAL= $(__DEFINSUMASK:$(_UNIQ)%=%) + +_DEFUMASK= $(_UNIQ)$(DEFUMASK) +__DEFUMASK= $(_DEFUMASK:$(_UNIQ)=$(UMASK_DEF)) +UMASK_VAL= $(__DEFUMASK:$(_UNIQ)%=%) + +_DEFINSMODEF= $(_UNIQ)$(DEFINSMODEF) +__DEFINSMODEF= $(_DEFINSMODEF:$(_UNIQ)=$(INSMODEF_DEF)) +INSMODEF= $(__DEFINSMODEF:$(_UNIQ)%=%) + +_DEFINSMODED= $(_UNIQ)$(DEFINSMODED) +__DEFINSMODED= $(_DEFINSMODED:$(_UNIQ)=$(INSMODED_DEF)) +INSMODED= $(__DEFINSMODED:$(_UNIQ)%=%) + +_DEFINSMODEX= $(_UNIQ)$(DEFINSMODEX) +__DEFINSMODEX= $(_DEFINSMODEX:$(_UNIQ)=$(INSMODEX_DEF)) +INSMODEX= $(__DEFINSMODEX:$(_UNIQ)%=%) + +_DEFINSUSR= $(_UNIQ)$(DEFINSUSR) +__DEFINSUSR= $(_DEFINSUSR:$(_UNIQ)=$(INSUSR_DEF)) +INSUSR= $(__DEFINSUSR:$(_UNIQ)%=%) + +_DEFINSGRP= $(_UNIQ)$(DEFINSGRP) +__DEFINSGRP= $(_DEFINSGRP:$(_UNIQ)=$(INSGRP_DEF)) +INSGRP= $(__DEFINSGRP:$(_UNIQ)%=%) + + +LD= @echo " ==> LINKING \"$@\""; ld +LOCALIZE= @echo " ==> LOCALIZING \"$@\""; $(RM_F) $@; cp +INSTALL= @echo " ==> INSTALLING \"$@\""; sh $(SRCROOT)/conf/install-sh -c -m $(INSMODEINS) -o $(INSUSR) -g $(INSGRP) +CHMOD= @echo " ==> SETTING PERMISSIONS ON \"$@\""; chmod +CHOWN= @echo " ==> SETTING OWNER ON \"$@\""; chown +CHGRP= @echo " ==> SETTING GROUP ON \"$@\""; chgrp +AR= @echo " ==> ARCHIVING \"$@\""; ar +ARFLAGS= cr +#YACC= @echo " ==> YACCING \"$@\""; yacc +#LEX= @echo " ==> LEXING \"$@\""; lex +#AWK= @echo " ==> AWKING \"$@\""; awk +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; makedepend +MKDEP_OUT= -f - +_MKDIR= $(UMASK); mkdir +MKDIR= @echo " ==> MAKING DIRECTORY \"$@\""; $(UMASK); mkdir +_MKDIR_SH= $(UMASK); sh $(SRCROOT)/conf/mkdir-sh +MKDIR_SH= @echo " ==> MAKING DIRECTORY \"$@\""; $(UMASK); sh $(SRCROOT)/conf/mkdir-sh +INSMKDIR= @echo " ==> MAKING DIRECTORY \"$@\""; $(INSUMASK); mkdir +INSMKDIR_SH= @echo " ==> MAKING DIRECTORY \"$@\""; $(INSUMASK); sh $(SRCROOT)/conf/mkdir-sh diff --git a/RULES/rules.rdi b/RULES/rules.rdi new file mode 100644 index 0000000..eec99e2 --- /dev/null +++ b/RULES/rules.rdi @@ -0,0 +1,44 @@ +#ident @(#)rules.rdi 1.10 11/04/14 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# DIRS contains the names of all directories where sub make should take place +# This is a modified version for the project's root directory +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +include $(SRCROOT)/$(RULESDIR)/rules1.dir + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.hlp +########################################################################### + +# The need for this special variant of rules has been removed by introducing +# the SRCROOTSL macro in RULES/rules1.top +########################################################################### +# Due to a serious bug in SunPRO make we cannot include the configuration +# rules. SunPRO make inconsistsently shortens rules that start with "./" +# and thus wil not find existing rules for a file to be included. +# Due to a bug in GNU make dynamic configuration must have been run before +# C-compiler generated dependency rules are loaded. This is done by running +# make in the 'conf' directory before any other target is made. +# +# include $(SRCROOT)/$(RULESDIR)/rules.cnf +########################################################################### +#config: conf_warn + +#conf_warn: +# @echo "$@: cannot make due to a SunPRO make bug" diff --git a/RULES/rules.rel b/RULES/rules.rel new file mode 100644 index 0000000..4a5a628 --- /dev/null +++ b/RULES/rules.rel @@ -0,0 +1,83 @@ +#ident @(#)rules.rel 1.10 15/08/22 +########################################################################### +# Written 2001 by J. Schilling +########################################################################### +# +# Release building rules +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +MAKE_LICENSE=MKGNU2 +REL_SRC_MATCH=cat +REL_MAKEFILE_MATCH=cat + +DRELFILES= $(CFILES:%=release/%) $(HFILES:%=release/%) $(XRELFILES:%=release/%) + +_RELFILES= $(_UNIQ)$(RELFILES) +__RELFILES= $(_RELFILES:$(_UNIQ)=$(DRELFILES)) +RELFILES_= $(__RELFILES:$(_UNIQ)%=%) + +rel: release/ $(RELDIRS) $(RELFILES_) + +release/: + $(MKDIR) -p $@ + +release/%.c: %.c + rm -f $@ + -unifdef $(IFDEF) $< | $(REL_SRC_MATCH) >$@ + -chmod 444 $@ + -cpmodes $< $@ + cptime $< $@ + $(MAKE_LICENSE) $@ + rm -f $@.bak + +release/%.h: %.h + rm -f $@ + -unifdef $(IFDEF) $< | $(REL_SRC_MATCH) >$@ + -chmod 444 $@ + -cpmodes $< $@ + cptime $< $@ + $(MAKE_LICENSE) $@ + rm -f $@.bak + +release/Makefile%: Makefile% + rm -f $@ + -sed -e '/IFDEF=/,$$d' $< | $(REL_MAKEFILE_MATCH) >$@ + -chmod 444 $@ + -cpmodes $< $@ + cptime $< $@ + $(MAKE_LICENSE) $@ + rm -f $@.bak + +release/%.mk: %.mk + rm -f $@ + -sed -e '/IFDEF=/,$$d' $< >$@ + -chmod 444 $@ + -cpmodes $< $@ + cptime $< $@ + $(MAKE_LICENSE) $@ + rm -f $@.bak + +release/%: % + rm -f $@ +# -unifdef $(IFDEF) $< >$@ + -cat $< >$@ + -chmod 444 $@ + -cpmodes $< $@ + cptime $< $@ + $(MAKE_LICENSE) $@ + rm -f $@.bak diff --git a/RULES/rules.scr b/RULES/rules.scr new file mode 100644 index 0000000..8ac2be4 --- /dev/null +++ b/RULES/rules.scr @@ -0,0 +1,24 @@ +#ident "@(#)rules.scr 1.2 06/05/14 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Shell script building rules +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only. +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +SRCFILE= $(SCRFILE) +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.loc +########################################################################### diff --git a/RULES/rules.shl b/RULES/rules.shl new file mode 100644 index 0000000..e8847ca --- /dev/null +++ b/RULES/rules.shl @@ -0,0 +1,81 @@ +#ident "@(#)rules.shl 1.15 10/10/03 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Rules for shared (dynamic) libraries +# +# SUBARCHDIR must be before any other definitions +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +SUBARCHDIR= /pic +COPTS += $(COPTDYN) +C++OPTS += $(C++OPTDYN) +LDOPTS += $(LDOPTDYN) +LDLIBS += $(LDLIBDYN) + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.obj +########################################################################### +TARGET= $(LIB_PREFIX)$(TARGETLIB)$(SHL_SUFFIX) +TARGET_BASE= $(LIB_PREFIX)$(TARGETLIB) +TARGET_PATH= $(OLIBSDIR) +PTARGET= $(OLIBSDIR)/$(TARGET) +PTARGET_BASE= $(OLIBSDIR)/$(TARGET_BASE) + +_MAPVERS= lib$(TARGETLIB)-mapvers +#MAPVERS= $(_MAPVERS) # Use this in *-os-*cc*.rul to enable mapfiles +PMAPVERS= $(MAPVERS:%=$(ARCHDIR)/$(MAPVERS)) + +$(PTARGET): $(PMAPVERS) + +# +# $(PMAPVERS) may be empty and POSIX does not permit empty target lists. +# We add an impossible target to make sure there is no empty target. +# +$(PMAPVERS) No/TaR/GeT: $(MAPVERS) + @echo " ==> LOCALIZING mapfile \"$@\""; \ + $(CPPX) $(CPPFLAGS) $^ > $@ || $(RM) $(RM_FORCE) $@ + +_INSMODEI= $(_UNIQ)$(INSMODE) +__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEF)) +INSMODEI= $(__INSMODEI:$(_UNIQ)%=%) + +__DYNLD.o= $(_UNIQ)$(DYNLD.o) +___DYNLD.o= $(__DYNLD.o:$(_UNIQ)=$(DYNLD) -o $@ $(LDFLAGS) `$(LORDER) $(POFILES) | $(TSORT)` $(LDLIBS)) +_DYNLD.o= $(___DYNLD.o:$(_UNIQ)%=%) + +all: $(TARGET_PATH) $(PTARGET) + +$(TARGET_PATH): + $(MKDIR) -p $@ + +$(PTARGET): $(OFILES) + $(_DYNLD.o) + -$(LNDYNLIB) + +SYMLINKS += $(TARGET_BASE).so + +# @$(RM) $(RM_FORCE) $(PTARGET_BASE).so; $(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/sub.htm +include $(SRCROOT)/$(RULESDIR)/rules.clr +include $(SRCROOT)/$(RULESDIR)/rules.ins +include $(SRCROOT)/$(RULESDIR)/rules.tag +include $(SRCROOT)/$(RULESDIR)/rules.hlp +include $(SRCROOT)/$(RULESDIR)/rules.dep +########################################################################### diff --git a/RULES/rules.sps b/RULES/rules.sps new file mode 100644 index 0000000..de68531 --- /dev/null +++ b/RULES/rules.sps @@ -0,0 +1,85 @@ +#ident "@(#)rules.sps 1.15 17/08/04 " +########################################################################### +# Written 2005-2013 by J. Schilling +########################################################################### +# +# Rules for wrapping around other make systems +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +PTARGET= $(TARGET) +SRCFILE= $(TARGET) +########################################################################### + +_INSMODEI= $(_UNIQ)$(INSMODE) +__INSMODEI= $(_INSMODEI:$(_UNIQ)=$(INSMODEF)) +INSMODEI= $(__INSMODEI:$(_UNIQ)%=%) + +#all: $(SRCFILE) + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/sub.htm +include $(SRCROOT)/$(RULESDIR)/rules.clr +#include $(SRCROOT)/$(RULESDIR)/rules.ins +include $(SRCROOT)/$(RULESDIR)/rules.tag +include $(SRCROOT)/$(RULESDIR)/rules.hlp +include $(SRCROOT)/$(RULESDIR)/dummy.dep +include $(SRCROOT)/$(RULESDIR)/rules.tpk +########################################################################### + +all: $(ARCHDIR)/config.status $(POSTCONFIG) + cd $(ARCHDIR)/; "$(MAKE)" $(MAKEMACS) $(MAKEOPTS) $@ + +install: all + cd $(ARCHDIR)/; DESTDIR=$(DEST_DIR) "$(MAKE)" $(MAKEMACS) $(MAKEOPTS) DESTDIR=$(DEST_DIR) $@ + +# +# Hack until the --*cc.rul files are updated +# +_HCC_COM= $(OARCH:%-gcc=gcc) +HCC_COM= $(_HCC_COM:%-cc=cc) + +_XCC_COM= $(_UNIQ)$(CC_COM) +__XCC_COM= $(_XCC_COM:$(_UNIQ)=$(HCC_COM)) +XCC_COM= $(__XCC_COM:$(_UNIQ)%=%) + +_CONF_SCRIPT= $(_UNIQ)$(CONF_SCRIPT) +__CONF_SCRIPT= $(_CONF_SCRIPT:$(_UNIQ)=configure) +CONFSCRIPT= $(__CONF_SCRIPT:$(_UNIQ)%=%) + +# +# Note: $(___CONF_SCR:$(_UNIQ)=:) is not accepted by Sun make +# because of a parser bug. We thus use "true". +# +COLON=: +_CONF_SCR= $(CONFSCRIPT:none=) +__CONF_SCR= $(_CONF_SCR:%=../../$(SRC_DIR)/%) +___CONF_SCR= $(_UNIQ)$(__CONF_SCR) +____CONF_SCR= $(___CONF_SCR:$(_UNIQ)=true) +PCONFSCRIPT= $(____CONF_SCR:$(_UNIQ)%=%) + +_LNDIR_PRG= $(_UNIQ)$(LNDIR_PRG) +__LNDIR_PRG= $(_LNDIR_PRG:$(_UNIQ)=:) +LNDIRPRG= $(__LNDIR_PRG:$(_UNIQ)%=%) + +#$(ARCHDIR)/config.status: $(SRC_DIR)/$(CONFSCRIPT) + + # Expands to: $(SRC_DIR)/$(CONFSCRIPT) is non-empty +$(ARCHDIR)/config.status: $(_CONF_SCR:%=$(SRC_DIR)/%) + mkdir -p $(ARCHDIR)/; cd $(ARCHDIR)/; \ + $(LNDIRPRG) ../../$(SRC_DIR)/; \ + CC="$(XCC_COM)" CFLAGS="$(CFLAGS)" MAKE="$(MAKE)" $(MAKEMACS) $(PCONFSCRIPT) $(CONF_OPTS) && \ + ( [ ! -f config.status ] && touch config.status || : ) diff --git a/RULES/rules.tag b/RULES/rules.tag new file mode 100644 index 0000000..a6a6742 --- /dev/null +++ b/RULES/rules.tag @@ -0,0 +1,21 @@ +#ident "@(#)rules.tag 1.2 06/05/14 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Tag building rules ... use MAKEPROG specific version +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/r-$(MAKEPROG).tag diff --git a/RULES/rules.top b/RULES/rules.top new file mode 100644 index 0000000..78ca194 --- /dev/null +++ b/RULES/rules.top @@ -0,0 +1,99 @@ +#ident "@(#)rules.top 1.23 17/05/09 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Rules that should be included at top of every Makefile +# This is the general purpose C-language version +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# +# Make sure this becomes the default target +# +########################################################################### +all: + +########################################################################### +# +# First make sure that all symlinks in $(SRCROOT)/$(RULESDIR)/ are present +# +# $(DUMMY_LNK) is needed to work around a Sun make bug that has been +# fixed with Solaris 11 but that is present for all old Solaris versions. +# +########################################################################### +_DUMMY_LNK= $(SRCROOT)/$(RULESDIR)/ldummy.lnk +DUMMY_LNK= $(_DUMMY_LNK:./%=%) + +$(DUMMY_LNK): + @echo " ==> MAKING SYMLINKS in $(SRCROOT)/$(RULESDIR)/" && \ + cd $(SRCROOT)/$(RULESDIR) && sh ./MKLINKS + @echo " ==> MAKING SYMLINKS in $(SRCROOT)/TEMPLATES/" && \ + cd $(SRCROOT)/TEMPLATES && sh ./MKLINKS + +include $(DUMMY_LNK) + +########################################################################### +# +# SunPro make and gmake both include a COMPILE.c in the built in rules. +# Clear this here, to avoid trouble. We are still able to use COMPILE.c= +# command line macros to overwrite this. +# +########################################################################### +COMPILE.c= + +########################################################################### +# +# SunPro make and gmake both include a COMPILE.cc in the built in rules. +# Clear this here, to avoid trouble. We are still able to use COMPILE.cc= +# command line macros to overwrite this. +# +########################################################################### +COMPILE.cc= + +########################################################################### +# +# Include global language independent macros +# +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules1.top + +########################################################################### +# +# Workaround for GNU make design bug (include does not trigger rule evaluation) +# A correctly working "make" did create the symlinks already while +# including "ldummy.lnk" above. +# +########################################################################### +$(SRCROOT)/$(RULESDIR)/$(XARCH).rul: $(SRCROOT)/$(RULESDIR)/ldummy.lnk + +########################################################################### +# +# Include platform dependent macros for C-language here. +# +# If a project needs other languages too, additional rules may be defined. +# These additional rules should be placed in a file that uses a hierarchy +# similar to rules.top and mey be called e.g. yacc.top. +# +########################################################################### +include $(SRCROOT)/$(RULESDIR)/$(XARCH).rul + +########################################################################### +# +# Include global autofonfiguration rules +# +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.cnf diff --git a/RULES/rules.tpk b/RULES/rules.tpk new file mode 100644 index 0000000..06ab78b --- /dev/null +++ b/RULES/rules.tpk @@ -0,0 +1,70 @@ +#ident "@(#)rules.tpk 1.8 17/08/04 " +########################################################################### +# Written 2005 by J. Schilling +########################################################################### +# +# Rules for creating binary tar packages +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +########################################################################### +# If we are included before rules.dir, this will stop to propagate +# the targets tarpkg1 & tarpkg to sub makes but handle packaging at this +# directory bundling level. +########################################################################### +PKGTARGETS= + +OTARSDIR= $(SRCROOTSL)tars/$(OARCH) +$(OTARSDIR): + $(MKDIR) -p $@ + + +_TARGETAR= $(TARGET_AR:%=$(OTARSDIR)/%) +__TARGETAR= $(_UNIQ)$(_TARGETAR) +___TARGETAR= $(__TARGETAR:$(_UNIQ)=tarpkg) +TARGETAR= $(___TARGETAR:$(_UNIQ)%=%) + +_MCS_PROJECT= $(_UNIQ)$(PROJECTNAME) +__MCS_PROJECT= $(_MCS_PROJECT:$(_UNIQ)=SPS-Generic) +MCS_PROJECTNAME= $(__MCS_PROJECT:$(_UNIQ)%=%) + +ta: + echo "'$(TARGETAR)'" + echo "'$(TARGETAR).tar'" + +tarpkg: $(OTARSDIR) tarpkg0 tarpkg1 tarpkg2 + +tarpkg0: + rm -rf tarpkg + +tarpkg1: + mkdir -p tarpkg tarpkg/$(INSBASE)/bin tarpkg/$(INSBASE)/sbin tarpkg/$(INSBASE)/etc \ + tarpkg/$(INSBASE)/lib tarpkg/$(INSBASE)/share/man + ln -s share/man tarpkg/$(INSBASE)/man + if [ ."$(PRE_INST_CMDS)" != . ]; then cd tarpkg && eval "$(PRE_INST_CMDS)" ; fi + "$(MAKE)" $(MAKE_FILE) $(MAKEMACS) DESTDIR=`pwd`/tarpkg install + if [ ."$(POST_INST_CMDS)" != . ]; then cd tarpkg && eval "$(POST_INST_CMDS)" ; fi + -if [ ."$(STRIPLIST)" != . ]; then chmod u+w $(STRIPLIST:%=tarpkg/%); strip $(STRIPLIST:%=tarpkg/%); fi + -if [ ."$(STRIPXLIST)" != . ]; then chmod u+w $(STRIPXLIST:%=tarpkg/%); strip -x $(STRIPXLIST:%=tarpkg/%); fi + -if [ ."$(MCSLIST)" != . ]; then chmod u+w $(MCSLIST:%=tarpkg/%); mcs -d -a "$(MCS_PROJECTNAME)" $(MCSLIST:%=tarpkg/%); fi + if [ ."$(POST_STRIP_CMDS)" != . ]; then cd tarpkg && eval "$(POST_STRIP_CMDS)" ; fi + find tarpkg -print | sort > /tmp/so.$$$$; diff filelist /tmp/so.$$$$; rm -f /tmp/so.$$$$ + +tarpkg2: + star -C tarpkg/ pkglist=pkglist -cP > $(TARGETAR).tar + bzip2 -9f $(TARGETAR).tar + rm -rf tarpkg diff --git a/RULES/rules.tst b/RULES/rules.tst new file mode 100644 index 0000000..1112e0f --- /dev/null +++ b/RULES/rules.tst @@ -0,0 +1,30 @@ +#ident "@(#)rules.tst 1.1 16/06/16 " +########################################################################### +# Written 2016 by J. Schilling +########################################################################### +# +# Test rules +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +tests: + @DIR=tests; \ + if [ -d ./$$DIR -a -r ./$$DIR/Makefile ] ; then \ + cd ./$$DIR && "$(MAKE)" $(MAKEMACS) XARCH=$(XARCH) DIRNAME=$(CURDIR)/$$DIR $@; \ + else \ + echo "NOTICE: Partial source ($(CURDIR)/$$DIR) missing";\ + fi \ diff --git a/RULES/rules1.dir b/RULES/rules1.dir new file mode 100644 index 0000000..21124fd --- /dev/null +++ b/RULES/rules1.dir @@ -0,0 +1,52 @@ +#ident @(#)rules1.dir 1.16 11/04/14 +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# DIRS contains the names of all directories where sub make should take place +# +# The code that is shared between rules.dir and rules.rdi +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +$(ALLTARGETS): + @list="$(DIRS)"; \ + if [ -d TARGETS -a -f TARGETS/__slot ]; then \ + list=`echo TARGETS/[0123456789][0123456789]* | \ + sed -e 's;TARGETS/[0123456789][0123456789];;g' | sed -e 's;!@!;/;g'`;\ + fi; \ + for DIR in $${list} ; \ + do \ + ( \ + echo " ==> MAKING \"$@\" ON SUBDIRECTORY \"$(CURDIR)/$$DIR\"";\ + if [ -d ./$$DIR -a -r ./$$DIR/Makefile ] ; then \ + cd ./$$DIR && "$(MAKE)" $(MAKEMACS) XARCH=$(XARCH) DIRNAME=$(CURDIR)/$$DIR $@; \ + else \ + echo "NOTICE: Partial source ($(CURDIR)/$$DIR) missing";\ + fi \ + ); \ + done + +tinfo: + @[ -d TARGETS -a -f TARGETS/__slot ] && list=`echo TARGETS/[0123456789][0123456789]*`;\ + for i in $${list}; \ + do \ + (read line < $$i; \ + name=`echo $$i | sed -e 's;TARGETS/[0123456789][0123456789];;' | sed -e 's;!@!;/;g'`; \ + echo "$$name - $${line}"; \ + ); \ + done + +########################################################################### diff --git a/RULES/rules1.top b/RULES/rules1.top new file mode 100644 index 0000000..7a9fbf3 --- /dev/null +++ b/RULES/rules1.top @@ -0,0 +1,397 @@ +#ident "@(#)rules1.top 1.54 17/12/06 " +########################################################################### +# Written 1996-2017 by J. Schilling +########################################################################### +# +# Rules that should be included at top of every Makefile +# Do not include this file directly; this is the language independent +# version that may be included in special purpose versions. +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +# +# Global definitions: +# +# Define magic unique cookie +# +########################################################################### +_UNIQ= .XxZzy- + +########################################################################### +# +# Make sure this becomes the default target +# +########################################################################### +all: + +########################################################################### +# +# Build a macro $(SRCROOTSL) that allows to use file name +# $(SRCROOTSL)incs/Dcc.$(PARCH)$(-O_ARCH) instead of using +# the file name $(SRCROOT)/incs/Dcc.$(PARCH)$(-O_ARCH) +# +# This is needed because of a serious bug in SunPRO make. We need to do some +# tricks in order to make code working that depends on including files where +# the file name is a macro and the file may be built as a result of a make +# rule. +# +# SunPRO make inconsistsently shortens rules that start with "./" +# and thus will not find existing rules for a file to be included. +# We use pattern matching macro expansions to consistently shorten the +# name if it starts with "./". This allows to use the same textual +# string for both the rule and the include statement. +# +# Note that Thus bug has been reported to Sun in 1998 but Sun seems not +# interested to fix the bug. +# +########################################################################### +_SRCROOTSL= $(SRCROOT)/ +SRCROOTSL= $(_SRCROOTSL:./%=%) + +########################################################################### +# +# Global handler for failed inludes +# +########################################################################### +.INCLUDE_FAILED: + @echo " ==> AUTOMAKING \"$^\""; sh $(SRCROOTSL)conf/makeinc $^ + +########################################################################### +# +# Legacy support for old smake programs ... +# +########################################################################### +.INCLUDEFAILED: + @echo " ==> AUTOMAKING \"$^\""; sh $(SRCROOTSL)conf/makeinc $^ + +########################################################################### +# +# Some global constants or pre-definitions +# +########################################################################### +_LCONFIG= $(_UNIQ)$(LCONFIG) +__LCONFIG= $(_LCONFIG:$(_UNIQ)=ldummy.cnf) +LOCAL_CNF= $(__LCONFIG:$(_UNIQ)%=%) +########################################################################### + +########################################################################### +# +# Standard (automatic) makeprog identification +# +# Each make program should define a macro: MAKE_NAME for identification. +# MAKE_NAME in this case is a built in macro like MAKE or MAKEFLAGS. +# Currently only 'smake' implements this feature. +# +########################################################################### +_MAKEPROG= $(_UNIQ)$(MAKE_NAME) +__MAKEPROG= $(_MAKEPROG:$(_UNIQ)=$(MAKEPROG)) +_XMAKEPROG= $(__MAKEPROG:$(_UNIQ)%=%) + +# gmake defines a macro MAKE_COMMAND. If neither MAKE_NAME is defined by +# the make program, nor MAKEPROG is set, try this to recognize gmake. +# +_MAKE_COMMAND= $(MAKE_COMMAND:%make=gmake) + +__XMAKEPROG= $(_UNIQ)$(_XMAKEPROG) +___XMAKEPROG= $(__XMAKEPROG:$(_UNIQ)=$(_MAKE_COMMAND)) +XMAKEPROG= $(___XMAKEPROG:$(_UNIQ)%=%) + +include $(SRCROOT)/$(RULESDIR)/mk-$(XMAKEPROG).id + +########################################################################### +# +# Standard (automatic) os identification +# +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-$(OSNAME).id + +########################################################################### +# +# Global os definitions +# +########################################################################### +include $(SRCROOT)/$(RULESDIR)/os-$(O_ARCH).def + +########################################################################### +# +# Some global project definitions that may be overwritten in 'Defaults' +# +########################################################################### +CWARNOPTS= $(CWOPTS) + +########################################################################### +# +# Global project definitions +# +########################################################################### +DEF_ROOT= $(SRCROOT) +DEF_DIR= DEFAULTS + +_DEFAULTSROOT= $(_UNIQ)$(DEFAULTSROOT) +__DEFAULTSROOT= $(_DEFAULTSROOT:$(_UNIQ)=$(DEF_ROOT)) +DEFLTSROOT= $(__DEFAULTSROOT:$(_UNIQ)%=%) + +_DEFAULTSDIR= $(_UNIQ)$(DEFAULTSDIR) +__DEFAULTSDIR= $(_DEFAULTSDIR:$(_UNIQ)=$(DEF_DIR)) +DEFLTSDIR= $(__DEFAULTSDIR:$(_UNIQ)%=%) + +include $(DEFLTSROOT)/$(DEFLTSDIR)/Defaults + +########################################################################### +# +# Set DEST_DIR +# We use "DESTDIR" as external visible name to be compatible to other sw. +# +########################################################################### +DEST_DIR= $(DESTDIR:%/=%) + +########################################################################### +# +# Set INSBASE +# +########################################################################### +INSBASE= $(INS_BASE:%/=%) + +########################################################################### +# +# Standard default man install base +# +########################################################################### +DEFMANBASE_DEF= share + +_MANBASE= $(_UNIQ)$(DEFMANBASE) +__MANBASE= $(_MANBASE:$(_UNIQ)=$(DEFMANBASE_DEF)) +MANBASE= $(__MANBASE:$(_UNIQ)%=%) + +########################################################################### +# +# Get curent directory name +# +########################################################################### +_DIRNAME= $(_UNIQ)$(DIRNAME) +__DIRNAME= $(_DIRNAME:$(_UNIQ)=...) +CURDIR= $(__DIRNAME:$(_UNIQ)%=%) + +########################################################################### +# +# Standard UNIX compiler name for use as architecture name. +# +# (this is not necessarily the name the compiler is called by) +# This is now defined in $(DEFAULTSROOT)/Defaults +# If not ... use 'cc' +# +########################################################################### +DEFCCOM_DEF= cc + +_DEFCCOM= $(_UNIQ)$(DEFCCOM) +__DEFCCOM= $(_DEFCCOM:$(_UNIQ)=$(DEFCCOM_DEF)) +CCOM_DEF= $(__DEFCCOM:$(_UNIQ)%=%) + +_CCOM= $(_UNIQ)$(CCOM) +__CCOM= $(_CCOM:$(_UNIQ)=$(CCOM_DEF)) +C_ARCH= $(__CCOM:$(_UNIQ)%=%) + +########################################################################### +# +# Standard default include directories +# +########################################################################### +DEFINCDIRS_DEF= $(SRCROOT)/include + +_INCDIRS= $(_UNIQ)$(DEFINCDIRS) +__INCDIRS= $(_INCDIRS:$(_UNIQ)=$(DEFINCDIRS_DEF)) +INCDIRS= $(__INCDIRS:$(_UNIQ)%=%) + +DEFOSINCDIRS_DEF= # + +_OSINCDIRS= $(_UNIQ)$(DEFOSINCDIRS) +__OSINCDIRS= $(_OSINCDIRS:$(_UNIQ)=$(DEFOSINCDIRS_DEF)) +OSINCDIRS= $(__OSINCDIRS:$(_UNIQ)%=%) + +########################################################################### +# +# Prepare come macros needed to build $(ARCHDIR) +# +# Build macros for: +# - processor type +# - operating system +# - compiler identification +# +########################################################################### +KARCH_DEF= $(K_ARCH) +MARCH_DEF= $(M_ARCH) +PARCH_DEF= $(P_ARCH) + +KARCH= K_ARCH + +_MARCH= $(_UNIQ)$(ARCH) +__MARCH= $(_MARCH:$(_UNIQ)=$(MARCH_DEF)) +MARCH= $(__MARCH:$(_UNIQ)%=%) + +_PARCH= $(_UNIQ)$(ARCH) +__PARCH= $(_PARCH:$(_UNIQ)=$(PARCH_DEF)) +PARCH= $(__PARCH:$(_UNIQ)%=%) + +########################################################################### +# +# Now include the file $(SRCROOT)/incs/Dcc.$(PARCH)$(-O_ARCH) +# which is needed if the C-complier from the manual default configutration +# is not present on the current system. We try to use GCC as fallback +# in this case. +# +# Due to a serious bug in SunPRO make we need to do some tricks to make +# the following code working. +# +# See notes about $(SRCROOT)/ vs. $(SRCROOTSL) above. +# +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg + +$(SRCROOTSL)incs: + $(MKDIR_SH) -p $@ + +$(SRCROOTSL)incs/Dnull: $(SRCROOTSL)incs + @if [ ! -f $@ ]; then \ + echo > $@; \ + fi + +include $(SRCROOTSL)incs/Dnull + +_DCC= $(SRCROOTSL)incs/Dcc.$(PARCH)$(-O_ARCH) + +$(_DCC): + sh $(SRCROOTSL)conf/cc-config.sh $(C_ARCH:%64=%) $(CCOM_DEF) $@ + +include $(_DCC) + +########################################################################### +# +# Build $(ARCHDIR) which occupies a central role in the whole +# make file system. ARCHDIR is used as a sub directory name to keep +# platform dependent files on different places. +# +# It is built from: +# - processor type +# - operating system +# - compiler identification +# +# A possible name could be: +# mc68020-sunos4-cc +# +########################################################################### +#OARCH= $(MARCH)$(-O_ARCH)-$(C_ARCH) +OARCH= $(PARCH)$(-O_ARCH)-$(C_ARCH) +XARCH= $(K_ARCH)$(-O_ARCH)-$(C_ARCH) +.print: + echo $(XP_ARCH) $(P_ARCH) $(OARCH) $(XARCH) + +########################################################################### +# +# All generated files are placed directly into this subdirectory. +# This includes e.g. yacc output (.c & .h files). +# SUBARCH is used if a object is conditional compiled in multiple ways. +# +########################################################################### +OARCHDIR= OBJ/$(OARCH) +ARCHDIR= OBJ/$(OARCH)$(SUBARCHDIR)$(SUBARCH) + +########################################################################### +# +# See notes about $(SRCROOT)/ vs. $(SRCROOTSL) above. +# +########################################################################### +OLIBSDIR= $(SRCROOTSL)libs/$(OARCH)$(SUBARCHDIR)$(SUBARCH)$(SHLDIR) +OLIBSDIR_STATIC=$(SRCROOTSL)libs/$(OARCH)$(SUBARCHDIR)$(SUBARCH) +OINCSDIR= $(SRCROOTSL)incs/$(OARCH) + +########################################################################### +# Location for targets: +# +# - all : see appropriate rules +# - man installman : rules.man +# - lint : rules.lnt +# - clean, clobber, distclean, relink, rmtarget : rules.clr +# - rel : rules.rel +# - install, ibins, uninstall : rules.ins +# - html, htmlx, htmlxn : rules.htm & sub.htm +# - tarpkg tarpkg1 tarpkg2 : rules.sps +# - depend, rmdep : rules.dep +# - config : rules.cnf +# - tags, TAGS : rules.tag +# - .help : rules.hlp +# - .version : rules.hlp +# - tests : rules.tst +# - tinfo : rules.dir/rules.rdi +# - cstyle : rules.cst +# +# We do not put '.help', '.version' and 'tinfo' into 'ALLTARGETS' because: +# +# .help is not recursive +# .version is not recursive +# tinfo is handeled separately in rules1.dir +# +# If we would add .help and tinfo, we would get multiple defined target +# messages. +# +# Use ALLTARGETS=$(ALLTARGETS_NT) if there should be no directory descend +# for e.g. the "test" target. +########################################################################### +ALLTARGETS= all man lint clean clobber cstyle distclean ibins depend rmdep \ + config TAGS tags tests rmtarget relink rel \ + $(INSTALLTARGETS) $(UNINSTALLTARGETS) $(MANTARGETS) $(PKGTARGETS) + +ALLTARGETS_NT= all man lint clean clobber cstyle distclean ibins depend rmdep \ + config TAGS tags rmtarget relink rel \ + $(INSTALLTARGETS) $(UNINSTALLTARGETS) $(MANTARGETS) $(PKGTARGETS) + +INSTALLTARGETS= install installman +UNINSTALLTARGETS= uninstall uninstallman +MANTARGETS= html htmlx htmlxn +PKGTARGETS= tarpkg tarpkg1 tarpkg2 + +.PHONY: $(ALLTARGETS) .help tinfo shell + +########################################################################### +# Historic SunPro Make does not understand .PHONY: - use FRC +# SunPro Make from Schilytools supports .PHONY: and sets MAKE_NAME=sunpro +# $(MAKEPROG) is derived from $(SRCROOT)/$(RULESDIR)/mk-$(XMAKEPROG).id +# +# Make $(FRC) empty for all make programs (that usually support .PHONY) +# except for the unfixed old SunPro Make from Sun. +########################################################################### +_FRC= $(_UNIQ)$(MAKEPROG) +__FRC= $(_FRC:$(_UNIQ)make=FRC) +FRC= $(__FRC:$(_UNIQ)%=) + +$(ALLTARGETS) .help tinfo shell: $(FRC) + +FRC: + + +########################################################################### +# Allow to start a shell in order to check the environment +########################################################################### +shell: + $(SHELL) + +########################################################################### +# Include a target definition for all official targets so calling +# 'make' with a target that is not defined in the current makefiles +# will cause the target to be ignored. +########################################################################### +$(ALLTARGETS): + +include $(SRCROOT)/$(RULESDIR)/version diff --git a/RULES/static.lnk b/RULES/static.lnk new file mode 100644 index 0000000..a209a2b --- /dev/null +++ b/RULES/static.lnk @@ -0,0 +1,22 @@ +#ident @(#)static.lnk 1.1 06/07/20 +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Rules for commands that are links statically against internal libs +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +SHLDIR= +NO_SHL= no diff --git a/RULES/sub.htm b/RULES/sub.htm new file mode 100644 index 0000000..dfcf5ea --- /dev/null +++ b/RULES/sub.htm @@ -0,0 +1,36 @@ +#ident "@(#)sub.htm 1.5 11/09/18 " +########################################################################### +# Written 2007 by J. Schilling +########################################################################### +# +# Manual page to html converting rules +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### + +html htmlx htmlxn: + @if [ ".$(XMK_FILE)" != . ] ; then \ + for XMK_F in $(XMK_FILE) XxZzY-- ; do \ + ( \ + if [ -r ./$$XMK_F ] ; then \ + echo " ==> MAKING \"install\" ON SUBCOMPONENT \"$(CURDIR)/$$XMK_F\""; \ + "$(MAKE)" -f $$XMK_F $(MAKEMACS) XARCH=$(XARCH) $@; \ + else \ + if [ $$XMK_F != XxZzY-- ]; then \ + echo "NOTICE: Partial source ($(DIRNAME)/$$XMK_F) missing";\ + fi \ + fi \ + ); \ + done \ + fi diff --git a/RULES/sun3-sunos4-cc.rul b/RULES/sun3-sunos4-cc.rul new file mode 100644 index 0000000..aa54322 --- /dev/null +++ b/RULES/sun3-sunos4-cc.rul @@ -0,0 +1,34 @@ +#ident "@(#)sun3-sunos4-cc.rul 1.8 07/05/08 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunOS 4.x on Motorola mc 680x0 +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-sun.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= -lkvm + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + diff --git a/RULES/sun3-sunos4-gcc.rul b/RULES/sun3-sunos4-gcc.rul new file mode 100644 index 0000000..61162f9 --- /dev/null +++ b/RULES/sun3-sunos4-gcc.rul @@ -0,0 +1,46 @@ +#ident "@(#)sun3-sunos4-gcc.rul 1.11 09/06/06 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunOS 4.x on Motorola mc 680x0 (GCC) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul +CWOPTS= -Wall -Wshadow -Wmissing-prototypes -Wstrict-prototypes + +OSDEFS += + +COPTOPT= -O2 +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= -lkvm + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= +LNDYNLIB= @ + +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + diff --git a/RULES/sun4-sunos4-cc.rul b/RULES/sun4-sunos4-cc.rul new file mode 100644 index 0000000..bdd24ac --- /dev/null +++ b/RULES/sun4-sunos4-cc.rul @@ -0,0 +1,34 @@ +#ident "@(#)sun4-sunos4-cc.rul 1.8 07/05/08 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunOS 4.x on sparc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-sun.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= -lkvm + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib + diff --git a/RULES/sun4-sunos4-gcc.rul b/RULES/sun4-sunos4-gcc.rul new file mode 100644 index 0000000..d34edd3 --- /dev/null +++ b/RULES/sun4-sunos4-gcc.rul @@ -0,0 +1,41 @@ +#ident "@(#)sun4-sunos4-gcc.rul 1.8 07/05/08 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunOS 4.x on sparc (GCC) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= -lkvm + +LDOPTDYN= +LNDYNLIB= @ + +DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib diff --git a/RULES/sun4-sunos5-cc.rul b/RULES/sun4-sunos5-cc.rul new file mode 100644 index 0000000..d6ac677 --- /dev/null +++ b/RULES/sun4-sunos5-cc.rul @@ -0,0 +1,37 @@ +#ident "@(#)sun4-sunos5-cc.rul 1.13 14/04/01 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunOS 5.x on sparc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH:cc%=sunpro%).rul + +OSDEFS += -D__SVR4 -DSVR4 + +KDEFINES= -DKERNEL -D_KERNEL + + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= -lkvm -lelf +LIB_VOLMGT= -lvolmgt + +ARFLAGS= crs diff --git a/RULES/sun4-sunos5-clang.rul b/RULES/sun4-sunos5-clang.rul new file mode 100644 index 0000000..54bda79 --- /dev/null +++ b/RULES/sun4-sunos5-clang.rul @@ -0,0 +1,46 @@ +#ident "@(#)sun4-sunos5-clang.rul 1.1 14/04/02 " +########################################################################### +# Written 1996-2014 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunOS 5.x on sparc for Clang +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS += -D__SVR4 -DSVR4 +KDEFINES= -DKERNEL -D_KERNEL + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= -lkvm -lelf +LIB_VOLMGT= -lvolmgt + +# +# Solaris comes with a linker that supports mapfiles +# +MAPVERS= $(_MAPVERS) # This enables to use mapfiles + +# +# We should use -Wl,-ztext here, but gcc does not create fully compliant +# object files. +# +LDOPTDYN= -dy -G -h $(TARGET) $(PMAPVERS:%=-Wl,-M%) -ldl + +ARFLAGS= crs diff --git a/RULES/sun4-sunos5-gcc.rul b/RULES/sun4-sunos5-gcc.rul new file mode 100644 index 0000000..4e09986 --- /dev/null +++ b/RULES/sun4-sunos5-gcc.rul @@ -0,0 +1,48 @@ +#ident "@(#)sun4-sunos5-gcc.rul 1.15 14/04/01 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for SunOS 5.x on sparc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS += -D__SVR4 -DSVR4 + +KDEFINES= -DKERNEL -D_KERNEL + + +LIB_SOCKET= -lsocket -lnsl -ldl +LIB_MATH= -lm +LIB_KVM= -lkvm -lelf +LIB_VOLMGT= -lvolmgt + +# +# Solaris comes with a linker that supports mapfiles +# +MAPVERS= $(_MAPVERS) # This enables to use mapfiles + +# +# We should use -Wl,-ztext here, but gcc does not create fully compliant +# object files. +# +LDOPTDYN= -dy -G -h $(TARGET) $(PMAPVERS:%=-Wl,-M%) -ldl + +ARFLAGS= crs diff --git a/RULES/version b/RULES/version new file mode 100644 index 0000000..7d74d14 --- /dev/null +++ b/RULES/version @@ -0,0 +1,17 @@ +#ident "@(#)version 1.4 07/11/02 " +########################################################################### +# Written 2005 by J. Schilling +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. + +MAKEFILES_VERSION=1.5a05 diff --git a/RULES/x86-interix-cc.rul b/RULES/x86-interix-cc.rul new file mode 100644 index 0000000..a78c49c --- /dev/null +++ b/RULES/x86-interix-cc.rul @@ -0,0 +1,46 @@ +#ident @(#)x86-interix-cc.rul 1.1 07/05/08 +########################################################################### +# Written 2007 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for CYGWIN32_NT using MSVC +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +_PLATFORM= interix +include $(SRCROOT)/$(RULESDIR)/cc-msposix.rul + +# +# Supress useless cl warnings like: +# warning C4996: 'strerror' wurde als veraltet deklariert +# Consider using strerror_s instead. +# +#OSDEFS += -D_CRT_SECURE_NO_DEPRECATE + +KDEFINES= + +#LIB_SOCKET= Ws2_32.lib +LIB_MATH= +LIB_KVM= + +LORDER= echo +TSORT= cat + +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); sh $(SRCROOT)/conf/mkdep-msc-interix.sh +MKDEP_OUT= +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); sh $(SRCROOT)/conf/mkdep-msc-interix.sh +MKC++DEP_OUT= + diff --git a/RULES/x86-interix-cl.rul b/RULES/x86-interix-cl.rul new file mode 100644 index 0000000..54a2c6f --- /dev/null +++ b/RULES/x86-interix-cl.rul @@ -0,0 +1,54 @@ +#ident "@(#)x86-interix-cl.rul 1.5 09/05/21 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for CYGWIN32_NT using MSVC +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +_PLATFORM= interix +include $(SRCROOT)/$(RULESDIR)/cc-msc.rul + +# +# Supress useless cl warnings like: +# warning C4996: 'strerror' wurde als veraltet deklariert +# Consider using strerror_s instead. +# +OSDEFS += -D_CRT_SECURE_NO_DEPRECATE + +# +# Supress useless cl warnings like: +# warning C4996: 'fdopen' wurde als veraltet deklariert +# The POSIX name for this item is deprecated. Instead, use +# the ISO C++ conformant name: _fdopen. +# +OSDEFS += -D_CRT_NONSTDC_NO_DEPRECATE + +KDEFINES= + +LIB_SOCKET= Ws2_32.lib +LIB_MATH= +LIB_KVM= + +LORDER= echo +TSORT= cat + +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); sh $(SRCROOT)/conf/mkdep-msc-interix.sh +MKDEP_OUT= +MKC++DEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); sh $(SRCROOT)/conf/mkdep-msc-interix.sh +MKC++DEP_OUT= + diff --git a/RULES/x86-interix-gcc.rul b/RULES/x86-interix-gcc.rul new file mode 100644 index 0000000..06622ab --- /dev/null +++ b/RULES/x86-interix-gcc.rul @@ -0,0 +1,41 @@ +#ident "@(#)x86-interix-gcc.rul 1.5 07/05/09 " +########################################################################### +# Written 2006 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Interix Systems (WIN-NT with SFU) +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += -D_ALL_SOURCE + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat diff --git a/RULES/x86pc-qnx-gcc.rul b/RULES/x86pc-qnx-gcc.rul new file mode 100644 index 0000000..8cd1b2d --- /dev/null +++ b/RULES/x86pc-qnx-gcc.rul @@ -0,0 +1,42 @@ +########################################################################### +#ident "@(#)x86pc-qnx-gcc.rul 1.7 07/05/09 " +########################################################################### +# Written 2001 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for QNX Neutrino +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul + +OSDEFS += + +KDEFINES= -DKERNEL -D_KERNEL + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +LIB_SOCKET= -lsocks -lrpc +LIB_MATH= -lm +LIB_KVM= + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH:-R%=-Wl,-R%) +LDOPTS= $(LIBS_PATH) $(LDPATH) + +LORDER= echo +TSORT= cat diff --git a/START b/START new file mode 100644 index 0000000..b76c9a8 --- /dev/null +++ b/START @@ -0,0 +1 @@ +./cdrecord -dummy -v speed=2 dev=2,0 /usr/home/joerg/cd.raw diff --git a/TARGETS/15conf b/TARGETS/15conf new file mode 100644 index 0000000..c30f946 --- /dev/null +++ b/TARGETS/15conf @@ -0,0 +1 @@ +Makefiles Autoconfiguration part 1. Automated run of configure. diff --git a/TARGETS/25inc b/TARGETS/25inc new file mode 100644 index 0000000..18c6bb4 --- /dev/null +++ b/TARGETS/25inc @@ -0,0 +1 @@ +Makefiles Autoconfiguration part 2. Create autogenerated include files. diff --git a/TARGETS/25include b/TARGETS/25include new file mode 100644 index 0000000..4b2dd9b --- /dev/null +++ b/TARGETS/25include @@ -0,0 +1 @@ +Static include files. diff --git a/TARGETS/43libschily b/TARGETS/43libschily new file mode 100644 index 0000000..abb7fd8 --- /dev/null +++ b/TARGETS/43libschily @@ -0,0 +1 @@ +Library containing Schily SING (Schily Is Not GNU) extensions diff --git a/TARGETS/44libdeflt b/TARGETS/44libdeflt new file mode 100644 index 0000000..65ea747 --- /dev/null +++ b/TARGETS/44libdeflt @@ -0,0 +1 @@ +Library to read local defaults from /etc/default/* diff --git a/TARGETS/44libscg b/TARGETS/44libscg new file mode 100644 index 0000000..ce5f113 --- /dev/null +++ b/TARGETS/44libscg @@ -0,0 +1 @@ +Portable SCSI transport library diff --git a/TARGETS/44libscg!@!scg b/TARGETS/44libscg!@!scg new file mode 100644 index 0000000..3f5fdc9 --- /dev/null +++ b/TARGETS/44libscg!@!scg @@ -0,0 +1 @@ +Portable SCSI transport library include files diff --git a/TARGETS/45lib b/TARGETS/45lib new file mode 100644 index 0000000..9c475a9 --- /dev/null +++ b/TARGETS/45lib @@ -0,0 +1 @@ +Various libraries diff --git a/TARGETS/45libcdrdeflt b/TARGETS/45libcdrdeflt new file mode 100644 index 0000000..9074f35 --- /dev/null +++ b/TARGETS/45libcdrdeflt @@ -0,0 +1 @@ +Library to read local defaults from /etc/default/cdrecord via libdeflt diff --git a/TARGETS/45libedc b/TARGETS/45libedc new file mode 100644 index 0000000..ca33aab --- /dev/null +++ b/TARGETS/45libedc @@ -0,0 +1 @@ +Heiko Eißdeldt's & Jörg Schilling CD sector formatting Library diff --git a/TARGETS/45libfile b/TARGETS/45libfile new file mode 100644 index 0000000..b740017 --- /dev/null +++ b/TARGETS/45libfile @@ -0,0 +1 @@ +Library version of the file(1) command diff --git a/TARGETS/45libfind b/TARGETS/45libfind new file mode 100644 index 0000000..d87cafc --- /dev/null +++ b/TARGETS/45libfind @@ -0,0 +1 @@ +Library version of the find(1) command diff --git a/TARGETS/45libhfs_iso b/TARGETS/45libhfs_iso new file mode 100644 index 0000000..d65ed2c --- /dev/null +++ b/TARGETS/45libhfs_iso @@ -0,0 +1 @@ +Library to handle Apple HFS extensions diff --git a/TARGETS/45libmdigest b/TARGETS/45libmdigest new file mode 100644 index 0000000..f20d8a8 --- /dev/null +++ b/TARGETS/45libmdigest @@ -0,0 +1 @@ +Message Digest library (containing md5 and other hashes) diff --git a/TARGETS/45libparanoia b/TARGETS/45libparanoia new file mode 100644 index 0000000..85512f2 --- /dev/null +++ b/TARGETS/45libparanoia @@ -0,0 +1 @@ +Portable CD Audio paranoia extraction library diff --git a/TARGETS/45librscg b/TARGETS/45librscg new file mode 100644 index 0000000..e1256e2 --- /dev/null +++ b/TARGETS/45librscg @@ -0,0 +1 @@ +Remote SCSI transport library diff --git a/TARGETS/45libscgcmd b/TARGETS/45libscgcmd new file mode 100644 index 0000000..7539edc --- /dev/null +++ b/TARGETS/45libscgcmd @@ -0,0 +1 @@ +SCSI command library diff --git a/TARGETS/45libsiconv b/TARGETS/45libsiconv new file mode 100644 index 0000000..789f5d2 --- /dev/null +++ b/TARGETS/45libsiconv @@ -0,0 +1 @@ +National language support library for UNICODE and wrapper for iconv() diff --git a/TARGETS/45libsiconv!@!tables b/TARGETS/45libsiconv!@!tables new file mode 100644 index 0000000..ab42c9d --- /dev/null +++ b/TARGETS/45libsiconv!@!tables @@ -0,0 +1 @@ +Tables for national language support library for UNICODE and wrapper for iconv() diff --git a/TARGETS/55btcflash b/TARGETS/55btcflash new file mode 100644 index 0000000..d3dfb2e --- /dev/null +++ b/TARGETS/55btcflash @@ -0,0 +1 @@ +Firmware flash utility for BTC DRW1008 DVD+/-RW recorder diff --git a/TARGETS/55cdda2wav b/TARGETS/55cdda2wav new file mode 100644 index 0000000..fb50cb7 --- /dev/null +++ b/TARGETS/55cdda2wav @@ -0,0 +1 @@ +CD digital audio extraction program diff --git a/TARGETS/55cdrecord b/TARGETS/55cdrecord new file mode 100644 index 0000000..9c8d0e2 --- /dev/null +++ b/TARGETS/55cdrecord @@ -0,0 +1 @@ +CD audio/data recording program diff --git a/TARGETS/55cmd b/TARGETS/55cmd new file mode 100644 index 0000000..60a3923 --- /dev/null +++ b/TARGETS/55cmd @@ -0,0 +1 @@ +Various commands diff --git a/TARGETS/55mkisofs b/TARGETS/55mkisofs new file mode 100644 index 0000000..f29eece --- /dev/null +++ b/TARGETS/55mkisofs @@ -0,0 +1 @@ +Creates populated ISO-9660 filesystem images diff --git a/TARGETS/55mkisofs!@!diag b/TARGETS/55mkisofs!@!diag new file mode 100644 index 0000000..90c157a --- /dev/null +++ b/TARGETS/55mkisofs!@!diag @@ -0,0 +1 @@ +Diagnose tools for Mkisofs diff --git a/TARGETS/55readcd b/TARGETS/55readcd new file mode 100644 index 0000000..d68f712 --- /dev/null +++ b/TARGETS/55readcd @@ -0,0 +1 @@ +CD data extraction program diff --git a/TARGETS/55rscsi b/TARGETS/55rscsi new file mode 100644 index 0000000..bc6cf8e --- /dev/null +++ b/TARGETS/55rscsi @@ -0,0 +1 @@ +Remote SCSI transport server program (daemon) diff --git a/TARGETS/55scgcheck b/TARGETS/55scgcheck new file mode 100644 index 0000000..15c10f5 --- /dev/null +++ b/TARGETS/55scgcheck @@ -0,0 +1 @@ +Libscg ABI compliance checker diff --git a/TARGETS/55scgskeleton b/TARGETS/55scgskeleton new file mode 100644 index 0000000..92fd3e7 --- /dev/null +++ b/TARGETS/55scgskeleton @@ -0,0 +1 @@ +Skeleton program for SCSI transport using libscg diff --git a/TARGETS/85man b/TARGETS/85man new file mode 100644 index 0000000..961197c --- /dev/null +++ b/TARGETS/85man @@ -0,0 +1 @@ +Various man pages diff --git a/TARGETS/README b/TARGETS/README new file mode 100644 index 0000000..7d7d5ce --- /dev/null +++ b/TARGETS/README @@ -0,0 +1,12 @@ +05patches +15conf - Autofonfiguration part 1. Automated run of configure. +25inc - Autofonfiguration part 2. Create autogenerated include files. + +35 reserved + +45lib +55cmd +65kern +75 reserved +85man +95 reserved diff --git a/TARGETS/Targetdirs b/TARGETS/Targetdirs new file mode 100644 index 0000000..80513bc --- /dev/null +++ b/TARGETS/Targetdirs @@ -0,0 +1,6 @@ +########################################################################### +# +# This file is intentionally left empty. The targets are now defined by the +# "Slottable Source" feature of the makefile system +# +########################################################################### diff --git a/TARGETS/__slot b/TARGETS/__slot new file mode 100644 index 0000000..ed83197 --- /dev/null +++ b/TARGETS/__slot @@ -0,0 +1 @@ +This file enables the "slot" feature of the Schily SING makefile system diff --git a/TEMPLATES/Defaults.clang b/TEMPLATES/Defaults.clang new file mode 100644 index 0000000..0cc1c48 --- /dev/null +++ b/TEMPLATES/Defaults.clang @@ -0,0 +1,49 @@ +#ident "@(#)Defaults.clang 1.2 15/10/08 " +########################################################################### +# +# global definitions for unknown Systems using CC=clang +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= clang +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR) + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= bin +DEFINSGRP= bin diff --git a/TEMPLATES/Defaults.gcc b/TEMPLATES/Defaults.gcc new file mode 100644 index 0000000..aaf912d --- /dev/null +++ b/TEMPLATES/Defaults.gcc @@ -0,0 +1,49 @@ +#ident "@(#)Defaults.gcc 1.2 15/10/08 " +########################################################################### +# +# global definitions for unknown Systems using CC=gcc +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +#DEFCCOM= cc +DEFCCOM= gcc +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR) + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= bin +DEFINSGRP= bin diff --git a/TEMPLATES/Defaults.xcc b/TEMPLATES/Defaults.xcc new file mode 100644 index 0000000..817358f --- /dev/null +++ b/TEMPLATES/Defaults.xcc @@ -0,0 +1,49 @@ +#ident "@(#)Defaults.xcc 1.2 15/10/08 " +########################################################################### +# +# global definitions for unknown Systems using CC=cc +# +########################################################################### +# +# Compiler stuff +# +########################################################################### +DEFCCOM= cc +#DEFCCOM= gcc +########################################################################### +# +# Link mode for libraries that are part of the makefile system: +# If DEFLINKMODE is set to "static", no dynamic linking will be used +# If DEFLINKMODE is set to "dynamic", dynamic linking will be used +# +########################################################################### +DEFLINKMODE= static + +########################################################################### +# +# If the next line is commented out, compilation is done with max warn level +# If the next line is uncommented, compilation is done with minimal warnings +# +########################################################################### +#CWARNOPTS= + +DEFINCDIRS= $(SRCROOT)/include +DEFOSINCDIRS= +LDPATH= -L/opt/schily/lib +#RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR) Will probably not work + +########################################################################### +# +# Installation config stuff +# +########################################################################### +INS_BASE= /opt/schily +INS_KBASE= / +INS_RBASE= / +# +DEFUMASK= 002 +# +DEFINSMODEF= 444 +DEFINSMODEX= 755 +DEFINSUSR= bin +DEFINSGRP= bin diff --git a/TEMPLATES/MKLINKS b/TEMPLATES/MKLINKS new file mode 100755 index 0000000..0c33030 --- /dev/null +++ b/TEMPLATES/MKLINKS @@ -0,0 +1,52 @@ +#!/bin/sh +########################################################################### +#ident "@(#)MKLINKS 1.5 15/03/25 " +########################################################################### +# Written 2008-2015 by J. Schilling +########################################################################### +# Copyright (c) 2008-2015 J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +if [ -r ldummy.lnk ]; then + if [ $# -le 0 ]; then + exit 0 + fi +fi +########################################################################### +symlink="ln -s" +MKLINKS_TEST=${MKLINKS_TEST-:} +if [ ".$MKLINKS_COPY" = '.' ]; then + rm -f xxzzy.123 xxzzy.345 + echo test > xxzzy.123 + $symlink xxzzy.123 xxzzy.345 + test $? = 0 || symlink=cp + test -r xxzzy.345 || symlink=cp + ${MKLINKS_TEST} -h xxzzy.345 || symlink=cp + rm -f xxzzy.123 xxzzy.345 +else + symlink=cp +fi +########################################################################### + +$symlink Makefile.cmd ldummy.lnk +$symlink Makefile.cmd cmd.mk +$symlink Makefile.inc inc.mk +$symlink Makefile.lib lib.mk +$symlink Makefile.shl shl.mk + +$symlink temp-clang.rul temp-clang32.rul +$symlink temp-clang.rul temp-clang64.rul + +$symlink temp-gcc.rul temp-gcc32.rul +$symlink temp-gcc.rul temp-gcc64.rul diff --git a/TEMPLATES/Makefile.aux b/TEMPLATES/Makefile.aux new file mode 100644 index 0000000..4999af1 --- /dev/null +++ b/TEMPLATES/Makefile.aux @@ -0,0 +1,16 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for installing non-localized auxiliary files +########################################################################### +SRCROOT= ../.. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +INSDIR= etc +TARGET= help.dat +XMK_FILE= Makefile.man + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.aux +########################################################################### diff --git a/TEMPLATES/Makefile.cmd b/TEMPLATES/Makefile.cmd new file mode 100644 index 0000000..14392a1 --- /dev/null +++ b/TEMPLATES/Makefile.cmd @@ -0,0 +1,19 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for general application programs +########################################################################### +SRCROOT= ../.. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +INSDIR= bin +TARGET= cfform +#CPPOPTS += -Ispecincl +CFILES= cfform.c +LIBS= -lat +XMK_FILE= Makefile.man + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.cmd +########################################################################### diff --git a/TEMPLATES/Makefile.dir b/TEMPLATES/Makefile.dir new file mode 100644 index 0000000..c02ab37 --- /dev/null +++ b/TEMPLATES/Makefile.dir @@ -0,0 +1,16 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for sub directory makes +########################################################################### +SRCROOT= .. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +# +# include Targetdirs no longer needed, we use SSPM +#include Targetdirs.$(M_ARCH) + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.dir +########################################################################### diff --git a/TEMPLATES/Makefile.drv b/TEMPLATES/Makefile.drv new file mode 100644 index 0000000..8e6e33e --- /dev/null +++ b/TEMPLATES/Makefile.drv @@ -0,0 +1,21 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for general device drivers +########################################################################### +SRCROOT= ../../.. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +INSDIR= usr/kernel/drv +TARGET= ga +CPPOPTS += -DFOKUS -DATMNA -DBROKEN_PROM -DTPI_COMPAT \ + -DGADEBUG -DGADEBUG_MASK=0x0 +CFILES= ga.c +SRCLIBS= +LIBS= +XMK_FILE= Makefile.man + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.drv +########################################################################### diff --git a/TEMPLATES/Makefile.inc b/TEMPLATES/Makefile.inc new file mode 100644 index 0000000..dbfbd09 --- /dev/null +++ b/TEMPLATES/Makefile.inc @@ -0,0 +1,15 @@ +#ident %W% %E% %Q% +########################################################################### +SRCROOT= .. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +INSDIR= include +TARGET= align.h +TARGETC= align_test +CFILES= align_test.c + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.inc +########################################################################### diff --git a/TEMPLATES/Makefile.lib b/TEMPLATES/Makefile.lib new file mode 100644 index 0000000..95968f3 --- /dev/null +++ b/TEMPLATES/Makefile.lib @@ -0,0 +1,19 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for non-shared libraries +########################################################################### +SRCROOT= ../.. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +INSDIR= lib +TARGETLIB= aal +CPPOPTS += -DFOKUS +CFILES= aallib.c +LIBS= +XMK_FILE= Makefile.man + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.lib +########################################################################### diff --git a/TEMPLATES/Makefile.loc b/TEMPLATES/Makefile.loc new file mode 100644 index 0000000..fcef2bc --- /dev/null +++ b/TEMPLATES/Makefile.loc @@ -0,0 +1,17 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for installing localized auxiliary files +########################################################################### +SRCROOT= ../.. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +INSDIR= etc +TARGET= test +SRCFILE= test +XMK_FILE= Makefile.man + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.loc +########################################################################### diff --git a/TEMPLATES/Makefile.man b/TEMPLATES/Makefile.man new file mode 100644 index 0000000..c4c56ed --- /dev/null +++ b/TEMPLATES/Makefile.man @@ -0,0 +1,18 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for installing manual pages +########################################################################### +SRCROOT= ../.. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +MANDIR= man +TARGETMAN= test +MANSECT= $(MANSECT_LIB) +MANSUFFIX= $(MANSUFF_LIB) +MANFILE= test.tr + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.man +########################################################################### diff --git a/TEMPLATES/Makefile.mks b/TEMPLATES/Makefile.mks new file mode 100644 index 0000000..87a1453 --- /dev/null +++ b/TEMPLATES/Makefile.mks @@ -0,0 +1,16 @@ +#ident "%W% %E% %Q%" +########################################################################### +# Sample makefile for sub-makes in one directory +########################################################################### +SRCROOT= ../.. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +#MK_FILES= cfform.mk cfget20.mk cfhec11.mk cfinfo20.mk cfpld.mk cfput20.mk +MK_FILES= cfform.mk +XMK_FILE= Makefile.man + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.mks +########################################################################### diff --git a/TEMPLATES/Makefile.mod b/TEMPLATES/Makefile.mod new file mode 100644 index 0000000..6671ff4 --- /dev/null +++ b/TEMPLATES/Makefile.mod @@ -0,0 +1,21 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for loadable streams modules +########################################################################### +SRCROOT= ../../.. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +INSDIR= usr/kernel/strmod +TARGET= ga +CPPOPTS += -DFOKUS -DATMNA -DBROKEN_PROM -DTPI_COMPAT \ + -DGADEBUG -DGADEBUG_MASK=0x0 +CFILES= ga.c +SRCLIBS= +LIBS= +XMK_FILE= Makefile.man + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.mod +########################################################################### diff --git a/TEMPLATES/Makefile.root b/TEMPLATES/Makefile.root new file mode 100644 index 0000000..69c1fdc --- /dev/null +++ b/TEMPLATES/Makefile.root @@ -0,0 +1,19 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for the source root +########################################################################### +SRCROOT= . +DIRNAME= SRCROOT +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +# +# include Targetdirs no longer needed, we use SSPM +#include Targetdirs.$(M_ARCH) + +########################################################################### +# Due to a bug in SunPRO make we need special rules for the root makefile +# +include $(SRCROOT)/$(RULESDIR)/rules.rdi +########################################################################### diff --git a/TEMPLATES/Makefile.scr b/TEMPLATES/Makefile.scr new file mode 100644 index 0000000..1a7ad30 --- /dev/null +++ b/TEMPLATES/Makefile.scr @@ -0,0 +1,17 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for installing localized shell scripts +########################################################################### +SRCROOT= ../.. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +INSDIR= bin +TARGET= test +SCRFILE= test.sh +XMK_FILE= Makefile.man + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.scr +########################################################################### diff --git a/TEMPLATES/Makefile.shl b/TEMPLATES/Makefile.shl new file mode 100644 index 0000000..c752121 --- /dev/null +++ b/TEMPLATES/Makefile.shl @@ -0,0 +1,21 @@ +#ident @(#)Makefile.shl 1.2 14/04/03 +########################################################################### +# Sample makefile for shared libraries +########################################################################### +SRCROOT= ../.. +RULESDIR= RULES +SUBARCHDIR= /pic +INVERSE_SUBARCHDIR= ../ +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +INSDIR= lib +TARGETLIB= aal +CPPOPTS += -DFOKUS +CFILES= aallib.c +LIBS= +XMK_FILE= Makefile.man + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.shl +########################################################################### diff --git a/TEMPLATES/Makefile.wrap b/TEMPLATES/Makefile.wrap new file mode 100644 index 0000000..1542420 --- /dev/null +++ b/TEMPLATES/Makefile.wrap @@ -0,0 +1,17 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for wrapping makes +########################################################################### +SRCROOT= ../.. +RULESDIR= RULES +#CCOM= gcc +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +SRC_DIR= wget-1.9.1 +#CONF_OPTS= --prefix=$(INS_BASE) +#CONF_OPTS= --prefix=$(INS_BASE) --program-prefix=g + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.sps +########################################################################### diff --git a/TEMPLATES/Makefile_de.man b/TEMPLATES/Makefile_de.man new file mode 100644 index 0000000..5cb767f --- /dev/null +++ b/TEMPLATES/Makefile_de.man @@ -0,0 +1,20 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for installing non english manual pages +########################################################################### +SRCROOT= ../.. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### +# Rules for German manual pages (replace de with your locale) +########################################################################### + +MANDIR= man/de +TARGETMAN= test +MANSECT= $(MANSECT_LIB) +MANSUFFIX= $(MANSUFF_LIB) +MANFILE= test-de.tr + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.man +########################################################################### diff --git a/TEMPLATES/noshlxxx.mk b/TEMPLATES/noshlxxx.mk new file mode 100644 index 0000000..62e5211 --- /dev/null +++ b/TEMPLATES/noshlxxx.mk @@ -0,0 +1,9 @@ +#ident "%W% %E% %Q%" +########################################################################### +SRCROOT= .. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +all: + @echo " ==> NO shared libs on this platform (yet)" diff --git a/TEMPLATES/temp-clang.rul b/TEMPLATES/temp-clang.rul new file mode 100644 index 0000000..7c70cc5 --- /dev/null +++ b/TEMPLATES/temp-clang.rul @@ -0,0 +1,48 @@ +#ident "@(#)temp-clang.rul 1.2 14/03/31 " +########################################################################### +# Written 1997-2014 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for unknown CLANG systems +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS= + +KDEFINES= -DKERNEL -D_KERNEL + +SHL_SUFFIX= .so.1.0 + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true +ARFLAGS= cr +#LORDER= lorder +#TSORT= tsort +LORDER= echo +TSORT= cat + +MKDIR= $(MKDIR_SH) diff --git a/TEMPLATES/temp-gcc.rul b/TEMPLATES/temp-gcc.rul new file mode 100644 index 0000000..efc6d93 --- /dev/null +++ b/TEMPLATES/temp-gcc.rul @@ -0,0 +1,48 @@ +#ident "@(#)temp-gcc.rul 1.4 14/03/31 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for unknown GCC systems +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# A copy of the CDDL is also available via the Internet at +# http://www.opensource.org/licenses/cddl1.txt +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-$(C_ARCH).rul + +OSDEFS= + +KDEFINES= -DKERNEL -D_KERNEL + +SHL_SUFFIX= .so.1.0 + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LDOPTS= $(LIBS_PATH) $(LDPATH) + +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true +ARFLAGS= cr +#LORDER= lorder +#TSORT= tsort +LORDER= echo +TSORT= cat + +MKDIR= $(MKDIR_SH) diff --git a/TEMPLATES/temp-xcc.rul b/TEMPLATES/temp-xcc.rul new file mode 100644 index 0000000..07be8aa --- /dev/null +++ b/TEMPLATES/temp-xcc.rul @@ -0,0 +1,39 @@ +#ident "@(#)temp-xcc.rul 1.3 09/07/26 " +########################################################################### +# Written 1997 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for unknown systems systems with dumb cc +# +########################################################################### +# Copyright (c) J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### +include $(SRCROOT)/$(RULESDIR)/cc-dumb.rul + +OSDEFS= + +KDEFINES= -DKERNEL -D_KERNEL + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +ARFLAGS= cr +#LORDER= lorder +#TSORT= tsort +LORDER= echo +TSORT= cat diff --git a/autoconf/acgeneral.m4 b/autoconf/acgeneral.m4 new file mode 100644 index 0000000..03799da --- /dev/null +++ b/autoconf/acgeneral.m4 @@ -0,0 +1,2751 @@ +dnl @(#)acgeneral.m4 1.17 16/03/22 Copyright 1998-2016 J. Schilling +dnl +dnl Parameterized macros. +dnl Requires GNU m4. +dnl This file is part of Autoconf. +dnl Copyright (C) 1992, 93, 94, 95, 96, 1998 Free Software Foundation, Inc. +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2, or (at your option) +dnl any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +dnl 02111-1307, USA. +dnl +dnl As a special exception, the Free Software Foundation gives unlimited +dnl permission to copy, distribute and modify the configure scripts that +dnl are the output of Autoconf. You need not follow the terms of the GNU +dnl General Public License when using or distributing such scripts, even +dnl though portions of the text of Autoconf appear in them. The GNU +dnl General Public License (GPL) does govern all other use of the material +dnl that constitutes the Autoconf program. +dnl +dnl Certain portions of the Autoconf source text are designed to be copied +dnl (in certain cases, depending on the input) into the output of +dnl Autoconf. We call these the "data" portions. The rest of the Autoconf +dnl source text consists of comments plus executable code that decides which +dnl of the data portions to output in any given case. We call these +dnl comments and executable code the "non-data" portions. Autoconf never +dnl copies any of the non-data portions into its output. +dnl +dnl This special exception to the GPL applies to versions of Autoconf +dnl released by the Free Software Foundation. When you make and +dnl distribute a modified version of Autoconf, you may extend this special +dnl exception to the GPL to apply to your modified version as well, *unless* +dnl your modified version has the potential to copy into its output some +dnl of the text that was the non-data portion of the version that you started +dnl with. (In other words, unless your change moves or copies text from +dnl the non-data portions to the data portions.) If your modification has +dnl such potential, you must delete any notice of this special exception +dnl to the GPL from your modified version. +dnl +dnl Written by David MacKenzie, with help from +dnl Franc,ois Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor, +dnl Roland McGrath, Noah Friedman, david d zuhn, and many others. +dnl +divert(-1)dnl Throw away output until AC_INIT is called. +changequote([, ]) + +define(AC_ACVERSION, 2.13) +define(AC_ACVERSION_SCHILY, 1.17-Schily) + +dnl Some old m4's don't support m4exit. But they provide +dnl equivalent functionality by core dumping because of the +dnl long macros we define. +ifdef([__gnu__], , [errprint(Autoconf requires GNU m4. +Install it before installing Autoconf or set the +M4 environment variable to its path name. +)m4exit(2)]) + +undefine([eval]) +undefine([include]) +undefine([shift]) +undefine([format]) + + +dnl ### Defining macros + + +dnl m4 output diversions. We let m4 output them all in order at the end, +dnl except that we explicitly undivert AC_DIVERSION_SED, AC_DIVERSION_CMDS, +dnl and AC_DIVERSION_ICMDS. + +dnl AC_DIVERSION_NOTICE - 1 (= 0) AC_REQUIRE'd #! /bin/sh line +define(AC_DIVERSION_NOTICE, 1)dnl copyright notice & option help strings +define(AC_DIVERSION_INIT, 2)dnl initialization code +define(AC_DIVERSION_NORMAL_4, 3)dnl AC_REQUIRE'd code, 4 level deep +define(AC_DIVERSION_NORMAL_3, 4)dnl AC_REQUIRE'd code, 3 level deep +define(AC_DIVERSION_NORMAL_2, 5)dnl AC_REQUIRE'd code, 2 level deep +define(AC_DIVERSION_NORMAL_1, 6)dnl AC_REQUIRE'd code, 1 level deep +define(AC_DIVERSION_NORMAL, 7)dnl the tests and output code +define(AC_DIVERSION_SED, 8)dnl variable substitutions in config.status +define(AC_DIVERSION_CMDS, 9)dnl extra shell commands in config.status +define(AC_DIVERSION_ICMDS, 10)dnl extra initialization in config.status + +dnl Change the diversion stream to STREAM, while stacking old values. +dnl AC_DIVERT_PUSH(STREAM) +define(AC_DIVERT_PUSH, +[pushdef([AC_DIVERSION_CURRENT], $1)dnl +divert(AC_DIVERSION_CURRENT)dnl +]) + +dnl Change the diversion stream to its previous value, unstacking it. +dnl AC_DIVERT_POP() +define(AC_DIVERT_POP, +[popdef([AC_DIVERSION_CURRENT])dnl +divert(AC_DIVERSION_CURRENT)dnl +]) + +dnl Initialize the diversion setup. +define([AC_DIVERSION_CURRENT], AC_DIVERSION_NORMAL) +dnl This will be popped by AC_REQUIRE in AC_INIT. +pushdef([AC_DIVERSION_CURRENT], AC_DIVERSION_NOTICE) + +dnl The prologue for Autoconf macros. +dnl AC_PRO(MACRO-NAME) +define(AC_PRO, +[define([AC_PROVIDE_$1], )dnl +ifelse(AC_DIVERSION_CURRENT, AC_DIVERSION_NORMAL, +[AC_DIVERT_PUSH(builtin(eval, AC_DIVERSION_CURRENT - 1))], +[pushdef([AC_DIVERSION_CURRENT], AC_DIVERSION_CURRENT)])dnl +]) + +dnl The Epilogue for Autoconf macros. +dnl AC_EPI() +define(AC_EPI, +[AC_DIVERT_POP()dnl +ifelse(AC_DIVERSION_CURRENT, AC_DIVERSION_NORMAL, +[undivert(AC_DIVERSION_NORMAL_4)dnl +undivert(AC_DIVERSION_NORMAL_3)dnl +undivert(AC_DIVERSION_NORMAL_2)dnl +undivert(AC_DIVERSION_NORMAL_1)dnl +])dnl +]) + +dnl Define a macro which automatically provides itself. Add machinery +dnl so the macro automatically switches expansion to the diversion +dnl stack if it is not already using it. In this case, once finished, +dnl it will bring back all the code accumulated in the diversion stack. +dnl This, combined with AC_REQUIRE, achieves the topological ordering of +dnl macros. We don't use this macro to define some frequently called +dnl macros that are not involved in ordering constraints, to save m4 +dnl processing. +dnl AC_DEFUN(NAME, EXPANSION) +define([AC_DEFUN], +[define($1, [AC_PRO([$1])$2[]AC_EPI()])]) + + +dnl ### Initialization + + +dnl AC_INIT_NOTICE() +AC_DEFUN(AC_INIT_NOTICE, +[# Guess values for system-dependent variables and create Makefiles. +# Generated automatically using autoconf version] AC_ACVERSION AC_ACVERSION_SCHILY [ +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# Copyright (C) 1998-2016 J. Schilling +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. + +# Defaults: +ac_help= +ac_default_prefix=/usr/local +[#] Any additions from configure.in:]) + +dnl AC_PREFIX_DEFAULT(PREFIX) +AC_DEFUN(AC_PREFIX_DEFAULT, +[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl +ac_default_prefix=$1 +AC_DIVERT_POP()]) + +dnl AC_INIT_PARSE_ARGS() +AC_DEFUN(AC_INIT_PARSE_ARGS, +[ +# Initialize some variables set by options. +# The variables have the same names as the options, with +# dashes changed to underlines. +build=NONE +cache_file=./config.cache +exec_prefix=NONE +host=NONE +no_create= +nonopt=NONE +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +target=NONE +verbose= +rmttest=test +rmtcall= +CONFIG_RMTCALL=${CONFIG_RMTCALL-NONE} +x_includes=NONE +x_libraries=NONE +dnl Installation directory options. +dnl These are left unexpanded so users can "make install exec_prefix=/foo" +dnl and all the variables that are supposed to be based on exec_prefix +dnl by default will actually change. +dnl Use braces instead of parens because sh, perl, etc. also accept them. +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datadir='${prefix}/share' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +libdir='${exec_prefix}/lib' +includedir='${prefix}/include' +oldincludedir='/usr/include' +infodir='${prefix}/info' +mandir='${prefix}/man' + +# Initialize some other variables. +subdirs= +MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} +# Maximum number of lines to put in a shell here document. +ac_max_here_lines=12 + +ac_prev= +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 +changequote(, )dnl + -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; +changequote([, ])dnl + *) ac_optarg= ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case "$ac_option" in + + -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 ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build="$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" ;; + + -cc=* | --cc=* ) + CC="$ac_optarg" ; echo using $CC as compiler ;; + + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ + | --da=*) + datadir="$ac_optarg" ;; + + -disable-* | --disable-*) + ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` + # Reject names that are not valid shell variable names. +changequote(, )dnl + if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then +changequote([, ])dnl + AC_MSG_ERROR($ac_feature: invalid feature name) + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + eval "enable_${ac_feature}=no" ;; + + -enable-* | --enable-*) + ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. +changequote(, )dnl + if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then +changequote([, ])dnl + AC_MSG_ERROR($ac_feature: invalid feature name) + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) ac_optarg=yes ;; + esac + eval "enable_${ac_feature}='$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) + # 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 << EOF +changequote(, )dnl +Usage: configure [options] [host] +Options: [defaults in brackets after descriptions] +Configuration: + --cache-file=FILE cache test results in FILE + --help print this message + --no-create do not create output files + --quiet, --silent do not print \`checking...' messages + --version print the version of autoconf that created configure +Directory and file names: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [same as prefix] + --bindir=DIR user executables in DIR [EPREFIX/bin] + --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] + --libexecdir=DIR program executables in DIR [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data in DIR + [PREFIX/share] + --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data in DIR + [PREFIX/com] + --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] + --libdir=DIR object code libraries in DIR [EPREFIX/lib] + --includedir=DIR C header files in DIR [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] + --infodir=DIR info documentation in DIR [PREFIX/info] + --mandir=DIR man documentation in DIR [PREFIX/man] + --srcdir=DIR find the sources in DIR [configure dir or ..] + --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 +EOF + cat << EOF +Host type: + --build=BUILD configure for building on BUILD [BUILD=HOST] + --host=HOST configure for HOST [guessed] + --target=TARGET configure for TARGET [TARGET=HOST] +Features and packages: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --x-includes=DIR X include files are in DIR + --x-libraries=DIR X library files are in DIR +changequote([, ])dnl +EOF + if test -n "$ac_help"; then + echo "--enable and --with options recognized:$ac_help" + fi + exit 0 ;; + + -host | --host | --hos | --ho) + ac_prev=host ;; + -host=* | --host=* | --hos=* | --ho=*) + host="$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" ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst \ + | --locals | --local | --loca | --loc | --lo) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* \ + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) + 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) + 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" ;; + + -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 ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target="$ac_optarg" ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers) + echo "configure generated by autoconf version AC_ACVERSION AC_ACVERSION_SCHILY" + exit 0 ;; + + -with-* | --with-*) + ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. +changequote(, )dnl + if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then +changequote([, ])dnl + AC_MSG_ERROR($ac_package: invalid package name) + fi + ac_package=`echo $ac_package| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) ac_optarg=yes ;; + esac + eval "with_${ac_package}='$ac_optarg'" ;; + + -without-* | --without-*) + ac_package=`echo $ac_option|sed -e 's/-*without-//'` + # Reject names that are not valid shell variable names. +changequote(, )dnl + if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then +changequote([, ])dnl + AC_MSG_ERROR($ac_package: invalid package name) + fi + ac_package=`echo $ac_package| sed 's/-/_/g'` + eval "with_${ac_package}=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" ;; + + -*) AC_MSG_ERROR([$ac_option: invalid option; use --help to show usage]) + ;; + + *) +changequote(, )dnl + if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then +changequote([, ])dnl + AC_MSG_WARN($ac_option: invalid host type) + fi + if test "x$nonopt" != xNONE; then + AC_MSG_ERROR(can only configure for one host and one target at a time) + fi + nonopt="$ac_option" + ;; + + esac +done + +if test -n "$ac_prev"; then + AC_MSG_ERROR(missing argument to --`echo $ac_prev | sed 's/_/-/g'`) +fi +]) + +dnl Try to have only one #! line, so the script doesn't look funny +dnl for users of AC_REVISION. +dnl AC_INIT_BINSH() +AC_DEFUN(AC_INIT_BINSH, +[#! /bin/sh +]) + +dnl AC_INIT(UNIQUE-FILE-IN-SOURCE-DIR) +AC_DEFUN(AC_INIT, +[sinclude(acsite.m4)dnl +sinclude(./aclocal.m4)dnl +AC_REQUIRE([AC_INIT_BINSH])dnl +AC_INIT_NOTICE +AC_DIVERT_POP()dnl to NORMAL +AC_DIVERT_PUSH(AC_DIVERSION_INIT)dnl +AC_INIT_PARSE_ARGS +AC_INIT_PREPARE($1)dnl +AC_DIVERT_POP()dnl to NORMAL +]) + +dnl AC_INIT_PREPARE(UNIQUE-FILE-IN-SOURCE-DIR) +AC_DEFUN(AC_INIT_PREPARE, +[trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +# File descriptor usage: +# 0 standard input +# 1 file creation +# 2 errors and warnings +# 3 some systems may open it to /dev/tty +# 4 used on the Kubota Titan +define(AC_FD_MSG, 6)dnl +[#] AC_FD_MSG checking for... messages and results +define(AC_FD_CC, 5)dnl +[#] AC_FD_CC compiler messages saved in config.log +if test "$silent" = yes; then + exec AC_FD_MSG>/dev/null +else + exec AC_FD_MSG>&1 +fi +exec AC_FD_CC>./config.log + +echo "\ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. +" 1>&AC_FD_CC + +# Strip out --no-create and --no-recursion so they do not pile up. +# Also quote any args containing shell metacharacters. +ac_configure_args= +for ac_arg +do + case "$ac_arg" in + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c) ;; + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; +changequote(<<, >>)dnl +dnl If you change this globbing pattern, test it on an old shell -- +dnl it's sensitive. Putting any kind of quote in it causes syntax errors. + *" "*|*" "*|*[\[\]\~\<<#>>\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) + ac_configure_args="$ac_configure_args '$ac_arg'" ;; +changequote([, ])dnl + *) ac_configure_args="$ac_configure_args $ac_arg" ;; + esac +done + +# NLS nuisances. +# Only set these to C if already set. These must not be set unconditionally +# because not all systems understand e.g. LANG=C (notably SCO). +# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! +# Non-C LC_CTYPE values break the ctype check. +if test "${LANG+set}" = set; then LANG=C; export LANG; fi +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi +if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi +if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -rf conftest* confdefs.h +# AIX cpp loses on an empty file, so make sure it contains at least a newline. +echo > confdefs.h + +# A filename unique to this package, relative to the directory that +# configure is in, which we can look for to find out if srcdir is correct. +ac_unique_file=$1 + +# 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 its parent. + ac_prog=[$]0 +changequote(, )dnl + ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` +changequote([, ])dnl + test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. + 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 + if test "$ac_srcdir_defaulted" = yes; then + AC_MSG_ERROR(can not find sources in $ac_confdir or ..) + else + AC_MSG_ERROR(can not find sources in $srcdir) + fi +fi +dnl Double slashes in pathnames in object file debugging info +dnl mess up M-x gdb in Emacs. +changequote(, )dnl +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` +changequote([, ])dnl + +dnl Let the site file select an alternate cache file if it wants to. +AC_SITE_LOAD +AC_CACHE_LOAD +AC_LANG_C +dnl By default always use an empty string as the executable +dnl extension. Only change it if the script calls AC_EXEEXT. +ac_exeext= +ac_xexeext= +dnl By default assume that objects files use an extension of .o. Only +dnl change it if the script calls AC_OBJEXT. +ac_objext=o +AC_PROG_ECHO_N +dnl Substitute for predefined variables. +AC_SUBST(SHELL)dnl +AC_SUBST(CFLAGS)dnl +AC_SUBST(CPPFLAGS)dnl +AC_SUBST(CXXFLAGS)dnl +AC_SUBST(FFLAGS)dnl +AC_SUBST(DEFS)dnl +AC_SUBST(LDFLAGS)dnl +AC_SUBST(LIBS)dnl +AC_SUBST(exec_prefix)dnl +AC_SUBST(prefix)dnl +AC_SUBST(program_transform_name)dnl +dnl Installation directory options. +AC_SUBST(bindir)dnl +AC_SUBST(sbindir)dnl +AC_SUBST(libexecdir)dnl +AC_SUBST(datadir)dnl +AC_SUBST(sysconfdir)dnl +AC_SUBST(sharedstatedir)dnl +AC_SUBST(localstatedir)dnl +AC_SUBST(libdir)dnl +AC_SUBST(includedir)dnl +AC_SUBST(oldincludedir)dnl +AC_SUBST(infodir)dnl +AC_SUBST(mandir)dnl +]) + + +dnl ### Selecting optional features + + +dnl AC_ARG_ENABLE(FEATURE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE]) +AC_DEFUN(AC_ARG_ENABLE, +[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl +ac_help="$ac_help +[$2]" +AC_DIVERT_POP()dnl +[#] Check whether --enable-[$1] or --disable-[$1] was given. +if test "[${enable_]patsubst([$1], -, _)+set}" = set; then + enableval="[$enable_]patsubst([$1], -, _)" + ifelse([$3], , :, [$3]) +ifelse([$4], , , [else + $4 +])dnl +fi +]) + +AC_DEFUN(AC_ENABLE, +[AC_OBSOLETE([$0], [; instead use AC_ARG_ENABLE])dnl +AC_ARG_ENABLE([$1], [ --enable-$1], [$2], [$3])dnl +]) + + +dnl ### Working with optional software + + +dnl AC_ARG_WITH(PACKAGE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE]) +AC_DEFUN(AC_ARG_WITH, +[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl +ac_help="$ac_help +[$2]" +AC_DIVERT_POP()dnl +[#] Check whether --with-[$1] or --without-[$1] was given. +if test "[${with_]patsubst([$1], -, _)+set}" = set; then + withval="[$with_]patsubst([$1], -, _)" + ifelse([$3], , :, [$3]) +ifelse([$4], , , [else + $4 +])dnl +fi +]) + +AC_DEFUN(AC_WITH, +[AC_OBSOLETE([$0], [; instead use AC_ARG_WITH])dnl +AC_ARG_WITH([$1], [ --with-$1], [$2], [$3])dnl +]) + + +dnl ### Transforming program names. + + +dnl AC_ARG_PROGRAM() +AC_DEFUN(AC_ARG_PROGRAM, +[if test "$program_transform_name" = s,x,x,; then + program_transform_name= +else + # Double any \ or $. echo might interpret backslashes. + cat <<\EOF_SED > conftestsed +s,\\,\\\\,g; s,\$,$$,g +EOF_SED + program_transform_name="`echo $program_transform_name|sed -f conftestsed`" + rm -f conftestsed +fi +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" + +# sed with no file args requires a program. +test "$program_transform_name" = "" && program_transform_name="s,x,x," +]) + + +dnl ### Version numbers + + +dnl AC_REVISION(REVISION-INFO) +AC_DEFUN(AC_REVISION, +[AC_REQUIRE([AC_INIT_BINSH])dnl +[# From configure.in] translit([$1], $")]) + +dnl Subroutines of AC_PREREQ. + +dnl Change the dots in NUMBER into commas. +dnl AC_PREREQ_SPLIT(NUMBER) +define(AC_PREREQ_SPLIT, +[translit($1, ., [, ])]) + +dnl Default the ternary version number to 0 (e.g., 1, 7 -> 1, 7, 0). +dnl AC_PREREQ_CANON(MAJOR, MINOR [,TERNARY]) +define(AC_PREREQ_CANON, +[$1, $2, ifelse([$3], , 0, [$3])]) + +dnl Complain and exit if version number 1 is less than version number 2. +dnl PRINTABLE2 is the printable version of version number 2. +dnl AC_PREREQ_COMPARE(MAJOR1, MINOR1, TERNARY1, MAJOR2, MINOR2, TERNARY2, +dnl PRINTABLE2) +define(AC_PREREQ_COMPARE, +[ifelse(builtin([eval], +[$3 + $2 * 1000 + $1 * 1000000 < $6 + $5 * 1000 + $4 * 1000000]), 1, +[errprint(dnl +FATAL ERROR: Autoconf version $7 or higher is required for this script +)m4exit(3)])]) + +dnl Complain and exit if the Autoconf version is less than VERSION. +dnl AC_PREREQ(VERSION) +define(AC_PREREQ, +[AC_PREREQ_COMPARE(AC_PREREQ_CANON(AC_PREREQ_SPLIT(AC_ACVERSION)), +AC_PREREQ_CANON(AC_PREREQ_SPLIT([$1])), [$1])]) + + +dnl ### Getting the canonical system type + + +dnl Find install-sh, config.sub, config.guess, and Cygnus configure +dnl in directory DIR. These are auxiliary files used in configuration. +dnl DIR can be either absolute or relative to $srcdir. +dnl AC_CONFIG_AUX_DIR(DIR) +AC_DEFUN(AC_CONFIG_AUX_DIR, +[AC_CONFIG_AUX_DIRS($1 $srcdir/$1)]) + +dnl The default is `$srcdir' or `$srcdir/..' or `$srcdir/../..'. +dnl There's no need to call this macro explicitly; just AC_REQUIRE it. +AC_DEFUN(AC_CONFIG_AUX_DIR_DEFAULT, +[AC_CONFIG_AUX_DIRS($srcdir $srcdir/.. $srcdir/../..)]) + +dnl Internal subroutine. +dnl Search for the configuration auxiliary files in directory list $1. +dnl We look only for install-sh, so users of AC_PROG_INSTALL +dnl do not automatically need to distribute the other auxiliary files. +dnl AC_CONFIG_AUX_DIRS(DIR ...) +AC_DEFUN(AC_CONFIG_AUX_DIRS, +[ac_aux_dir= +for ac_dir in $1; 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 + fi +done +if test -z "$ac_aux_dir"; then + AC_MSG_ERROR([can not find install-sh or install.sh in $1]) +fi +ac_config_guess=$ac_aux_dir/config.guess +ac_config_sub=$ac_aux_dir/config.sub +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. +AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +]) + +dnl Canonicalize the host, target, and build system types. +AC_DEFUN(AC_CANONICAL_SYSTEM, +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +AC_BEFORE([$0], [AC_ARG_PROGRAM]) +# Do some error checking and defaulting for the host and target type. +# The inputs are: +# configure --host=HOST --target=TARGET --build=BUILD NONOPT +# +# The rules are: +# 1. You are not allowed to specify --host, --target, and nonopt at the +# same time. +# 2. Host defaults to nonopt. +# 3. If nonopt is not specified, then host defaults to the current host, +# as determined by config.guess. +# 4. Target and build default to nonopt. +# 5. If nonopt is not specified, then target and build default to host. + +# The aliases save the names the user supplied, while $host etc. +# will get canonicalized. +case $host---$target---$nonopt in +NONE---*---* | *---NONE---* | *---*---NONE) ;; +*) AC_MSG_ERROR(can only configure for one host and one target at a time) ;; +esac + +AC_CANONICAL_HOST +AC_CANONICAL_TARGET +AC_CANONICAL_BUILD +test "$host_alias" != "$target_alias" && + test "$program_prefix$program_suffix$program_transform_name" = \ + NONENONEs,x,x, && + program_prefix=${target_alias}- +]) + +dnl Subroutines of AC_CANONICAL_SYSTEM. + +AC_DEFUN(AC_CANONICAL_HOST, +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl + +# Make sure we can run config.sub. +if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : +else AC_MSG_ERROR(can not run $ac_config_sub) +fi + +AC_MSG_CHECKING(host system type) + +dnl Set host_alias. +host_alias=$host +case "$host_alias" in +NONE) + case $nonopt in + NONE) + if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : + else AC_MSG_ERROR(can not guess host type; you must specify one) + fi ;; + *) host_alias=$nonopt ;; + esac ;; +esac + +dnl Set the other host vars. +changequote(<<, >>)dnl +host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` +host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +changequote([, ])dnl +AC_MSG_RESULT($host) +AC_SUBST(host)dnl +AC_SUBST(host_alias)dnl +AC_SUBST(host_cpu)dnl +AC_SUBST(host_vendor)dnl +AC_SUBST(host_os)dnl +]) + +dnl Internal use only. +AC_DEFUN(AC_CANONICAL_TARGET, +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +AC_MSG_CHECKING(target system type) + +dnl Set target_alias. +target_alias=$target +case "$target_alias" in +NONE) + case $nonopt in + NONE) target_alias=$host_alias ;; + *) target_alias=$nonopt ;; + esac ;; +esac + +dnl Set the other target vars. +changequote(<<, >>)dnl +target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` +target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +changequote([, ])dnl +AC_MSG_RESULT($target) +AC_SUBST(target)dnl +AC_SUBST(target_alias)dnl +AC_SUBST(target_cpu)dnl +AC_SUBST(target_vendor)dnl +AC_SUBST(target_os)dnl +]) + +dnl Internal use only. +AC_DEFUN(AC_CANONICAL_BUILD, +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +AC_MSG_CHECKING(build system type) + +dnl Set build_alias. +build_alias=$build +case "$build_alias" in +NONE) + case $nonopt in + NONE) build_alias=$host_alias ;; + *) build_alias=$nonopt ;; + esac ;; +esac + +dnl Set the other build vars. +changequote(<<, >>)dnl +build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` +build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +changequote([, ])dnl +AC_MSG_RESULT($build) +AC_SUBST(build)dnl +AC_SUBST(build_alias)dnl +AC_SUBST(build_cpu)dnl +AC_SUBST(build_vendor)dnl +AC_SUBST(build_os)dnl +]) + + +dnl AC_VALIDATE_CACHED_SYSTEM_TUPLE[(cmd)] +dnl if the cache file is inconsistent with the current host, +dnl target and build system types, execute CMD or print a default +dnl error message. +AC_DEFUN(AC_VALIDATE_CACHED_SYSTEM_TUPLE, [ + AC_REQUIRE([AC_CANONICAL_SYSTEM]) + AC_MSG_CHECKING([cached system tuple]) + if { test x"${ac_cv_host_system_type+set}" = x"set" && + test x"$ac_cv_host_system_type" != x"$host"; } || + { test x"${ac_cv_build_system_type+set}" = x"set" && + test x"$ac_cv_build_system_type" != x"$build"; } || + { test x"${ac_cv_target_system_type+set}" = x"set" && + test x"$ac_cv_target_system_type" != x"$target"; }; then + AC_MSG_RESULT([different]) + ifelse($#, 1, [$1], + [AC_MSG_ERROR([remove config.cache and re-run configure])]) + else + AC_MSG_RESULT(ok) + fi + ac_cv_host_system_type="$host" + ac_cv_build_system_type="$build" + ac_cv_target_system_type="$target" +]) + + +dnl ### Caching test results + + +dnl Look for site or system specific initialization scripts. +dnl AC_SITE_LOAD() +define(AC_SITE_LOAD, +[# Prefer explicitly selected file to automatically selected ones. +if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + fi +fi +for ac_site_file in $CONFIG_SITE; do + if test -r "$ac_site_file"; then + echo "loading site script $ac_site_file" + . "$ac_site_file" + fi +done +]) + +dnl AC_CACHE_LOAD() +define(AC_CACHE_LOAD, +[if test -r "$cache_file"; then + echo "loading cache $cache_file" + . $cache_file +else + echo "creating cache $cache_file" + > $cache_file +fi +]) + +dnl AC_CACHE_SAVE() +define(AC_CACHE_SAVE, +[cat > confcache <<\EOF +# 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. It is not useful on other systems. +# If it contains results you don't want to keep, you may remove or edit it. +# +# By default, configure uses ./config.cache as the cache file, +# creating it if it does not exist already. You can give configure +# the --cache-file=FILE option to use a different cache file; that is +# what configure does when it calls configure scripts in +# subdirectories, so they share the cache. +# Giving --cache-file=/dev/null disables caching, for debugging configure. +# config.status only pays attention to the cache file if you give it the +# --recheck option to rerun configure. +# +EOF +dnl Allow a site initialization script to override cache values. +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, don't put newlines in cache variables' values. +# 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. +changequote(, )dnl +(set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote substitution + # turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + -e "s/'/'\\\\''/g" \ + -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' + ;; + esac >> confcache +changequote([, ])dnl +if cmp -s $cache_file confcache; then + : +else + if test -w $cache_file; then + echo "updating cache $cache_file" + cat confcache > $cache_file + else + echo "not updating unwritable cache $cache_file" + fi +fi +rm -f confcache +]) + +dnl The name of shell var CACHE-ID must contain `_cv_' in order to get saved. +dnl AC_CACHE_VAL(CACHE-ID, COMMANDS-TO-SET-IT) +define(AC_CACHE_VAL, +[dnl We used to use the below line, but it fails if the 1st arg is a +dnl shell variable, so we need the eval. +dnl if test "${$1+set}" = set; then +dnl the '' avoids an AIX 4.1 sh bug ("invalid expansion"). +if eval "test \"`echo '$''{'$1'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&AC_FD_MSG +else + $2 +fi +]) + +dnl AC_CACHE_CHECK(MESSAGE, CACHE-ID, COMMANDS) +define(AC_CACHE_CHECK, +[AC_MSG_CHECKING([$1]) +AC_CACHE_VAL([$2], [$3]) +AC_MSG_RESULT([$]$2)]) + + +dnl ### Defining symbols + + +dnl Set VARIABLE to VALUE, verbatim, or 1. +dnl AC_DEFINE(VARIABLE [, VALUE]) +define(AC_DEFINE, +[cat >> confdefs.h <<\EOF +[#define] $1 ifelse($#, 2, [$2], $#, 3, [$2], 1) +EOF +]) + +dnl Similar, but perform shell substitutions $ ` \ once on VALUE. +define(AC_DEFINE_UNQUOTED, +[cat >> confdefs.h <&AC_FD_MSG +echo "configure:__oline__: checking $1" >&AC_FD_CC]) + +dnl AC_CHECKING(FEATURE-DESCRIPTION) +define(AC_CHECKING, +[echo "checking $1" 1>&AC_FD_MSG +echo "configure:__oline__: checking $1" >&AC_FD_CC]) + +dnl AC_MSG_RESULT(RESULT-DESCRIPTION) +define(AC_MSG_RESULT, +[eval echo "$ac_t""$1" 1>&AC_FD_MSG]) + +dnl AC_VERBOSE(RESULT-DESCRIPTION) +define(AC_VERBOSE, +[AC_OBSOLETE([$0], [; instead use AC_MSG_RESULT])dnl +echo " $1" 1>&AC_FD_MSG]) + +dnl AC_MSG_WARN(PROBLEM-DESCRIPTION) +define(AC_MSG_WARN, +[echo "configure: warning: $1" 1>&2]) + +dnl AC_MSG_ERROR(ERROR-DESCRIPTION) +define(AC_MSG_ERROR, +[{ echo "configure: error: $1" 1>&2; exit 1; }]) + + +dnl ### Selecting which language to use for testing + + +dnl AC_LANG_C() +AC_DEFUN(AC_LANG_C, +[define([AC_LANG], [C])dnl +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&AC_FD_CC' +ac_compile2='${CC-cc} -c $CFLAGS $CPPFLAGS conftest2.$ac_ext 1>&AC_FD_CC' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS conftest.$ac_ext $LDFLAGS $LIBS 1>&AC_FD_CC' +cross_compiling=$ac_cv_prog_cc_cross +if test "$cross_compiling" = yes -a "$CONFIG_RMTCALL" != NONE ; then + cross_compiling=remote + rmtcall="$CONFIG_RMTCALL" + rmttest="$CONFIG_RMTCALL" +fi +]) + +dnl AC_LANG_CPLUSPLUS() +AC_DEFUN(AC_LANG_CPLUSPLUS, +[define([AC_LANG], [CPLUSPLUS])dnl +ac_ext=C +# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&AC_FD_CC' +ac_compile2='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest2.$ac_ext 1>&AC_FD_CC' +ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS conftest.$ac_ext $LDFLAGS $LIBS 1>&AC_FD_CC' +cross_compiling=$ac_cv_prog_cxx_cross +if test "$cross_compiling" = yes -a "$CONFIG_RMTCALL" != NONE ; then + cross_compiling=remote + rmtcall="$CONFIG_RMTCALL" + rmttest="$CONFIG_RMTCALL" +fi +]) + +dnl AC_LANG_FORTRAN77() +AC_DEFUN(AC_LANG_FORTRAN77, +[define([AC_LANG], [FORTRAN77])dnl +ac_ext=f +ac_compile='${F77-f77} -c $FFLAGS conftest.$ac_ext 1>&AC_FD_CC' +ac_compile2='${F77-f77} -c $FFLAGS conftest2.$ac_ext 1>&AC_FD_CC' +ac_link='${F77-f77} -o conftest${ac_exeext} $FFLAGS conftest.$ac_ext $LDFLAGS $LIBS 1>&AC_FD_CC' +cross_compiling=$ac_cv_prog_f77_cross +if test "$cross_compiling" = yes -a "$CONFIG_RMTCALL" != NONE ; then + cross_compiling=remote + rmtcall="$CONFIG_RMTCALL" + rmttest="$CONFIG_RMTCALL" +fi +]) + +dnl Push the current language on a stack. +dnl AC_LANG_SAVE() +define(AC_LANG_SAVE, +[pushdef([AC_LANG_STACK], AC_LANG)]) + +dnl Restore the current language from the stack. +dnl AC_LANG_RESTORE() +pushdef([AC_LANG_RESTORE], +[ifelse(AC_LANG_STACK, [C], [AC_LANG_C],dnl +AC_LANG_STACK, [CPLUSPLUS], [AC_LANG_CPLUSPLUS],dnl +AC_LANG_STACK, [FORTRAN77], [AC_LANG_FORTRAN77])[]popdef([AC_LANG_STACK])]) + + +dnl ### Compiler-running mechanics + + +dnl The purpose of this macro is to "configure:123: command line" +dnl written into config.log for every test run. +dnl +dnl Note that previous versions of AC_TRY_EVAL did use () around the complete +dnl eval commands. This causes unneeded sub-shells and reduces the performance +dnl by 5% with a typical shell. +dnl Given that the command passed to "eval" is in a shell variable, I/O +dnl redirections and pipe calls in that variable are not parsed by the first +dnl shell parser call but passed as textual arguments to the "eval" builtin and +dnl then parsed inside "eval". For this reason there is no need for the () even +dnl in case that the command contains an I/O redirection. +dnl +dnl AC_TRY_EVAL(VARIABLE) +AC_DEFUN(AC_TRY_EVAL, +[{ eval echo configure:__oline__: \"[$]$1\" 1>&AC_FD_CC; dnl +eval [$]$1 2>&AC_FD_CC; }]) + +dnl AC_TRY_COMMAND(COMMAND) +AC_DEFUN(AC_TRY_COMMAND, +[{ ac_try='$1'; AC_TRY_EVAL(ac_try); }]) + + +dnl ### Dependencies between macros + + +dnl AC_BEFORE(THIS-MACRO-NAME, CALLED-MACRO-NAME) +define(AC_BEFORE, +[ifdef([AC_PROVIDE_$2], [errprint(__file__:__line__: [$2 was called before $1 +])])]) + +dnl AC_REQUIRE(MACRO-NAME) +define(AC_REQUIRE, +[ifdef([AC_PROVIDE_$1], , +[AC_DIVERT_PUSH(builtin(eval, AC_DIVERSION_CURRENT - 1))dnl +indir([$1]) +AC_DIVERT_POP()dnl +])]) + +dnl AC_PROVIDE(MACRO-NAME) +define(AC_PROVIDE, +[define([AC_PROVIDE_$1], )]) + +dnl AC_OBSOLETE(THIS-MACRO-NAME [, SUGGESTION]) +define(AC_OBSOLETE, +[errprint(__file__:__line__: warning: [$1] is obsolete[$2] +)]) + + +dnl ### Checking for programs + + +dnl AC_CHECK_PROG(VARIABLE, PROG-TO-CHECK-FOR, VALUE-IF-FOUND +dnl [, [VALUE-IF-NOT-FOUND] [, [PATH] [, [REJECT]]]]) +AC_DEFUN(AC_CHECK_PROG, +[# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_prog_$1, +[if test -n "[$]$1"; then + ac_cv_prog_$1="[$]$1" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" +ifelse([$6], , , [ ac_prog_rejected=no +])dnl +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$5], , $PATH, [$5])" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then +ifelse([$6], , , dnl +[ if test "[$ac_dir/$ac_word]" = "$6"; then + ac_prog_rejected=yes + continue + fi +])dnl + ac_cv_prog_$1="$3" + break + fi + done + IFS="$ac_save_ifs" +ifelse([$6], , , [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_$1 + shift + if test [$]# -gt 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 $1 to just the basename; use the full file name. + shift + set dummy "$ac_dir/$ac_word" "[$]@" + shift + ac_cv_prog_$1="[$]@" +ifelse([$2], [$4], dnl +[ else + # Default is a loser. + AC_MSG_ERROR([$1=$6 unacceptable, but no other $4 found in dnl +ifelse([$5], , [\$]PATH, [$5])]) +])dnl + fi +fi +])dnl +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_CHECK_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_prog_$1" && ac_cv_prog_$1="$4" +])dnl +fi])dnl +$1="$ac_cv_prog_$1" +if test -n "[$]$1"; then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) + +dnl AC_PATH_PROG(VARIABLE, PROG-TO-CHECK-FOR [, VALUE-IF-NOT-FOUND [, PATH]]) +AC_DEFUN(AC_PATH_PROG, +[# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + /*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + ?:/*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a dos path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$4], , $PATH, [$4])" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_$1="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" +dnl If no 3rd arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$3], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$3" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test -n "[$]$1"; then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) + +dnl AC_CHECK_PROGS(VARIABLE, PROGS-TO-CHECK-FOR [, VALUE-IF-NOT-FOUND +dnl [, PATH]]) +AC_DEFUN(AC_CHECK_PROGS, +[for ac_prog in $2 +do +AC_CHECK_PROG($1, [$]ac_prog, [$]ac_prog, , $4) +test -n "[$]$1" && break +done +ifelse([$3], , , [test -n "[$]$1" || $1="$3" +])]) + +dnl AC_PATH_PROGS(VARIABLE, PROGS-TO-CHECK-FOR [, VALUE-IF-NOT-FOUND +dnl [, PATH]]) +AC_DEFUN(AC_PATH_PROGS, +[for ac_prog in $2 +do +AC_PATH_PROG($1, [$]ac_prog, , $4) +test -n "[$]$1" && break +done +ifelse([$3], , , [test -n "[$]$1" || $1="$3" +])]) + +dnl Internal subroutine. +AC_DEFUN(AC_CHECK_TOOL_PREFIX, +[AC_REQUIRE([AC_CANONICAL_HOST])AC_REQUIRE([AC_CANONICAL_BUILD])dnl +if test $host != $build; then + ac_tool_prefix=${host_alias}- +else + ac_tool_prefix= +fi +]) + +dnl AC_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]]) +AC_DEFUN(AC_CHECK_TOOL, +[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl +AC_CHECK_PROG($1, ${ac_tool_prefix}$2, ${ac_tool_prefix}$2, + ifelse([$3], , [$2], ), $4) +ifelse([$3], , , [ +if test -z "$ac_cv_prog_$1"; then +if test -n "$ac_tool_prefix"; then + AC_CHECK_PROG($1, $2, $2, $3) +else + $1="$3" +fi +fi]) +]) + +dnl Guess the value for the `prefix' variable by looking for +dnl the argument program along PATH and taking its parent. +dnl Example: if the argument is `gcc' and we find /usr/local/gnu/bin/gcc, +dnl set `prefix' to /usr/local/gnu. +dnl This comes too late to find a site file based on the prefix, +dnl and it might use a cached value for the path. +dnl No big loss, I think, since most configures don't use this macro anyway. +dnl AC_PREFIX_PROGRAM(PROGRAM) +AC_DEFUN(AC_PREFIX_PROGRAM, +[if test "x$prefix" = xNONE; then +changequote(<<, >>)dnl +define(<>, translit($1, [a-z], [A-Z]))dnl +changequote([, ])dnl +dnl We reimplement AC_MSG_CHECKING (mostly) to avoid the ... in the middle. +echo $ac_n "checking for prefix by $ac_c" 1>&AC_FD_MSG +AC_PATH_PROG(AC_VAR_NAME, $1) +changequote(<<, >>)dnl + if test -n "$ac_cv_path_<<>>AC_VAR_NAME"; then + prefix=`echo $ac_cv_path_<<>>AC_VAR_NAME|sed 's%/[^/][^/]*//*[^/][^/]*$%%'` +changequote([, ])dnl + fi +fi +undefine([AC_VAR_NAME])dnl +]) + +dnl Try to compile, link and execute TEST-PROGRAM. Set WORKING-VAR to +dnl `yes' if the current compiler works, otherwise set it ti `no'. Set +dnl CROSS-VAR to `yes' if the compiler and linker produce non-native +dnl executables, otherwise set it to `no'. Before calling +dnl `AC_TRY_COMPILER()', call `AC_LANG_*' to set-up for the right +dnl language. +dnl +dnl AC_TRY_COMPILER(TEST-PROGRAM, WORKING-VAR, CROSS-VAR) +AC_DEFUN(AC_TRY_COMPILER, +[cat > conftest.$ac_ext << EOF +ifelse(AC_LANG, [FORTRAN77], , +[ +[#]line __oline__ "configure" +#include "confdefs.h" +]) +[$1] +EOF +if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + [$2]=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest${ac_xexeext}; exit) 2>/dev/null; then + [$3]=no + else + [$3]=yes + fi +else + echo "configure: failed program was:" >&AC_FD_CC + cat conftest.$ac_ext >&AC_FD_CC + [$2]=no +fi +rm -fr conftest*]) + + +dnl ### Checking for libraries + + +dnl AC_TRY_LINK_FUNC(func, action-if-found, action-if-not-found) +dnl Try to link a program that calls FUNC, handling GCC builtins. If +dnl the link succeeds, execute ACTION-IF-FOUND; otherwise, execute +dnl ACTION-IF-NOT-FOUND. + +AC_DEFUN(AC_TRY_LINK_FUNC, +AC_TRY_LINK(dnl +ifelse([$1], [main], , dnl Avoid conflicting decl of main. +[/* Override any gcc2 internal prototype to avoid an error. */ +]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus +extern "C" +#endif +])dnl +[/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $1(); +]), +[$1()], +[$2], +[$3])) + + +dnl AC_SEARCH_LIBS(FUNCTION, SEARCH-LIBS [, ACTION-IF-FOUND +dnl [, ACTION-IF-NOT-FOUND [, OTHER-LIBRARIES]]]) +dnl Search for a library defining FUNC, if it's not already available. + +AC_DEFUN(AC_SEARCH_LIBS, +[AC_PREREQ([2.13]) +AC_CACHE_CHECK([for library containing $1], [ac_cv_search_$1], +[ac_func_search_save_LIBS="$LIBS" +ac_cv_search_$1="no" +AC_TRY_LINK_FUNC([$1], [ac_cv_search_$1="none required"]) +test "$ac_cv_search_$1" = "no" && for i in $2; do +LIBS="-l$i $5 $ac_func_search_save_LIBS" +AC_TRY_LINK_FUNC([$1], +[ac_cv_search_$1="-l$i" +break]) +done +LIBS="$ac_func_search_save_LIBS"]) +if test "$ac_cv_search_$1" != "no"; then + test "$ac_cv_search_$1" = "none required" || LIBS="$ac_cv_search_$1 $LIBS" + $3 +else : + $4 +fi]) + + + +dnl AC_CHECK_LIB(LIBRARY, FUNCTION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND +dnl [, OTHER-LIBRARIES]]]) +AC_DEFUN(AC_CHECK_LIB, +[AC_MSG_CHECKING([for $2 in -l$1]) +dnl Use a cache variable name containing both the library and function name, +dnl because the test really is for library $1 defining function $2, not +dnl just for library $1. Separate tests with the same $1 and different $2s +dnl may have different results. +ac_lib_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'` +AC_CACHE_VAL(ac_cv_lib_$ac_lib_var, +[ac_save_LIBS="$LIBS" +LIBS=`echo "-l$1 $5 $LIBS" | sed -e 's/-lc //'` +AC_TRY_LINK(dnl +ifelse(AC_LANG, [FORTRAN77], , +ifelse([$2], [main], , dnl Avoid conflicting decl of main. +[/* Override any gcc2 internal prototype to avoid an error. */ +]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus +extern "C" +#endif +])dnl +[/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $2(); +])), + [$2()], + eval "ac_cv_lib_$ac_lib_var=yes", + eval "ac_cv_lib_$ac_lib_var=no") +LIBS="$ac_save_LIBS" +])dnl +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + AC_MSG_RESULT(yes) + ifelse([$3], , +[changequote(, )dnl + ac_tr_lib=HAVE_LIB`echo $1 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` +changequote([, ])dnl + AC_DEFINE_UNQUOTED($ac_tr_lib) + LIBS="-l$1 $LIBS" +], [$3]) +else + AC_MSG_RESULT(no) +ifelse([$4], , , [$4 +])dnl +fi +]) + +dnl AC_HAVE_LIBRARY(LIBRARY, [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND +dnl [, OTHER-LIBRARIES]]]) +AC_DEFUN(AC_HAVE_LIBRARY, +[AC_OBSOLETE([$0], [; instead use AC_CHECK_LIB])dnl +changequote(<<, >>)dnl +define(<>, dnl +patsubst(patsubst($1, <>, <<\1>>), <<-l>>, <<>>))dnl +define(<>, ac_cv_lib_<<>>AC_LIB_NAME)dnl +changequote([, ])dnl +AC_MSG_CHECKING([for -l[]AC_LIB_NAME]) +AC_CACHE_VAL(AC_CV_NAME, +[ac_save_LIBS="$LIBS" +LIBS="-l[]AC_LIB_NAME[] $4 $LIBS" +AC_TRY_LINK( , [main()], AC_CV_NAME=yes, AC_CV_NAME=no) +LIBS="$ac_save_LIBS" +])dnl +AC_MSG_RESULT($AC_CV_NAME) +if test "$AC_CV_NAME" = yes; then + ifelse([$2], , +[AC_DEFINE([HAVE_LIB]translit(AC_LIB_NAME, [a-z], [A-Z])) + LIBS="-l[]AC_LIB_NAME[] $LIBS" +], [$2]) +ifelse([$3], , , [else + $3 +])dnl +fi +undefine([AC_LIB_NAME])dnl +undefine([AC_CV_NAME])dnl +]) + + +dnl ### Examining declarations + + +dnl AC_TRY_CPP(INCLUDES, [ACTION-IF-TRUE [, ACTION-IF-FALSE]]) +AC_DEFUN(AC_TRY_CPP, +[AC_REQUIRE_CPP()dnl +cat > conftest.$ac_ext <&AC_FD_CC + echo "configure: failed program was:" >&AC_FD_CC + cat conftest.$ac_ext >&AC_FD_CC +ifelse([$3], , , [ rm -rf conftest* + $3 +])dnl +fi +rm -f conftest*]) + +dnl AC_EGREP_HEADER(PATTERN, HEADER-FILE, ACTION-IF-FOUND [, +dnl ACTION-IF-NOT-FOUND]) +AC_DEFUN(AC_EGREP_HEADER, +[AC_EGREP_CPP([$1], [#include <$2>], [$3], [$4])]) + +dnl Because this macro is used by AC_PROG_GCC_TRADITIONAL, which must +dnl come early, it is not included in AC_BEFORE checks. +dnl AC_EGREP_CPP(PATTERN, PROGRAM, [ACTION-IF-FOUND [, +dnl ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_EGREP_CPP, +[AC_REQUIRE_CPP()dnl +cat > conftest.$ac_ext <&AC_FD_CC | +dnl Prevent m4 from eating character classes: +changequote(, )dnl + egrep "$1" >/dev/null 2>&1; then +changequote([, ])dnl + ifelse([$3], , :, [rm -rf conftest* + $3]) +ifelse([$4], , , [else + rm -rf conftest* + $4 +])dnl +fi +rm -f conftest* +]) + + +dnl ### Examining syntax + + +dnl AC_TRY_COMPILE(INCLUDES, FUNCTION-BODY, +dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_TRY_COMPILE, +[cat > conftest.$ac_ext <&AC_FD_CC + cat conftest.$ac_ext >&AC_FD_CC +ifelse([$4], , , [ rm -rf conftest* + $4 +])dnl +fi +rm -f conftest*]) + + +dnl AC_TRY_COMPILE2(INCLUDES, FUNCTION-BODY, +dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_TRY_COMPILE2, +[cat > conftest2.$ac_ext <&AC_FD_CC + cat conftest.$ac_ext >&AC_FD_CC +ifelse([$4], , , [$4 +])dnl +fi +]) + + +dnl ### Examining libraries + + +dnl AC_COMPILE_CHECK(ECHO-TEXT, INCLUDES, FUNCTION-BODY, +dnl ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]) +AC_DEFUN(AC_COMPILE_CHECK, +[AC_OBSOLETE([$0], [; instead use AC_TRY_COMPILE or AC_TRY_LINK, and AC_MSG_CHECKING and AC_MSG_RESULT])dnl +ifelse([$1], , , [AC_CHECKING([for $1]) +])dnl +AC_TRY_LINK([$2], [$3], [$4], [$5]) +]) + +dnl AC_TRY_LINK(INCLUDES, FUNCTION-BODY, +dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_TRY_LINK, +[cat > conftest.$ac_ext <&AC_FD_CC + cat conftest.$ac_ext >&AC_FD_CC +ifelse([$4], , , [ rm -rf conftest* + $4 +])dnl +fi +rm -f conftest*]) + + +dnl ### Checking for run-time features + + +dnl AC_TRY_RUN(PROGRAM, [ACTION-IF-TRUE [, ACTION-IF-FALSE +dnl [, ACTION-IF-CROSS-COMPILING]]]) +AC_DEFUN(AC_TRY_RUN, +[if test "$cross_compiling" = yes; then + ifelse([$4], , + [errprint(__file__:__line__: warning: [AC_TRY_RUN] called without default to allow cross compiling +)dnl + AC_MSG_ERROR(can not run test program while cross compiling)], + [$4]) +else + AC_TRY_RUN_NATIVE([$1], [$2], [$3]) +fi +]) + +dnl Like AC_TRY_RUN but assumes a native-environment (non-cross) compiler. +dnl AC_TRY_RUN_NATIVE(PROGRAM, [ACTION-IF-TRUE [, ACTION-IF-FALSE]]) +AC_DEFUN(AC_TRY_RUN_NATIVE, +[cat > conftest.$ac_ext </dev/null +then +dnl Don't remove the temporary files here, so they can be examined. + ifelse([$2], , :, [$2]) +else + echo "configure: failed program was:" >&AC_FD_CC + cat conftest.$ac_ext >&AC_FD_CC +ifelse([$3], , , [ rm -fr conftest* + $3 +])dnl +fi +rm -fr conftest*]) + + +dnl ### Checking for header files + + +dnl AC_CHECK_HEADER(HEADER-FILE, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_CHECK_HEADER, +[dnl Do the transliteration at runtime so arg 1 can be a shell variable. +ac_safe=`echo "$1" | sed 'y%./+-%__p_%'` +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(ac_cv_header_$ac_safe, +[AC_TRY_CPP([#include <$1>], eval "ac_cv_header_$ac_safe=yes", + eval "ac_cv_header_$ac_safe=no")])dnl +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) +else + AC_MSG_RESULT(no) +ifelse([$3], , , [$3 +])dnl +fi +]) + +dnl AC_CHECK_HEADERS(HEADER-FILE... [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_CHECK_HEADERS, +[for ac_hdr in $1 +do +AC_CHECK_HEADER($ac_hdr, +[changequote(, )dnl + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +changequote([, ])dnl + AC_DEFINE_UNQUOTED($ac_tr_hdr) $2], $3)dnl +done +]) + + +dnl ### Checking for the existence of files + +dnl AC_CHECK_FILE(FILE, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_CHECK_FILE, +[AC_REQUIRE([AC_PROG_CC]) +dnl Do the transliteration at runtime so arg 1 can be a shell variable. +ac_safe=`echo "$1" | sed 'y%./+-%__p_%'` +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(ac_cv_file_$ac_safe, +[if test "$cross_compiling" = yes; then + errprint(__file__:__line__: warning: Cannot check for file existence when cross compiling +)dnl + AC_MSG_ERROR(Cannot check for file existence when cross compiling) +else + if $rmttest -r $1; then + eval "ac_cv_file_$ac_safe=yes" + else + eval "ac_cv_file_$ac_safe=no" + fi +fi])dnl +if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) +else + AC_MSG_RESULT(no) +ifelse([$3], , , [$3]) +fi +]) + +dnl AC_CHECK_FILES(FILE... [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_CHECK_FILES, +[for ac_file in $1 +do +AC_CHECK_FILE($ac_file, +[changequote(, )dnl + ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +changequote([, ])dnl + AC_DEFINE_UNQUOTED($ac_tr_file) $2], $3)dnl +done +]) + + +dnl ### Checking for library functions + + +dnl AC_CHECK_FUNC(FUNCTION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_CHECK_FUNC, +[AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(ac_cv_func_$1, +[AC_TRY_LINK( +dnl Don't include because on OSF/1 3.0 it includes +dnl which includes which contains a prototype for +dnl select. Similarly for bzero. +[/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $1(); below. */ +#include +/* Override any gcc2 internal prototype to avoid an error. */ +]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus +extern "C" +#endif +])dnl +[/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $1(); +], [ +/* 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_$1) || defined (__stub___$1) +choke me +#else +$1(); +#endif +], eval "ac_cv_func_$1=yes", eval "ac_cv_func_$1=no")]) +if eval "test \"`echo '$ac_cv_func_'$1`\" = yes"; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) +else + AC_MSG_RESULT(no) +ifelse([$3], , , [$3 +])dnl +fi +]) + +dnl AC_CHECK_FUNCS(FUNCTION... [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_CHECK_FUNCS, +[for ac_func in $1 +do +AC_CHECK_FUNC($ac_func, +[changequote(, )dnl + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` +changequote([, ])dnl + AC_DEFINE_UNQUOTED($ac_tr_func) $2], $3)dnl +done +]) + +dnl AC_REPLACE_FUNCS(FUNCTION...) +AC_DEFUN(AC_REPLACE_FUNCS, +[AC_CHECK_FUNCS([$1], , [LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"]) +AC_SUBST(LIBOBJS)dnl +]) + + +dnl ### Raw Checking for the pure existence of library functions + + +dnl AC_RCHECK_FUNC(FUNCTION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_RCHECK_FUNC, +[AC_MSG_CHECKING([for raw availability of $1]) +AC_CACHE_VAL(ac_cv_rfunc_$1, +[AC_TRY_LINK( +dnl Don't include because on OSF/1 3.0 it includes +dnl which includes which contains a prototype for +dnl select. Similarly for bzero. +[/* Override any gcc2 internal prototype to avoid an error. */ +]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus +extern "C" +#endif +])dnl +[/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $1(); +], [ +$1(); +], eval "ac_cv_rfunc_$1=yes", eval "ac_cv_rfunc_$1=no")]) +if eval "test \"`echo '$ac_cv_rfunc_'$1`\" = yes"; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) +else + AC_MSG_RESULT(no) +ifelse([$3], , , [$3 +])dnl +fi +]) + +dnl AC_RCHECK_FUNCS(FUNCTION... [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_RCHECK_FUNCS, +[for ac_func in $1 +do +AC_RCHECK_FUNC($ac_func, +[changequote(, )dnl + ac_tr_func=HAVE_RAW_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` +changequote([, ])dnl + AC_DEFINE_UNQUOTED($ac_tr_func) $2], $3)dnl +done +]) + + +dnl ### Checking compiler characteristics + + +dnl AC_CHECK_SIZEOF(TYPE [, CROSS-SIZE]) +AC_DEFUN(AC_CHECK_SIZEOF, +[changequote(<<, >>)dnl +dnl The name to #define. +define(<>, translit(sizeof_$1, [a-z *], [A-Z_P]))dnl +dnl The cache variable name. +define(<>, translit(ac_cv_sizeof_$1, [ *], [_p]))dnl +changequote([, ])dnl +AC_MSG_CHECKING(size of $1) +AC_CACHE_VAL(AC_CV_NAME, +[AC_TRY_RUN([#include +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof($1)); + exit(0); +}], AC_CV_NAME=`cat conftestval`, AC_CV_NAME=0, ifelse([$2], , , AC_CV_NAME=$2))])dnl +AC_MSG_RESULT($AC_CV_NAME) +AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME) +undefine([AC_TYPE_NAME])dnl +undefine([AC_CV_NAME])dnl +]) + + +dnl ### Checking for typedefs + + +dnl AC_CHECK_TYPE(TYPE, DEFAULT) +AC_DEFUN(AC_CHECK_TYPE, +[AC_REQUIRE([AC_HEADER_STDC])dnl +AC_MSG_CHECKING(for $1) +AC_CACHE_VAL(ac_cv_type_$1, +[AC_EGREP_CPP(dnl +changequote(<<,>>)dnl +<<(^|[^a-zA-Z_0-9])$1[^a-zA-Z_0-9]>>dnl +changequote([,]), [#include +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif], ac_cv_type_$1=yes, ac_cv_type_$1=no)])dnl +AC_MSG_RESULT($ac_cv_type_$1) +if test $ac_cv_type_$1 = no; then + AC_DEFINE($1, $2) +fi +]) + +dnl AC_INCL_CHECK_TYPE(INCLUDES, TYPE, DEFAULT) +AC_DEFUN(AC_INCL_CHECK_TYPE, +[AC_REQUIRE([AC_HEADER_STDC])dnl +AC_MSG_CHECKING(for $2) +AC_CACHE_VAL(ac_cv_type_$2, +[AC_EGREP_CPP(dnl +changequote(<<,>>)dnl +<<(^|[^a-zA-Z_0-9])$2[^a-zA-Z_0-9]>>dnl +changequote([,]), [#include +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +$1], ac_cv_type_$2=yes, ac_cv_type_$2=no)])dnl +AC_MSG_RESULT($ac_cv_type_$2) +if test $ac_cv_type_$2 = no; then + AC_DEFINE($2, $3) +fi +]) + + +dnl ### Creating output files + + +dnl AC_CONFIG_HEADER(HEADER-TO-CREATE ...) +AC_DEFUN(AC_CONFIG_HEADER, +[define(AC_LIST_HEADER, $1)]) + +dnl Link each of the existing files SOURCE... to the corresponding +dnl link name in DEST... +dnl AC_LINK_FILES(SOURCE..., DEST...) +AC_DEFUN(AC_LINK_FILES, +[dnl +define([AC_LIST_FILES], ifdef([AC_LIST_FILES], [AC_LIST_FILES ],)[$1])dnl +define([AC_LIST_LINKS], ifdef([AC_LIST_LINKS], [AC_LIST_LINKS ],)[$2])]) + +dnl Add additional commands for AC_OUTPUT to put into config.status. +dnl Use diversions instead of macros so we can be robust in the +dnl presence of commas in $1 and/or $2. +dnl AC_OUTPUT_COMMANDS(EXTRA-CMDS, INIT-CMDS) +AC_DEFUN(AC_OUTPUT_COMMANDS, +[AC_DIVERT_PUSH(AC_DIVERSION_CMDS)dnl +[$1] +AC_DIVERT_POP()dnl +AC_DIVERT_PUSH(AC_DIVERSION_ICMDS)dnl +[$2] +AC_DIVERT_POP()]) + +dnl AC_CONFIG_SUBDIRS(DIR ...) +AC_DEFUN(AC_CONFIG_SUBDIRS, +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +define([AC_LIST_SUBDIRS], ifdef([AC_LIST_SUBDIRS], [AC_LIST_SUBDIRS ],)[$1])dnl +subdirs="AC_LIST_SUBDIRS" +AC_SUBST(subdirs)dnl +]) + +dnl The big finish. +dnl Produce config.status, config.h, and links; and configure subdirs. +dnl AC_OUTPUT([FILE...] [, EXTRA-CMDS] [, INIT-CMDS]) +define(AC_OUTPUT, +[trap '' 1 2 15 +AC_CACHE_SAVE +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +# Any assignment to VPATH causes Sun make to only execute +# the first set of double-colon rules, so remove it if not needed. +# If there is a colon in the path, we need to keep it. +if test "x$srcdir" = x.; then +changequote(, )dnl + ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' +changequote([, ])dnl +fi + +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 + +ifdef([AC_LIST_HEADER], [DEFS=-DHAVE_CONFIG_H], [AC_OUTPUT_MAKE_DEFS()]) + +# Without the "./", some shells look in PATH for config.status. +: ${CONFIG_STATUS=./config.status} + +echo creating $CONFIG_STATUS +rm -f $CONFIG_STATUS +cat > $CONFIG_STATUS </dev/null | sed 1q`: +# +[#] [$]0 [$]ac_configure_args +# +# Compiler output produced by configure, useful for debugging +# configure, is in ./config.log if it exists. + +changequote(, )dnl +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" +changequote([, ])dnl +for ac_option +do + case "[\$]ac_option" in + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + echo "running [\$]{CONFIG_SHELL-/bin/sh} [$]0 [$]ac_configure_args --no-create --no-recursion" + exec [\$]{CONFIG_SHELL-/bin/sh} [$]0 [$]ac_configure_args --no-create --no-recursion ;; + -version | --version | --versio | --versi | --vers | --ver | --ve | --v) + echo "$CONFIG_STATUS generated by autoconf version AC_ACVERSION AC_ACVERSION_SCHILY" + exit 0 ;; + -help | --help | --hel | --he | --h) + echo "[\$]ac_cs_usage"; exit 0 ;; + *) echo "[\$]ac_cs_usage"; exit 1 ;; + esac +done + +ac_given_srcdir=$srcdir +ifdef([AC_PROVIDE_AC_PROG_INSTALL], [ac_given_INSTALL="$INSTALL" +])dnl + +changequote(<<, >>)dnl +ifdef(<>, +<>, +<>) +changequote([, ])dnl +EOF +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +undivert(AC_DIVERSION_CMDS)dnl +$2 +exit 0 +EOF +chmod +x $CONFIG_STATUS +rm -fr confdefs* $ac_clean_files +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 +dnl config.status should not do recursion. +ifdef([AC_LIST_SUBDIRS], [AC_OUTPUT_SUBDIRS(AC_LIST_SUBDIRS)])dnl +])dnl + +dnl Set the DEFS variable to the -D options determined earlier. +dnl This is a subroutine of AC_OUTPUT. +dnl It is called inside configure, outside of config.status. +dnl AC_OUTPUT_MAKE_DEFS() +define(AC_OUTPUT_MAKE_DEFS, +[# Transform confdefs.h into DEFS. +dnl Using a here document instead of a string reduces the quoting nightmare. +# Protect against shell expansion while executing Makefile rules. +# Protect against Makefile macro expansion. +cat > conftest.defs <<\EOF +changequote(<<, >>)dnl +s%<<#define>> \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g +s%[ `~<<#>>$^&*(){}\\|;'"<>?]%\\&%g +s%\[%\\&%g +s%\]%\\&%g +s%\$%$$%g +changequote([, ])dnl +EOF +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` +rm -f conftest.defs +]) + +dnl Do the variable substitutions to create the Makefiles or whatever. +dnl This is a subroutine of AC_OUTPUT. It is called inside an unquoted +dnl here document whose contents are going into config.status, but +dnl upon returning, the here document is being quoted. +dnl AC_OUTPUT_FILES(FILE...) +define(AC_OUTPUT_FILES, +[# Protect against being on the right side of a sed subst in config.status. +changequote(, )dnl +sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; + s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF +changequote([, ])dnl +dnl These here document variables are unquoted when configure runs +dnl but quoted when config.status runs, so variables are expanded once. +$ac_vpsub +dnl Shell code in configure.in might set extrasub. +$extrasub +dnl Insert the sed substitutions of variables. +undivert(AC_DIVERSION_SED) +CEOF +EOF + +cat >> $CONFIG_STATUS <<\EOF + +# Split the substitutions into bite-sized pieces for seds with +# small command number limits, like on Digital OSF/1 and HP-UX. +ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. +ac_file=1 # Number of current file. +ac_beg=1 # First line for current file. +ac_end=$ac_max_sed_cmds # Line after last line for current file. +ac_more_lines=: +ac_sed_cmds="" +while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file + else + sed "${ac_end}q" conftest.subs > conftest.s$ac_file + fi + if test ! -s conftest.s$ac_file; then + ac_more_lines=false + rm -f conftest.s$ac_file + else + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f conftest.s$ac_file" + else + ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" + fi + ac_file=`expr $ac_file + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_cmds` + fi +done +if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat +fi +EOF + +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then +changequote(, )dnl + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac + + # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. + + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` +changequote([, ])dnl + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" + # A "../" for each directory in $ac_dir_suffix. +changequote(, )dnl + ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` +changequote([, ])dnl + else + ac_dir_suffix= ac_dots= + fi + + case "$ac_given_srcdir" in + .) srcdir=. + if test -z "$ac_dots"; then top_srcdir=. + else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; + *) # Relative path. + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" + top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + +ifdef([AC_PROVIDE_AC_PROG_INSTALL], +[ case "$ac_given_INSTALL" in +changequote(, )dnl + [/$]*) INSTALL="$ac_given_INSTALL" ;; +changequote([, ])dnl + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac +])dnl + + echo creating "$ac_file" + rm -f "$ac_file" + configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." + case "$ac_file" in + *Makefile*) ac_comsub="1i\\ +# $configure_input" ;; + *) ac_comsub= ;; + esac + + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + sed -e "$ac_comsub +s%@configure_input@%$configure_input%g +s%@srcdir@%$srcdir%g +s%@top_srcdir@%$top_srcdir%g +ifdef([AC_PROVIDE_AC_PROG_INSTALL], [s%@INSTALL@%$INSTALL%g +])dnl +dnl The parens around the eval prevent an "illegal io" in Ultrix sh. +" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file +dnl This would break Makefile dependencies. +dnl if cmp -s $ac_file conftest.out 2>/dev/null; then +dnl echo "$ac_file is unchanged" +dnl rm -f conftest.out +dnl else +dnl rm -f $ac_file +dnl mv conftest.out $ac_file +dnl fi +fi; done +rm -f conftest.s* +]) + +dnl Create the config.h files from the config.h.in files. +dnl This is a subroutine of AC_OUTPUT. It is called inside a quoted +dnl here document whose contents are going into config.status. +dnl AC_OUTPUT_HEADER(HEADER-FILE...) +define(AC_OUTPUT_HEADER, +[changequote(<<, >>)dnl +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where +# NAME is the cpp macro being defined and VALUE is the value it is being given. +# +# ac_d sets the value in "#define NAME VALUE" lines. +ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' +ac_dC='\3' +ac_dD='%g' +# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". +ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='\([ ]\)%\1#\2define\3' +ac_uC=' ' +ac_uD='\4%g' +# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_eB='<<$>>%\1#\2define\3' +ac_eC=' ' +ac_eD='%g' +changequote([, ])dnl + +if test "${CONFIG_HEADERS+set}" != set; then +EOF +dnl Support passing AC_CONFIG_HEADER a value containing shell variables. +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +fi +for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then +changequote(, )dnl + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac +changequote([, ])dnl + + echo creating $ac_file + + rm -f conftest.frag conftest.in conftest.out + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + cat $ac_file_inputs > conftest.in + +EOF + +# Transform confdefs.h into a sed script conftest.vals that substitutes +# the proper values into config.h.in to produce config.h. And first: +# Protect against being on the right side of a sed subst in config.status. +# Protect against being in an unquoted here document in config.status. +rm -f conftest.vals +dnl Using a here document instead of a string reduces the quoting nightmare. +dnl Putting comments in sed scripts is not portable. +cat > conftest.hdr <<\EOF +changequote(<<, >>)dnl +s/[\\&%]/\\&/g +s%[\\$`]%\\&%g +s%<<#define>> \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp +s%ac_d%ac_u%gp +s%ac_u%ac_e%gp +changequote([, ])dnl +EOF +sed -n -f conftest.hdr confdefs.h > conftest.vals +rm -f conftest.hdr + +# This sed command replaces #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. +cat >> conftest.vals <<\EOF +changequote(, )dnl +s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% +changequote([, ])dnl +EOF + +# Break up conftest.vals because some shells have a limit on +# the size of here documents, and old seds have small limits too. + +rm -f conftest.tail +while : +do + ac_lines=`grep -c . conftest.vals` + # grep -c gives empty output for an empty file on some AIX systems. + if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi + # Write a limited-size here document to conftest.frag. + echo ' cat > conftest.frag <> $CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS + echo 'CEOF + sed -f conftest.frag conftest.in > conftest.out + rm -f conftest.in + mv conftest.out conftest.in +' >> $CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail + rm -f conftest.vals + mv conftest.tail conftest.vals +done +rm -f conftest.vals + +dnl Now back to your regularly scheduled config.status. +cat >> $CONFIG_STATUS <<\EOF + rm -f conftest.frag conftest.h + echo "/* $ac_file. Generated automatically by configure. */" > conftest.h + cat conftest.in >> conftest.h + rm -f conftest.in + if cmp -s $ac_file conftest.h 2>/dev/null; then + echo "$ac_file is unchanged" + rm -f conftest.h + else + # Remove last slash and all that follows it. Not all systems have dirname. + changequote(, )dnl + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + changequote([, ])dnl + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + fi + rm -f $ac_file + mv conftest.h $ac_file + fi +fi; done + +]) + +dnl This is a subroutine of AC_OUTPUT. It is called inside a quoted +dnl here document whose contents are going into config.status. +dnl AC_OUTPUT_LINKS(SOURCE..., DEST...) +define(AC_OUTPUT_LINKS, +[EOF + +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +srcdir=$ac_given_srcdir +while test -n "$ac_sources"; do + set $ac_dests; ac_dest=[$]1; shift; ac_dests=[$]* + set $ac_sources; ac_source=[$]1; shift; ac_sources=[$]* + + echo "linking $srcdir/$ac_source to $ac_dest" + + if test ! -r $srcdir/$ac_source; then + AC_MSG_ERROR($srcdir/$ac_source: File not found) + fi + rm -f $ac_dest + + # Make relative symlinks. + # Remove last slash and all that follows it. Not all systems have dirname. +changequote(, )dnl + ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'` +changequote([, ])dnl + if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then + # The dest file is in a subdirectory. + test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir" + ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`" + # A "../" for each directory in $ac_dest_dir_suffix. +changequote(, )dnl + ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'` +changequote([, ])dnl + else + ac_dest_dir_suffix= ac_dots= + fi + + case "$srcdir" in +changequote(, )dnl + [/$]*) ac_rel_source="$srcdir/$ac_source" ;; +changequote([, ])dnl + *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;; + esac + + # Make a symlink if possible; otherwise try a hard link. + if ln -s $ac_rel_source $ac_dest 2>/dev/null || + ln $srcdir/$ac_source $ac_dest; then : + else + AC_MSG_ERROR(can not link $ac_dest to $srcdir/$ac_source) + fi +done +]) + +dnl This is a subroutine of AC_OUTPUT. +dnl It is called after running config.status. +dnl AC_OUTPUT_SUBDIRS(DIRECTORY...) +define(AC_OUTPUT_SUBDIRS, +[ +if test "$no_recursion" != yes; then + + # Remove --cache-file and --srcdir arguments so they do not pile up. + ac_sub_configure_args= + ac_prev= + for ac_arg in $ac_configure_args; do + if test -n "$ac_prev"; then + ac_prev= + continue + fi + case "$ac_arg" in + -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=*) + ;; + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + ;; + *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; + esac + done + + for ac_config_dir in $1; do + + # Do not complain, so a configure script can configure whichever + # parts of a large source tree are present. + if test ! -d $srcdir/$ac_config_dir; then + continue + fi + + echo configuring in $ac_config_dir + + case "$srcdir" in + .) ;; + *) + if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :; + else + AC_MSG_ERROR(can not create `pwd`/$ac_config_dir) + fi + ;; + esac + + ac_popdir=`pwd` + cd $ac_config_dir + +changequote(, )dnl + # A "../" for each directory in /$ac_config_dir. + ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` +changequote([, ])dnl + + case "$srcdir" in + .) # No --srcdir option. We are building in place. + ac_sub_srcdir=$srcdir ;; + /*) # Absolute path. + ac_sub_srcdir=$srcdir/$ac_config_dir ;; + *) # Relative path. + ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; + esac + + # Check for guested configure; otherwise get Cygnus style configure. + if test -f $ac_sub_srcdir/configure; then + ac_sub_configure=$ac_sub_srcdir/configure + elif test -f $ac_sub_srcdir/configure.in; then + ac_sub_configure=$ac_configure + else + AC_MSG_WARN(no configuration information is in $ac_config_dir) + ac_sub_configure= + fi + + # The recursion is here. + if test -n "$ac_sub_configure"; then + + # Make the cache file name correct relative to the subdirectory. + case "$cache_file" in + /*) ac_sub_cache_file=$cache_file ;; + *) # Relative path. + ac_sub_cache_file="$ac_dots$cache_file" ;; + esac +ifdef([AC_PROVIDE_AC_PROG_INSTALL], + [ case "$ac_given_INSTALL" in +changequote(, )dnl + [/$]*) INSTALL="$ac_given_INSTALL" ;; +changequote([, ])dnl + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac +])dnl + + echo "[running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir" + # The eval makes quoting arguments work. + if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir + then : + else + AC_MSG_ERROR($ac_sub_configure failed for $ac_config_dir) + fi + fi + + cd $ac_popdir + done +fi +]) diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4 new file mode 100644 index 0000000..0c8ba35 --- /dev/null +++ b/autoconf/aclocal.m4 @@ -0,0 +1,3500 @@ +dnl @(#)aclocal.m4 1.109 17/06/28 Copyright 1998-2015 J. Schilling + +dnl Set VARIABLE to VALUE in C-string form, verbatim, or 1. +dnl AC_DEFINE_STRING(VARIABLE [, VALUE]) +define(AC_DEFINE_STRING, +[cat >> confdefs.h <<\EOF +[#define] $1 ifelse($#, 2, "[$2]", $#, 3, "[$2]", 1) +EOF +]) + +dnl Similar, but perform shell substitutions $ ` \ once on VALUE. +define(AC_DEFINE_UNQUOTED_STRING, +[cat >> confdefs.h <>)dnl +<<(^|[^a-zA-Z_0-9])$2[^a-zA-Z_0-9]>>dnl +changequote([,]), [#include +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +$1], eval ac_cv_have_type_$2=yes, eval ac_cv_have_type_$2=no)])dnl +AC_MSG_RESULT($ac_cv_have_type_$2) +changequote(, )dnl + ac_tr_type=HAVE_TYPE_`echo $2 | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +changequote([, ])dnl +if test $ac_cv_have_type_$2 = yes; then + AC_DEFINE_UNQUOTED($ac_tr_type) +fi +]) + +AC_DEFUN(AC_ICONV_CONST, +[AC_CACHE_CHECK(whether iconv() uses const char **, ac_cv_iconv_const, +[cat > conftest.c < +EOF +if AC_TRY_COMMAND(${CC-cc} -E conftest.c) | grep 'size_t.*iconv.*iconv_t.*const' >/dev/null 2>&1; then + ac_cv_iconv_const=yes +else + ac_cv_iconv_const=no +fi]) +if test $ac_cv_iconv_const = yes; then + AC_DEFINE(HAVE_ICONV_CONST) +fi]) + +AC_DEFUN(AC_PROG_CPPX, +[AC_REQUIRE([AC_PROG_CPP])dnl +AC_MSG_CHECKING(how to run the C preprocessor for any type of file) +if test -z "$CPPX"; then +AC_CACHE_VAL(ac_cv_prog_CPPX, +[ # This must be in double quotes, not single quotes, because CPP may get + # substituted into the Makefile and "${CC-cc}" will confuse make. + CPPX="$CPP" + cat > conftestcpp << EOF + xxzzy +EOF + # gcc -E does not accept any file suffix, so we need to test + # and if $CC -E fails, we try to use dirname(which($CC))/cpp + # We cannot use AC_TRY_EVAL(CPPX conftestcpp | grep xxzzy) because + # of a bug in the parser from bash + ac_result=`(echo configure:1288: "$CPPX conftestcpp | grep xxzzy" 1>&5; eval $CPPX conftestcpp | grep xxzzy) 2>&5` + if test -z "$ac_result"; then + changequote(, )dnl + ac_file=`eval type ${CC-cc} 2>/dev/null | sed 's%[^/]*/%/%'` + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'` + changequote([, ])dnl + if test -f "$ac_dir"/cpp; then + CPPX="$ac_dir"/cpp + fi + fi + ac_cv_prog_CPPX="$CPPX"])dnl + CPPX="$ac_cv_prog_CPPX" +else + ac_cv_prog_CPPX="$CPPX" +fi +AC_MSG_RESULT($CPPX) +AC_SUBST(CPPX)dnl +]) + +dnl Checks if /bin/sh is bash +dnl Defines BIN_SHELL_IS_BASH on success. +AC_DEFUN([AC_BIN_SHELL_BASH], +[AC_CACHE_CHECK([if /bin/sh is bash], ac_cv_bin_shell_is_bash, + [ +ac_err=`< /dev/null /bin/sh --version 2> /dev/null | egrep 'GNU sh|bash'` +if test -n "$ac_err"; then + ac_cv_bin_shell_is_bash=yes +else + ac_cv_bin_shell_is_bash=no +fi +]) +if test $ac_cv_bin_shell_is_bash = yes; then + AC_DEFINE(BIN_SHELL_IS_BASH) +fi]) + +dnl Checks if sh is bash +dnl Defines SHELL_IS_BASH on success. +AC_DEFUN([AC_SHELL_BASH], +[AC_CACHE_CHECK([if sh is bash], ac_cv_shell_is_bash, + [ +ac_err=`< /dev/null sh --version 2> /dev/null | egrep 'GNU sh|bash'` +if test -n "$ac_err"; then + ac_cv_shell_is_bash=yes +else + ac_cv_shell_is_bash=no +fi +]) +if test $ac_cv_shell_is_bash = yes; then + AC_DEFINE(SHELL_IS_BASH) +fi]) + +dnl Checks if /bin/sh -ce is broken +dnl Defines BIN_SHELL_CE_IS_BROKEN on success. +AC_DEFUN([AC_BIN_SHELL_CE_BROKEN], +[AC_CACHE_CHECK([whether /bin/sh -ce is broken], ac_cv_bin_shell_ce_is_broken, + [ +ac_err=`/bin/sh -ce 'for i in 1 2 3; do ( echo $i; if test -d . ; then (false; echo 4); fi ) ; done' | grep 2` +if test -n "$ac_err"; then + ac_cv_bin_shell_ce_is_broken=yes +else + ac_cv_bin_shell_ce_is_broken=no +fi +]) +if test $ac_cv_bin_shell_ce_is_broken = yes; then + AC_DEFINE(BIN_SHELL_CE_IS_BROKEN) +fi]) + +dnl Checks if /bin/bosh is a working shell +dnl Defines BIN_SHELL_BOSH on success. +AC_DEFUN([AC_BIN_SHELL_BOSH], +[AC_CACHE_CHECK([whether /bin/bosh is a working shell], ac_cv_bin_shell_bosh, + [ +ac_err=`< /dev/null /bin/bosh -c 'echo abc' 2> /dev/null | grep abc` +if test "$ac_err" != "abc"; then + ac_cv_bin_shell_bosh=no +else + ac_err=`/bin/bosh -ce 'for i in 1 2 3; do ( echo $i; if test -d . ; then (false; echo 4); fi ) ; done' | grep 2` + if test -z "$ac_err"; then + ac_cv_bin_shell_bosh=yes + else + ac_cv_bin_shell_bosh=no + fi +fi +]) +if test $ac_cv_bin_shell_bosh = yes; then + AC_DEFINE(BIN_SHELL_BOSH) +fi]) + +dnl Checks if /opt/schily/bin/bosh is a working shell +dnl Defines OPT_SCHILY_BIN_SHELL_BOSH on success. +AC_DEFUN([AC_OPT_SCHILY_BIN_SHELL_BOSH], +[AC_CACHE_CHECK([whether /opt/schily/bin/bosh is a working shell], ac_cv_opt_schily_bin_shell_bosh, + [ +ac_err=`< /dev/null /opt/schily/bin/bosh -c 'echo abc' 2> /dev/null | grep abc` +if test "$ac_err" != "abc"; then + ac_cv_opt_schily_bin_shell_bosh=no +else + ac_err=`/opt/schily/bin/bosh -ce 'for i in 1 2 3; do ( echo $i; if test -d . ; then (false; echo 4); fi ) ; done' | grep 2` + if test -z "$ac_err"; then + ac_cv_opt_schily_bin_shell_bosh=yes + else + ac_cv_opt_schily_bin_shell_bosh=no + fi +fi +]) +if test $ac_cv_opt_schily_bin_shell_bosh = yes; then + AC_DEFINE(OPT_SCHILY_BIN_SHELL_BOSH) +fi]) + +dnl Checks if sh -ce is broken +dnl Defines SHELL_CE_IS_BROKEN on success. +AC_DEFUN([AC_SHELL_CE_BROKEN], +[AC_CACHE_CHECK([whether sh -ce is broken], ac_cv_shell_ce_is_broken, + [ +ac_err=`sh -ce 'for i in 1 2 3; do ( echo $i; if test -d . ; then (false; echo 4); fi ) ; done' | grep 2` +if test -n "$ac_err"; then + ac_cv_shell_ce_is_broken=yes +else + ac_cv_shell_ce_is_broken=no +fi +]) +if test $ac_cv_shell_ce_is_broken = yes; then + AC_DEFINE(SHELL_CE_IS_BROKEN) +fi]) + +dnl Checks if Sun cc supports -m64 +dnl Defines sun_cc64_opt on success. +AC_DEFUN([AC_SUN_CC64_OPT], +[AC_CACHE_CHECK([if suncc/cc supports -m64], ac_cv_sun_cc64_opt, + [ +sun_cc64=cc +sun_cc64_opt='' +ac_cv_sun_cc64_opt=no +if test "$GCC" != yes; then + if test "$CC" = suncc; then + sun_cc64=suncc + fi + ac_err=`< /dev/null eval $sun_cc64 -m64 -c 2>&1 | grep illegal` + if test -n "$ac_err"; then + ac_cv_sun_cc64_opt=no + else + ac_cv_sun_cc64_opt=yes + fi +fi +]) +if test $ac_cv_sun_cc64_opt = yes; then + sun_cc64_opt='-m64' +fi]) + +dnl Checks if HP cc supports -Ae +dnl Defines hp_cc_ansi_opt on success. +AC_DEFUN([AC_HP_CC_ANSI_OPT], +[AC_CACHE_CHECK([if HP cc supports -Ae], ac_cv_hp_cc_ansi_opt, + [ +hp_cc=cc +hp_cc_ansi_opt='' +ac_cv_hp_cc_ansi_opt=no +if test "$GCC" != yes; then + os_name=`(uname -s) 2> /dev/null` + if test ."$os_name" = .HP-UX ; then + ac_err=`< /dev/null eval $hp_cc -Ae -c 2>&1 | grep 'Bundled.*option is available only'` + if test -n "$ac_err"; then + ac_cv_hp_cc_ansi_opt=no + else + ac_cv_hp_cc_ansi_opt=yes + fi + fi +fi +]) +if test $ac_cv_hp_cc_ansi_opt = yes; then + hp_cc_ansi_opt='-Ae' +fi]) + +dnl Checks if HP cc supports -O +dnl Defines hp_cc_opt_opt on success. +AC_DEFUN([AC_HP_CC_OPT_OPT], +[AC_CACHE_CHECK([if HP cc supports -O], ac_cv_hp_cc_opt_opt, + [ +hp_cc=cc +hp_cc_opt_opt='' +ac_cv_hp_cc_opt_opt=no +if test "$GCC" != yes; then + os_name=`(uname -s) 2> /dev/null` + if test ."$os_name" = .HP-UX ; then + ac_err=`< /dev/null eval $hp_cc -O -c 2>&1 | grep 'Bundled.*option is available only'` + if test -n "$ac_err"; then + ac_cv_hp_cc_opt_opt=no + else + ac_cv_hp_cc_opt_opt=yes + fi + fi +fi +]) +if test $ac_cv_hp_cc_opt_opt = yes; then + hp_cc_opt_opt='-O' +fi]) + +dnl Checks if HP cc supports -G +dnl Defines hp_cc_gprof_opt on success. +AC_DEFUN([AC_HP_CC_GPROF_OPT], +[AC_CACHE_CHECK([if HP cc supports -G], ac_cv_hp_cc_gprof_opt, + [ +hp_cc=cc +hp_cc_gprof_opt='' +ac_cv_hp_cc_gprof_opt=no +if test "$GCC" != yes; then + os_name=`(uname -s) 2> /dev/null` + if test ."$os_name" = .HP-UX ; then + ac_err=`< /dev/null eval $hp_cc -O -c 2>&1 | grep 'Bundled.*option is available only'` + if test -n "$ac_err"; then + ac_cv_hp_cc_gprof_opt=no + else + ac_cv_hp_cc_gprof_opt=yes + fi + fi +fi +]) +if test $ac_cv_hp_cc_gprof_opt = yes; then + hp_cc_gprof_opt='-G' +fi]) + +dnl XXX this used to be: +dnl #ifndef $2 +dnl char *p = (char *) $2; +dnl #endif +dnl but we use this test in order to check whether we are able to get the +dnl address of a function from this name, so we did replace this by: +dnl char *p = (char *) $2; +dnl exit (p != (char *)0 && *p != 0); Prevent optimizer from removing previous line +dnl +dnl AC_CHECK_DECLARE(INCLUDES, SYMBOL) +dnl Checks if symbol is declared +dnl Defines HAVE_DECL_SYMBOL on success. +AC_DEFUN([AC_CHECK_DECLARE], +[AC_CACHE_CHECK([if $2 is declared], ac_cv_have_decl_$2, + [AC_TRY_COMPILE([$1], +[ char *p = (char *) $2; exit (p != (char *)0 && *p != 0); ], + [eval ac_cv_have_decl_$2=yes], + [eval ac_cv_have_decl_$2=no])]) +changequote(, )dnl + ac_tr_decl=HAVE_DECL_`echo $2 | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +changequote([, ])dnl +if test $ac_cv_have_decl_$2 = yes; then + AC_DEFINE_UNQUOTED($ac_tr_decl) +fi]) + +dnl AC_CHECK_DFUNC(INCLUDES, SYMBOL) +dnl Checks if symbol is defined or a function +dnl Defines HAVE_SYMBOL on success. +AC_DEFUN([AC_CHECK_DFUNC], +[AC_CACHE_CHECK([if $2 is defined or function], ["ac_cv_have_$2"], + [AC_TRY_LINK([$1], +[ +#ifndef $2 + char *p = (char *) $2; + exit (p != (char *)0 && *p != 0); +#endif], + [eval ac_cv_have_$2=yes], + [eval ac_cv_have_$2=no])]) +changequote(, )dnl + ac_tr_dfunc=HAVE_`echo $2 | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +changequote([, ])dnl +if eval "test \"`echo '$ac_cv_have_'$2`\" = yes"; then + AC_DEFINE_UNQUOTED($ac_tr_dfunc) +fi +]) + +dnl AC_CHECK_DFUNCS(INCLUDES, FUNCTION...) +AC_DEFUN(AC_CHECK_DFUNCS, +[for ac_func in [$2] +do +AC_CHECK_DFUNC([$1], $ac_func)dnl +done +]) + +dnl Checks whether symbol is defined or a function in a lib +dnl AC_CHECK_DLIB(INCLUDES, LIBRARY, FUNCTION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND +dnl [, OTHER-LIBRARIES]]]) +AC_DEFUN(AC_CHECK_DLIB, +[AC_MSG_CHECKING([for $3 in -l$2]) +dnl Use a cache variable name containing both the library and function name, +dnl because the test really is for library $2 defining function $3, not +dnl just for library $2. Separate tests with the same $2 and different $3s +dnl may have different results. +ac_lib_var=`echo $2['_']$3 | sed 'y%./+-%__p_%'` +AC_CACHE_VAL(ac_cv_lib_$ac_lib_var, +[ac_save_LIBS="$LIBS" +LIBS="-l$2 $6 $LIBS" +AC_TRY_LINK([$1], +[ +#ifndef $3 + char *p = (char *) $3; + exit (p != (char *)0 && *p != 0); +#endif], + eval "ac_cv_lib_$ac_lib_var=yes", + eval "ac_cv_lib_$ac_lib_var=no") +LIBS="$ac_save_LIBS" +])dnl +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + AC_MSG_RESULT(yes) + ifelse([$4], , +[changequote(, )dnl + ac_tr_lib=HAVE_LIB`echo $2 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` +changequote([, ])dnl + AC_DEFINE_UNQUOTED($ac_tr_lib) + LIBS="-l$2 $LIBS" +], [$4]) +else + AC_MSG_RESULT(no) +ifelse([$5], , , [$5 +])dnl +fi +]) + +dnl Checks whether symbol is in a lib +dnl this does not work for void func() +dnl AC_CHECK_ILIB(INCLUDES, LIBRARY, FUNCTION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND +dnl [, OTHER-LIBRARIES]]]) +AC_DEFUN(AC_CHECK_ILIB, +[AC_MSG_CHECKING([for $3 in -l$2]) +dnl Use a cache variable name containing both the library and function name, +dnl because the test really is for library $2 defining function $3, not +dnl just for library $2. Separate tests with the same $2 and different $3s +dnl may have different results. +ac_lib_var=`echo $2['_']$3 | sed 'y%./+-%__p_%'` +AC_CACHE_VAL(ac_cv_lib_$ac_lib_var, +[ac_save_LIBS="$LIBS" +LIBS="-l$2 $6 $LIBS" +AC_TRY_LINK([$1], +[ + char *p = (char *) $3; + + return ((int)p); +], + eval "ac_cv_lib_$ac_lib_var=yes", + eval "ac_cv_lib_$ac_lib_var=no") +LIBS="$ac_save_LIBS" +])dnl +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + AC_MSG_RESULT(yes) + ifelse([$4], , +[changequote(, )dnl + ac_tr_lib=HAVE_LIB`echo $2 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` +changequote([, ])dnl + AC_DEFINE_UNQUOTED($ac_tr_lib) + LIBS="-l$2 $LIBS" +], [$4]) +else + AC_MSG_RESULT(no) +ifelse([$5], , , [$5 +])dnl +fi +]) + +dnl getpagesize is a inline function in unistd.h on Android +AC_DEFUN([AC_FUNC_GETPAGESIZE], +[AC_CHECK_DFUNC([ +#ifdef HAVE_UNISTD_H +#include +#endif +], getpagesize)]) + + +dnl Checks if structure 'stat' have field 'st_spare1'. +dnl Defines HAVE_ST_SPARE1 on success. +AC_DEFUN([AC_STRUCT_ST_SPARE1], +[AC_CACHE_CHECK([if struct stat contains st_spare1], ac_cv_struct_st_spare1, + [AC_TRY_COMPILE([#include +#include ], + [struct stat s; s.st_spare1 = 0;], + [ac_cv_struct_st_spare1=yes], + [ac_cv_struct_st_spare1=no])]) +if test $ac_cv_struct_st_spare1 = yes; then + AC_DEFINE(HAVE_ST_SPARE1) +fi]) + +dnl Checks if structure 'stat' have field 'st_atimensec'. +dnl Defines HAVE_ST_ATIMENSEC on success. +AC_DEFUN([AC_STRUCT_ST_ATIMENSEC], +[AC_CACHE_CHECK([if struct stat contains st_atimensec], ac_cv_struct_st_atimensec, + [AC_TRY_COMPILE([#include +#include ], + [struct stat s; s.st_atimensec = 0;], + [ac_cv_struct_st_atimensec=yes], + [ac_cv_struct_st_atimensec=no])]) +if test $ac_cv_struct_st_atimensec = yes; then + AC_DEFINE(HAVE_ST_ATIMENSEC) +fi]) + +dnl Checks if structure 'stat' have field 'st_atime_n'. +dnl Defines HAVE_ST_ATIME_N on success. +AC_DEFUN([AC_STRUCT_ST_ATIME_N], +[AC_CACHE_CHECK([if struct stat contains st_atime_n], ac_cv_struct_st_atime_n, + [AC_TRY_COMPILE([#include +#include ], + [struct stat s; s.st_atime_n = 0;], + [ac_cv_struct_st_atime_n=yes], + [ac_cv_struct_st_atime_n=no])]) +if test $ac_cv_struct_st_atime_n = yes; then + AC_DEFINE(HAVE_ST_ATIME_N) +fi]) + +dnl Checks if structure 'stat' have field 'st_atim.tv_nsec'. +dnl Defines HAVE_ST_NSEC on success. +AC_DEFUN([AC_STRUCT_ST_NSEC], +[AC_CACHE_CHECK([if struct stat contains st_atim.tv_nsec], ac_cv_struct_st_nsec, + [AC_TRY_COMPILE([#include +#include ], + [struct stat s; s.st_atim.tv_nsec = 0;], + [ac_cv_struct_st_nsec=yes], + [ac_cv_struct_st_nsec=no])]) +if test $ac_cv_struct_st_nsec = yes; then + AC_DEFINE(HAVE_ST_NSEC) +fi]) + +dnl Checks if structure 'stat' have field 'st_atim.st__tim.tv_nsec'. +dnl Defines HAVE_ST__TIM on success. +AC_DEFUN([AC_STRUCT_ST__TIM], +[AC_CACHE_CHECK([if struct stat contains st_atim.st__tim.tv_nsec], ac_cv_struct_st__tim, + [AC_TRY_COMPILE([#include +#include ], + [struct stat s; s.st_atim.st__tim.tv_nsec = 0;], + [ac_cv_struct_st__tim=yes], + [ac_cv_struct_st__tim=no])]) +if test $ac_cv_struct_st__tim = yes; then + AC_DEFINE(HAVE_ST__TIM) +fi]) + +dnl Checks if structure 'stat' have field 'st_atimspec.tv_nsec'. +dnl Defines HAVE_ST_ATIMESPEC on success. +AC_DEFUN([AC_STRUCT_ST_ATIMESPEC], +[AC_CACHE_CHECK([if struct stat contains st_atimespec.tv_nsec], ac_cv_struct_st_atimespec, + [AC_TRY_COMPILE([#include +#include ], + [struct stat s; s.st_atimespec.tv_nsec = 0;], + [ac_cv_struct_st_atimespec=yes], + [ac_cv_struct_st_atimespec=no])]) +if test $ac_cv_struct_st_atimespec = yes; then + AC_DEFINE(HAVE_ST_ATIMESPEC) +fi]) + +dnl Checks if structure 'stat' have field 'st_flag'. +dnl Defines HAVE_ST_FLAG on success. +AC_DEFUN([AC_STRUCT_ST_FLAG], +[AC_CACHE_CHECK([if struct stat contains st_flag], ac_cv_struct_st_flag, + [AC_TRY_COMPILE([#include +#include ], + [struct stat s; s.st_flag = 0;], + [ac_cv_struct_st_flag=yes], + [ac_cv_struct_st_flag=no])]) +if test $ac_cv_struct_st_flag = yes; then + AC_DEFINE(HAVE_ST_FLAG) +fi]) + +dnl Checks if structure 'stat' have field 'st_flags'. +dnl Defines HAVE_ST_FLAGS on success. +AC_DEFUN([AC_STRUCT_ST_FLAGS], +[AC_CACHE_CHECK([if struct stat contains st_flags], ac_cv_struct_st_flags, + [AC_TRY_COMPILE([#include +#include ], + [struct stat s; s.st_flags = 0;], + [ac_cv_struct_st_flags=yes], + [ac_cv_struct_st_flags=no])]) +if test $ac_cv_struct_st_flags = yes; then + AC_DEFINE(HAVE_ST_FLAGS) +fi]) + +dnl Checks if structure 'stat' have field 'st_fstype'. +dnl Defines HAVE_ST_FSTYPE on success. +AC_DEFUN([AC_STRUCT_ST_FSTYPE], +[AC_CACHE_CHECK([if struct stat contains st_fstype], ac_cv_struct_st_fstype, + [AC_TRY_COMPILE([#include +#include ], + [struct stat s; s.st_fstype[0] = 0;], + [ac_cv_struct_st_fstype=yes], + [ac_cv_struct_st_fstype=no])]) +if test $ac_cv_struct_st_fstype = yes; then + AC_DEFINE(HAVE_ST_FSTYPE) +fi]) + +dnl Checks if structure 'stat' have field 'st_aclcnt'. +dnl Defines HAVE_ST_ACLCNT on success. +AC_DEFUN([AC_STRUCT_ST_ACLCNT], +[AC_CACHE_CHECK([if struct stat contains st_aclcnt], ac_cv_struct_st_aclcnt, + [AC_TRY_COMPILE([#include +#include ], + [struct stat s; s.st_aclcnt = 0;], + [ac_cv_struct_st_aclcnt=yes], + [ac_cv_struct_st_aclcnt=no])]) +if test $ac_cv_struct_st_aclcnt = yes; then + AC_DEFINE(HAVE_ST_ACLCNT) +fi]) + +dnl Checks if structure 'utsname' have field 'arch'. +dnl Defines HAVE_UTSNAME_ARCH on success. +AC_DEFUN([AC_STRUCT_UTSNAME_ARCH], +[AC_CACHE_CHECK([if struct utsname contains arch], ac_cv_struct_utsname_arch, + [AC_TRY_COMPILE([#include ], + [struct utsname u; u.arch[0] = 0;], + [ac_cv_struct_utsname_arch=yes], + [ac_cv_struct_utsname_arch=no])]) +if test $ac_cv_struct_utsname_arch = yes; then + AC_DEFINE(HAVE_UTSNAME_ARCH) +fi]) + +dnl Checks if structure 'utsname' have field 'processor'. +dnl Defines HAVE_UTSNAME_PROCESSOR on success. +AC_DEFUN([AC_STRUCT_UTSNAME_PROCESSOR], +[AC_CACHE_CHECK([if struct utsname contains processor], ac_cv_struct_utsname_processor, + [AC_TRY_COMPILE([#include ], + [struct utsname u; u.processor[0] = 0;], + [ac_cv_struct_utsname_processor=yes], + [ac_cv_struct_utsname_processor=no])]) +if test $ac_cv_struct_utsname_processor = yes; then + AC_DEFINE(HAVE_UTSNAME_PROCESSOR) +fi]) + +dnl Checks if structure 'utsname' have field 'sysname_host'. +dnl Defines HAVE_UTSNAME_SYSNAME_HOST on success. +AC_DEFUN([AC_STRUCT_UTSNAME_SYSNAME_HOST], +[AC_CACHE_CHECK([if struct utsname contains sysname_host], ac_cv_struct_utsname_sysname_host, + [AC_TRY_COMPILE([#include ], + [struct utsname u; u.sysname_host[0] = 0;], + [ac_cv_struct_utsname_sysname_host=yes], + [ac_cv_struct_utsname_sysname_host=no])]) +if test $ac_cv_struct_utsname_sysname_host = yes; then + AC_DEFINE(HAVE_UTSNAME_SYSNAME_HOST) +fi]) + +dnl Checks if structure 'utsname' have field 'release_host'. +dnl Defines HAVE_UTSNAME_RELEASE_HOST on success. +AC_DEFUN([AC_STRUCT_UTSNAME_RELEASE_HOST], +[AC_CACHE_CHECK([if struct utsname contains release_host], ac_cv_struct_utsname_release_host, + [AC_TRY_COMPILE([#include ], + [struct utsname u; u.release_host[0] = 0;], + [ac_cv_struct_utsname_release_host=yes], + [ac_cv_struct_utsname_release_host=no])]) +if test $ac_cv_struct_utsname_release_host = yes; then + AC_DEFINE(HAVE_UTSNAME_RELEASE_HOST) +fi]) + +dnl Checks if structure 'utsname' have field 'version_host'. +dnl Defines HAVE_UTSNAME_VERSION_HOST on success. +AC_DEFUN([AC_STRUCT_UTSNAME_VERSION_HOST], +[AC_CACHE_CHECK([if struct utsname contains version_host], ac_cv_struct_utsname_version_host, + [AC_TRY_COMPILE([#include ], + [struct utsname u; u.version_host[0] = 0;], + [ac_cv_struct_utsname_version_host=yes], + [ac_cv_struct_utsname_version_host=no])]) +if test $ac_cv_struct_utsname_version_host = yes; then + AC_DEFINE(HAVE_UTSNAME_VERSION_HOST) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_type'. +dnl Defines HAVE_MTGET_TYPE on success. +AC_DEFUN([AC_STRUCT_MTGET_TYPE], +[AC_CACHE_CHECK([if struct mtget contains mt_type], ac_cv_struct_mtget_type, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_type = 0;], + [ac_cv_struct_mtget_type=yes], + [ac_cv_struct_mtget_type=no])]) +if test $ac_cv_struct_mtget_type = yes; then + AC_DEFINE(HAVE_MTGET_TYPE) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_model'. +dnl Defines HAVE_MTGET_MODEL on success. +AC_DEFUN([AC_STRUCT_MTGET_MODEL], +[AC_CACHE_CHECK([if struct mtget contains mt_model], ac_cv_struct_mtget_model, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_model = 0;], + [ac_cv_struct_mtget_model=yes], + [ac_cv_struct_mtget_model=no])]) +if test $ac_cv_struct_mtget_model = yes; then + AC_DEFINE(HAVE_MTGET_MODEL) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_dsreg'. +dnl Defines HAVE_MTGET_DSREG on success. +AC_DEFUN([AC_STRUCT_MTGET_DSREG], +[AC_CACHE_CHECK([if struct mtget contains mt_dsreg], ac_cv_struct_mtget_dsreg, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_dsreg = 0;], + [ac_cv_struct_mtget_dsreg=yes], + [ac_cv_struct_mtget_dsreg=no])]) +if test $ac_cv_struct_mtget_dsreg = yes; then + AC_DEFINE(HAVE_MTGET_DSREG) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_dsreg1'. +dnl Defines HAVE_MTGET_DSREG on success. +AC_DEFUN([AC_STRUCT_MTGET_DSREG1], +[AC_CACHE_CHECK([if struct mtget contains mt_dsreg1], ac_cv_struct_mtget_dsreg1, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_dsreg1 = 0;], + [ac_cv_struct_mtget_dsreg1=yes], + [ac_cv_struct_mtget_dsreg1=no])]) +if test $ac_cv_struct_mtget_dsreg1 = yes; then + AC_DEFINE(HAVE_MTGET_DSREG1) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_dsreg2'. +dnl Defines HAVE_MTGET_DSREG2 on success. +AC_DEFUN([AC_STRUCT_MTGET_DSREG2], +[AC_CACHE_CHECK([if struct mtget contains mt_dsreg2], ac_cv_struct_mtget_dsreg2, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_dsreg2 = 0;], + [ac_cv_struct_mtget_dsreg2=yes], + [ac_cv_struct_mtget_dsreg2=no])]) +if test $ac_cv_struct_mtget_dsreg2 = yes; then + AC_DEFINE(HAVE_MTGET_DSREG2) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_gstat'. +dnl Defines HAVE_MTGET_GSTAT on success. +AC_DEFUN([AC_STRUCT_MTGET_GSTAT], +[AC_CACHE_CHECK([if struct mtget contains mt_gstat], ac_cv_struct_mtget_gstat, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_gstat = 0;], + [ac_cv_struct_mtget_gstat=yes], + [ac_cv_struct_mtget_gstat=no])]) +if test $ac_cv_struct_mtget_gstat = yes; then + AC_DEFINE(HAVE_MTGET_GSTAT) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_erreg'. +dnl Defines HAVE_MTGET_ERREG on success. +AC_DEFUN([AC_STRUCT_MTGET_ERREG], +[AC_CACHE_CHECK([if struct mtget contains mt_erreg], ac_cv_struct_mtget_erreg, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_erreg = 0;], + [ac_cv_struct_mtget_erreg=yes], + [ac_cv_struct_mtget_erreg=no])]) +if test $ac_cv_struct_mtget_erreg = yes; then + AC_DEFINE(HAVE_MTGET_ERREG) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_resid'. +dnl Defines HAVE_MTGET_RESID on success. +AC_DEFUN([AC_STRUCT_MTGET_RESID], +[AC_CACHE_CHECK([if struct mtget contains mt_resid], ac_cv_struct_mtget_resid, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_resid = 0;], + [ac_cv_struct_mtget_resid=yes], + [ac_cv_struct_mtget_resid=no])]) +if test $ac_cv_struct_mtget_resid = yes; then + AC_DEFINE(HAVE_MTGET_RESID) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_fileno'. +dnl Defines HAVE_MTGET_FILENO on success. +AC_DEFUN([AC_STRUCT_MTGET_FILENO], +[AC_CACHE_CHECK([if struct mtget contains mt_fileno], + ac_cv_struct_mtget_fileno, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_fileno = 0;], + [ac_cv_struct_mtget_fileno=yes], + [ac_cv_struct_mtget_fileno=no])]) +if test $ac_cv_struct_mtget_fileno = yes; then + AC_DEFINE(HAVE_MTGET_FILENO) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_blkno'. +dnl Defines HAVE_MTGET_BLKNO on success. +AC_DEFUN([AC_STRUCT_MTGET_BLKNO], +[AC_CACHE_CHECK([if struct mtget contains mt_blkno], ac_cv_struct_mtget_blkno, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_blkno = 0;], + [ac_cv_struct_mtget_blkno=yes], + [ac_cv_struct_mtget_blkno=no])]) +if test $ac_cv_struct_mtget_blkno = yes; then + AC_DEFINE(HAVE_MTGET_BLKNO) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_flags'. +dnl Defines HAVE_MTGET_FLAGS on success. +AC_DEFUN([AC_STRUCT_MTGET_FLAGS], +[AC_CACHE_CHECK([if struct mtget contains mt_flags], ac_cv_struct_mtget_flags, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_flags = 0;], + [ac_cv_struct_mtget_flags=yes], + [ac_cv_struct_mtget_flags=no])]) +if test $ac_cv_struct_mtget_flags = yes; then + AC_DEFINE(HAVE_MTGET_FLAGS) +fi]) + +dnl Checks if structure 'mtget' have field 'mt_bf'. +dnl Defines HAVE_MTGET_BF on success. +AC_DEFUN([AC_STRUCT_MTGET_BF], +[AC_CACHE_CHECK([if struct mtget contains mt_bf], ac_cv_struct_mtget_bf, + [AC_TRY_COMPILE([#include +#include ], + [struct mtget t; t.mt_bf = 0;], + [ac_cv_struct_mtget_bf=yes], + [ac_cv_struct_mtget_bf=no])]) +if test $ac_cv_struct_mtget_bf = yes; then + AC_DEFINE(HAVE_MTGET_BF) +fi]) + +dnl Checks for illegal declaration of 'union semun' in sys/sem.h. +dnl Defines HAVE_UNION_SEMUN on success. +AC_DEFUN([AC_STRUCT_UNION_SEMUN], +[AC_CACHE_CHECK([if an illegal declaration for union semun in sys/sem.h exists], ac_cv_struct_union_semun, + [AC_TRY_COMPILE([#include +#include +#include ], [union semun s;], + [ac_cv_struct_union_semun=yes], + [ac_cv_struct_union_semun=no])]) +if test $ac_cv_struct_union_semun = yes; then + AC_DEFINE(HAVE_UNION_SEMUN) +fi]) + +dnl Checks if 'union wait' is declared in 'wait.h' or 'sys/wait.h'. +dnl Defines HAVE_UNION_WAIT on success. +AC_DEFUN([AC_STRUCT_UNION_WAIT], +[AC_CACHE_CHECK([if union wait is declared in wait.h or sys/wait.h], ac_cv_struct_union_wait, + [AC_TRY_COMPILE([#include +#if defined(HAVE_WAIT_H) +# include +#else +#include +#endif], [union wait w;], + [ac_cv_struct_union_wait=yes], + [ac_cv_struct_union_wait=no])]) +if test $ac_cv_struct_union_wait = yes; then + AC_DEFINE(HAVE_UNION_WAIT) +fi]) + +dnl Checks if union wait is used by default +dnl Defines USE_UNION_WAIT to int on failure. +AC_DEFUN([AC_USE_STRUCT_UNION_WAIT], +[AC_REQUIRE([AC_HEADER_STDC])dnl +AC_MSG_CHECKING(if union wait is used by default) +AC_CACHE_VAL(ac_cv_use_union_wait, +[AC_EGREP_CPP(dnl +changequote(<<,>>)dnl +<>dnl +changequote([,]), [#include +#if defined(HAVE_WAIT_H) +# include +#else +#include +#endif +xxzzy WTERMSIG(status) +xxzzy WCOREDUMP(status) +xxzzy WEXITSTATUS(status) +xxzzy WSTOPSIG(status) +xxzzy WIFSTOPPED(status) +xxzzy WIFSIGNALED(status) +xxzzy WIFEXITED(status)], ac_cv_use_union_wait=yes, ac_cv_use_union_wait=no)])dnl +AC_MSG_RESULT($ac_cv_use_union_wait) +if test $ac_cv_use_union_wait = yes; then + AC_DEFINE(USE_UNION_WAIT) +fi]) + +dnl Checks if 'struct rusage' is declared in sys/resource.h. +dnl Defines HAVE_STRUCT_RUSAGE on success. +AC_DEFUN([AC_STRUCT_RUSAGE], +[AC_CACHE_CHECK([if struct rusage is declared in sys/resource.h], ac_cv_struct_rusage, + [AC_TRY_COMPILE([#include +#include ], [struct rusage r;], + [ac_cv_struct_rusage=yes], + [ac_cv_struct_rusage=no])]) +if test $ac_cv_struct_rusage = yes; then + AC_DEFINE(HAVE_STRUCT_RUSAGE) +fi]) + +dnl Checks if structure 'siginfo' have field 'si_utime'. +dnl Defines HAVE_SI_UTIME on success. +AC_DEFUN([AC_STRUCT_SI_UTIME], +[AC_CACHE_CHECK([if struct siginfo contains si_utime], ac_cv_struct_si_utime, + [AC_TRY_COMPILE([#include +#include ], + [struct siginfo si; si.si_utime = 0;], + [ac_cv_struct_si_utime=yes], + [ac_cv_struct_si_utime=no])]) +if test $ac_cv_struct_si_utime = yes; then + AC_DEFINE(HAVE_SI_UTIME) +fi]) + + +dnl Checks if structure 'dirent' have field 'd_ino'. +dnl Defines HAVE_DIRENT_D_INO on success. +AC_DEFUN([AC_STRUCT_DIRENT_D_INO], +[AC_CACHE_CHECK([if struct dirent contains d_ino], ac_cv_struct_dirent_d_ino, + [AC_TRY_COMPILE([ +/* + * This must be kept in sync with schily/dirent.h + */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +# ifdef HAVE_DIRENT_H /* This a POSIX compliant system */ +# include +# define _FOUND_DIR_ +# else /* This is a Pre POSIX system */ + +# define dirent direct + +# if defined(HAVE_SYS_DIR_H) +# include +# define _FOUND_DIR_ +# endif + +# if defined(HAVE_NDIR_H) && !defined(_FOUND_DIR_) +# include +# define _FOUND_DIR_ +# endif + +# if defined(HAVE_SYS_NDIR_H) && !defined(_FOUND_DIR_) +# include +# define _FOUND_DIR_ +# endif +# endif /* HAVE_DIRENT_H */ + ], + [struct dirent d; d.d_ino = 0;], + [ac_cv_struct_dirent_d_ino=yes], + [ac_cv_struct_dirent_d_ino=no])]) +if test $ac_cv_struct_dirent_d_ino = yes; then + AC_DEFINE(HAVE_DIRENT_D_INO) +fi]) + +dnl Checks if structure 'dirent' have field 'd_type'. +dnl Defines HAVE_DIRENT_D_TYPE on success. +AC_DEFUN([AC_STRUCT_DIRENT_D_TYPE], +[AC_CACHE_CHECK([if struct dirent contains d_type], ac_cv_struct_dirent_d_type, + [AC_TRY_COMPILE([ +/* + * This must be kept in sync with schily/dirent.h + */ +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +# ifdef HAVE_DIRENT_H /* This a POSIX compliant system */ +# include +# define _FOUND_DIR_ +# else /* This is a Pre POSIX system */ + +# define dirent direct + +# if defined(HAVE_SYS_DIR_H) +# include +# define _FOUND_DIR_ +# endif + +# if defined(HAVE_NDIR_H) && !defined(_FOUND_DIR_) +# include +# define _FOUND_DIR_ +# endif + +# if defined(HAVE_SYS_NDIR_H) && !defined(_FOUND_DIR_) +# include +# define _FOUND_DIR_ +# endif +# endif /* HAVE_DIRENT_H */ + ], + [struct dirent d; d.d_type = 0;], + [ac_cv_struct_dirent_d_type=yes], + [ac_cv_struct_dirent_d_type=no])]) +if test $ac_cv_struct_dirent_d_type = yes; then + AC_DEFINE(HAVE_DIRENT_D_TYPE) +fi]) + +dnl Checks if structure 'DIR' have field 'dd_fd'. +dnl Defines HAVE_DIR_DD_FD on success. +AC_DEFUN([AC_STRUCT_DIR_DD_FD], +[AC_CACHE_CHECK([if DIR * contains dd_fd], ac_cv_struct_dir_dd_fd, + [AC_TRY_COMPILE([#include ], + [DIR d; d.dd_fd = 0; exit (d.dd_fd == 0);], + [ac_cv_struct_dir_dd_fd=yes], + [ac_cv_struct_dir_dd_fd=no])]) +if test $ac_cv_struct_dir_dd_fd = yes; then + AC_DEFINE(HAVE_DIR_DD_FD) +fi]) + +dnl Checks wether major(), minor() and makedev() are defined in +dnl 'sys/mkdev.h' or in 'sys/sysmacros.h. Defines MAJOR_IN_MKDEV or +dnl MAJOR_IN_SYSMACROS or nothing. +AC_DEFUN([AC_HEADER_MAKEDEV], +[AC_CACHE_CHECK([for header file containing major(), minor() and makedev()], + ac_cv_header_makedev, +[ac_cv_header_makedev=none +AC_TRY_COMPILE([#include +#include ], + [int i = major(0); i = minor(0); i = makedev(0,0);], + [ac_cv_header_makedev=sys/mkdev.h]) +if test $ac_cv_header_makedev = none; then + AC_TRY_COMPILE([#include +#include ], + [int i = major(0); i = minor(0); i = makedev(0,0);], + [ac_cv_header_makedev=sys/sysmacros.h]) +fi]) +if test $ac_cv_header_makedev = sys/mkdev.h; then + AC_DEFINE(MAJOR_IN_MKDEV) +fi +if test $ac_cv_header_makedev = sys/sysmacros.h; then + AC_DEFINE(MAJOR_IN_SYSMACROS) +fi]) + +dnl Checks for USG derived STDIO that uses _filbuf() +dnl Defines HAVE__FILBUF on success. +AC_DEFUN([AC_HEADER__FILBUF], +[AC_CACHE_CHECK([for _filbuf()], ac_cv_func__filbuf, + [AC_TRY_LINK([#include ], +[FILE *f; +int flag; +int count; +char *ptr; +char c = 0; +f = fopen("confdefs.h", "r"); +_filbuf(f); +_flsbuf(c, f); +flag = f->_flag & _IONBF; +flag |= f->_flag & _IOERR; +flag |= f->_flag & _IOEOF; +count = f->_cnt; +ptr = (char *)f->_ptr; +fclose(f);], + [ac_cv_func__filbuf=yes], + [ac_cv_func__filbuf=no])]) +if test $ac_cv_func__filbuf = yes; then + AC_DEFINE(HAVE__FILBUF) +fi]) + +dnl Checks for USG derived STDIO that uses __filbuf() +dnl Defines HAVE___FILBUF on success. +AC_DEFUN([AC_HEADER___FILBUF], +[AC_CACHE_CHECK([for __filbuf()], ac_cv_func___filbuf, + [AC_TRY_LINK([#include ], +[FILE *f; +int flag; +int count; +char *ptr; +char c = 0; +f = fopen("confdefs.h", "r"); +__filbuf(f); +__flsbuf(c, f); +flag = f->_flag & _IONBF; +flag |= f->_flag & _IOERR; +flag |= f->_flag & _IOEOF; +count = f->_cnt; +ptr = (char *)f->_ptr; +fclose(f);], + [ac_cv_func___filbuf=yes], + [ac_cv_func___filbuf=no])]) +if test $ac_cv_func___filbuf = yes; then + AC_DEFINE(HAVE___FILBUF) +fi]) + +dnl Checks for USG derived STDIO +dnl Defines HAVE_USG_STDIO on success. +AC_DEFUN([AC_HEADER_USG_STDIO], +[AC_REQUIRE([AC_HEADER__FILBUF])AC_REQUIRE([AC_HEADER___FILBUF])dnl +AC_CACHE_CHECK([for USG derived STDIO], ac_cv_header_usg_stdio, + [AC_TRY_LINK([#include ], +[FILE *f; +int flag; +int count; +char *ptr; +char c = 0; +f = fopen("confdefs.h", "r"); +#ifdef HAVE___FILBUF +__filbuf(f); +__flsbuf(c, f); +#else +# ifdef HAVE__FILBUF +_filbuf(f); +_flsbuf(c, f); +# else +no filbuf() +# endif +#endif +flag = f->_flag & _IONBF; +flag |= f->_flag & _IOERR; +flag |= f->_flag & _IOEOF; +count = f->_cnt; +ptr = (char *)f->_ptr; +fclose(f);], + [ac_cv_header_usg_stdio=yes], + [ac_cv_header_usg_stdio=no])]) +if test $ac_cv_header_usg_stdio = yes; then + AC_DEFINE(HAVE_USG_STDIO) +fi]) + +dnl Checks for Linux stdio with f->_flags +dnl Defines HAVE_FILE__FLAGS on success. +AC_DEFUN([AC_HEADER_FILE__FLAGS], +[AC_CACHE_CHECK([for f->_flags in FILE *], ac_cv_file__flags, + [AC_TRY_LINK([#include ], +[FILE *f; +int flags; +f = fopen("confdefs.h", "r"); +flags = f->_flags; +fclose(f);], + [ac_cv_file__flags=yes], + [ac_cv_file__flags=no])]) +if test $ac_cv_file__flags = yes; then + AC_DEFINE(HAVE_FILE__FLAGS) +fi]) + +dnl Checks for Linux stdio with f->_IO_buf_base +dnl Defines HAVE_FILE__IO_BUF_BASE on success. +AC_DEFUN([AC_HEADER_FILE__IO_BUF_BASE], +[AC_CACHE_CHECK([for f->_IO_buf_base in FILE *], ac_cv_file__io_buf_base, + [AC_TRY_LINK([#include ], +[FILE *f; +char *ptr; +f = fopen("confdefs.h", "r"); +ptr = f->_IO_buf_base; +fclose(f);], + [ac_cv_file__io_buf_base=yes], + [ac_cv_file__io_buf_base=no])]) +if test $ac_cv_file__io_buf_base = yes; then + AC_DEFINE(HAVE_FILE__IO_BUF_BASE) +fi]) + +dnl Checks for errno definition in +dnl Defines HAVE_ERRNO_DEF on success. +AC_DEFUN([AC_HEADER_ERRNO_DEF], +[AC_CACHE_CHECK([for errno definition in errno.h], ac_cv_header_errno_def, + [AC_TRY_COMPILE([#include ], +[errno = 0;], + [ac_cv_header_errno_def=yes], + [ac_cv_header_errno_def=no])]) +if test $ac_cv_header_errno_def = yes; then + AC_DEFINE(HAVE_ERRNO_DEF) +fi]) + +dnl Checks for environ definition in +dnl Defines HAVE_ENVIRON_DEF on success. +AC_DEFUN([AC_HEADER_ENVIRON_DEF], +[AC_CACHE_CHECK([for environ definition in unistd.h/stdlib.h], ac_cv_header_environ_def, + [AC_TRY_COMPILE([ +#ifdef HAVE_UNISTD_H +#include +#else +#ifdef HAVE_STDLIB_H +#include /* MSC no unistd.h but environ in stdlib.h */ +#endif +#endif +], +[environ = 0;], + [ac_cv_header_environ_def=yes], + [ac_cv_header_environ_def=no])]) +if test $ac_cv_header_environ_def = yes; then + AC_DEFINE(HAVE_ENVIRON_DEF) +fi]) + +dnl Checks for sys_siglist definition in +dnl Defines HAVE_SYS_SIGLIST_DEF on success. +AC_DEFUN([AC_HEADER_SYS_SIGLIST_DEF], +[AC_CACHE_CHECK([for sys_siglist definition in signal.h], ac_cv_header_sys_siglist_def, + [AC_TRY_COMPILE([#include ], +[char *cp = (char *)sys_siglist[0]; exit (cp != (char *)0 && *cp != 0);], + [ac_cv_header_sys_siglist_def=yes], + [ac_cv_header_sys_siglist_def=no])]) +if test $ac_cv_header_sys_siglist_def = yes; then + AC_DEFINE(HAVE_SYS_SIGLIST_DEF) +fi]) + +dnl Checks for extern timezone in time.h or sys/time.h +dnl Defines HAVE_VAR_TIMEZONE_DEF on success. +AC_DEFUN([AC_VAR_TIMEZONE_DEF], +[AC_REQUIRE([AC_HEADER_TIME])dnl +AC_CACHE_CHECK([for extern timezone in time.h or sys/time.h], ac_cv_var_timezone_def, + [AC_TRY_COMPILE([ +#include +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif], [timezone = 1;], + [ac_cv_var_timezone_def=yes], + [ac_cv_var_timezone_def=no])]) +if test $ac_cv_var_timezone_def = yes; then + AC_DEFINE(HAVE_VAR_TIMEZONE_DEF) +fi]) + +dnl Checks if extern long timezone exists in libc +dnl Defines HAVE_VAR_TIMEZONE on success. +AC_DEFUN([AC_VAR_TIMEZONE], +[AC_CACHE_CHECK([for working extern long timezone ], ac_cv_var_timezone, + [AC_TRY_RUN([ +extern long timezone; + +int +main() +{ + exit(timezone != 0); +}], + [ac_cv_var_timezone=yes], + [ac_cv_var_timezone=no])]) +if test $ac_cv_var_timezone = yes; then + AC_DEFINE(HAVE_VAR_TIMEZONE) +fi]) + +dnl Checks if extern char *__progname exists in libc +dnl Defines HAVE_VAR___PROGNAME on success. +AC_DEFUN([AC_VAR___PROGNAME], +[AC_CACHE_CHECK([for working extern char *__progname ], ac_cv_var___progname, + [AC_TRY_RUN([ +extern char *__progname; + +int +main() +{ + exit (!(__progname != 0 && *__progname != '\0')); +}], + [ac_cv_var___progname=yes], + [ac_cv_var___progname=no])]) +if test $ac_cv_var___progname = yes; then + AC_DEFINE(HAVE_VAR___PROGNAME) +fi]) + +dnl Checks if extern char *__progname_full exists in libc +dnl Defines HAVE_VAR___PROGNAME_FULL on success. +AC_DEFUN([AC_VAR___PROGNAME_FULL], +[AC_CACHE_CHECK([for working extern char *__progname_full ], ac_cv_var___progname_full, + [AC_TRY_RUN([ +extern char *__progname_full; + +int +main() +{ + exit (!(__progname_full != 0 && *__progname_full != '\0')); +}], + [ac_cv_var___progname_full=yes], + [ac_cv_var___progname_full=no])]) +if test $ac_cv_var___progname_full = yes; then + AC_DEFINE(HAVE_VAR___PROGNAME_FULL) +fi]) + +dnl Checks for UNIX-98 compliant +dnl Defines HAVE_INTTYPES_H on success. +AC_DEFUN([AC_HEADER_INTTYPES], +[AC_CACHE_CHECK([for UNIX-98 compliant inttypes.h], ac_cv_header_inttypes, + [AC_TRY_COMPILE([#include ], +[int8_t c; uint8_t uc; int16_t s; uint16_t us; int32_t i; uint32_t ui; +int64_t ll; uint64_t ull; +intptr_t ip; uintptr_t uip;], + [ac_cv_header_inttypes=yes], + [ac_cv_header_inttypes=no])]) +if test $ac_cv_header_inttypes = yes; then + AC_DEFINE(HAVE_INTTYPES_H) +fi]) + +dnl Checks for SUSv3 compliant +dnl Defines HAVE_STDINT_H and HAVE_TYPE_INTMAX_T/HAVE_TYPE_UINTMAX_T on success. +AC_DEFUN([AC_HEADER_STDINT], +[AC_CACHE_CHECK([for SUSv3 compliant stdint.h], ac_cv_header_stdint, + [AC_TRY_COMPILE([#include ], +[int8_t c; uint8_t uc; int16_t s; uint16_t us; int32_t i; uint32_t ui; +int64_t ll; uint64_t ull; +intptr_t ip; uintptr_t uip; +intmax_t im; uintmax_t uim;], + [ac_cv_header_stdint=yes], + [ac_cv_header_stdint=no])]) +if test $ac_cv_header_stdint = yes; then + AC_DEFINE(HAVE_STDINT_H) + AC_DEFINE(HAVE_TYPE_INTMAX_T) + AC_DEFINE(HAVE_TYPE_UINTMAX_T) +fi]) + +dnl Checks for struct timeval in time.h or sys/time.h +dnl Defines HAVE_STRUCT_TIMEVAL on success. +AC_DEFUN([AC_STRUCT_TIMEVAL], +[AC_REQUIRE([AC_HEADER_TIME])dnl +AC_CACHE_CHECK([for struct timeval in time.h or sys/time.h], ac_cv_struct_timeval, + [AC_TRY_COMPILE([ +#include +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif], [struct timeval tv;], + [ac_cv_struct_timeval=yes], + [ac_cv_struct_timeval=no])]) +if test $ac_cv_struct_timeval = yes; then + AC_DEFINE(HAVE_STRUCT_TIMEVAL) +fi]) + +dnl Checks for struct timezone in time.h or sys/time.h +dnl Defines HAVE_STRUCT_TIMEZONE on success. +AC_DEFUN([AC_STRUCT_TIMEZONE], +[AC_REQUIRE([AC_HEADER_TIME])dnl +AC_CACHE_CHECK([for struct timezone in time.h or sys/time.h], ac_cv_struct_timezone, + [AC_TRY_COMPILE([ +#include +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif], [struct timezone tz;], + [ac_cv_struct_timezone=yes], + [ac_cv_struct_timezone=no])]) +if test $ac_cv_struct_timezone = yes; then + AC_DEFINE(HAVE_STRUCT_TIMEZONE) +fi]) + +dnl Checks for struct timespec in time.h or sys/time.h +dnl Defines HAVE_STRUCT_TIMESPEC on success. +AC_DEFUN([AC_STRUCT_TIMESPEC], +[AC_REQUIRE([AC_HEADER_TIME])dnl +AC_CACHE_CHECK([for struct timespec in time.h or sys/time.h], ac_cv_struct_timespec, + [AC_TRY_COMPILE([ +#include +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif], [struct timespec ts;], + [ac_cv_struct_timespec=yes], + [ac_cv_struct_timespec=no])]) +if test $ac_cv_struct_timespec = yes; then + AC_DEFINE(HAVE_STRUCT_TIMESPEC) +fi]) + +dnl Checks for type time_t +dnl Defines time_t to long on failure. +AC_DEFUN([AC_TYPE_TIME_T], +[AC_REQUIRE([AC_HEADER_TIME])dnl +AC_CACHE_CHECK([for time_t], ac_cv_type_time_t, + [AC_TRY_COMPILE([ +#include +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif], [time_t t;], + [ac_cv_type_time_t=yes], + [ac_cv_type_time_t=no])]) +if test $ac_cv_type_time_t = no; then + AC_DEFINE(time_t, long) +fi]) + +dnl AC_CHECK_SIZE_TIME([CROSS-SIZE]) +dnl This must be called past AC_CHECK_SIZEOF(long int) +AC_DEFUN(AC_CHECK_SIZE_TIME_T, +[changequote(<<, >>)dnl +dnl The name to #define. +define(<>, translit(sizeof_time_t, [a-z *], [A-Z_P]))dnl +dnl The cache variable name. +define(<>, translit(ac_cv_sizeof_time_t, [ *], [_p]))dnl +changequote([, ])dnl +AC_MSG_CHECKING(size of time_t) +AC_CACHE_VAL(AC_CV_NAME, +[AC_TRY_RUN([#include +#include +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(time_t)); + exit(0); +}], AC_CV_NAME=`cat conftestval`, AC_CV_NAME=SIZEOF_LONG_INT, ifelse([$1], , , AC_CV_NAME=$1))])dnl +AC_MSG_RESULT($AC_CV_NAME) +AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME) +undefine([AC_TYPE_NAME])dnl +undefine([AC_CV_NAME])dnl +]) + +dnl AC_CHECK_SIZE_WCHAR([CROSS-SIZE]) +AC_DEFUN(AC_CHECK_SIZE_WCHAR, +[changequote(<<, >>)dnl +dnl The name to #define. +define(<>, translit(sizeof_wchar, [a-z *], [A-Z_P]))dnl +dnl The cache variable name. +define(<>, translit(ac_cv_sizeof_wchar, [ *], [_p]))dnl +changequote([, ])dnl +AC_MSG_CHECKING(size of wchar) +AC_CACHE_VAL(AC_CV_NAME, +[AC_TRY_RUN([#include +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(L'a')); + exit(0); +}], AC_CV_NAME=`cat conftestval`, AC_CV_NAME=0, ifelse([$1], , , AC_CV_NAME=$1))])dnl +AC_MSG_RESULT($AC_CV_NAME) +AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME) +undefine([AC_TYPE_NAME])dnl +undefine([AC_CV_NAME])dnl +]) + +dnl AC_CHECK_SIZE_WCHAR([CROSS-SIZE]) +AC_DEFUN(AC_CHECK_SIZE_WCHAR_T, +[changequote(<<, >>)dnl +dnl The name to #define. +define(<>, translit(sizeof_wchar_t, [a-z *], [A-Z_P]))dnl +dnl The cache variable name. +define(<>, translit(ac_cv_sizeof_wchar_t, [ *], [_p]))dnl +changequote([, ])dnl +AC_MSG_CHECKING(size of wchar_t) +AC_CACHE_VAL(AC_CV_NAME, +[AC_TRY_RUN([#include +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_STDLIB_H +#include +#endif +#ifdef HAVE_WCHAR_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(wchar_t)); + exit(0); +}], AC_CV_NAME=`cat conftestval`, AC_CV_NAME=SIZEOF_CHAR, ifelse([$1], , , AC_CV_NAME=$1))])dnl +AC_MSG_RESULT($AC_CV_NAME) +AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME) +undefine([AC_TYPE_NAME])dnl +undefine([AC_CV_NAME])dnl +]) + + +dnl Checks for type clock_t +dnl Defines clock_t to long on failure. +dnl XXX we cannot check for AC_CHECK_HEADERS(sys/times.h) +AC_DEFUN([AC_TYPE_CLOCK_T], +[AC_REQUIRE([AC_HEADER_TIME])dnl +AC_CACHE_CHECK([for clock_t], ac_cv_type_clock_t, + [AC_TRY_COMPILE([ +#include +/* + * time.h is needed because of a bug in Next Step. + * Next Step needs time.h for clock_t + */ +#ifdef TIME_WITH_SYS_TIME +# ifndef _INCL_SYS_TIME_H +# include +# define _INCL_SYS_TIME_H +# endif +# ifndef _INCL_TIME_H +# include +# define _INCL_TIME_H +# endif +#else +#ifdef HAVE_SYS_TIME_H +# ifndef _INCL_SYS_TIME_H +# include +# define _INCL_SYS_TIME_H +# endif +#else +# ifndef _INCL_TIME_H +# include +# define _INCL_TIME_H +# endif +#endif +#endif +#ifdef HAVE_SYS_TIMES_H +#include +#endif + ], [clock_t t;], + [ac_cv_type_clock_t=yes], + [ac_cv_type_clock_t=no])]) +if test $ac_cv_type_clock_t = no; then + AC_DEFINE(clock_t, long) +fi]) + +dnl Checks for type socklen_t +dnl Defines socklen_t to int on failure. +AC_DEFUN([AC_TYPE_SOCKLEN_T], +[AC_REQUIRE([AC_HEADER_STDC])dnl +AC_MSG_CHECKING(for socklen_t) +AC_CACHE_VAL(ac_cv_type_socklen_t, +[AC_EGREP_CPP(dnl +changequote(<<,>>)dnl +<<(^|[^a-zA-Z_0-9])socklen_t[^a-zA-Z_0-9]>>dnl +changequote([,]), [#include +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#include ], ac_cv_type_socklen_t=yes, ac_cv_type_socklen_t=no)])dnl +AC_MSG_RESULT($ac_cv_type_socklen_t) +if test $ac_cv_type_socklen_t = no; then + AC_DEFINE(socklen_t, int) +fi]) + +dnl Checks for type stack_t +dnl Defines HAVE_STACK_T on success. +AC_DEFUN([AC_TYPE_STACK_T], +[AC_CACHE_CHECK([if stack_t is declared in signal.h], ac_cv_stack_t, + [AC_TRY_COMPILE([#include ], + [stack_t ss; ss.ss_size = 0; exit (ss.ss_size == 0);], + [ac_cv_stack_t=yes], + [ac_cv_stack_t=no])]) +if test $ac_cv_stack_t = yes; then + AC_DEFINE(HAVE_STACK_T) +fi]) + +dnl Checks for type siginfo_t +dnl Defines HAVE_SIGINFO_T on success. +AC_DEFUN([AC_TYPE_SIGINFO_T], +[AC_CACHE_CHECK([if siginfo_t is declared in signal.h], ac_cv_siginfo_t, + [AC_TRY_COMPILE([#include +#ifdef HAVE_SIGINFO_H +#include +#else +#ifdef HAVE_SYS_SIGINFO_H +#include +#endif +#endif], + [siginfo_t si; si.si_signo = 0; exit (si.si_signo == 0);], + [ac_cv_siginfo_t=yes], + [ac_cv_siginfo_t=no])]) +if test $ac_cv_siginfo_t = yes; then + AC_DEFINE(HAVE_SIGINFO_T) +fi]) + +dnl Checks for type idtype_t +dnl Defines HAVE_TYPE_IDTYPE_T on success. +AC_DEFUN([AC_TYPE_IDTYPE_T], +[AC_CACHE_CHECK([if idtype_t is declared correctly in wait.h], ac_cv_have_type_idtype_t, + [AC_TRY_COMPILE([ +#if defined(HAVE_WAIT_H) +# include +#else +#include +#endif], + [idtype_t idt; idt = P_ALL; idt = P_PGID; idt = P_PID; exit (idt == P_PID);], + [ac_cv_have_type_idtype_t=yes], + [ac_cv_have_type_idtype_t=no])]) +if test $ac_cv_have_type_idtype_t = yes; then + AC_DEFINE(HAVE_TYPE_IDTYPE_T) +fi]) + +dnl Checks for type struct sockaddr_storage +dnl Defines HAVE_SOCKADDR_STORAGE on success. +AC_DEFUN([AC_STRUCT_SOCKADDR_STORAGE], +[AC_CACHE_CHECK([if struct sockaddr_storage is declared in socket.h], ac_cv_struct_sockaddr_storage, + [AC_TRY_COMPILE([#include ], + [struct sockaddr_storage ss; ss.ss_family = 0; exit (ss.ss_family == 0);], + [ac_cv_struct_sockaddr_storage=yes], + [ac_cv_struct_sockaddr_storage=no])]) +if test $ac_cv_struct_sockaddr_storage = yes; then + AC_DEFINE(HAVE_SOCKADDR_STORAGE) +fi]) + +dnl Checks for type long long +dnl Defines HAVE_LONGLONG on success. +AC_DEFUN([AC_TYPE_LONGLONG], +[AC_CACHE_CHECK([for type long long], ac_cv_type_longlong, + [AC_TRY_COMPILE([], [long long i;], + [ac_cv_type_longlong=yes], + [ac_cv_type_longlong=no])]) +if test $ac_cv_type_longlong = yes; then + AC_DEFINE(HAVE_LONGLONG) +fi]) + +dnl Checks for type __int64 +dnl Defines HAVE___INT64 on success. +AC_DEFUN([AC_TYPE___INT64], +[AC_CACHE_CHECK([for type __int64], ac_cv_type___int64, + [AC_TRY_COMPILE([], [__int64 i;], + [ac_cv_type___int64=yes], + [ac_cv_type___int64=no])]) +if test $ac_cv_type___int64 = yes; then + AC_DEFINE(HAVE___INT64) +fi]) + +dnl Checks for type long double +dnl Defines HAVE_LONGDOUBLE on success. +AC_DEFUN([AC_TYPE_LONGDOUBLE], +[AC_CACHE_CHECK([for type long double], ac_cv_type_longdouble, + [AC_TRY_COMPILE([], [long double ld;], + [ac_cv_type_longdouble=yes], + [ac_cv_type_longdouble=no])]) +if test $ac_cv_type_longdouble = yes; then + AC_DEFINE(HAVE_LONGDOUBLE) +fi]) + +dnl Checks if C-compiler orders bitfields htol +dnl Defines BITFIELDS_HTOL on success. +AC_DEFUN([AC_C_BITFIELDS], +[AC_CACHE_CHECK([whether bitorder in bitfields is htol], ac_cv_c_bitfields_htol, + [AC_TRY_RUN([ +struct { + unsigned char x1:4; + unsigned char x2:4; +} a; +int +main() +{ +char *cp; + +cp = (char *)&a; +*cp = 0x12; +exit(a.x1 == 2);}], + [ac_cv_c_bitfields_htol=yes], + [ac_cv_c_bitfields_htol=no])]) +if test $ac_cv_c_bitfields_htol = yes; then + AC_DEFINE(BITFIELDS_HTOL) +fi]) + +dnl Checks if C-compiler understands prototypes +dnl Defines PROTOTYPES on success. +AC_DEFUN([AC_TYPE_PROTOTYPES], +[AC_CACHE_CHECK([for prototypes], ac_cv_type_prototypes, + [AC_TRY_RUN([ +doit(int i, ...) +{return 0;} +int +main(int ac, char *av[]) +{ doit(1, 2, 3); +exit(0);}], + [ac_cv_type_prototypes=yes], + [ac_cv_type_prototypes=no])]) +if test $ac_cv_type_prototypes = yes; then + AC_DEFINE(PROTOTYPES) +fi]) + +dnl Checks for type size_t +dnl Defines HAVE_SIZE_T_ on success. +AC_DEFUN([AC_TYPE_SIZE_T_], +[AC_CACHE_CHECK([for type size_t], ac_cv_type_size_t_, + [AC_TRY_COMPILE([ +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_STDLIB_H +#include +#endif +#ifdef HAVE_STDDEF_H +#include +#endif +#ifdef HAVE_STDIO_H +#include +#endif + ], [size_t s;], + [ac_cv_type_size_t_=yes], + [ac_cv_type_size_t_=no])]) +if test $ac_cv_type_size_t_ = yes; then + AC_DEFINE(HAVE_SIZE_T) +else + AC_DEFINE(NO_SIZE_T) +fi]) + +dnl Checks if type char is unsigned +dnl Defines CHAR_IS_UNSIGNED on success. +AC_DEFUN([AC_TYPE_CHAR], +[AC_CACHE_CHECK([if char is unsigned], ac_cv_type_char_unsigned, + [AC_TRY_RUN([ +int +main() +{ + char c; + + c = -1; + exit(c < 0);}], + [ac_cv_type_char_unsigned=yes], + [ac_cv_type_char_unsigned=no], + [ac_cv_type_char_unsigned=no])]) +if test $ac_cv_type_char_unsigned = yes; then + AC_DEFINE(CHAR_IS_UNSIGNED) +fi]) + +dnl Checks if function/macro va_copy() is available +dnl Defines HAVE_VA_COPY on success. +AC_DEFUN([AC_FUNC_VA_COPY], +[AC_CACHE_CHECK([for va_copy], ac_cv_func_va_copy, + [AC_TRY_LINK([ +#ifdef HAVE_STDARG_H +# include +#else +# include +#endif], + [ +va_list a, b; + +va_copy(a, b);], + [ac_cv_func_va_copy=yes], + [ac_cv_func_va_copy=no])]) +if test $ac_cv_func_va_copy = yes; then + AC_DEFINE(HAVE_VA_COPY) +fi]) + +dnl Checks if function/macro __va_copy() is available +dnl Defines HAVE__VA_COPY on success. +AC_DEFUN([AC_FUNC__VA_COPY], +[AC_CACHE_CHECK([for __va_copy], ac_cv_func__va_copy, + [AC_TRY_LINK([ +#ifdef HAVE_STDARG_H +# include +#else +# include +#endif], + [ +va_list a, b; + +__va_copy(a, b);], + + [ac_cv_func__va_copy=yes], + [ac_cv_func__va_copy=no])]) +if test $ac_cv_func__va_copy = yes; then + AC_DEFINE(HAVE__VA_COPY) +fi]) + +dnl Checks if va_list is an array +dnl Defines VA_LIST_IS_ARRAY on success. +AC_DEFUN([AC_TYPE_VA_LIST], +[AC_CACHE_CHECK([if va_list is an array], ac_cv_type_va_list_array, + [AC_TRY_LINK([ +#ifdef HAVE_STDARG_H +# include +#else +# include +#endif +], + [ +va_list a, b; + +a = b;], + [ac_cv_type_va_list_array=no], + [ac_cv_type_va_list_array=yes])]) +if test $ac_cv_type_va_list_array = yes; then + AC_DEFINE(VA_LIST_IS_ARRAY) +fi]) + +dnl Checks if quotactl is present as ioctl +dnl Defines HAVE_QUOTAIOCTL on success. +AC_DEFUN([AC_FUNC_QUOTAIOCTL], +[AC_CACHE_CHECK([if quotactl is an ioctl], ac_cv_func_quotaioctl, + [AC_TRY_LINK([#include +#include ], + [struct quotctl q; ioctl(0, Q_QUOTACTL, &q)], + [ac_cv_func_quotaioctl=yes], + [ac_cv_func_quotaioctl=no])]) +if test $ac_cv_func_quotaioctl = yes; then + AC_DEFINE(HAVE_QUOTAIOCTL) +fi]) + +dnl Checks if function __dtoa() is available +dnl Defines HAVE_DTOA on success. +AC_DEFUN([AC_FUNC_DTOA], +[AC_CACHE_CHECK([for __dtoa], ac_cv_func_dtoa, + [AC_TRY_LINK([extern char *__dtoa();], +[int decpt; int sign; char *ep; char *bp; +bp = __dtoa(0.0, 2, 6, &decpt, &sign, &ep);], + [ac_cv_func_dtoa=yes], + [ac_cv_func_dtoa=no])]) +if test $ac_cv_func_dtoa = yes; then + AC_DEFINE(HAVE_DTOA) +fi]) + +dnl Checks if reentrant __dtoa() exists (needs a result prt) +dnl Defines HAVE_DTOA_R on success. +AC_DEFUN([AC_FUNC_DTOA_R], +[AC_REQUIRE([AC_FUNC_DTOA])dnl +AC_CACHE_CHECK([for __dtoa that needs result ptr], ac_cv_func_dtoa_r, + [AC_TRY_RUN([ +extern char *__dtoa(); +int +main() +{ +#ifdef HAVE_DTOA + int decpt, sign; + char *bp; + char *ep; + char *result; + + result = 0; + bp = __dtoa(1.9, 2, 5, &decpt, &sign, &ep, &result); + exit(result == 0); +#else + exit(1); +#endif +}], + [ac_cv_func_dtoa_r=yes], + [ac_cv_func_dtoa_r=no])]) +if test $ac_cv_func_dtoa_r = yes; then + AC_DEFINE(HAVE_DTOA_R) +fi]) + +dnl Checks if working ecvt() exists +dnl Defines HAVE_ECVT on success. +AC_DEFUN([AC_FUNC_ECVT], +[AC_CACHE_CHECK([for working ecvt() ], ac_cv_func_ecvt, + [AC_TRY_RUN([ +extern char *ecvt(); + +sprintf(s) + char *s; +{ + strcpy(s, "DEAD"); +} + +int +main() +{ + int a, b; + +/* exit (strcmp("DEAD", ecvt(1.9, 2, &a, &b)) == 0);*/ + exit (strcmp("19", ecvt(1.9, 2, &a, &b)) != 0); +}], + [ac_cv_func_ecvt=yes], + [ac_cv_func_ecvt=no])]) +if test $ac_cv_func_ecvt = yes; then + AC_DEFINE(HAVE_ECVT) +fi]) + +dnl Checks if working fcvt() exists +dnl Defines HAVE_FCVT on success. +AC_DEFUN([AC_FUNC_FCVT], +[AC_CACHE_CHECK([for working fcvt() ], ac_cv_func_fcvt, + [AC_TRY_RUN([ +extern char *fcvt(); + +sprintf(s) + char *s; +{ + strcpy(s, "DEAD"); +} + +int +main() +{ + int a, b; + +/* exit (strcmp("DEAD", fcvt(1.9, 2, &a, &b)) == 0);*/ + exit (strcmp("190", fcvt(1.9, 2, &a, &b)) != 0); +}], + [ac_cv_func_fcvt=yes], + [ac_cv_func_fcvt=no])]) +if test $ac_cv_func_fcvt = yes; then + AC_DEFINE(HAVE_FCVT) +fi]) + +dnl Checks if working gcvt() exists +dnl Defines HAVE_GCVT on success. +AC_DEFUN([AC_FUNC_GCVT], +[AC_CACHE_CHECK([for working gcvt() ], ac_cv_func_gcvt, + [AC_TRY_RUN([ +extern char *gcvt(); + +sprintf(s) + char *s; +{ + strcpy(s, "DEAD"); +} + +int +main() +{ + char buf[32]; + +/* exit (strcmp("DEAD", gcvt(1.9, 10, buf)) == 0);*/ + exit (strcmp("1.9", gcvt(1.9, 10, buf)) != 0); +}], + [ac_cv_func_gcvt=yes], + [ac_cv_func_gcvt=no])]) +if test $ac_cv_func_gcvt = yes; then + AC_DEFINE(HAVE_GCVT) +fi]) + +dnl Checks if function uname() is available +dnl Defines HAVE_UNAME on success. +AC_DEFUN([AC_FUNC_UNAME], +[AC_CACHE_CHECK([for uname], ac_cv_func_uname, + [AC_TRY_LINK([#include ], +[struct utsname un; +uname(&un);], + [ac_cv_func_uname=yes], + [ac_cv_func_uname=no])]) +if test $ac_cv_func_uname = yes; then + AC_DEFINE(HAVE_UNAME) +fi]) + +dnl Checks if function mlock() is available +dnl beware HP-UX 10.x it contains a bad mlock() in libc +dnl Defines HAVE_MLOCK on success. +AC_DEFUN([AC_FUNC_MLOCK], +[AC_REQUIRE([AC_HEADER_ERRNO_DEF])dnl +AC_CACHE_CHECK([for mlock], ac_cv_func_mlock, + [AC_TRY_RUN([ +#include +#include +#ifndef HAVE_ERRNO_DEF +extern int errno; +#endif + +main() +{ + if (mlock(0, 0) < 0) { + if (errno == EINVAL || errno == ENOMEM || + errno == EPERM || errno == EACCES) + exit(0); + exit(-1); + } + exit(0); +}], + [ac_cv_func_mlock=yes], + [ac_cv_func_mlock=no]) +rm -f core core.* *.core]) +if test $ac_cv_func_mlock = yes; then + AC_DEFINE(HAVE_MLOCK) +fi]) + +dnl Checks if function mlockall() is available +dnl beware HP-UX 10.x it contains a bad mlockall() in libc +dnl Defines HAVE_MLOCKALL on success. +AC_DEFUN([AC_FUNC_MLOCKALL], +[AC_REQUIRE([AC_HEADER_ERRNO_DEF])dnl +AC_CACHE_CHECK([for mlockall], ac_cv_func_mlockall, + [AC_TRY_RUN([ +#include +#include +#include +#ifndef HAVE_ERRNO_DEF +extern int errno; +#endif + +int +main() +{ + if (mlockall(MCL_CURRENT|MCL_FUTURE) < 0) { + if (errno == EINVAL || errno == ENOMEM || + errno == EPERM || errno == EACCES) + exit(0); + exit(-1); + } + exit(0); +} +], + [ac_cv_func_mlockall=yes], + [ac_cv_func_mlockall=no]) +rm -f core core.* *.core]) +if test $ac_cv_func_mlockall = yes; then + AC_DEFINE(HAVE_MLOCKALL) +fi]) + +AC_DEFUN([jsAC_FUNC_MMAP], +[AC_CHECK_HEADERS(unistd.h)dnl +AC_REQUIRE([AC_MMAP_SIZEP])dnl +AC_REQUIRE([AC_FUNC_GETPAGESIZE])dnl +AC_CACHE_CHECK(for working mmap, ac_cv_func_mmap_fixed_mapped, +[AC_TRY_RUN([ +/* Thanks to Mike Haertel and Jim Avera for this test. + Here is a matrix of mmap possibilities: + mmap private not fixed + mmap private fixed at somewhere currently unmapped + mmap private fixed at somewhere already mapped + mmap shared not fixed + mmap shared fixed at somewhere currently unmapped + mmap shared fixed at somewhere already mapped + For private mappings, we should verify that changes cannot be read() + back from the file, nor mmap's back from the file at a different + address. (There have been systems where private was not correctly + implemented like the infamous i386 svr4.0, and systems where the + VM page cache was not coherent with the filesystem buffer cache + like early versions of FreeBSD and possibly contemporary NetBSD.) + For shared mappings, we should conversely verify that changes get + propogated back to all the places they're supposed to be. + + Grep wants private fixed already mapped. + The main things grep needs to know about mmap are: + * does it exist and is it safe to write into the mmap'd area + * how to use it (BSD variants) */ +#include +#include +#include + +/* + * Needed for Apollo Domain/OS and may be for others? + */ +#ifdef _MMAP_WITH_SIZEP +# define mmap_sizeparm(s) (&(s)) +#else +# define mmap_sizeparm(s) (s) +#endif + +/* This mess was copied from the GNU getpagesize.h. */ +#ifndef HAVE_GETPAGESIZE +# ifdef HAVE_UNISTD_H +# include +# endif + +/* Assume that all systems that can run configure have sys/param.h. */ +# ifndef HAVE_SYS_PARAM_H +# define HAVE_SYS_PARAM_H 1 +# endif + +# ifdef _SC_PAGESIZE +# define getpagesize() sysconf(_SC_PAGESIZE) +# else /* no _SC_PAGESIZE */ +# ifdef HAVE_SYS_PARAM_H +# include +# ifdef EXEC_PAGESIZE +# define getpagesize() EXEC_PAGESIZE +# else /* no EXEC_PAGESIZE */ +# ifdef NBPG +# define getpagesize() NBPG * CLSIZE +# ifndef CLSIZE +# define CLSIZE 1 +# endif /* no CLSIZE */ +# else /* no NBPG */ +# ifdef NBPC +# define getpagesize() NBPC +# else /* no NBPC */ +# ifdef PAGESIZE +# define getpagesize() PAGESIZE +# endif /* PAGESIZE */ +# endif /* no NBPC */ +# endif /* no NBPG */ +# endif /* no EXEC_PAGESIZE */ +# else /* no HAVE_SYS_PARAM_H */ +# define getpagesize() 8192 /* punt totally */ +# endif /* no HAVE_SYS_PARAM_H */ +# endif /* no _SC_PAGESIZE */ + +#endif /* no HAVE_GETPAGESIZE */ + +#ifdef __cplusplus +extern "C" { void *malloc(unsigned); } +#else +char *malloc(); +#endif + +int +main() +{ + char *data, *data2, *data3; + int i, pagesize; + int fd; + + pagesize = getpagesize(); + + /* + * First, make a file with some known garbage in it. + */ + data = malloc(pagesize); + if (!data) + exit(1); + for (i = 0; i < pagesize; ++i) + *(data + i) = rand(); + umask(0); + fd = creat("conftestmmap", 0600); + if (fd < 0) + exit(1); + if (write(fd, data, pagesize) != pagesize) + exit(1); + close(fd); + + /* + * Next, try to mmap the file at a fixed address which + * already has something else allocated at it. If we can, + * also make sure that we see the same garbage. + */ + fd = open("conftestmmap", O_RDWR); + if (fd < 0) + exit(1); + data2 = malloc(2 * pagesize); + if (!data2) + exit(1); + data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); + if (data2 != mmap(data2, mmap_sizeparm(pagesize), PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_FIXED, fd, 0L)) + exit(1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data2 + i)) + exit(1); + + /* + * Finally, make sure that changes to the mapped area + * do not percolate back to the file as seen by read(). + * (This is a bug on some variants of i386 svr4.0.) + */ + for (i = 0; i < pagesize; ++i) + *(data2 + i) = *(data2 + i) + 1; + data3 = malloc(pagesize); + if (!data3) + exit(1); + if (read(fd, data3, pagesize) != pagesize) + exit(1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data3 + i)) + exit(1); + close(fd); + unlink("conftestmmap"); + exit(0); +} +], ac_cv_func_mmap_fixed_mapped=yes, ac_cv_func_mmap_fixed_mapped=no, +ac_cv_func_mmap_fixed_mapped=no)]) +if test $ac_cv_func_mmap_fixed_mapped = yes; then + AC_DEFINE(HAVE_MMAP) +fi +]) + +AC_DEFUN([AC_MMAP_SIZEP], +[AC_CHECK_HEADERS(unistd.h)dnl +AC_REQUIRE([AC_FUNC_GETPAGESIZE])dnl +AC_CACHE_CHECK(for mmap that needs ptr to size, ac_cv_func_mmap_sizep, +[AC_TRY_RUN([ +#include +#include +#include +#include +#include + +#ifndef MAP_FILE +#define MAP_FILE 0 /* Needed on Apollo Domain/OS */ +#endif + +/* This mess was copied from the GNU getpagesize.h. */ +#ifndef HAVE_GETPAGESIZE +# ifdef HAVE_UNISTD_H +# include +# endif + +/* Assume that all systems that can run configure have sys/param.h. */ +# ifndef HAVE_SYS_PARAM_H +# define HAVE_SYS_PARAM_H 1 +# endif + +# ifdef _SC_PAGESIZE +# define getpagesize() sysconf(_SC_PAGESIZE) +# else /* no _SC_PAGESIZE */ +# ifdef HAVE_SYS_PARAM_H +# include +# ifdef EXEC_PAGESIZE +# define getpagesize() EXEC_PAGESIZE +# else /* no EXEC_PAGESIZE */ +# ifdef NBPG +# define getpagesize() NBPG * CLSIZE +# ifndef CLSIZE +# define CLSIZE 1 +# endif /* no CLSIZE */ +# else /* no NBPG */ +# ifdef NBPC +# define getpagesize() NBPC +# else /* no NBPC */ +# ifdef PAGESIZE +# define getpagesize() PAGESIZE +# endif /* PAGESIZE */ +# endif /* no NBPC */ +# endif /* no NBPG */ +# endif /* no EXEC_PAGESIZE */ +# else /* no HAVE_SYS_PARAM_H */ +# define getpagesize() 8192 /* punt totally */ +# endif /* no HAVE_SYS_PARAM_H */ +# endif /* no _SC_PAGESIZE */ + +#endif /* no HAVE_GETPAGESIZE */ + +#ifdef __cplusplus +extern "C" { void *malloc(unsigned); } +#else +char *malloc(); +#endif + +jmp_buf jenv; + +int +intr() +{ + signal(SIGSEGV, intr); + longjmp(jenv, 1); +} + +int +main() +{ + char *data, *data2; + int i, pagesize, ps; + int fd; + + pagesize = getpagesize(); + + /* + * First, make a file with some known garbage in it. + */ + data = malloc(pagesize); + if (!data) + exit(1); + for (i = 0; i < pagesize; ++i) + *(data + i) = rand(); + umask(0); + fd = creat("conftestmmap", 0600); + if (fd < 0) + exit(1); + if (write(fd, data, pagesize) != pagesize) + exit(1); + close(fd); + + /* + * Next, try to mmap the file at a fixed address which + * already has something else allocated at it. If we can, + * also make sure that we see the same garbage. + */ + fd = open("conftestmmap", O_RDWR); + if (fd < 0) + exit(1); + + /* + * Keep a copy, Apollo modifies the value... + */ + ps = pagesize; + + /* + * Apollo mmap() is not a syscall but a library function and fails + * if it tries to dereference 'ps'. We must use setjmp in order to + * catch the failure. + */ + signal(SIGSEGV, intr); + if (setjmp(jenv) == 0) { + data2 = mmap(0, ps, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0L); + } else { + data2 = (char *)-1; + } + if (data2 != (char *)-1) + exit(1); + + signal(SIGSEGV, intr); + if (setjmp(jenv) == 0) { + data2 = mmap(0, &ps, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0L); + } else { + data2 = (char *)-1; + } + if (data2 == (char *)-1) + exit(1); + + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data2 + i)) + exit(1); + + close(fd); + unlink("conftestmmap"); + exit(0); +} +], ac_cv_func_mmap_sizep=yes, ac_cv_func_mmap_sizep=no, +ac_cv_func_mmap_sizep=no)]) +if test $ac_cv_func_mmap_sizep = yes; then + AC_DEFINE(_MMAP_WITH_SIZEP) +fi +]) + +dnl Checks if mmap() works to get shared memory +dnl Defines HAVE_SMMAP on success. +AC_DEFUN([AC_FUNC_SMMAP], +[AC_CACHE_CHECK([if mmap works to get shared memory], ac_cv_func_smmap, + [AC_TRY_RUN([ +#include +#include + +#ifndef MAP_ANONYMOUS +# ifdef MAP_ANON +# define MAP_ANONYMOUS MAP_ANON +# endif +#endif + +/* + * Needed for Apollo Domain/OS and may be for others? + */ +#ifdef _MMAP_WITH_SIZEP +# define mmap_sizeparm(s) (&(s)) +#else +# define mmap_sizeparm(s) (s) +#endif + +char * +mkshare() +{ + int size = 8192; + int f; + char *addr; + +#ifdef MAP_ANONYMOUS /* HP/UX */ + f = -1; + addr = mmap(0, mmap_sizeparm(size), PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, f, 0); +#else + if ((f = open("/dev/zero", 2)) < 0) + exit(1); + addr = mmap(0, mmap_sizeparm(size), PROT_READ|PROT_WRITE, MAP_SHARED, f, 0); +#endif + if (addr == (char *)-1) + exit(1); + close(f); + + return (addr); +} + +int +main() +{ + char *addr; + + addr = mkshare(); + *addr = 'I'; + + switch (fork()) { + + case -1: + printf("help\n"); exit(1); + + case 0: /* child */ + *addr = 'N'; + _exit(0); + break; + default: /* parent */ + wait(0); + sleep(1); + break; + } + + if (*addr != 'N') + exit(1); + exit(0); +} +], + [ac_cv_func_smmap=yes], + [ac_cv_func_smmap=no], + [ac_cv_func_smmap=no])]) +if test $ac_cv_func_smmap = yes; then + AC_DEFINE(HAVE_SMMAP) +fi]) + +dnl Checks if shmget() works to get shared memory +dnl Defines HAVE_SHMGET on success. +AC_DEFUN([AC_FUNC_SHMGET], +[AC_CACHE_CHECK([if shmget works to get shared memory], ac_cv_func_shmget, + [AC_TRY_RUN([ +#include +#include +#include +int +main() +{ + int id; + + id = shmget(IPC_PRIVATE, 0x1, IPC_CREAT|0600); + if (id == -1) + exit(1); + shmctl(id, IPC_RMID, 0); + exit(0); +} +], + [ac_cv_func_shmget=yes], + [ac_cv_func_shmget=no], + [ac_cv_func_shmget=no])]) +if test $ac_cv_func_shmget = yes; then + AC_DEFINE(HAVE_SHMGET) +fi]) + +dnl Checks if sys_siglist[] exists +dnl Defines HAVE_SYS_SIGLIST on success. +AC_DEFUN([AC_FUNC_SYS_SIGLIST], +[AC_CACHE_CHECK([for sys_siglist], ac_cv_func_sys_siglist, + [AC_TRY_RUN([ +int +main() +{ extern char *sys_siglist[]; +if (sys_siglist[1] == 0) + exit(1); +exit(0);}], + [ac_cv_func_sys_siglist=yes], + [ac_cv_func_sys_siglist=no])]) +if test $ac_cv_func_sys_siglist = yes; then + AC_DEFINE(HAVE_SYS_SIGLIST) +fi]) + +dnl Checks for maximum number of bits in minor device number +AC_DEFUN([AC_CHECK_MINOR_BITS], +[AC_REQUIRE([AC_HEADER_MAKEDEV])dnl +changequote(<<, >>)dnl +define(<>, DEV_MINOR_BITS)dnl +dnl The cache variable name. +define(<>, ac_cv_dev_minor_bits)dnl +changequote([, ])dnl +AC_MSG_CHECKING(bits in minor device number) +AC_CACHE_VAL(AC_CV_NAME, +[AC_TRY_RUN([#include +#include +#ifdef major +# define _FOUND_MAJOR_ +#endif + +#ifdef MAJOR_IN_MKDEV +# include +# define _FOUND_MAJOR_ +#endif + +#ifndef _FOUND_MAJOR_ +# ifdef MAJOR_IN_SYSMACROS +# include +# define _FOUND_MAJOR_ +# endif +#endif + +#ifndef _FOUND_MAJOR_ +# if defined(hpux) || defined(__hpux__) || defined(__hpux) +# include +# define _FOUND_MAJOR_ +# endif +#endif + +#ifndef _FOUND_MAJOR_ +# define major(dev) (((dev) >> 8) & 0xFF) +# define minor(dev) ((dev) & 0xFF) +# define makedev(majo, mino) (((majo) << 8) | (mino)) +#endif +int +main() +{ + long l = 1; + int i; + int m; + int c = 0; + FILE *f=fopen("conftestval", "w"); + int maxloop = 32; + + if (sizeof (long) > 4) + maxloop = 64; + + if (!f) exit(1); + + for (i=1, m=0; i <= maxloop; i++, l<<=1) { + if (minor(l) == 0 && c == 0) + c = m; + if (minor(l) != 0) + m = i; + } + fprintf(f, "%d\n", m); + exit(0); +}], AC_CV_NAME=`cat conftestval`, AC_CV_NAME=0, ifelse([$2], , , AC_CV_NAME=$2))])dnl +AC_MSG_RESULT($AC_CV_NAME) +AC_DEFINE_UNQUOTED(AC_MACRO_NAME, $AC_CV_NAME) +undefine([AC_MACRO_NAME])dnl +undefine([AC_CV_NAME])dnl +]) + +dnl Checks for maximum number of bits in minor device numbers are non contiguous +dnl Defines DEV_MINOR_NONCONTIG on success. +AC_DEFUN([AC_CHECK_MINOR_NONCONTIG], +[AC_REQUIRE([AC_HEADER_MAKEDEV])dnl +AC_CACHE_CHECK([whether bits in minor device numbers are non contiguous], ac_cv_dev_minor_noncontig, + [AC_TRY_RUN([ +#include +#ifdef major +# define _FOUND_MAJOR_ +#endif + +#ifdef MAJOR_IN_MKDEV +# include +# define _FOUND_MAJOR_ +#endif + +#ifndef _FOUND_MAJOR_ +# ifdef MAJOR_IN_SYSMACROS +# include +# define _FOUND_MAJOR_ +# endif +#endif + +#ifndef _FOUND_MAJOR_ +# if defined(hpux) || defined(__hpux__) || defined(__hpux) +# include +# define _FOUND_MAJOR_ +# endif +#endif + +#ifndef _FOUND_MAJOR_ +# define major(dev) (((dev) >> 8) & 0xFF) +# define minor(dev) ((dev) & 0xFF) +# define makedev(majo, mino) (((majo) << 8) | (mino)) +#endif +int +main() +{ + long l = 1; + int i; + int m; + int c = 0; + int maxloop = 32; + + if (sizeof (long) > 4) + maxloop = 64; + + for (i=1, m=0; i <= maxloop; i++, l<<=1) { + if (minor(l) == 0 && c == 0) + c = m; + if (minor(l) != 0) + m = i; + } +exit (m == c);}], + [ac_cv_dev_minor_noncontig=yes], + [ac_cv_dev_minor_noncontig=no])]) +if test $ac_cv_dev_minor_noncontig = yes; then + AC_DEFINE(DEV_MINOR_NONCONTIG) +fi]) + +dnl Checks if we may not define our own malloc() +dnl Defines NO_USER_MALLOC if we cannot. +AC_DEFUN([AC_USER_MALLOC], +[AC_CACHE_CHECK([if we may not define our own malloc()], ac_cv_no_user_malloc, + [AC_TRY_RUN([ +#if !defined(__CYGWIN32__) && !defined(__CYGWIN__) +static int mcalled; +char * +malloc(s) + int s; +{ + extern char *sbrk(); + + /* + * Don't ask me why, but with Cygwin on 64 Bit Vista this hangs + * infinitely and is undebuggable unless we call write() here... + */ + write(2, "", 0); + mcalled++; + _exit(0); + return (sbrk(s)); +} + +free(p) char *p;{} +#endif /* !defined(__CYGWIN32__) && !defined(__CYGWIN__) */ + +main() +{ +#if !defined(__CYGWIN32__) && !defined(__CYGWIN__) +#ifdef HAVE_STRDUP + strdup("aaa"); +#else + exit(0); +#endif +#endif /* !defined(__CYGWIN32__) && !defined(__CYGWIN__) */ + exit(1);}], + [ac_cv_no_user_malloc=no], + [ac_cv_no_user_malloc=yes])]) +if test $ac_cv_no_user_malloc = yes; then + AC_DEFINE(NO_USER_MALLOC) +fi]) + +dnl Checks if ecvt()/fcvt()/gcvt() may be replaced by local implementations +dnl There are known problems on ATARI MINT and older Linux version and statical linking +dnl Defines NO_USER_XCVT on failure. +AC_DEFUN([AC_USER_XCVT], +[AC_CACHE_CHECK([if we may not define our own ecvt()/fcvt()/gcvt()], ac_cv_no_user_xcvt, + [AC_TRY_LINK([ +#include + +char * +ecvt(value, ndig, decpt, sign) + double value; + int ndig; + int *decpt; + int *sign; +{ + return ("ecvt-test"); +} + +char * +fcvt(value, ndig, decpt, sign) + double value; + int ndig; + int *decpt; + int *sign; +{ + return ("fcvt-test"); +} + +char * +gcvt(value, ndig, bp) + double value; + int ndig; + char *bp; +{ + return ("gcvt-test"); +} +], + [ + char buf[64]; + + printf("E: %e F: %f G: %g local gcvt: %s\n", 1.234, 1.234, 1.234, gcvt(1.234, 4, buf)); +], + [ac_cv_no_user_xcvt=no], + [ac_cv_no_user_xcvt=yes])]) +if test $ac_cv_no_user_xcvt = yes; then + AC_DEFINE(NO_USER_XCVT) +fi]) + +dnl Checks if BSD-4.2 compliant getpgrp() exists +dnl Defines HAVE_BSD_GETPGRP on success. +AC_DEFUN([AC_FUNC_BSD_GETPGRP], +[AC_CACHE_CHECK([for BSD compliant getpgrp], ac_cv_func_bsd_getpgrp, + [AC_TRY_RUN([ +int +main() +{ long p; +/* + * POSIX getpgrp() has void parameter... + */ + p = getpgrp(-1); + if (p == getpgrp(1) && p == getpgrp(getpid())) + exit(1); +exit(0);}], + [ac_cv_func_bsd_getpgrp=yes], + [ac_cv_func_bsd_getpgrp=no])]) +if test $ac_cv_func_bsd_getpgrp = yes; then + AC_DEFINE(HAVE_BSD_GETPGRP) +fi]) + +dnl Checks if BSD-4.2 compliant setpgrp() exists +dnl Defines HAVE_BSD_SETPGRP on success. +AC_DEFUN([AC_FUNC_BSD_SETPGRP], +[AC_REQUIRE([AC_HEADER_ERRNO_DEF])dnl +AC_CACHE_CHECK([for BSD compliant setpgrp], ac_cv_func_bsd_setpgrp, + [AC_TRY_RUN([ +#include +#ifndef HAVE_ERRNO_DEF +extern int errno; +#endif +int +main() +{ errno = 0; +/* + * Force illegal pid on BSD + */ +if (setpgrp(-1, 100) < 0 && errno == ESRCH) + exit(0); +exit(1);}], + [ac_cv_func_bsd_setpgrp=yes], + [ac_cv_func_bsd_setpgrp=no])]) +if test $ac_cv_func_bsd_setpgrp = yes; then + AC_DEFINE(HAVE_BSD_SETPGRP) +fi]) + +dnl Checks if *printf() supports %jd +dnl Defines HAVE_PRINTF_J on success. +AC_DEFUN([AC_FUNC_PRINTF_J], +[AC_CACHE_CHECK([whether *printf() supports %jd], ac_cv_func_printf_j, + [AC_TRY_RUN([ +#include +int +main() +{ intmax_t m = 123456789012LL; +char buf[32]; +sprintf(buf, "%jd", m); +if (strcmp(buf, "123456789012") == 0) + exit(0); +exit(1);}], + [ac_cv_func_printf_j=yes], + [ac_cv_func_printf_j=no])]) +if test $ac_cv_func_printf_j = yes; then + AC_DEFINE(HAVE_PRINTF_J) +fi]) + +dnl Checks if *printf() supports %zd +dnl Defines HAVE_PRINTF_Z on success. +AC_DEFUN([AC_FUNC_PRINTF_Z], +[AC_CACHE_CHECK([whether *printf() supports %zd], ac_cv_func_printf_z, + [AC_TRY_RUN([ +#include +int +main() +{ size_t m = 1234567890; +char buf[32]; +sprintf(buf, "%zd", m); +if (strcmp(buf, "1234567890") == 0) + exit(0); +exit(1);}], + [ac_cv_func_printf_z=yes], + [ac_cv_func_printf_z=no])]) +if test $ac_cv_func_printf_z = yes; then + AC_DEFINE(HAVE_PRINTF_Z) +fi]) + +dnl Checks if *printf() supports %lld +dnl Defines HAVE_PRINTF_LL on success. +AC_DEFUN([AC_FUNC_PRINTF_LL], +[AC_CACHE_CHECK([whether *printf() supports %lld], ac_cv_func_printf_ll, + [AC_TRY_RUN([ +int +main() +{ long long ll = 123456789012LL; +char buf[32]; +sprintf(buf, "%lld", ll); +if (strcmp(buf, "123456789012") == 0) + exit(0); +exit(1);}], + [ac_cv_func_printf_ll=yes], + [ac_cv_func_printf_ll=no])]) +if test $ac_cv_func_printf_ll = yes; then + AC_DEFINE(HAVE_PRINTF_LL) +fi]) + +dnl Checks if C99 compliant isinf() exists +dnl Defines HAVE_C99_ISINF on success. +AC_DEFUN([AC_FUNC_C99_ISINF], +[AC_CACHE_CHECK([for C99 compliant isinf], ac_cv_func_c99_isinf, + [AC_TRY_LINK([#include ], [ double d; +#ifndef isinf +The isinf macro is not defined +#endif +return (isinf(d)); +], + [ac_cv_func_c99_isinf=yes], + [ac_cv_func_c99_isinf=no])]) +if test $ac_cv_func_c99_isinf = yes; then + AC_DEFINE(HAVE_C99_ISINF) +fi]) + +dnl Checks if C99 compliant isnan() exists +dnl Defines HAVE_C99_ISNAN on success. +AC_DEFUN([AC_FUNC_C99_ISNAN], +[AC_CACHE_CHECK([for C99 compliant isnan], ac_cv_func_c99_isnan, + [AC_TRY_LINK([#include ], [ double d; +#ifndef isnan +The isnan macro is not defined +#endif +return (isnan(d)); +], + [ac_cv_func_c99_isnan=yes], + [ac_cv_func_c99_isnan=no])]) +if test $ac_cv_func_c99_isnan = yes; then + AC_DEFINE(HAVE_C99_ISNAN) +fi]) + +dnl Checks if select() needs more than sys/time.h & sys/types.h +dnl Defines SELECT_NONSTD_HDR on success. +AC_DEFUN([AC_HEADER_SELECT_NONSTD], +[AC_CACHE_CHECK([if select needs nonstd include files], ac_cv_header_slect_nonstd_hdr, + [AC_TRY_COMPILE([#include +#include ], + [fd_set rfd; FD_ZERO(&rfd); select(1, &rfd, 0, 0, 0);], + [ac_cv_header_slect_nonstd_hdr=no], + [ac_cv_header_slect_nonstd_hdr=yes])]) +if test $ac_cv_header_slect_nonstd_hdr = yes; then + AC_DEFINE(SELECT_NONSTD_HDR) +fi]) + +dnl Checks if select() needs sys/select.h +dnl Defines NEED_SYS_SELECT_H on success. +AC_DEFUN([AC_HEADER_SYS_SELECT], +[AC_REQUIRE([AC_HEADER_SELECT_NONSTD])dnl +AC_CACHE_CHECK([if sys/select.h is needed for select], ac_cv_header_need_sys_select_h, + [AC_TRY_COMPILE([#include +#include +#include +#ifndef SELECT_NONSTD_HDR +do not compile if we do not need nonstandard headers +#endif], + [fd_set rfd; FD_ZERO(&rfd); select(1, &rfd, 0, 0, 0);], + [ac_cv_header_need_sys_select_h=yes], + [ac_cv_header_need_sys_select_h=no])]) +if test $ac_cv_header_need_sys_select_h = yes; then + AC_DEFINE(NEED_SYS_SELECT_H) +fi]) + +dnl Checks if select() needs sys/socket.h +dnl Defines NEED_SYS_SOCKET_H on success. +AC_DEFUN([AC_HEADER_SELECT2], +[AC_REQUIRE([AC_HEADER_SELECT_NONSTD])dnl +AC_CACHE_CHECK([if sys/socket.h is needed for select], ac_cv_header_need_sys_socket_h, + [AC_TRY_COMPILE([#include +#include +#include +#ifndef SELECT_NONSTD_HDR +do not compile if we do not need nonstandard headers +#endif], + [fd_set rfd; FD_ZERO(&rfd); select(1, &rfd, 0, 0, 0);], + [ac_cv_header_need_sys_socket_h=yes], + [ac_cv_header_need_sys_socket_h=no])]) +if test $ac_cv_header_need_sys_socket_h = yes; then + AC_DEFINE(NEED_SYS_SOCKET_H) +fi]) + +dnl Checks if file locking via fcntl() is available +dnl Defines HAVE_FCNTL_LOCKF on success. +AC_DEFUN([AC_FUNC_FCNTL_LOCKF], +[AC_CACHE_CHECK([for file locking via fcntl], ac_cv_func_fcntl_lock, + [AC_TRY_LINK([ +#include +#include ], + [ +struct flock fl; +fcntl(0, F_SETLK, &fl);], + [ac_cv_func_fcntl_lock=yes], + [ac_cv_func_fcntl_lock=no])]) +if test $ac_cv_func_fcntl_lock = yes; then + AC_DEFINE(HAVE_FCNTL_LOCKF) +fi]) + + +dnl Checks if sigsetjmp() is available +dnl Defines HAVE_SIGSETJMP on success. +AC_DEFUN([AC_FUNC_SIGSETJMP], +[AC_CACHE_CHECK([for sigsetjmp], ac_cv_func_sigsetjmp, + [AC_TRY_LINK([ +#include ], + [ +sigjmp_buf jb; +sigsetjmp(jb, 1);], + [ac_cv_func_sigsetjmp=yes], + [ac_cv_func_sigsetjmp=no])]) +if test $ac_cv_func_sigsetjmp = yes; then + AC_DEFINE(HAVE_SIGSETJMP) +fi]) + +dnl Checks if siglongjmp() is available +dnl Defines HAVE_SIGLONGJMP on success. +AC_DEFUN([AC_FUNC_SIGLONGJMP], +[AC_CACHE_CHECK([for siglongjmp], ac_cv_func_siglongjmp, + [AC_TRY_LINK([ +#include ], + [ +sigjmp_buf jb; +sigsetjmp(jb, 1); +siglongjmp(jb, 1);], + [ac_cv_func_siglongjmp=yes], + [ac_cv_func_siglongjmp=no])]) +if test $ac_cv_func_siglongjmp = yes; then + AC_DEFINE(HAVE_SIGLONGJMP) +fi]) + + +dnl Checks if link() allows hard links on symlinks +dnl Defines HAVE_HARD_SYMLINKS on success. +AC_DEFUN([AC_HARD_SYMLINKS], +[AC_CACHE_CHECK([if link() allows hard links on symlinks], ac_cv_hard_symlinks, + [AC_TRY_RUN([ +main() +{ + int ret = 0; + + unlink("confdefs.f1"); + unlink("confdefs.l1"); + unlink("confdefs.h1"); + + if (symlink("confdefs.f1", "confdefs.l1") < 0) + ret = 1; + if (link("confdefs.l1", "confdefs.h1") < 0) + ret = 1; + + unlink("confdefs.l1"); + unlink("confdefs.h1"); + + exit(ret); +}], + [ac_cv_hard_symlinks=yes], + [ac_cv_hard_symlinks=no])]) +if test $ac_cv_hard_symlinks = yes; then + AC_DEFINE(HAVE_HARD_SYMLINKS) +fi]) + + +dnl Checks if link() does not follow symlinks +dnl Defines HAVE_LINK_NOFOLLOW on success. +AC_DEFUN([AC_LINK_NOFOLLOW], +[AC_CACHE_CHECK([if link() does not folow symlinks], ac_cv_link_nofollow, + [AC_TRY_RUN([ +#include +#include + +main() +{ + int ret = 0; + int f; + struct stat sb; + + unlink("confdefs.f1"); + unlink("confdefs.l1"); + unlink("confdefs.h1"); + + f = creat("confdefs.f1", 0666); + close(f); + if (symlink("confdefs.f1", "confdefs.l1") < 0) + ret = 1; + if (link("confdefs.l1", "confdefs.h1") < 0) + ret = 1; + + stat("confdefs.f1", &sb); + if (sb.st_nlink == 2) + ret = 1; + + unlink("confdefs.f1"); + unlink("confdefs.l1"); + unlink("confdefs.h1"); + + exit(ret); +}], + [ac_cv_link_nofollow=yes], + [ac_cv_link_nofollow=no])]) +if test $ac_cv_link_nofollow = yes; then + AC_DEFINE(HAVE_LINK_NOFOLLOW) +fi]) + +dnl Checks if access() does implement E_OK (010) for effective UIDs +dnl Defines HAVE_ACCESS_E_OK on success. +AC_DEFUN([AC_ACCESS_E_OK], +[AC_REQUIRE([AC_HEADER_ERRNO_DEF])dnl +AC_CHECK_HEADERS(unistd.h) +AC_CACHE_CHECK([if access() does implement E_OK], ac_cv_access_e_ok, + [AC_TRY_RUN([ +# ifdef HAVE_UNISTD_H +# include +# endif +#ifndef R_OK +#define R_OK 4 /* Test for Read permission */ +#define W_OK 2 /* Test for Write permission */ +#define X_OK 1 /* Test for eXecute permission */ +#define F_OK 0 /* Test for existence of File */ +#endif + +#ifndef E_OK +#ifdef EFF_ONLY_OK +#define E_OK EFF_ONLY_OK /* Irix */ +#else +#ifdef EUID_OK +#define E_OK EUID_OK /* UNICOS (0400) */ +#else +#define E_OK 010 /* Test effective uids */ +#endif +#endif +#endif + +#include +#ifndef HAVE_ERRNO_DEF +extern int errno; +#endif + +main() +{ +#ifdef _MSC_VER +/* + * If we use "cl" to compile and call access(".", E_OK|F_OK), the program will + * cause an exception that results in a popup window. For this reason, the test + * is disabled for "cl", it would not work anyway. + */ + int ret = 1; +#else + int ret = 0; + + if (access(".", F_OK) != 0) + ret = 1; + else if (access(".", E_OK|F_OK) != 0) + ret = 1; + else if (access(".", (R_OK<<4)|F_OK) == 0) + ret = 1; +#endif + + exit(ret); +}], + [ac_cv_access_e_ok=yes], + [ac_cv_access_e_ok=no])]) +if test $ac_cv_access_e_ok = yes; then + AC_DEFINE(HAVE_ACCESS_E_OK) +fi]) + +dnl Checks if fnmatch() does implement FNM_IGNORECASE +dnl Defines HAVE_FNMATCH_IGNORECASE on success. +AC_DEFUN([AC_FNMATCH_IGNORECASE], +[AC_CHECK_HEADERS(fnmatch.h) +AC_CACHE_CHECK([if fnmatch() does implement FNM_IGNORECASE or FNM_CASEFOLD], ac_cv_fnmatch_igncase, + [AC_TRY_RUN([ +#ifdef HAVE_FNMATCH +#include +#endif + +#ifndef FNM_IGNORECASE +#ifdef FNM_CASEFOLD +#define FNM_IGNORECASE FNM_CASEFOLD +#endif +#endif + +main() +{ + int ret; + + ret = fnmatch("a", "A", FNM_IGNORECASE); + exit(ret); +}], + [ac_cv_fnmatch_igncase=yes], + [ac_cv_fnmatch_igncase=no])]) +if test $ac_cv_fnmatch_igncase = yes; then + AC_DEFINE(HAVE_FNMATCH_IGNORECASE) +fi]) + + + +dnl Checks if realloc() does implement realloc(NULL, size) +dnl Defines HAVE_REALLOC_NULL on success. +AC_DEFUN([AC_FUNC_REALLOC_NULL], +[AC_CHECK_HEADERS(stdlib.h) +AC_TYPE_SIGNAL +AC_CACHE_CHECK([if realloc() does implement realloc(NULL, size)], ac_cv_realloc_null, + [AC_TRY_RUN([ +#ifdef HAVE_STDLIB_H +#include +#endif +#include + +RETSIGTYPE +sig(s) + int s; +{ + exit(1); +} +int +main() +{ + char *p; + + signal(SIGSEGV, sig); + p = realloc((char *)0, 10); + if (p == (char *)0) + exit(1); + exit(0); +}], + [ac_cv_realloc_null=yes], + [ac_cv_realloc_null=no])]) +if test $ac_cv_realloc_null = yes; then + AC_DEFINE(HAVE_REALLOC_NULL) +fi]) + + +dnl Checks if waitid() is present and is at least minimally usable. +dnl Mac OS X is POSIX certified but definitely not POSIX compliant +dnl so we need to to implement a complex test for waitid(). +dnl Defines HAVE_WAITID on success. +AC_DEFUN([AC_FUNC_WAITID], +[AC_CHECK_HEADERS(stdlib.h) +AC_CHECK_HEADERS(unistd.h) +AC_CHECK_HEADERS(wait.h) +AC_HEADER_SYS_WAIT +AC_CACHE_CHECK([for halfway POSIX compliant waitid()], ac_cv_func_waitid, + [AC_TRY_RUN([ +#ifdef HAVE_STDLIB_H +#include +#endif +#ifdef HAVE_UNISTD_H +#include +#endif +#if defined(HAVE_WAIT_H) +# include +#else +#include +#endif +#include +/* + * Non-standard compliant platforms may need + * #include or something similar + * in addition to the include files above. + */ + +int +main() +{ + siginfo_t si; + pid_t pid; + int ret; + + if ((pid = fork()) < 0) + exit(1); + if (pid == 0) { + _exit(1234567890); + } + ret = waitid(P_PID, pid, &si, WEXITED); + if (ret < 0) + exit(1); + if (pid != si.si_pid) /* Mac OS X has si.si_pid == 0 */ + exit(2); + if (si.si_code != CLD_EXITED) /* Mac OS X has si.si_code == 0 */ + exit(3); + if ((si.si_status & 0xFFFF) != (1234567890 & 0xFFFF)) + exit(4); /* Should deliver more than 8 bits */ + /* Linux only delivers 8 bits */ + /* Mac OS X delivers 24 bits */ + + exit(0); +}], + [ac_cv_func_waitid=yes], + [ac_cv_func_waitid=no])]) +if test $ac_cv_func_waitid = yes; then + AC_DEFINE(HAVE_WAITID) +fi]) + + +dnl Checks whether waitpid() is present and supports WNOWAIT. +dnl SVr4 supports it but POSIX does not list it. +dnl Defines HAVE_WNOWAIT_WAITPID on success. +AC_DEFUN([AC_WNOWAIT_WAITPID], +[AC_CHECK_HEADERS(stdlib.h) +AC_CHECK_HEADERS(unistd.h) +AC_CHECK_HEADERS(wait.h) +AC_HEADER_SYS_WAIT +AC_HEADER_ERRNO_DEF +AC_CACHE_CHECK([for SVr4 compliant waitpid() with WNOWAIT support], ac_cv_wnowait_waitpid, + [AC_TRY_RUN([ +#ifdef HAVE_STDLIB_H +#include +#endif +#ifdef HAVE_UNISTD_H +#include +#endif +#if defined(HAVE_WAIT_H) +# include +#else +#include +#endif +#include +#ifndef HAVE_ERRNO_DEF +extern int errno; +#endif + +int +main() +{ + int xstat; + pid_t pid = -1; + int ret; + + ret = waitpid(pid, &xstat, WNOWAIT); + if (ret < 0 && errno == EINVAL) + exit(1); + exit(0); +}], + [ac_cv_wnowait_waitpid=yes], + [ac_cv_wnowait_waitpid=no])]) +if test $ac_cv_wnowait_waitpid = yes; then + AC_DEFINE(HAVE_WNOWAIT_WAITPID) +fi]) + + +dnl XXXXXXXXXXXXXXXXXX Begin Stolen (but modified) from GNU tar XXXXXXXXXXXXXXXXXXXXXXXXXXX +dnl Changes: + +dnl One line has been changed to: [ac_save_CC="${CC-cc}" to default to "'cc" + +dnl AC_SYS_LARGEFILE_MACRO_VALUE test moved from AC_FUNC_FSEEKO into AC_SYS_LARGEFILE +dnl Do not call AC_FUNC_FSEEKO because it does not check whether fseeko() is +dnl available on non Large File mode. There are additionoal tests for fseeko()/ftello() +dnl inside the AC_HAVE_LARGEFILES test. + +dnl largefile_cc_opt definition added + +#serial 18 + +dnl By default, many hosts won't let programs access large files; +dnl one must use special compiler options to get large-file access to work. +dnl For more details about this brain damage please see: +dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html + +dnl Written by Paul Eggert . + +dnl Internal subroutine of AC_SYS_LARGEFILE. +dnl AC_SYS_LARGEFILE_TEST_INCLUDES +AC_DEFUN([AC_SYS_LARGEFILE_TEST_INCLUDES], + [[#include + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply "#define LARGE_OFF_T 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]; + ]]) + +dnl Internal subroutine of AC_SYS_LARGEFILE. +dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR, COMMENT, INCLUDES, FUNCTION-BODY) +AC_DEFUN([AC_SYS_LARGEFILE_MACRO_VALUE], + [AC_CACHE_CHECK([for $1 value needed for large files], $3, + [$3=no + AC_TRY_COMPILE([$5], + [$6], + , + [AC_TRY_COMPILE([#define $1 $2] +[$5] + , + [$6], + [$3=$2])])]) + if test "[$]$3" != no; then + AC_DEFINE_UNQUOTED([$1], [$]$3, [$4]) + fi]) + +AC_DEFUN([AC_SYS_LARGEFILE], + [AC_ARG_ENABLE(largefile, + [ --disable-largefile omit support for large files]) + if test "$enable_largefile" != no; then + + AC_CACHE_CHECK([for special C compiler options needed for large files], + ac_cv_sys_largefile_CC, + [ac_cv_sys_largefile_CC=no + largefile_cc_opt="" + if test "$GCC" != yes; then + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , , + [ac_save_CC="${CC-cc}" + CC="$CC -n32" + AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , + ac_cv_sys_largefile_CC=' -n32') + CC="$ac_save_CC"]) + fi]) + if test "$ac_cv_sys_largefile_CC" != no; then + CC="$CC$ac_cv_sys_largefile_CC" + largefile_cc_opt="$ac_cv_sys_largefile_CC" + fi + + AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, + ac_cv_sys_file_offset_bits, + [Number of bits in a file offset, on hosts where this is settable.], + AC_SYS_LARGEFILE_TEST_INCLUDES) + AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, + ac_cv_sys_large_files, + [Define for large files, on AIX-style hosts.], + AC_SYS_LARGEFILE_TEST_INCLUDES) + AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1, + ac_cv_sys_largefile_source, + [Define to make fseeko visible on some hosts (e.g. glibc 2.2).], + [#include ], [return !fseeko;]) + fi + ]) + + +AC_DEFUN([AC_FUNC_FSEEKO], + [AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1, + ac_cv_sys_largefile_source, + [Define to make fseeko visible on some hosts (e.g. glibc 2.2).], + [#include ], [return !fseeko;]) + # 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. + + AC_CACHE_CHECK([for fseeko], ac_cv_func_fseeko, + [ac_cv_func_fseeko=no + AC_TRY_LINK([#include ], + [return fseeko && fseeko (stdin, 0, 0);], + [ac_cv_func_fseeko=yes])]) + if test $ac_cv_func_fseeko != no; then + AC_DEFINE(HAVE_FSEEKO, 1, + [Define if fseeko (and presumably ftello) exists and is declared.]) + fi]) + + +dnl XXXXXXXXXXXXXXXXXX End Stolen (but modified) from GNU tar XXXXXXXXXXXXXXXXXXXXXXXXXXXXX + +AC_DEFUN([AC_HAVE_LARGEFILES], +[AC_CACHE_CHECK([if system supports Large Files at all], ac_cv_largefiles, + [AC_TRY_COMPILE([#include +#include ], + [ +/* + * Check that off_t can represent 2**63 - 1 correctly. + * We can't simply "#define LARGE_OFF_T 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]; +return !fseeko; +return !ftello;], + [ac_cv_largefiles=yes], + [ac_cv_largefiles=no])]) + if test $ac_cv_largefiles = yes; then + AC_DEFINE(HAVE_LARGEFILES) + fi]) + +dnl Checks for whether fseeko() is available in non large file mode +dnl and whether there is a prototype for fseeko() +dnl Defines HAVE_FSEEKO on success. +AC_DEFUN([AC_SMALL_FSEEKO], +[AC_CACHE_CHECK([for fseeko()], ac_cv_func_fseeko, + [AC_TRY_LINK([#include ], +[return !fseeko;], + [ac_cv_func_fseeko=yes], + [ac_cv_func_fseeko=no])]) +if test $ac_cv_func_fseeko = yes; then + AC_DEFINE(HAVE_FSEEKO) +fi]) + +dnl Checks for whether ftello() is available in non large file mode +dnl and whether there is a prototype for ftello() +dnl Defines HAVE_FTELLO on success. +AC_DEFUN([AC_SMALL_FTELLO], +[AC_CACHE_CHECK([for ftello()], ac_cv_func_ftello, + [AC_TRY_LINK([#include ], +[return !ftello;], + [ac_cv_func_ftello=yes], + [ac_cv_func_ftello=no])]) +if test $ac_cv_func_ftello = yes; then + AC_DEFINE(HAVE_FTELLO) +fi]) + +dnl Checks if compiler allows dynamic arrays. +dnl Defines HAVE_DYN_ARRAYS on success. +AC_DEFUN([AC_DYN_ARRAYS], +[AC_CACHE_CHECK([if compiler allows dynamic arrays], ac_cv_dyn_arrays, + [AC_TRY_COMPILE([], + [extern int __aa(); int len = __aa(); char some_array[len];], + [ac_cv_dyn_arrays=yes], + [ac_cv_dyn_arrays=no])]) +if test $ac_cv_dyn_arrays = yes; then + AC_DEFINE(HAVE_DYN_ARRAYS) +fi]) + +dnl Checks if the compiler allows #pragma weak +dnl Defines HAVE_PRAGMA_WEAK on success. +AC_DEFUN([AC_PRAGMA_WEAK], +[AC_CACHE_CHECK([if compiler allows pragma weak], ac_cv_pragma_weak, + [AC_TRY_LINK([extern int test2(); +#pragma weak test2 = test1 +int test1() {return 0;}], +[return test2();], + [ac_cv_pragma_weak=yes], + [ac_cv_pragma_weak=no])]) +if test $ac_cv_pragma_weak = yes; then + AC_DEFINE(HAVE_PRAGMA_WEAK) +fi]) + +dnl Checks if Linux include file linux/ext2_fs.h is broken +dnl Defines HAVE_BROKEN_LINUX_EXT2_FS_H on success. +AC_DEFUN([AC_BROKEN_LINUX_EXT2_FS_H], +[AC_CACHE_CHECK([if Linux include file linux/ext2_fs.h is broken], ac_cv_broken_linux_ext2_fs_h, + [AC_TRY_COMPILE([ +#if defined(__linux__) || defined(__linux) || defined(linux) +#include +#endif], + [], + [ac_cv_broken_linux_ext2_fs_h=no], + [ac_cv_broken_linux_ext2_fs_h=yes])]) +if test $ac_cv_broken_linux_ext2_fs_h = yes; then + AC_DEFINE(HAVE_BROKEN_LINUX_EXT2_FS_H) +fi]) + +dnl Checks if Linux include file /usr/src/linux/include/linux/ext2_fs.h is broken +dnl Defines HAVE_BROKEN_SRC_LINUX_EXT2_FS_H on success. +AC_DEFUN([AC_BROKEN_SRC_LINUX_EXT2_FS_H], +[AC_CACHE_CHECK([if Linux include file /usr/src/linux/include/linux/ext2_fs.h is broken], ac_cv_broken_src_linux_ext2_fs_h, + [___CPPFLAGS=$CPPFLAGS; CPPFLAGS="-I/usr/src/linux/include $CPPFLAGS" + AC_TRY_COMPILE([ +#if defined(__linux__) || defined(__linux) || defined(linux) +#include +#endif], + [], + [ac_cv_broken_src_linux_ext2_fs_h=no], + [ac_cv_broken_src_linux_ext2_fs_h=yes])]) +CPPFLAGS=$___CPPFLAGS +if test $ac_cv_broken_src_linux_ext2_fs_h = yes; then + AC_DEFINE(HAVE_BROKEN_SRC_LINUX_EXT2_FS_H) +fi]) + +dnl Checks if Linux include file scsi/scsi.h is broken +dnl Defines HAVE_BROKEN_SCSI_SCSI_H on success. +AC_DEFUN([AC_BROKEN_SCSI_SCSI_H], +[AC_CACHE_CHECK([if Linux include file scsi/scsi.h is broken], ac_cv_broken_scsi_scsi_h, + [AC_TRY_COMPILE([ +#if defined(__linux__) || defined(__linux) || defined(linux) +#include +#endif], + [], + [ac_cv_broken_scsi_scsi_h=no], + [ac_cv_broken_scsi_scsi_h=yes])]) +if test $ac_cv_broken_scsi_scsi_h = yes; then + AC_DEFINE(HAVE_BROKEN_SCSI_SCSI_H) +fi]) + +dnl Checks if Linux include file /usr/src/linux/include/scsi/scsi.h is broken +dnl Defines HAVE_BROKEN_SRC_SCSI_SCSI_H on success. +AC_DEFUN([AC_BROKEN_SRC_SCSI_SCSI_H], +[AC_CACHE_CHECK([if Linux include file /usr/src/linux/include/scsi/scsi.h is broken], ac_cv_broken_src_scsi_scsi_h, + [___CPPFLAGS=$CPPFLAGS; CPPFLAGS="-I/usr/src/linux/include $CPPFLAGS" + AC_TRY_COMPILE([ +#if defined(__linux__) || defined(__linux) || defined(linux) +#include +#endif], + [], + [ac_cv_broken_src_scsi_scsi_h=no], + [ac_cv_broken_src_scsi_scsi_h=yes])]) +CPPFLAGS=$___CPPFLAGS +if test $ac_cv_broken_src_scsi_scsi_h = yes; then + AC_DEFINE(HAVE_BROKEN_SRC_SCSI_SCSI_H) +fi]) + +dnl Checks if Linux include file scsi/sg.h is broken +dnl Defines HAVE_BROKEN_SCSI_SG_H on success. +AC_DEFUN([AC_BROKEN_SCSI_SG_H], +[AC_CACHE_CHECK([if Linux include file scsi/sg.h is broken], ac_cv_broken_scsi_sg_h, + [AC_TRY_COMPILE([ +#if defined(__linux__) || defined(__linux) || defined(linux) +#include +#include +#endif], + [], + [ac_cv_broken_scsi_sg_h=no], + [ac_cv_broken_scsi_sg_h=yes])]) +if test $ac_cv_broken_scsi_sg_h = yes; then + AC_DEFINE(HAVE_BROKEN_SCSI_SG_H) +fi]) + +dnl Checks if Linux include file /usr/src/linux/include/scsi/sg.h is broken +dnl Defines HAVE_BROKEN_SRC_SCSI_SG_H on success. +AC_DEFUN([AC_BROKEN_SRC_SCSI_SG_H], +[AC_CACHE_CHECK([if Linux include file /usr/src/linux/include/scsi/sg.h is broken], ac_cv_broken_src_scsi_sg_h, + [___CPPFLAGS=$CPPFLAGS; CPPFLAGS="-I/usr/src/linux/include $CPPFLAGS" + AC_TRY_COMPILE([ +#if defined(__linux__) || defined(__linux) || defined(linux) +#include +#include +#endif], + [], + [ac_cv_broken_src_scsi_sg_h=no], + [ac_cv_broken_src_scsi_sg_h=yes])]) +CPPFLAGS=$___CPPFLAGS +if test $ac_cv_broken_src_scsi_sg_h = yes; then + AC_DEFINE(HAVE_BROKEN_SRC_SCSI_SG_H) +fi]) + +AC_DEFUN(AC_PROG_SHELL_BROKEN_E, +[AC_CACHE_CHECK(whether handling of /bin/sh -ce 'command' is broken, ac_cv_prog_shell_broken_e, +[if AC_TRY_COMMAND(/bin/sh -ce 'if false; true; then echo yes; else echo no; fi') | egrep yes >/dev/null 2>&1; then + ac_cv_prog_shell_broken_e=no +else + ac_cv_prog_shell_broken_e=yes +fi +if test $ac_cv_prog_shell_broken_e = yes; then + AC_DEFINE(HAVE_PROG_SHELL_BROKEN_E) +fi])]) + +dnl Checks if a file exists +dnl Do not use test -r as bash on Haiku returns 0 for test -r /dev/stdin +dnl even though /dev/stdin does not exist. +dnl +dnl Defines HAVE_ on success. +dnl AC_STAT_FILE(FILE, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN([AC_STAT_FILE], +[AC_REQUIRE([AC_PROG_CC]) +dnl Do the transliteration at runtime so arg 1 can be a shell variable. +ac_safe=`echo "$1" | sed 'y%./+-%__p_%'` +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(ac_cv_file_$ac_safe, + [AC_TRY_RUN([ +#include +#include + +int +main() +{ + struct stat sb; + + exit(stat("$1", &sb) < 0); +}], + [eval ac_cv_file_$ac_safe=yes], + [eval ac_cv_file_$ac_safe=no])]) +if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) +else + AC_MSG_RESULT(no) + ifelse([$3], , , [$3]) +fi +]) + +dnl AC_STAT_FILES(FILE... [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) +AC_DEFUN(AC_STAT_FILES, +[for ac_file in $1 +do +AC_STAT_FILE($ac_file, +[changequote(, )dnl + ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +changequote([, ])dnl + AC_DEFINE_UNQUOTED($ac_tr_file) $2], $3)dnl +done +]) diff --git a/autoconf/acoldnames.m4 b/autoconf/acoldnames.m4 new file mode 100644 index 0000000..1abc4db --- /dev/null +++ b/autoconf/acoldnames.m4 @@ -0,0 +1,82 @@ +dnl @(#)acoldnames.m4 1.3 08/08/01 Copyright 1998-2008 J. Schilling +dnl +dnl Map old names of Autoconf macros to new regularized names. +dnl This file is part of Autoconf. +dnl Copyright (C) 1994 Free Software Foundation, Inc. +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2, or (at your option) +dnl any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +dnl 02111-1307, USA. +dnl +dnl General macros. +dnl +define(AC_WARN, [indir([AC_MSG_WARN], $@)])dnl +define(AC_ERROR, [indir([AC_MSG_ERROR], $@)])dnl +AC_DEFUN(AC_PROGRAM_CHECK, [indir([AC_CHECK_PROG], $@)])dnl +AC_DEFUN(AC_PROGRAM_PATH, [indir([AC_PATH_PROG], $@)])dnl +AC_DEFUN(AC_PROGRAMS_CHECK, [indir([AC_CHECK_PROGS], $@)])dnl +AC_DEFUN(AC_PROGRAMS_PATH, [indir([AC_PATH_PROGS], $@)])dnl +AC_DEFUN(AC_PREFIX, [indir([AC_PREFIX_PROGRAM], $@)])dnl +AC_DEFUN(AC_HEADER_EGREP, [indir([AC_EGREP_HEADER], $@)])dnl +AC_DEFUN(AC_PROGRAM_EGREP, [indir([AC_EGREP_CPP], $@)])dnl +AC_DEFUN(AC_TEST_PROGRAM, [indir([AC_TRY_RUN], $@)])dnl +AC_DEFUN(AC_TEST_CPP, [indir([AC_TRY_CPP], $@)])dnl +AC_DEFUN(AC_HEADER_CHECK, [indir([AC_CHECK_HEADER], $@)])dnl +AC_DEFUN(AC_FUNC_CHECK, [indir([AC_CHECK_FUNC], $@)])dnl +AC_DEFUN(AC_HAVE_FUNCS, [indir([AC_CHECK_FUNCS], $@)])dnl +AC_DEFUN(AC_HAVE_HEADERS, [indir([AC_CHECK_HEADERS], $@)])dnl +AC_DEFUN(AC_SIZEOF_TYPE, [indir([AC_CHECK_SIZEOF], $@)])dnl +dnl +dnl Specific macros. +dnl +AC_DEFUN(AC_GCC_TRADITIONAL, [indir([AC_PROG_GCC_TRADITIONAL])])dnl +AC_DEFUN(AC_MINUS_C_MINUS_O, [indir([AC_PROG_CC_C_O])])dnl +AC_DEFUN(AC_SET_MAKE, [indir([AC_PROG_MAKE_SET])])dnl +AC_DEFUN(AC_YYTEXT_POINTER, [indir([AC_DECL_YYTEXT])])dnl +AC_DEFUN(AC_LN_S, [indir([AC_PROG_LN_S])])dnl +AC_DEFUN(AC_STDC_HEADERS, [indir([AC_HEADER_STDC])])dnl +AC_DEFUN(AC_MAJOR_HEADER, [indir([AC_HEADER_MAJOR])])dnl +AC_DEFUN(AC_STAT_MACROS_BROKEN, [indir([AC_HEADER_STAT])])dnl +AC_DEFUN(AC_SYS_SIGLIST_DECLARED, [indir([AC_DECL_SYS_SIGLIST])])dnl +AC_DEFUN(AC_GETGROUPS_T, [indir([AC_TYPE_GETGROUPS])])dnl +AC_DEFUN(AC_UID_T, [indir([AC_TYPE_UID_T])])dnl +AC_DEFUN(AC_SIZE_T, [indir([AC_TYPE_SIZE_T])])dnl +AC_DEFUN(AC_PID_T, [indir([AC_TYPE_PID_T])])dnl +AC_DEFUN(AC_OFF_T, [indir([AC_TYPE_OFF_T])])dnl +AC_DEFUN(AC_MODE_T, [indir([AC_TYPE_MODE_T])])dnl +AC_DEFUN(AC_RETSIGTYPE, [indir([AC_TYPE_SIGNAL])])dnl +AC_DEFUN(AC_MMAP, [indir([AC_FUNC_MMAP])])dnl +AC_DEFUN(AC_VPRINTF, [indir([AC_FUNC_VPRINTF])])dnl +AC_DEFUN(AC_VFORK, [indir([AC_FUNC_VFORK])])dnl +AC_DEFUN(AC_WAIT3, [indir([AC_FUNC_WAIT3])])dnl +AC_DEFUN(AC_ALLOCA, [indir([AC_FUNC_ALLOCA])])dnl +AC_DEFUN(AC_GETLOADAVG, [indir([AC_FUNC_GETLOADAVG])])dnl +AC_DEFUN(AC_UTIME_NULL, [indir([AC_FUNC_UTIME_NULL])])dnl +AC_DEFUN(AC_STRCOLL, [indir([AC_FUNC_STRCOLL])])dnl +AC_DEFUN(AC_SETVBUF_REVERSED, [indir([AC_FUNC_SETVBUF_REVERSED])])dnl +AC_DEFUN(AC_TIME_WITH_SYS_TIME, [indir([AC_HEADER_TIME])])dnl +AC_DEFUN(AC_TIMEZONE, [indir([AC_STRUCT_TM_ZONE])])dnl +AC_DEFUN(AC_ST_BLOCKS, [indir([AC_STRUCT_ST_BLOCKS])])dnl +AC_DEFUN(AC_ST_BLKSIZE, [indir([AC_STRUCT_ST_BLKSIZE])])dnl +AC_DEFUN(AC_ST_RDEV, [indir([AC_STRUCT_ST_RDEV])])dnl +AC_DEFUN(AC_CROSS_CHECK, [indir([AC_C_CROSS])])dnl +AC_DEFUN(AC_CHAR_UNSIGNED, [indir([AC_C_CHAR_UNSIGNED])])dnl +AC_DEFUN(AC_LONG_DOUBLE, [indir([AC_C_LONG_DOUBLE])])dnl +AC_DEFUN(AC_WORDS_BIGENDIAN, [indir([AC_C_BIGENDIAN])])dnl +AC_DEFUN(AC_INLINE, [indir([AC_C_INLINE])])dnl +AC_DEFUN(AC_CONST, [indir([AC_C_CONST])])dnl +AC_DEFUN(AC_LONG_FILE_NAMES, [indir([AC_SYS_LONG_FILE_NAMES])])dnl +AC_DEFUN(AC_RESTARTABLE_SYSCALLS, [indir([AC_SYS_RESTARTABLE_SYSCALLS])])dnl +AC_DEFUN(AC_FIND_X, [indir([AC_PATH_X])])dnl +AC_DEFUN(AC_FIND_XTRA, [indir([AC_PATH_XTRA])])dnl diff --git a/autoconf/acspecific.m4 b/autoconf/acspecific.m4 new file mode 100644 index 0000000..8123697 --- /dev/null +++ b/autoconf/acspecific.m4 @@ -0,0 +1,2913 @@ +dnl @(#)acspecific.m4 1.17 17/06/27 Copyright 1998-2017 J. Schilling +dnl +dnl Macros that test for specific features. +dnl This file is part of Autoconf. +dnl Copyright (C) 1992, 93, 94, 95, 96, 1998 Free Software Foundation, Inc. +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2, or (at your option) +dnl any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +dnl 02111-1307, USA. +dnl +dnl As a special exception, the Free Software Foundation gives unlimited +dnl permission to copy, distribute and modify the configure scripts that +dnl are the output of Autoconf. You need not follow the terms of the GNU +dnl General Public License when using or distributing such scripts, even +dnl though portions of the text of Autoconf appear in them. The GNU +dnl General Public License (GPL) does govern all other use of the material +dnl that constitutes the Autoconf program. +dnl +dnl Certain portions of the Autoconf source text are designed to be copied +dnl (in certain cases, depending on the input) into the output of +dnl Autoconf. We call these the "data" portions. The rest of the Autoconf +dnl source text consists of comments plus executable code that decides which +dnl of the data portions to output in any given case. We call these +dnl comments and executable code the "non-data" portions. Autoconf never +dnl copies any of the non-data portions into its output. +dnl +dnl This special exception to the GPL applies to versions of Autoconf +dnl released by the Free Software Foundation. When you make and +dnl distribute a modified version of Autoconf, you may extend this special +dnl exception to the GPL to apply to your modified version as well, *unless* +dnl your modified version has the potential to copy into its output some +dnl of the text that was the non-data portion of the version that you started +dnl with. (In other words, unless your change moves or copies text from +dnl the non-data portions to the data portions.) If your modification has +dnl such potential, you must delete any notice of this special exception +dnl to the GPL from your modified version. +dnl +dnl Written by David MacKenzie, with help from +dnl Franc,ois Pinard, Karl Berry, Richard Pixley, Ian Lance Taylor, +dnl Roland McGrath, Noah Friedman, david d zuhn, and many others. + + +dnl ### Checks for programs + + +dnl Check whether to use -n, \c, or newline-tab to separate +dnl checking messages from result messages. +dnl Idea borrowed from dist 3.0. +dnl Internal use only. +AC_DEFUN(AC_PROG_ECHO_N, +[if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then + # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. + if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then + ac_n= ac_c=' +' ac_t=' ' + else + ac_n=-n ac_c= ac_t= + fi +else + ac_n= ac_c='\c' ac_t= +fi +]) + +AC_DEFUN(AC_PROG_CC, +[AC_BEFORE([$0], [AC_PROG_CPP])dnl +AC_CHECK_PROG(CC, gcc, gcc) +if test -z "$CC"; then + AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc) + if test -z "$CC"; then + case "`uname -s`" in + *win32* | *WIN32*) + AC_CHECK_PROG(CC, cl, cl) ;; + esac + fi + test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH]) +fi + +AC_PROG_CC_WORKS +AC_PROG_CC_GNU + +if test $ac_cv_prog_gcc = yes; then + GCC=yes +else + GCC= +fi + +dnl Check whether -g works, even if CFLAGS is set, in case the package +dnl plays around with CFLAGS (such as to build both debugging and +dnl normal versions of a library), tasteless as that idea is. +ac_test_CFLAGS="${CFLAGS+set}" +ac_save_CFLAGS="$CFLAGS" +CFLAGS= +AC_PROG_CC_G +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 +]) + +AC_DEFUN(AC_PROG_CXX, +[AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl +AC_CHECK_PROGS(CXX, $CCC c++ g++ gcc CC cxx cc++ cl, gcc) + +AC_PROG_CXX_WORKS +AC_PROG_CXX_GNU + +if test $ac_cv_prog_gxx = yes; then + GXX=yes +else + GXX= +fi + +dnl Check whether -g works, even if CXXFLAGS is set, in case the package +dnl plays around with CXXFLAGS (such as to build both debugging and +dnl normal versions of a library), tasteless as that idea is. +ac_test_CXXFLAGS="${CXXFLAGS+set}" +ac_save_CXXFLAGS="$CXXFLAGS" +CXXFLAGS= +AC_PROG_CXX_G +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS="$ac_save_CXXFLAGS" +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" + fi +else + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi +fi +]) + +dnl Determine a Fortran 77 compiler to use. If `F77' is not already set +dnl in the environment, check for `g77', `f77' and `f2c', in that order. +dnl Set the output variable `F77' to the name of the compiler found. +dnl +dnl If using `g77' (the GNU Fortran 77 compiler), then `AC_PROG_F77' +dnl will set the shell variable `G77' to `yes', and empty otherwise. If +dnl the output variable `FFLAGS' was not already set in the environment, +dnl then set it to `-g -02' for `g77' (or `-O2' where `g77' does not +dnl accept `-g'). Otherwise, set `FFLAGS' to `-g' for all other Fortran +dnl 77 compilers. +dnl +dnl AC_PROG_F77() +AC_DEFUN(AC_PROG_F77, +[AC_BEFORE([$0], [AC_PROG_CPP])dnl +if test -z "$F77"; then + AC_CHECK_PROGS(F77, g77 f77 f2c) + test -z "$F77" && AC_MSG_ERROR([no acceptable Fortran 77 compiler found in \$PATH]) +fi + +AC_PROG_F77_WORKS +AC_PROG_F77_GNU + +if test $ac_cv_prog_g77 = yes; then + G77=yes +dnl Check whether -g works, even if FFLAGS is set, in case the package +dnl plays around with FFLAGS (such as to build both debugging and +dnl normal versions of a library), tasteless as that idea is. + ac_test_FFLAGS="${FFLAGS+set}" + ac_save_FFLAGS="$FFLAGS" + FFLAGS= + AC_PROG_F77_G + if test "$ac_test_FFLAGS" = set; then + FFLAGS="$ac_save_FFLAGS" + elif test $ac_cv_prog_f77_g = yes; then + FFLAGS="-g -O2" + else + FFLAGS="-O2" + fi +else + G77= + test "${FFLAGS+set}" = set || FFLAGS="-g" +fi +]) + +AC_DEFUN(AC_PROG_CC_WORKS, +[AC_MSG_CHECKING([whether the C compiler ($CC $CFLAGS $LDFLAGS) works]) +AC_LANG_SAVE +AC_LANG_C +AC_TRY_COMPILER([main(){return(0);}], ac_cv_prog_cc_works, ac_cv_prog_cc_cross) +AC_LANG_RESTORE +AC_MSG_RESULT($ac_cv_prog_cc_works) +if test $ac_cv_prog_cc_works = no; then + ccout=`eval "${CC-cc} 2>&1" 2> /dev/null` + ret=$? + nf=`echo "$ccout" | grep 'not found'` + if test $ret = 127 -a -n "$nf" ; then # Korn Shell + ccout="" + fi + if test "$ret" -ne 0 -a ! -n "$ccout" ; then + AC_MSG_ERROR([installation or configuration problem: C compiler ${CC-cc} not found.]) + fi + AC_MSG_ERROR([installation or configuration problem: C compiler cannot create executables.]) +fi +AC_MSG_CHECKING([whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler]) +AC_MSG_RESULT($ac_cv_prog_cc_cross) +cross_compiling=$ac_cv_prog_cc_cross +if test "$cross_compiling" = yes -a "$CONFIG_RMTCALL" != NONE ; then + cross_compiling=remote + rmtcall="$CONFIG_RMTCALL" + rmttest="$CONFIG_RMTCALL" +fi +]) + +AC_DEFUN(AC_PROG_CXX_WORKS, +[AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works]) +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +AC_TRY_COMPILER([int main(){return(0);}], ac_cv_prog_cxx_works, ac_cv_prog_cxx_cross) +AC_LANG_RESTORE +AC_MSG_RESULT($ac_cv_prog_cxx_works) +if test $ac_cv_prog_cxx_works = no; then + AC_MSG_ERROR([installation or configuration problem: C++ compiler cannot create executables.]) +fi +AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler]) +AC_MSG_RESULT($ac_cv_prog_cxx_cross) +cross_compiling=$ac_cv_prog_cxx_cross +if test "$cross_compiling" = yes -a "$CONFIG_RMTCALL" != NONE ; then + cross_compiling=remote + rmtcall="$CONFIG_RMTCALL" + rmttest="$CONFIG_RMTCALL" +fi +]) + +dnl Test whether the Fortran 77 compiler can compile and link a trivial +dnl Fortran program. Also, test whether the Fortran 77 compiler is a +dnl cross-compiler (which may realistically be the case if the Fortran +dnl compiler is `g77'). +dnl +dnl AC_PROG_F77_WORKS() +AC_DEFUN(AC_PROG_F77_WORKS, +[AC_MSG_CHECKING([whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) works]) +AC_LANG_SAVE +AC_LANG_FORTRAN77 +AC_TRY_COMPILER(dnl +[ program conftest + end +], ac_cv_prog_f77_works, ac_cv_prog_f77_cross) +AC_LANG_RESTORE +AC_MSG_RESULT($ac_cv_prog_f77_works) +if test $ac_cv_prog_f77_works = no; then + AC_MSG_ERROR([installation or configuration problem: Fortran 77 compiler cannot create executables.]) +fi +AC_MSG_CHECKING([whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) is a cross-compiler]) +AC_MSG_RESULT($ac_cv_prog_f77_cross) +cross_compiling=$ac_cv_prog_f77_cross +if test "$cross_compiling" = yes -a "$CONFIG_RMTCALL" != NONE ; then + cross_compiling=remote + rmtcall="$CONFIG_RMTCALL" + rmttest="$CONFIG_RMTCALL" +fi +]) + +dnl Checks whether $CONFIG_RMTCALL and $CONFIG_RMTHOST are both set up +dnl in our enviroment to avoid hidden failures in the tests. +dnl In case of calling programs on an emulator, set CONFIG_RMTHOST=none +AC_DEFUN(AC_REMOTE_PARMS,[ +if test "$cross_compiling" = remote -a ."$CONFIG_RMTCALL" = . ; then + echo 'CONFIG_RMTCALL=script-path required for remote execution' 1>&2 + exit 1 +fi +if test "$cross_compiling" = remote -a ."$CONFIG_RMTHOST" = . ; then + echo 'CONFIG_RMTHOST=host or CONFIG_RMTHOST=user@host required for remote execution' 1>&2 + exit 1 +fi +if test "$cross_compiling" = remote ; then + echo "Cross-Compiling with remote execution of test programs" + echo "Cross-Compile script: $CONFIG_RMTCALL" + echo "Cross-Compile host: $CONFIG_RMTHOST" +fi +]) + + +AC_DEFUN(AC_PROG_CC_GNU, +[AC_CACHE_CHECK(whether we are using GNU C, ac_cv_prog_gcc, +[dnl The semicolon is to pacify NeXT's syntax-checking cpp. +cat > conftest.c </dev/null 2>&1; then + ac_cv_prog_gcc=yes +else + ac_cv_prog_gcc=no +fi])]) + +AC_DEFUN(AC_PROG_CXX_GNU, +[AC_CACHE_CHECK(whether we are using GNU C++, ac_cv_prog_gxx, +[dnl The semicolon is to pacify NeXT's syntax-checking cpp. +cat > conftest.C </dev/null 2>&1; then + ac_cv_prog_gxx=yes +else + ac_cv_prog_gxx=no +fi])]) + +dnl Test whether for Fortran 77 compiler is `g77' (the GNU Fortran 77 +dnl Compiler). This test depends on whether the Fortran 77 compiler can +dnl do CPP pre-processing. +dnl +dnl AC_PROG_F77_GNU() +AC_DEFUN(AC_PROG_F77_GNU, +[AC_CACHE_CHECK(whether we are using GNU Fortran 77, ac_cv_prog_g77, +[cat > conftest.fpp </dev/null 2>&1; then + ac_cv_prog_g77=yes +else + ac_cv_prog_g77=no +fi])]) + +AC_DEFUN(AC_PROG_CC_G, +[AC_CACHE_CHECK(whether ${CC-cc} accepts -g, ac_cv_prog_cc_g, +[echo 'void f(){}' > conftest.c +if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then + ac_cv_prog_cc_g=yes +else + ac_cv_prog_cc_g=no +fi +rm -f conftest* +])]) + +AC_DEFUN(AC_PROG_CXX_G, +[AC_CACHE_CHECK(whether ${CXX-g++} accepts -g, ac_cv_prog_cxx_g, +[echo 'void f(){}' > conftest.cc +if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then + ac_cv_prog_cxx_g=yes +else + ac_cv_prog_cxx_g=no +fi +rm -f conftest* +])]) + +dnl Test whether the Fortran 77 compiler can accept the `-g' option to +dnl enable debugging. +dnl +dnl AC_PROG_F77_G() +AC_DEFUN(AC_PROG_F77_G, +[AC_CACHE_CHECK(whether $F77 accepts -g, ac_cv_prog_f77_g, +[cat > conftest.f << EOF + program conftest + end +EOF +if test -z "`$F77 -g -c conftest.f 2>&1`"; then + ac_cv_prog_f77_g=yes +else + ac_cv_prog_f77_g=no +fi +rm -f conftest* +])]) + +AC_DEFUN(AC_PROG_GCC_TRADITIONAL, +[AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_CPP])dnl +if test $ac_cv_prog_gcc = yes; then + AC_CACHE_CHECK(whether ${CC-cc} needs -traditional, + ac_cv_prog_gcc_traditional, +[ ac_pattern="Autoconf.*'x'" + AC_EGREP_CPP($ac_pattern, [#include +Autoconf TIOCGETP], + ac_cv_prog_gcc_traditional=yes, ac_cv_prog_gcc_traditional=no) + + if test $ac_cv_prog_gcc_traditional = no; then + AC_EGREP_CPP($ac_pattern, [#include +Autoconf TCGETA], + ac_cv_prog_gcc_traditional=yes) + fi]) + if test $ac_cv_prog_gcc_traditional = yes; then + CC="$CC -traditional" + fi +fi +]) + +AC_DEFUN(AC_PROG_CC_C_O, +[if test "x$CC" != xcc; then + AC_MSG_CHECKING(whether $CC and cc understand -c and -o together) +else + AC_MSG_CHECKING(whether cc understands -c and -o together) +fi +set dummy $CC; ac_cc="`echo [$]2 | +changequote(, )dnl + sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`" +changequote([, ])dnl +AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o, +[echo 'foo(){}' > conftest.c +# 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-cc} -c conftest.c -o conftest.o 1>&AC_FD_CC' +if AC_TRY_EVAL(ac_try) && + test -f conftest.o && AC_TRY_EVAL(ac_try); +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_COMMAND(cc -c conftest.c 1>&AC_FD_CC); then + ac_try='cc -c conftest.c -o conftest.o 1>&AC_FD_CC' + if AC_TRY_EVAL(ac_try) && + test -f conftest.o && AC_TRY_EVAL(ac_try); + 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 conftest* +])dnl +if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) + AC_DEFINE(NO_MINUS_C_MINUS_O) +fi +]) + +dnl Test if the Fortran 77 compiler accepts the options `-c' and `-o' +dnl simultaneously, and define `F77_NO_MINUS_C_MINUS_O' if it does not. +dnl +dnl The usefulness of this macro is questionable, as I can't really see +dnl why anyone would use it. The only reason I include it is for +dnl completeness, since a similar test exists for the C compiler. +dnl +dnl AC_PROG_F77_C_O +AC_DEFUN(AC_PROG_F77_C_O, +[AC_BEFORE([$0], [AC_PROG_F77])dnl +AC_MSG_CHECKING(whether $F77 understand -c and -o together) +set dummy $F77; ac_f77="`echo [$]2 | +changequote(, )dnl +sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`" +changequote([, ])dnl +AC_CACHE_VAL(ac_cv_prog_f77_${ac_f77}_c_o, +[cat > conftest.f << EOF + program conftest + end +EOF +# We do the `AC_TRY_EVAL' test twice because some compilers refuse to +# overwrite an existing `.o' file with `-o', although they will create +# one. +ac_try='$F77 $FFLAGS -c conftest.f -o conftest.o 1>&AC_FD_CC' +if AC_TRY_EVAL(ac_try) && test -f conftest.o && AC_TRY_EVAL(ac_try); then + eval ac_cv_prog_f77_${ac_f77}_c_o=yes +else + eval ac_cv_prog_f77_${ac_f77}_c_o=no +fi +rm -f conftest* +])dnl +if eval "test \"`echo '$ac_cv_prog_f77_'${ac_f77}_c_o`\" = yes"; then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) + AC_DEFINE(F77_NO_MINUS_C_MINUS_O) +fi +]) + +dnl Define SET_MAKE to set ${MAKE} if make doesn't. +AC_DEFUN(AC_PROG_MAKE_SET, +[AC_MSG_CHECKING(whether ${MAKE-make} sets \${MAKE}) +set dummy ${MAKE-make}; ac_make=`echo "[$]2" | sed 'y%./+-%__p_%'` +AC_CACHE_VAL(ac_cv_prog_make_${ac_make}_set, +[cat > conftestmake <<\EOF +all: + @echo 'ac_maketemp="${MAKE}"' +EOF +changequote(, )dnl +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` +changequote([, ])dnl +if test -n "$ac_maketemp"; then + eval ac_cv_prog_make_${ac_make}_set=yes +else + eval ac_cv_prog_make_${ac_make}_set=no +fi +rm -f conftestmake])dnl +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then + AC_MSG_RESULT(yes) + SET_MAKE= +else + AC_MSG_RESULT(no) + SET_MAKE="MAKE=${MAKE-make}" +fi +AC_SUBST([SET_MAKE])dnl +]) + +AC_DEFUN(AC_PROG_RANLIB, +[AC_CHECK_PROG(RANLIB, ranlib, ranlib, :)]) + +dnl Check for mawk first since it's generally faster. +AC_DEFUN(AC_PROG_AWK, +[AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )]) + +AC_DEFUN(AC_PROG_YACC, +[AC_CHECK_PROGS(YACC, 'bison -y' byacc, yacc)]) + +AC_DEFUN(AC_PROG_CPP, +[AC_MSG_CHECKING(how to run the C preprocessor) +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then +AC_CACHE_VAL(ac_cv_prog_CPP, +[ # This must be in double quotes, not single quotes, because CPP may get + # substituted into the Makefile and "${CC-cc}" will confuse make. + CPP="${CC-cc} -E" + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. +dnl Use a header file that comes with gcc, so configuring glibc +dnl with a fresh cross-compiler works. + AC_TRY_CPP([#include +Syntax Error], , + CPP="${CC-cc} -E -traditional-cpp" + AC_TRY_CPP([#include +Syntax Error], , + CPP="${CC-cc} -nologo -E" + AC_TRY_CPP([#include +Syntax Error], , CPP=/lib/cpp))) + ac_cv_prog_CPP="$CPP"])dnl + CPP="$ac_cv_prog_CPP" +else + ac_cv_prog_CPP="$CPP" +fi +AC_MSG_RESULT($CPP) +AC_SUBST(CPP)dnl +]) + +AC_DEFUN(AC_PROG_CXXCPP, +[AC_MSG_CHECKING(how to run the C++ preprocessor) +if test -z "$CXXCPP"; then +AC_CACHE_VAL(ac_cv_prog_CXXCPP, +[AC_LANG_SAVE[]dnl +AC_LANG_CPLUSPLUS[]dnl + CXXCPP="${CXX-g++} -E" + AC_TRY_CPP([#include ], , CXXCPP=/lib/cpp) + ac_cv_prog_CXXCPP="$CXXCPP" +AC_LANG_RESTORE[]dnl +fi])dnl +CXXCPP="$ac_cv_prog_CXXCPP" +AC_MSG_RESULT($CXXCPP) +AC_SUBST(CXXCPP)dnl +]) + +dnl Require finding the C or C++ preprocessor, whichever is the +dnl current language. +AC_DEFUN(AC_REQUIRE_CPP, +[ifelse(AC_LANG, C, [AC_REQUIRE([AC_PROG_CPP])], [AC_REQUIRE([AC_PROG_CXXCPP])])]) + +AC_DEFUN(AC_PROG_LEX, +[AC_CHECK_PROG(LEX, flex, flex, lex) +if test -z "$LEXLIB" +then + case "$LEX" in + flex*) ac_lib=fl ;; + *) ac_lib=l ;; + esac + AC_CHECK_LIB($ac_lib, yywrap, LEXLIB="-l$ac_lib") +fi +AC_SUBST(LEXLIB)]) + +dnl Check if lex declares yytext as a char * by default, not a char[]. +undefine([AC_DECL_YYTEXT]) +AC_DEFUN(AC_DECL_YYTEXT, +[AC_REQUIRE_CPP()dnl +AC_REQUIRE([AC_PROG_LEX])dnl +AC_CACHE_CHECK(lex output file root, ac_cv_prog_lex_root, +[# The minimal lex program is just a single line: %%. But some broken lexes +# (Solaris, I think it was) want two %% lines, so accommodate them. +echo '%% +%%' | $LEX +if test -f lex.yy.c; then + ac_cv_prog_lex_root=lex.yy +elif test -f lexyy.c; then + ac_cv_prog_lex_root=lexyy +else + AC_MSG_ERROR(cannot find output from $LEX; giving up) +fi]) +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root +AC_SUBST(LEX_OUTPUT_ROOT)dnl + +AC_CACHE_CHECK(whether yytext is a pointer, ac_cv_prog_lex_yytext_pointer, +[# POSIX says lex can declare yytext either as a pointer or an array; the +# default is implementation-dependent. Figure out which it is, since +# not all implementations provide the %pointer and %array declarations. +ac_cv_prog_lex_yytext_pointer=no +echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c +ac_save_LIBS="$LIBS" +LIBS="$LIBS $LEXLIB" +AC_TRY_LINK(`cat $LEX_OUTPUT_ROOT.c`, , ac_cv_prog_lex_yytext_pointer=yes) +LIBS="$ac_save_LIBS" +rm -f "${LEX_OUTPUT_ROOT}.c" +]) +dnl +if test $ac_cv_prog_lex_yytext_pointer = yes; then + AC_DEFINE(YYTEXT_POINTER) +fi +]) + +AC_DEFUN(AC_PROG_INSTALL, +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +# 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 +# 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" +# ./install, which can be erroneously created by make from ./install.sh. +AC_MSG_CHECKING(for a BSD compatible install) +if test -z "$INSTALL"; then +AC_CACHE_VAL(ac_cv_path_install, +[ IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" + for ac_dir in $PATH; do + # Account for people who put trailing slashes in PATH elements. + case "$ac_dir/" in + /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/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 + if test -f $ac_dir/$ac_prog; then + if test $ac_prog = install && + grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + else + ac_cv_path_install="$ac_dir/$ac_prog -c" + break 2 + fi + fi + done + ;; + esac + done + IFS="$ac_save_IFS" +])dnl + if test "${ac_cv_path_install+set}" = set; then + INSTALL="$ac_cv_path_install" + else + # As a last resort, use the slow shell script. We don't cache a + # path for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the path is relative. + INSTALL="$ac_install_sh" + fi +fi +dnl We do special magic for INSTALL instead of AC_SUBST, to get +dnl relative paths right. +AC_MSG_RESULT($INSTALL) + +# 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}' +AC_SUBST(INSTALL_PROGRAM)dnl + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' +AC_SUBST(INSTALL_SCRIPT)dnl + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' +AC_SUBST(INSTALL_DATA)dnl +]) + +AC_DEFUN(AC_PROG_LN_S, +[AC_MSG_CHECKING(whether ln -s works) +AC_CACHE_VAL(ac_cv_prog_LN_S, +[rm -f conftestdata +if ln -s X conftestdata 2>/dev/null +then + rm -f conftestdata + ac_cv_prog_LN_S="ln -s" +else + ac_cv_prog_LN_S=ln +fi])dnl +LN_S="$ac_cv_prog_LN_S" +if test "$ac_cv_prog_LN_S" = "ln -s"; then + AC_MSG_RESULT(yes) +else + AC_MSG_RESULT(no) +fi +AC_SUBST(LN_S)dnl +]) + +define(AC_RSH, +[errprint(__file__:__line__: [$0] has been removed; replace it with equivalent code +)m4exit(4)]) + + +dnl ### Checks for header files + + +AC_DEFUN(AC_HEADER_STDC, +[AC_REQUIRE_CPP()dnl +AC_CACHE_CHECK(for ANSI C header files, ac_cv_header_stdc, +[AC_TRY_CPP([#include +#include +#include +#include ], ac_cv_header_stdc=yes, ac_cv_header_stdc=no) + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. +AC_EGREP_HEADER(memchr, string.h, , ac_cv_header_stdc=no) +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. +AC_EGREP_HEADER(free, stdlib.h, , ac_cv_header_stdc=no) +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. +AC_TRY_RUN([#include +#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#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)) exit(2); +exit (0); } +], , ac_cv_header_stdc=no, :) +fi]) +if test $ac_cv_header_stdc = yes; then + AC_DEFINE(STDC_HEADERS) + AC_DEFINE(HAVE_STDARG_H) + AC_DEFINE(HAVE_STDLIB_H) + AC_DEFINE(HAVE_STRING_H) + AC_DEFINE(HAVE_FLOAT_H) +fi +]) + +AC_DEFUN(AC_UNISTD_H, +[AC_OBSOLETE([$0], [; instead use AC_CHECK_HEADERS(unistd.h)])dnl +AC_CHECK_HEADER(unistd.h, AC_DEFINE(HAVE_UNISTD_H))]) + +AC_DEFUN(AC_USG, +[AC_OBSOLETE([$0], + [; instead use AC_CHECK_HEADERS(string.h) and HAVE_STRING_H])dnl +AC_MSG_CHECKING([for BSD string and memory functions]) +AC_TRY_LINK([#include ], [rindex(0, 0); bzero(0, 0);], + [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no); AC_DEFINE(USG)])]) + + +dnl If memchr and the like aren't declared in , include . +dnl To avoid problems, don't check for gcc2 built-ins. +AC_DEFUN(AC_MEMORY_H, +[AC_OBSOLETE([$0], [; instead use AC_CHECK_HEADERS(memory.h) and HAVE_MEMORY_H])dnl +AC_MSG_CHECKING(whether string.h declares mem functions) +AC_EGREP_HEADER(memchr, string.h, ac_found=yes, ac_found=no) +AC_MSG_RESULT($ac_found) +if test $ac_found = no; then + AC_CHECK_HEADER(memory.h, [AC_DEFINE(NEED_MEMORY_H)]) +fi +]) + +AC_DEFUN(AC_HEADER_MAJOR, +[AC_CACHE_CHECK(whether sys/types.h defines makedev, + ac_cv_header_sys_types_h_makedev, +[AC_TRY_LINK([#include ], [return makedev(0, 0);], + ac_cv_header_sys_types_h_makedev=yes, ac_cv_header_sys_types_h_makedev=no) +]) + +if test $ac_cv_header_sys_types_h_makedev = no; then +AC_CHECK_HEADER(sys/mkdev.h, [AC_DEFINE(MAJOR_IN_MKDEV)]) + + if test $ac_cv_header_sys_mkdev_h = no; then +AC_CHECK_HEADER(sys/sysmacros.h, [AC_DEFINE(MAJOR_IN_SYSMACROS)]) + fi +fi +]) + +AC_DEFUN(AC_HEADER_DIRENT, +[ac_header_dirent=no +AC_CHECK_HEADERS_DIRENT(dirent.h sys/ndir.h sys/dir.h ndir.h, + [ac_header_dirent=$ac_hdr; break]) +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. +if test $ac_header_dirent = dirent.h; then +AC_CHECK_LIB(c, opendir, :, + [AC_CHECK_LIB(dir, opendir, LIBS="$LIBS -ldir")]) +else +AC_CHECK_LIB(c, opendir, :, + [AC_CHECK_LIB(x, opendir, LIBS="$LIBS -lx")]) +fi +]) + +dnl Like AC_CHECK_HEADER, except also make sure that HEADER-FILE +dnl defines the type `DIR'. dirent.h on NextStep 3.2 doesn't. +dnl AC_CHECK_HEADER_DIRENT(HEADER-FILE, ACTION-IF-FOUND) +AC_DEFUN(AC_CHECK_HEADER_DIRENT, +[ac_safe=`echo "$1" | sed 'y%./+-%__p_%'` +AC_MSG_CHECKING([for $1 that defines DIR]) +AC_CACHE_VAL(ac_cv_header_dirent_$ac_safe, +[AC_TRY_COMPILE([#include +#include <$1>], [DIR *dirp = 0;], + eval "ac_cv_header_dirent_$ac_safe=yes", + eval "ac_cv_header_dirent_$ac_safe=no")])dnl +if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then + AC_MSG_RESULT(yes) + $2 +else + AC_MSG_RESULT(no) +fi +]) + +dnl Like AC_CHECK_HEADERS, except succeed only for a HEADER-FILE that +dnl defines `DIR'. +dnl AC_CHECK_HEADERS_DIRENT(HEADER-FILE... [, ACTION]) +define(AC_CHECK_HEADERS_DIRENT, +[for ac_hdr in $1 +do +AC_CHECK_HEADER_DIRENT($ac_hdr, +[changequote(, )dnl + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +changequote([, ])dnl + AC_DEFINE_UNQUOTED($ac_tr_hdr) $2])dnl +done]) + +AC_DEFUN(AC_DIR_HEADER, +[AC_OBSOLETE([$0], [; instead use AC_HEADER_DIRENT])dnl +ac_header_dirent=no +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do + AC_CHECK_HEADER_DIRENT($ac_hdr, [ac_header_dirent=$ac_hdr; break]) +done + +case "$ac_header_dirent" in +dirent.h) AC_DEFINE(DIRENT) ;; +sys/ndir.h) AC_DEFINE(SYSNDIR) ;; +sys/dir.h) AC_DEFINE(SYSDIR) ;; +ndir.h) AC_DEFINE(NDIR) ;; +esac + +AC_CACHE_CHECK(whether closedir returns void, ac_cv_func_closedir_void, +[AC_TRY_RUN([#include +#include <$ac_header_dirent> +int closedir(); main() { exit(closedir(opendir(".")) != 0); }], + ac_cv_func_closedir_void=no, ac_cv_func_closedir_void=yes, ac_cv_func_closedir_void=yes)]) +if test $ac_cv_func_closedir_void = yes; then + AC_DEFINE(VOID_CLOSEDIR) +fi +]) + +AC_DEFUN(AC_HEADER_STAT, +[AC_CACHE_CHECK(whether stat file-mode macros are broken, + ac_cv_header_stat_broken, +[AC_EGREP_CPP([You lose], [#include +#include + +#if defined(S_ISBLK) && defined(S_IFDIR) +# if S_ISBLK (S_IFDIR) +You lose. +# endif +#endif + +#if defined(S_ISBLK) && defined(S_IFCHR) +# if S_ISBLK (S_IFCHR) +You lose. +# endif +#endif + +#if defined(S_ISLNK) && defined(S_IFREG) +# if S_ISLNK (S_IFREG) +You lose. +# endif +#endif + +#if defined(S_ISSOCK) && defined(S_IFREG) +# if S_ISSOCK (S_IFREG) +You lose. +# endif +#endif +], ac_cv_header_stat_broken=yes, ac_cv_header_stat_broken=no)]) +if test $ac_cv_header_stat_broken = yes; then + AC_DEFINE(STAT_MACROS_BROKEN) +fi +]) + +AC_DEFUN(AC_DECL_SYS_SIGLIST, +[AC_CACHE_CHECK([for sys_siglist declaration in signal.h or unistd.h], + ac_cv_decl_sys_siglist, +[AC_TRY_COMPILE([#include +#include +/* NetBSD declares sys_siglist in unistd.h. */ +#ifdef HAVE_UNISTD_H +#include +#endif], [char *msg = *(sys_siglist + 1);], + ac_cv_decl_sys_siglist=yes, ac_cv_decl_sys_siglist=no)]) +if test $ac_cv_decl_sys_siglist = yes; then + AC_DEFINE(SYS_SIGLIST_DECLARED) +fi +]) + +AC_DEFUN(AC_HEADER_SYS_WAIT, +[AC_CACHE_CHECK([for sys/wait.h that is POSIX.1 compatible], + ac_cv_header_sys_wait_h, +[AC_TRY_COMPILE([#include +#include +#ifndef WEXITSTATUS +#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) +#endif +#ifndef WIFEXITED +#define WIFEXITED(stat_val) (((stat_val) & 255) == 0) +#endif], [int s; +wait (&s); +s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;], +ac_cv_header_sys_wait_h=yes, ac_cv_header_sys_wait_h=no)]) +if test $ac_cv_header_sys_wait_h = yes; then + AC_DEFINE(HAVE_SYS_WAIT_H) +fi +]) + + +dnl ### Checks for typedefs + + +AC_DEFUN(AC_TYPE_GETGROUPS, +[AC_REQUIRE([AC_TYPE_UID_T])dnl +AC_CACHE_CHECK(type of array argument to getgroups, ac_cv_type_getgroups, +[AC_TRY_RUN( +changequote(<<, >>)dnl +<< +/* Thanks to Mike Rendell for this test. */ +#include +#define NGID 256 +#undef MAX +#define MAX(x, y) ((x) > (y) ? (x) : (y)) +main() +{ + gid_t gidset[NGID]; + int i, n; + union { gid_t gval; long lval; } val; + + val.lval = -1; + for (i = 0; i < NGID; i++) + gidset[i] = val.gval; + n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1, + gidset); + /* Exit non-zero if getgroups seems to require an array of ints. This + happens when gid_t is short but getgroups modifies an array of ints. */ + exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0); +} +>>, +changequote([, ])dnl + ac_cv_type_getgroups=gid_t, ac_cv_type_getgroups=int, + ac_cv_type_getgroups=cross) +if test $ac_cv_type_getgroups = cross; then + dnl When we can't run the test program (we are cross compiling), presume + dnl that has either an accurate prototype for getgroups or none. + dnl Old systems without prototypes probably use int. + AC_EGREP_HEADER([getgroups.*int.*gid_t], unistd.h, + ac_cv_type_getgroups=gid_t, ac_cv_type_getgroups=int) +fi]) +AC_DEFINE_UNQUOTED(GETGROUPS_T, $ac_cv_type_getgroups) +]) + +AC_DEFUN(AC_TYPE_UID_T, +[AC_CACHE_CHECK(for uid_t in sys/types.h, ac_cv_type_uid_t, +[AC_EGREP_HEADER(uid_t, sys/types.h, + ac_cv_type_uid_t=yes, ac_cv_type_uid_t=no)]) +if test $ac_cv_type_uid_t = no; then + AC_DEFINE(uid_t, int) + AC_DEFINE(gid_t, int) +fi +]) + +AC_DEFUN(AC_TYPE_SIZE_T, +[AC_CHECK_TYPE(size_t, unsigned)]) + +AC_DEFUN(AC_TYPE_PID_T, +[AC_CHECK_TYPE(pid_t, int)]) + +AC_DEFUN(AC_TYPE_OFF_T, +[AC_CHECK_TYPE(off_t, long)]) + +AC_DEFUN(AC_TYPE_MODE_T, +[AC_CHECK_TYPE(mode_t, int)]) + +dnl Note that identifiers starting with SIG are reserved by ANSI C. +AC_DEFUN(AC_TYPE_SIGNAL, +[AC_CACHE_CHECK([return type of signal handlers], ac_cv_type_signal, +[AC_TRY_COMPILE([#include +#include +#ifdef signal +#undef signal +#endif +#ifdef __cplusplus +extern "C" void (*signal (int, void (*)(int)))(int); +#else +void (*signal ()) (); +#endif +], +[int i;], ac_cv_type_signal=void, ac_cv_type_signal=int)]) +AC_DEFINE_UNQUOTED(RETSIGTYPE, $ac_cv_type_signal) +]) + + +dnl ### Checks for functions + + +AC_DEFUN(AC_FUNC_CLOSEDIR_VOID, +[AC_REQUIRE([AC_HEADER_DIRENT])dnl +AC_CACHE_CHECK(whether closedir returns void, ac_cv_func_closedir_void, +[AC_TRY_RUN([#include +#include <$ac_header_dirent> +int closedir(); main() { exit(closedir(opendir(".")) != 0); }], + ac_cv_func_closedir_void=no, ac_cv_func_closedir_void=yes, ac_cv_func_closedir_void=yes)]) +if test $ac_cv_func_closedir_void = yes; then + AC_DEFINE(CLOSEDIR_VOID) +fi +]) + +AC_DEFUN(AC_FUNC_FNMATCH, +[AC_CACHE_CHECK(for working fnmatch, ac_cv_func_fnmatch_works, +# Some versions of Solaris or SCO have a broken fnmatch function. +# So we run a test program. If we are cross-compiling, take no chance. +# Thanks to John Oleynick and Franc,ois Pinard for this test. +[AC_TRY_RUN([main() { exit (fnmatch ("a*", "abc", 0) != 0); }], +ac_cv_func_fnmatch_works=yes, ac_cv_func_fnmatch_works=no, +ac_cv_func_fnmatch_works=no)]) +if test $ac_cv_func_fnmatch_works = yes; then + AC_DEFINE(HAVE_FNMATCH) +fi +]) + +AC_DEFUN(AC_FUNC_MMAP, +[AC_CHECK_HEADERS(unistd.h) +AC_CHECK_FUNCS(getpagesize) +AC_CACHE_CHECK(for working mmap, ac_cv_func_mmap_fixed_mapped, +[AC_TRY_RUN([ +/* Thanks to Mike Haertel and Jim Avera for this test. + Here is a matrix of mmap possibilities: + mmap private not fixed + mmap private fixed at somewhere currently unmapped + mmap private fixed at somewhere already mapped + mmap shared not fixed + mmap shared fixed at somewhere currently unmapped + mmap shared fixed at somewhere already mapped + For private mappings, we should verify that changes cannot be read() + back from the file, nor mmap's back from the file at a different + address. (There have been systems where private was not correctly + implemented like the infamous i386 svr4.0, and systems where the + VM page cache was not coherent with the filesystem buffer cache + like early versions of FreeBSD and possibly contemporary NetBSD.) + For shared mappings, we should conversely verify that changes get + propogated back to all the places they're supposed to be. + + Grep wants private fixed already mapped. + The main things grep needs to know about mmap are: + * does it exist and is it safe to write into the mmap'd area + * how to use it (BSD variants) */ +#include +#include +#include + +/* This mess was copied from the GNU getpagesize.h. */ +#ifndef HAVE_GETPAGESIZE +# ifdef HAVE_UNISTD_H +# include +# endif + +/* Assume that all systems that can run configure have sys/param.h. */ +# ifndef HAVE_SYS_PARAM_H +# define HAVE_SYS_PARAM_H 1 +# endif + +# ifdef _SC_PAGESIZE +# define getpagesize() sysconf(_SC_PAGESIZE) +# else /* no _SC_PAGESIZE */ +# ifdef HAVE_SYS_PARAM_H +# include +# ifdef EXEC_PAGESIZE +# define getpagesize() EXEC_PAGESIZE +# else /* no EXEC_PAGESIZE */ +# ifdef NBPG +# define getpagesize() NBPG * CLSIZE +# ifndef CLSIZE +# define CLSIZE 1 +# endif /* no CLSIZE */ +# else /* no NBPG */ +# ifdef NBPC +# define getpagesize() NBPC +# else /* no NBPC */ +# ifdef PAGESIZE +# define getpagesize() PAGESIZE +# endif /* PAGESIZE */ +# endif /* no NBPC */ +# endif /* no NBPG */ +# endif /* no EXEC_PAGESIZE */ +# else /* no HAVE_SYS_PARAM_H */ +# define getpagesize() 8192 /* punt totally */ +# endif /* no HAVE_SYS_PARAM_H */ +# endif /* no _SC_PAGESIZE */ + +#endif /* no HAVE_GETPAGESIZE */ + +#ifdef __cplusplus +extern "C" { void *malloc(unsigned); } +#else +char *malloc(); +#endif + +int +main() +{ + char *data, *data2, *data3; + int i, pagesize; + int fd; + + pagesize = getpagesize(); + + /* + * First, make a file with some known garbage in it. + */ + data = malloc(pagesize); + if (!data) + exit(1); + for (i = 0; i < pagesize; ++i) + *(data + i) = rand(); + umask(0); + fd = creat("conftestmmap", 0600); + if (fd < 0) + exit(1); + if (write(fd, data, pagesize) != pagesize) + exit(1); + close(fd); + + /* + * Next, try to mmap the file at a fixed address which + * already has something else allocated at it. If we can, + * also make sure that we see the same garbage. + */ + fd = open("conftestmmap", O_RDWR); + if (fd < 0) + exit(1); + data2 = malloc(2 * pagesize); + if (!data2) + exit(1); + data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); + if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_FIXED, fd, 0L)) + exit(1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data2 + i)) + exit(1); + + /* + * Finally, make sure that changes to the mapped area + * do not percolate back to the file as seen by read(). + * (This is a bug on some variants of i386 svr4.0.) + */ + for (i = 0; i < pagesize; ++i) + *(data2 + i) = *(data2 + i) + 1; + data3 = malloc(pagesize); + if (!data3) + exit(1); + if (read(fd, data3, pagesize) != pagesize) + exit(1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data3 + i)) + exit(1); + close(fd); + unlink("conftestmmap"); + exit(0); +} +], ac_cv_func_mmap_fixed_mapped=yes, ac_cv_func_mmap_fixed_mapped=no, +ac_cv_func_mmap_fixed_mapped=no)]) +if test $ac_cv_func_mmap_fixed_mapped = yes; then + AC_DEFINE(HAVE_MMAP) +fi +]) + +AC_DEFUN(AC_FUNC_GETPGRP, +[AC_CACHE_CHECK(whether getpgrp takes no argument, ac_cv_func_getpgrp_void, +[AC_TRY_RUN([ +/* + * If this system has a BSD-style getpgrp(), + * which takes a pid argument, exit unsuccessfully. + * + * Snarfed from Chet Ramey's bash pgrp.c test program + */ +#include +#include + +int pid; +int pg1, pg2, pg3, pg4; +int ng, np, s, child; + +main() +{ + pid = getpid(); + pg1 = getpgrp(0); + pg2 = getpgrp(); + pg3 = getpgrp(pid); + pg4 = getpgrp(1); + + /* + * If all of these values are the same, it's pretty sure that + * we're on a system that ignores getpgrp's first argument. + */ + if (pg2 == pg4 && pg1 == pg3 && pg2 == pg3) + exit(0); + + child = fork(); + if (child < 0) + exit(1); + else if (child == 0) { + np = getpid(); + /* + * If this is Sys V, this will not work; pgrp will be + * set to np because setpgrp just changes a pgrp to be + * the same as the pid. + */ + setpgrp(np, pg1); + ng = getpgrp(0); /* Same result for Sys V and BSD */ + if (ng == pg1) { + exit(1); + } else { + exit(0); + } + } else { + wait(&s); + exit(s>>8); + } +} +], ac_cv_func_getpgrp_void=yes, ac_cv_func_getpgrp_void=no, + AC_MSG_ERROR(cannot check getpgrp if cross compiling)) +]) +if test $ac_cv_func_getpgrp_void = yes; then + AC_DEFINE(GETPGRP_VOID) +fi +]) + +AC_DEFUN(AC_FUNC_SETPGRP, +[AC_CACHE_CHECK(whether setpgrp takes no argument, ac_cv_func_setpgrp_void, +AC_TRY_RUN([ +#ifdef HAVE_UNISTD_H +#include +#endif + +/* + * If this system has a BSD-style setpgrp, which takes arguments, exit + * successfully. + */ +main() +{ + if (setpgrp(1,1) == -1) + exit(0); + else + exit(1); +} +], ac_cv_func_setpgrp_void=no, ac_cv_func_setpgrp_void=yes, + AC_MSG_ERROR(cannot check setpgrp if cross compiling)) +) +if test $ac_cv_func_setpgrp_void = yes; then + AC_DEFINE(SETPGRP_VOID) +fi +]) + +AC_DEFUN(AC_FUNC_VPRINTF, +[AC_CHECK_FUNC(vprintf, AC_DEFINE(HAVE_VPRINTF)) +if test "$ac_cv_func_vprintf" != yes; then +AC_CHECK_FUNC(_doprnt, AC_DEFINE(HAVE_DOPRNT)) +fi +]) + +AC_DEFUN(AC_FUNC_VFORK, +[AC_REQUIRE([AC_TYPE_PID_T])dnl +AC_CHECK_HEADER(vfork.h, AC_DEFINE(HAVE_VFORK_H)) +AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works, +[AC_TRY_RUN([/* Thanks to Paul Eggert for first version of this test. */ +#include +#include +#include +#ifdef HAVE_UNISTD_H +#include +#endif +#ifdef HAVE_VFORK_H +#include +#endif +#ifdef HAVE_STDLIB_H +#include +#endif +#if defined(HAVE_WAIT_H) +#include +#else +#include +#endif +/* On some sparc systems, changes by the child to local and incoming + argument registers are propagated back to the parent. + The compiler is told about this with #include , + but some compilers (e.g. gcc -O) don't grok . + Test for this by using a static variable whose address + is put into a register that is clobbered by the vfork. */ +#ifndef VMS +static int +#ifdef __cplusplus +sparc_address_test (int arg) +#else +sparc_address_test (arg) int arg; +#endif +{ + static pid_t child; + if (!child) { + child = vfork (); + if (child < 0) { + perror ("vfork"); + _exit(2); + } + if (!child) { + arg = getpid(); + write(-1, "", 0); + _exit (arg); + } + } + return (0); +} +#endif +int exc = 0; +int data = 0; + +int +main() { + pid_t parent = getpid (); + pid_t child; + +#ifndef VMS + sparc_address_test(0); +#endif + + child = vfork (); + + if (child == 0) { + /* Here is another test for sparc vfork register problems. + This test uses lots of local variables, at least + as many local variables as main has allocated so far + including compiler temporaries. 4 locals are enough for + gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. + A buggy compiler should reuse the register of parent + for one of the local variables, since it will think that + parent can't possibly be used any more in this routine. + Assigning to the local variable will thus munge parent + in the parent process. */ + pid_t + p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), + p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); + /* Convince the compiler that p..p7 are live; otherwise, it might + use the same hardware register for all 8 local variables. */ + if (p != p1 || p != p2 || p != p3 || p != p4 + || p != p5 || p != p6 || p != p7) + exc = 1; + + /* On some systems (e.g. IRIX 3.3), + vfork doesn't separate parent from child file descriptors. + If the child closes a descriptor before it execs or exits, + this munges the parent's descriptor as well. + Test for this by closing stdout in the child. */ + if (exc == 0) + exc = close(fileno(stdout)) != 0; + + /* + * Check whether a modification in the data segment of the child + * is forwarded to the data segment of the parent, vfork() on Haiku + * fails to do this. We cannot use vfork() in this case as vfork() + * children usually signal things to their parent by modifying the + * data segment. + */ + data = 1; + + /* + * VMS hangs if we do not call execl() + */ +#ifdef HAVE_EXECL + /* + * On VMS, things hang unless the child calls exec() + */ + if (exc == 0) + execl("/bin/true", "true", (char *)0); + else + execl("/bin/false", "false", (char *)0); +#endif + _exit(exc); + } else { + int status; + struct stat st; + + while (wait(&status) != child) + ; + exit( + /* Was there some problem with vforking? */ + child < 0 + + /* Did the child fail? (This shouldn't happen.) */ + || status + + /* Did the vfork/compiler bug occur? */ + || parent != getpid() + + || data == 0 + + /* Did the file descriptor bug occur? */ + || fstat(fileno(stdout), &st) != 0 + ); + } +}], +ac_cv_func_vfork_works=yes, ac_cv_func_vfork_works=no, AC_CHECK_FUNC(vfork) +ac_cv_func_vfork_works=$ac_cv_func_vfork)]) +if test $ac_cv_func_vfork_works = no; then + AC_DEFINE(vfork, fork) +else + AC_DEFINE(HAVE_VFORK) +fi +]) + +AC_DEFUN(AC_FUNC_WAIT3, +[AC_CACHE_CHECK(for wait3 that fills in rusage, ac_cv_func_wait3_rusage, +[AC_TRY_RUN([#include +#include +#include +#include +/* HP-UX has wait3 but does not fill in rusage at all. */ +main() { + struct rusage r; + int i; + /* Use a field that we can force nonzero -- + voluntary context switches. + For systems like NeXT and OSF/1 that don't set it, + also use the system CPU time. And page faults (I/O) for Linux. */ + r.ru_nvcsw = 0; + r.ru_utime.tv_sec = 0; + r.ru_utime.tv_usec = 0; + r.ru_stime.tv_sec = 0; + r.ru_stime.tv_usec = 0; + r.ru_majflt = r.ru_minflt = 0; + switch (fork()) { + case 0: /* Child. */ + sleep(1); /* Give up the CPU. */ + for (i=200000; --i > 0;) getpid(); /* Use up some CPU time */ + _exit(0); + case -1: _exit(0); /* What can we do? */ + default: /* Parent. */ + wait3(&i, 0, &r); + sleep(2); /* Avoid "text file busy" from rm on fast HP-UX machines. */ + exit(r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0 + && r.ru_utime.tv_sec == 0 && r.ru_utime.tv_usec == 0 + && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0); + } +}], ac_cv_func_wait3_rusage=yes, ac_cv_func_wait3_rusage=no, +ac_cv_func_wait3_rusage=no)]) +if test $ac_cv_func_wait3_rusage = yes; then + AC_DEFINE(HAVE_WAIT3) +fi +]) + +AC_DEFUN(AC_FUNC_ALLOCA, +[AC_REQUIRE_CPP()dnl Set CPP; we run AC_EGREP_CPP conditionally. +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works +# for constant arguments. Useless! +AC_CACHE_CHECK([for working alloca.h], ac_cv_header_alloca_h, +[AC_TRY_LINK([#include ], [char *p = alloca(2 * sizeof(int));], + ac_cv_header_alloca_h=yes, ac_cv_header_alloca_h=no)]) +if test $ac_cv_header_alloca_h = yes; then + AC_DEFINE(HAVE_ALLOCA_H) +fi + +AC_CACHE_CHECK([for alloca], ac_cv_func_alloca_works, +[AC_TRY_LINK([ +#ifdef __GNUC__ +# define alloca __builtin_alloca +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# if HAVE_ALLOCA_H +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ +char *alloca (); +# endif +# endif +# endif +# endif +#endif +], [char *p = (char *) alloca(1);], + ac_cv_func_alloca_works=yes, ac_cv_func_alloca_works=no)]) +if test $ac_cv_func_alloca_works = yes; then + AC_DEFINE(HAVE_ALLOCA) +fi + +if test $ac_cv_func_alloca_works = no; then + # The SVR3 libPW and SVR4 libucb both contain incompatible functions + # that cause trouble. Some versions do not even contain alloca or + # contain a buggy version. If you still want to use their alloca, + # use ar to extract alloca.o from them instead of compiling alloca.c. + ALLOCA=alloca.${ac_objext} + AC_DEFINE(C_ALLOCA) + +AC_CACHE_CHECK(whether alloca needs Cray hooks, ac_cv_os_cray, +[AC_EGREP_CPP(webecray, +[#if defined(CRAY) && ! defined(CRAY2) +webecray +#else +wenotbecray +#endif +], ac_cv_os_cray=yes, ac_cv_os_cray=no)]) +if test $ac_cv_os_cray = yes; then +for ac_func in _getb67 GETB67 getb67; do + AC_CHECK_FUNC($ac_func, [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func) + break]) +done +fi + +AC_CACHE_CHECK(stack direction for C alloca, ac_cv_c_stack_direction, +[AC_TRY_RUN([find_stack_direction () +{ + static char *addr = 0; + auto char dummy; + if (addr == 0) + { + addr = &dummy; + return find_stack_direction (); + } + else + return (&dummy > addr) ? 1 : -1; +} +main () +{ + exit (find_stack_direction() < 0); +}], ac_cv_c_stack_direction=1, ac_cv_c_stack_direction=-1, + ac_cv_c_stack_direction=0)]) +AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction) +fi +AC_SUBST(ALLOCA)dnl +]) + +AC_DEFUN(AC_FUNC_GETLOADAVG, +[ac_have_func=no # yes means we've found a way to get the load average. + +# Some systems with -lutil have (and need) -lkvm as well, some do not. +# On Solaris, -lkvm requires nlist from -lelf, so check that first +# to get the right answer into the cache. +AC_CHECK_LIB(elf, elf_begin, LIBS="-lelf $LIBS") +AC_CHECK_LIB(kvm, kvm_open, LIBS="-lkvm $LIBS") +# Check for the 4.4BSD definition of getloadavg. +AC_CHECK_LIB(util, getloadavg, + [LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes]) + +if test $ac_have_func = no; then + # There is a commonly available library for RS/6000 AIX. + # Since it is not a standard part of AIX, it might be installed locally. + ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" + AC_CHECK_LIB(getloadavg, getloadavg, + LIBS="-lgetloadavg $LIBS", LIBS="$ac_getloadavg_LIBS") +fi + +# Make sure it is really in the library, if we think we found it. +AC_REPLACE_FUNCS(getloadavg) + +if test $ac_cv_func_getloadavg = yes; then + AC_DEFINE(HAVE_GETLOADAVG) + ac_have_func=yes +else + # Figure out what our getloadavg.c needs. + ac_have_func=no + AC_CHECK_HEADER(sys/dg_sys_info.h, + [ac_have_func=yes; AC_DEFINE(DGUX) + AC_CHECK_LIB(dgc, dg_sys_info)]) + + # We cannot check for , because Solaris 2 does not use dwarf (it + # uses stabs), but it is still SVR4. We cannot check for because + # Irix 4.0.5F has the header but not the library. + if test $ac_have_func = no && test $ac_cv_lib_elf_elf_begin = yes; then + ac_have_func=yes; AC_DEFINE(SVR4) + fi + + if test $ac_have_func = no; then + AC_CHECK_HEADER(inq_stats/cpustats.h, + [ac_have_func=yes; AC_DEFINE(UMAX) + AC_DEFINE(UMAX4_3)]) + fi + + if test $ac_have_func = no; then + AC_CHECK_HEADER(sys/cpustats.h, + [ac_have_func=yes; AC_DEFINE(UMAX)]) + fi + + if test $ac_have_func = no; then + AC_CHECK_HEADERS(mach/mach.h) + fi + + AC_CHECK_HEADER(nlist.h, + [AC_DEFINE(NLIST_STRUCT) + AC_CACHE_CHECK([for n_un in struct nlist], ac_cv_struct_nlist_n_un, + [AC_TRY_COMPILE([#include ], + [struct nlist n; n.n_un.n_name = 0;], + ac_cv_struct_nlist_n_un=yes, ac_cv_struct_nlist_n_un=no)]) + if test $ac_cv_struct_nlist_n_un = yes; then + AC_DEFINE(NLIST_NAME_UNION) + fi + ])dnl +fi # Do not have getloadavg in system libraries. + +# Some definitions of getloadavg require that the program be installed setgid. +dnl FIXME Don't hardwire the path of getloadavg.c in the top-level directory. +AC_CACHE_CHECK(whether getloadavg requires setgid, + ac_cv_func_getloadavg_setgid, +[AC_EGREP_CPP([Yowza Am I SETGID yet], +[#include "$srcdir/getloadavg.c" +#ifdef LDAV_PRIVILEGED +Yowza Am I SETGID yet +#endif], + ac_cv_func_getloadavg_setgid=yes, ac_cv_func_getloadavg_setgid=no)]) +if test $ac_cv_func_getloadavg_setgid = yes; then + NEED_SETGID=true; AC_DEFINE(GETLOADAVG_PRIVILEGED) +else + NEED_SETGID=false +fi +AC_SUBST(NEED_SETGID)dnl + +if test $ac_cv_func_getloadavg_setgid = yes; then + AC_CACHE_CHECK(group of /dev/kmem, ac_cv_group_kmem, +[changequote(, )dnl + # On Solaris, /dev/kmem is a symlink. Get info on the real file. + ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` + # If we got an error (system does not support symlinks), try without -L. + test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem` + ac_cv_group_kmem=`echo $ac_ls_output \ + | sed -ne 's/[ ][ ]*/ /g; + s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; + / /s/.* //;p;'` +changequote([, ])dnl +]) + KMEM_GROUP=$ac_cv_group_kmem +fi +AC_SUBST(KMEM_GROUP)dnl +]) + +AC_DEFUN(AC_FUNC_UTIME_NULL, +[AC_CACHE_CHECK(whether utime accepts a null argument, ac_cv_func_utime_null, +[rm -f conftestdata; > conftestdata +# Sequent interprets utime(file, 0) to mean use start of epoch. Wrong. +AC_TRY_RUN([#include +#include +main() { +struct stat s, t; +exit(!(stat ("conftestdata", &s) == 0 && utime("conftestdata", (long *)0) == 0 +&& stat("conftestdata", &t) == 0 && t.st_mtime >= s.st_mtime +&& t.st_mtime - s.st_mtime < 120)); +}], ac_cv_func_utime_null=yes, ac_cv_func_utime_null=no, + ac_cv_func_utime_null=no) +rm -f core core.* *.core]) +if test $ac_cv_func_utime_null = yes; then + AC_DEFINE(HAVE_UTIME_NULL) +fi +]) + +AC_DEFUN(AC_FUNC_STRCOLL, +[AC_CACHE_CHECK(for working strcoll, ac_cv_func_strcoll_works, +[AC_TRY_RUN([#include +main () +{ + exit (strcoll ("abc", "def") >= 0 || + strcoll ("ABC", "DEF") >= 0 || + strcoll ("123", "456") >= 0); +}], ac_cv_func_strcoll_works=yes, ac_cv_func_strcoll_works=no, +ac_cv_func_strcoll_works=no)]) +if test $ac_cv_func_strcoll_works = yes; then + AC_DEFINE(HAVE_STRCOLL) +fi +]) + +AC_DEFUN(AC_FUNC_SETVBUF_REVERSED, +[AC_CACHE_CHECK(whether setvbuf arguments are reversed, + ac_cv_func_setvbuf_reversed, +[AC_TRY_RUN([#include +/* If setvbuf has the reversed format, exit 0. */ +main () { + /* This call has the arguments reversed. + A reversed system may check and see that the address of main + is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */ + if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0) + exit(1); + putc('\r', stdout); + exit(0); /* Non-reversed systems segv here. */ +}], ac_cv_func_setvbuf_reversed=yes, ac_cv_func_setvbuf_reversed=no) +rm -f core core.* *.core]) +if test $ac_cv_func_setvbuf_reversed = yes; then + AC_DEFINE(SETVBUF_REVERSED) +fi +]) + +AC_DEFUN(AC_FUNC_GETMNTENT, +[# getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware. +AC_CHECK_LIB(sun, getmntent, LIBS="-lsun $LIBS", + [AC_CHECK_LIB(seq, getmntent, LIBS="-lseq $LIBS", + [AC_CHECK_LIB(gen, getmntent, LIBS="-lgen $LIBS")])]) +AC_CHECK_FUNC(getmntent, [AC_DEFINE(HAVE_GETMNTENT)])]) + +AC_DEFUN(AC_FUNC_STRFTIME, +[AC_CHECK_FUNC(strftime, [AC_DEFINE(HAVE_STRFTIME)], +[# strftime is in -lintl on SCO UNIX. +AC_CHECK_LIB(intl, strftime, +[AC_DEFINE(HAVE_STRFTIME) +LIBS="-lintl $LIBS"])])]) + +AC_DEFUN(AC_FUNC_MEMCMP, +[AC_CACHE_CHECK(for 8-bit clean memcmp, ac_cv_func_memcmp_clean, +[AC_TRY_RUN([ +main() +{ + char c0 = 0x40, c1 = 0x80, c2 = 0x81; + exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1); +} +], ac_cv_func_memcmp_clean=yes, ac_cv_func_memcmp_clean=no, +ac_cv_func_memcmp_clean=no)]) +test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" +AC_SUBST(LIBOBJS)dnl +]) + +AC_DEFUN(AC_FUNC_SELECT_ARGTYPES, +[AC_MSG_CHECKING([types of arguments for select()]) + AC_CACHE_VAL(ac_cv_func_select_arg234,dnl + [AC_CACHE_VAL(ac_cv_func_select_arg1,dnl + [AC_CACHE_VAL(ac_cv_func_select_arg5,dnl + [for ac_cv_func_select_arg234 in 'fd_set *' 'int *' 'void *'; do + for ac_cv_func_select_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do + for ac_cv_func_select_arg5 in 'struct timeval *' 'const struct timeval *'; do + AC_TRY_COMPILE(dnl +[#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_TIME_H +#include +#endif +#ifdef HAVE_SYS_SELECT_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +extern select ($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);],,dnl + [ac_not_found=no ; break 3],ac_not_found=yes) + done + done + done + ])dnl AC_CACHE_VAL + ])dnl AC_CACHE_VAL + ])dnl AC_CACHE_VAL + if test "$ac_not_found" = yes; then + ac_cv_func_select_arg1=int + ac_cv_func_select_arg234='int *' + ac_cv_func_select_arg5='struct timeval *' + fi + AC_MSG_RESULT([$ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5]) + AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG1,$ac_cv_func_select_arg1) + AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG234,($ac_cv_func_select_arg234)) + AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG5,($ac_cv_func_select_arg5)) +]) + + +dnl ### Checks for structure members + + +AC_DEFUN(AC_HEADER_TIME, +[AC_CACHE_CHECK([whether time.h and sys/time.h may both be included], + ac_cv_header_time, +[AC_TRY_COMPILE([#include +#include +#include ], +[struct tm *tp;], ac_cv_header_time=yes, ac_cv_header_time=no)]) +if test $ac_cv_header_time = yes; then + AC_DEFINE(TIME_WITH_SYS_TIME) +fi +]) + +AC_DEFUN(AC_STRUCT_TM, +[AC_CACHE_CHECK([whether struct tm is in sys/time.h or time.h], + ac_cv_struct_tm, +[AC_TRY_COMPILE([#include +#include ], +[struct tm *tp; tp->tm_sec;], + ac_cv_struct_tm=time.h, ac_cv_struct_tm=sys/time.h)]) +if test $ac_cv_struct_tm = sys/time.h; then + AC_DEFINE(TM_IN_SYS_TIME) +fi +]) + +AC_DEFUN(AC_STRUCT_TM_ZONE, +[AC_REQUIRE([AC_STRUCT_TM])dnl +AC_CACHE_CHECK([for tm_zone in struct tm], ac_cv_struct_tm_zone, +[AC_TRY_COMPILE([#include +#include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_zone;], + ac_cv_struct_tm_zone=yes, ac_cv_struct_tm_zone=no)]) +if test "$ac_cv_struct_tm_zone" = yes; then + AC_DEFINE(HAVE_TM_ZONE) +else + AC_CACHE_CHECK(for tzname, ac_cv_var_tzname, +[AC_TRY_LINK( +changequote(<<, >>)dnl +<<#include +#ifndef tzname /* For SGI. */ +extern char *tzname[]; /* RS6000 and others reject char **tzname. */ +#endif>>, +changequote([, ])dnl +[atoi(*tzname);], ac_cv_var_tzname=yes, ac_cv_var_tzname=no)]) + if test $ac_cv_var_tzname = yes; then + AC_DEFINE(HAVE_TZNAME) + fi +fi +]) + +AC_DEFUN(AC_STRUCT_ST_BLOCKS, +[AC_CACHE_CHECK([for st_blocks in struct stat], ac_cv_struct_st_blocks, +[AC_TRY_COMPILE([#include +#include ], [struct stat s; s.st_blocks;], +ac_cv_struct_st_blocks=yes, ac_cv_struct_st_blocks=no)]) +if test $ac_cv_struct_st_blocks = yes; then + AC_DEFINE(HAVE_ST_BLOCKS) +else + LIBOBJS="$LIBOBJS fileblocks.${ac_objext}" +fi +AC_SUBST(LIBOBJS)dnl +]) + +AC_DEFUN(AC_STRUCT_ST_BLKSIZE, +[AC_CACHE_CHECK([for st_blksize in struct stat], ac_cv_struct_st_blksize, +[AC_TRY_COMPILE([#include +#include ], [struct stat s; s.st_blksize;], +ac_cv_struct_st_blksize=yes, ac_cv_struct_st_blksize=no)]) +if test $ac_cv_struct_st_blksize = yes; then + AC_DEFINE(HAVE_ST_BLKSIZE) +fi +]) + +AC_DEFUN(AC_STRUCT_ST_RDEV, +[AC_CACHE_CHECK([for st_rdev in struct stat], ac_cv_struct_st_rdev, +[AC_TRY_COMPILE([#include +#include ], [struct stat s; s.st_rdev;], +ac_cv_struct_st_rdev=yes, ac_cv_struct_st_rdev=no)]) +if test $ac_cv_struct_st_rdev = yes; then + AC_DEFINE(HAVE_ST_RDEV) +fi +]) + + +dnl ### Checks for compiler characteristics + + +AC_DEFUN(AC_C_CROSS, +[AC_OBSOLETE([$0], [; it has been merged into AC_PROG_CC])]) + +AC_DEFUN(AC_C_CHAR_UNSIGNED, +[AC_CACHE_CHECK(whether char is unsigned, ac_cv_c_char_unsigned, +[if test "$GCC" = yes; then + # GCC predefines this symbol on systems where it applies. +AC_EGREP_CPP(yes, +[#ifdef __CHAR_UNSIGNED__ + yes +#endif +], ac_cv_c_char_unsigned=yes, ac_cv_c_char_unsigned=no) +else +AC_TRY_RUN( +[/* volatile prevents gcc2 from optimizing the test away on sparcs. */ +#if !defined(__STDC__) || __STDC__ != 1 +#define volatile +#endif +main() { + volatile char c = 255; exit(c < 0); +}], ac_cv_c_char_unsigned=yes, ac_cv_c_char_unsigned=no) +fi]) +if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then + AC_DEFINE(__CHAR_UNSIGNED__) +fi +]) + +AC_DEFUN(AC_C_LONG_DOUBLE, +[AC_CACHE_CHECK(for long double, ac_cv_c_long_double, +[if test "$GCC" = yes; then + ac_cv_c_long_double=yes +else +AC_TRY_RUN([int main() { +/* The Stardent Vistra knows sizeof(long double), but does not support it. */ +long double foo = 0.0; +/* On Ultrix 4.3 cc, long double is 4 and double is 8. */ +exit(sizeof(long double) < sizeof(double)); }], +ac_cv_c_long_double=yes, ac_cv_c_long_double=no) +fi]) +if test $ac_cv_c_long_double = yes; then + AC_DEFINE(HAVE_LONG_DOUBLE) +fi +]) + +AC_DEFUN(AC_INT_16_BITS, +[AC_OBSOLETE([$0], [; instead use AC_CHECK_SIZEOF(int)])dnl +AC_MSG_CHECKING(whether int is 16 bits) +AC_TRY_RUN([main() { exit(sizeof(int) != 2); }], + [AC_MSG_RESULT(yes) + AC_DEFINE(INT_16_BITS)], AC_MSG_RESULT(no)) +]) + +AC_DEFUN(AC_LONG_64_BITS, +[AC_OBSOLETE([$0], [; instead use AC_CHECK_SIZEOF(long)])dnl +AC_MSG_CHECKING(whether long int is 64 bits) +AC_TRY_RUN([main() { exit(sizeof(long int) != 8); }], + [AC_MSG_RESULT(yes) + AC_DEFINE(LONG_64_BITS)], AC_MSG_RESULT(no)) +]) + +AC_DEFUN(AC_C_BIGENDIAN, +[AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian, +[ac_cv_c_bigendian=unknown +# See if sys/param.h defines the BYTE_ORDER macro. +AC_TRY_COMPILE([#include +#include ], [ +#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN + bogus endian macros +#endif], [# It does; now see whether it defined to BIG_ENDIAN or not. +AC_TRY_COMPILE([#include +#include ], [ +#if BYTE_ORDER != BIG_ENDIAN + not big endian +#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)]) +if test $ac_cv_c_bigendian = unknown; then +AC_TRY_RUN([main () { + /* Are we little or big endian? From Harbison&Steele. */ + union + { + long l; + char c[sizeof (long)]; + } u; + u.l = 1; + exit (u.c[sizeof (long) - 1] == 1); +}], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes) +fi]) +if test $ac_cv_c_bigendian = yes; then + AC_DEFINE(WORDS_BIGENDIAN) +fi +]) + +dnl Do nothing if the compiler accepts the inline keyword. +dnl Otherwise define inline to __inline__ or __inline if one of those work, +dnl otherwise define inline to be empty. +AC_DEFUN(AC_C_INLINE, +[AC_CACHE_CHECK([for inline], ac_cv_c_inline, +[ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + AC_TRY_COMPILE(, [} $ac_kw foo() {], [ac_cv_c_inline=$ac_kw; break]) +done +]) +case "$ac_cv_c_inline" in + inline | yes) + AC_DEFINE(HAVE_INLINE) + ;; + no) AC_DEFINE(inline, ) + ;; + *) AC_DEFINE_UNQUOTED(inline, $ac_cv_c_inline) + AC_DEFINE(HAVE_INLINE) + ;; +esac +]) + +AC_DEFUN(AC_C_CONST, +[dnl This message is consistent in form with the other checking messages, +dnl and with the result message. +AC_CACHE_CHECK([for working const], ac_cv_c_const, +[AC_TRY_COMPILE(, +changequote(<<, >>)dnl +<< +/* Ultrix mips cc rejects this. */ +typedef int charset[2]; const charset x; +/* SunOS 4.1.1 cc rejects this. */ +char const *const *ccp; +char **p; +/* 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"; +ccp = &g + (g ? g-g : 0); +/* HPUX 7.0 cc rejects these. */ +++ccp; +p = (char**) ccp; +ccp = (char const *const *) p; +{ /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 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; +} +>>, +changequote([, ])dnl +ac_cv_c_const=yes, ac_cv_c_const=no)]) +if test $ac_cv_c_const = no; then + AC_DEFINE(const, ) +fi +]) + +AC_DEFUN(AC_C_STRINGIZE, [ +AC_REQUIRE([AC_PROG_CPP]) +AC_MSG_CHECKING([for preprocessor stringizing operator]) +AC_CACHE_VAL(ac_cv_c_stringize, +AC_EGREP_CPP([#teststring],[ +#define x(y) #y + +char *s = x(teststring); +], ac_cv_c_stringize=no, ac_cv_c_stringize=yes)) +if test "${ac_cv_c_stringize}" = yes +then + AC_DEFINE(HAVE_STRINGIZE) +fi +AC_MSG_RESULT([${ac_cv_c_stringize}]) +])dnl + +define(AC_ARG_ARRAY, +[errprint(__file__:__line__: [$0] has been removed; don't do unportable things with arguments +)m4exit(4)]) + +dnl Check the object extension used by the compiler: typically .o or +dnl .obj. If this is called, some other behaviour will change, +dnl determined by ac_objext. +AC_DEFUN(AC_OBJEXT, +[AC_MSG_CHECKING([for object suffix]) +AC_CACHE_VAL(ac_cv_objext, +[rm -f conftest* +echo 'int i = 1;' > conftest.$ac_ext +if AC_TRY_EVAL(ac_compile); then + for ac_file in conftest.*; do + case $ac_file in + *.c) ;; + *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; + esac + done +else + AC_MSG_ERROR([installation or configuration problem; compiler does not work]) +fi +rm -f conftest*]) +AC_MSG_RESULT($ac_cv_objext) +OBJEXT=$ac_cv_objext +ac_objext=$ac_cv_objext +AC_SUBST(OBJEXT)]) + +dnl Determine the linker flags (e.g. `-L' and `-l') for the Fortran 77 +dnl intrinsic and run-time libraries that are required to successfully +dnl link a Fortran 77 program or shared library. The output variable +dnl FLIBS is set to these flags. +dnl +dnl This macro is intended to be used in those situations when it is +dnl necessary to mix, e.g. C++ and Fortran 77, source code into a single +dnl program or shared library. +dnl +dnl For example, if object files from a C++ and Fortran 77 compiler must +dnl be linked together, then the C++ compiler/linker must be used for +dnl linking (since special C++-ish things need to happen at link time +dnl like calling global constructors, instantiating templates, enabling +dnl exception support, etc.). +dnl +dnl However, the Fortran 77 intrinsic and run-time libraries must be +dnl linked in as well, but the C++ compiler/linker doesn't know how to +dnl add these Fortran 77 libraries. Hence, the macro +dnl `AC_F77_LIBRARY_LDFLAGS' was created to determine these Fortran 77 +dnl libraries. +dnl +dnl This macro was packaged in its current form by Matthew D. Langston +dnl . However, nearly all of this macro +dnl came from the `OCTAVE_FLIBS' macro in `octave-2.0.13/aclocal.m4', +dnl and full credit should go to John W. Eaton for writing this +dnl extremely useful macro. Thank you John. +dnl +dnl AC_F77_LIBRARY_LDFLAGS() +AC_DEFUN(AC_F77_LIBRARY_LDFLAGS, +[AC_MSG_CHECKING([for Fortran 77 libraries]) +AC_REQUIRE([AC_PROG_F77]) +AC_REQUIRE([AC_CANONICAL_HOST]) +AC_CACHE_VAL(ac_cv_flibs, +[changequote(, )dnl +dnl Write a minimal program and compile it with -v. I don't know what +dnl to do if your compiler doesn't have -v... +echo " END" > conftest.f +foutput=`${F77} -v -o conftest conftest.f 2>&1` +dnl +dnl The easiest thing to do for xlf output is to replace all the commas +dnl with spaces. Try to only do that if the output is really from xlf, +dnl since doing that causes problems on other systems. +dnl +xlf_p=`echo $foutput | grep xlfentry` +if test -n "$xlf_p"; then + foutput=`echo $foutput | sed 's/,/ /g'` +fi +dnl +ld_run_path=`echo $foutput | \ + sed -n -e 's/^.*LD_RUN_PATH *= *\([^ ]*\).*/\1/p'` +dnl +dnl We are only supposed to find this on Solaris systems... +dnl Uh, the run path should be absolute, shouldn't it? +dnl +case "$ld_run_path" in + /*) + if test "$ac_cv_prog_gcc" = yes; then + ld_run_path="-Xlinker -R -Xlinker $ld_run_path" + else + ld_run_path="-R $ld_run_path" + fi + ;; + *) + ld_run_path= + ;; +esac +dnl +flibs= +lflags= +dnl +dnl If want_arg is set, we know we want the arg to be added to the list, +dnl so we don't have to examine it. +dnl +want_arg= +dnl +for arg in $foutput; do + old_want_arg=$want_arg + want_arg= +dnl +dnl None of the options that take arguments expect the argument to +dnl start with a -, so pretend we didn't see anything special. +dnl + if test -n "$old_want_arg"; then + case "$arg" in + -*) + old_want_arg= + ;; + esac + fi + case "$old_want_arg" in + '') + case $arg in + /*.a) + exists=false + for f in $lflags; do + if test x$arg = x$f; then + exists=true + fi + done + if $exists; then + arg= + else + lflags="$lflags $arg" + fi + ;; + -bI:*) + exists=false + for f in $lflags; do + if test x$arg = x$f; then + exists=true + fi + done + if $exists; then + arg= + else + if test "$ac_cv_prog_gcc" = yes; then + lflags="$lflags -Xlinker $arg" + else + lflags="$lflags $arg" + fi + fi + ;; + -lang* | -lcrt0.o | -lc | -lgcc) + arg= + ;; + -[lLR]) + want_arg=$arg + arg= + ;; + -[lLR]*) + exists=false + for f in $lflags; do + if test x$arg = x$f; then + exists=true + fi + done + if $exists; then + arg= + else + case "$arg" in + -lkernel32) + case "$canonical_host_type" in + *-*-cygwin*) + arg= + ;; + *) + lflags="$lflags $arg" + ;; + esac + ;; + -lm) + ;; + *) + lflags="$lflags $arg" + ;; + esac + fi + ;; + -u) + want_arg=$arg + arg= + ;; + -Y) + want_arg=$arg + arg= + ;; + *) + arg= + ;; + esac + ;; + -[lLR]) + arg="$old_want_arg $arg" + ;; + -u) + arg="-u $arg" + ;; + -Y) +dnl +dnl Should probably try to ensure unique directory options here too. +dnl This probably only applies to Solaris systems, and then will only +dnl work with gcc... +dnl + arg=`echo $arg | sed -e 's%^P,%%'` + SAVE_IFS=$IFS + IFS=: + list= + for elt in $arg; do + list="$list -L$elt" + done + IFS=$SAVE_IFS + arg="$list" + ;; + esac +dnl + if test -n "$arg"; then + flibs="$flibs $arg" + fi +done +if test -n "$ld_run_path"; then + flibs_result="$ld_run_path $flibs" +else + flibs_result="$flibs" +fi +changequote([, ])dnl +ac_cv_flibs="$flibs_result"]) +FLIBS="$ac_cv_flibs" +AC_SUBST(FLIBS)dnl +AC_MSG_RESULT($FLIBS) +]) + + +dnl ### Checks for operating system services + + +AC_DEFUN(AC_SYS_INTERPRETER, +[# Pull the hash mark out of the macro call to avoid m4 problems. +ac_msg="whether #! works in shell scripts" +AC_CACHE_CHECK($ac_msg, ac_cv_sys_interpreter, +[echo '#! /bin/cat +exit 69 +' > conftest +chmod u+x conftest +(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null) +if test $? -ne 69; then + ac_cv_sys_interpreter=yes +else + ac_cv_sys_interpreter=no +fi +rm -f conftest]) +interpval="$ac_cv_sys_interpreter" +]) + +define(AC_HAVE_POUNDBANG, +[errprint(__file__:__line__: [$0 has been replaced by AC_SYS_INTERPRETER, taking no arguments +])m4exit(4)]) + +AC_DEFUN(AC_SYS_LONG_FILE_NAMES, +[AC_CACHE_CHECK(for long file names, ac_cv_sys_long_file_names, +[ac_cv_sys_long_file_names=yes +# Test for long file names in all the places we know might matter: +# . the current directory, where building will happen +# $prefix/lib where we will be installing things +# $exec_prefix/lib likewise +# eval it to expand exec_prefix. +# $TMPDIR if set, where it might want to write temporary files +# if $TMPDIR is not set: +# /tmp where it might want to write temporary files +# /var/tmp likewise +# /usr/tmp likewise +if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then + ac_tmpdirs="$TMPDIR" +else + ac_tmpdirs='/tmp /var/tmp /usr/tmp' +fi +for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do + test -d $ac_dir || continue + test -w $ac_dir || continue # It is less confusing to not echo anything here. + (echo 1 > $ac_dir/conftest9012345) 2>/dev/null + (echo 2 > $ac_dir/conftest9012346) 2>/dev/null + val=`cat $ac_dir/conftest9012345 2>/dev/null` + if test ! -f $ac_dir/conftest9012345 || test "$val" != 1; then + ac_cv_sys_long_file_names=no + rm -f $ac_dir/conftest9012345 $ac_dir/conftest9012346 2>/dev/null + break + fi + rm -f $ac_dir/conftest9012345 $ac_dir/conftest9012346 2>/dev/null +done]) +if test $ac_cv_sys_long_file_names = yes; then + AC_DEFINE(HAVE_LONG_FILE_NAMES) +fi +]) + +AC_DEFUN(AC_SYS_RESTARTABLE_SYSCALLS, +[AC_CACHE_CHECK(for restartable system calls, ac_cv_sys_restartable_syscalls, +[AC_TRY_RUN( +[/* Exit 0 (true) if wait returns something other than -1, + i.e. the pid of the child, which means that wait was restarted + after getting the signal. */ +#include +#include +ucatch (isig) { } +main () { + int i = fork (), status; + if (i == 0) { sleep (3); kill (getppid (), SIGINT); sleep (3); exit (0); } + signal (SIGINT, ucatch); + status = wait(&i); + if (status == -1) wait(&i); + exit (status == -1); +} +], ac_cv_sys_restartable_syscalls=yes, ac_cv_sys_restartable_syscalls=no)]) +if test $ac_cv_sys_restartable_syscalls = yes; then + AC_DEFINE(HAVE_RESTARTABLE_SYSCALLS) +fi +]) + +AC_DEFUN(AC_PATH_X, +[AC_REQUIRE_CPP()dnl Set CPP; we run AC_PATH_X_DIRECT conditionally. +# If we find X, set shell vars x_includes and x_libraries to the +# paths, otherwise set no_x=yes. +# Uses ac_ vars as temps to allow command line to override cache and checks. +# --without-x overrides everything else, but does not touch the cache. +AC_MSG_CHECKING(for X) + +AC_ARG_WITH(x, [ --with-x use the X Window System]) +# $have_x is `yes', `no', `disabled', or empty when we do not yet know. +if test "x$with_x" = xno; then + # The user explicitly disabled X. + have_x=disabled +else + if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then + # Both variables are already set. + have_x=yes + else +AC_CACHE_VAL(ac_cv_have_x, +[# One or both of the vars are not set, and there is no cached value. +ac_x_includes=NO ac_x_libraries=NO +AC_PATH_X_XMKMF +AC_PATH_X_DIRECT +if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then + # Didn't find X anywhere. Cache the known absence of X. + ac_cv_have_x="have_x=no" +else + # Record where we found X for the cache. + ac_cv_have_x="have_x=yes \ + ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" +fi])dnl + fi + eval "$ac_cv_have_x" +fi # $with_x != no + +if test "$have_x" != yes; then + AC_MSG_RESULT($have_x) + no_x=yes +else + # If each of the values was on the command line, it overrides each guess. + test "x$x_includes" = xNONE && x_includes=$ac_x_includes + test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries + # Update the cache value to reflect the command line values. + ac_cv_have_x="have_x=yes \ + ac_x_includes=$x_includes ac_x_libraries=$x_libraries" + AC_MSG_RESULT([libraries $x_libraries, headers $x_includes]) +fi +]) + +dnl Internal subroutine of AC_PATH_X. +dnl Set ac_x_includes and/or ac_x_libraries. +AC_DEFUN(AC_PATH_X_XMKMF, +[rm -fr conftestdir +if mkdir conftestdir; then + cd conftestdir + # Make sure to not put "make" in the Imakefile rules, since we grep it out. + cat > Imakefile <<'EOF' +acfindx: + @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' +EOF + if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then + # GNU make sometimes prints "make[1]: Entering...", which would confuse us. + eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` + # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. + for ac_extension in a so sl; do + if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && + test -f $ac_im_libdir/libX11.$ac_extension; then + ac_im_usrlibdir=$ac_im_libdir; break + fi + done + # Screen out bogus values from the imake configuration. They are + # bogus both because they are the default anyway, and because + # using them would break gcc on systems where it needs fixed includes. + case "$ac_im_incroot" in + /usr/include) ;; + *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; + esac + case "$ac_im_usrlibdir" in + /usr/lib | /lib) ;; + *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; + esac + fi + cd .. + rm -fr conftestdir +fi +]) + +dnl Internal subroutine of AC_PATH_X. +dnl Set ac_x_includes and/or ac_x_libraries. +AC_DEFUN(AC_PATH_X_DIRECT, +[if test "$ac_x_includes" = NO; then + # Guess where to find include files, by looking for this one X11 .h file. + test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h + + # First, try using that file with no special directory specified. +AC_TRY_CPP([#include <$x_direct_test_include>], +[# We can compile using X headers with no special include directory. +ac_x_includes=], +[# Look for the header file in a standard set of common directories. +# Check X11 before X11Rn because it is often a symlink to the current release. + for ac_dir in \ + /usr/X11/include \ + /usr/X11R6/include \ + /usr/X11R5/include \ + /usr/X11R4/include \ + \ + /usr/include/X11 \ + /usr/include/X11R6 \ + /usr/include/X11R5 \ + /usr/include/X11R4 \ + \ + /usr/local/X11/include \ + /usr/local/X11R6/include \ + /usr/local/X11R5/include \ + /usr/local/X11R4/include \ + \ + /usr/local/include/X11 \ + /usr/local/include/X11R6 \ + /usr/local/include/X11R5 \ + /usr/local/include/X11R4 \ + \ + /usr/X386/include \ + /usr/x386/include \ + /usr/XFree86/include/X11 \ + \ + /usr/include \ + /usr/local/include \ + /usr/unsupported/include \ + /usr/athena/include \ + /usr/local/x11r5/include \ + /usr/lpp/Xamples/include \ + \ + /usr/openwin/include \ + /usr/openwin/share/include \ + ; \ + do + if test -r "$ac_dir/$x_direct_test_include"; then + ac_x_includes=$ac_dir + break + fi + done]) +fi # $ac_x_includes = NO + +if test "$ac_x_libraries" = NO; then + # Check for the libraries. + + test -z "$x_direct_test_library" && x_direct_test_library=Xt + test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc + + # See if we find them without any special options. + # Don't add to $LIBS permanently. + ac_save_LIBS="$LIBS" + LIBS="-l$x_direct_test_library $LIBS" +AC_TRY_LINK(, [${x_direct_test_function}()], +[LIBS="$ac_save_LIBS" +# We can link X programs with no special library path. +ac_x_libraries=], +[LIBS="$ac_save_LIBS" +# First see if replacing the include by lib works. +# Check X11 before X11Rn because it is often a symlink to the current release. +for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ + /usr/X11/lib \ + /usr/X11R6/lib \ + /usr/X11R5/lib \ + /usr/X11R4/lib \ + \ + /usr/lib/X11 \ + /usr/lib/X11R6 \ + /usr/lib/X11R5 \ + /usr/lib/X11R4 \ + \ + /usr/local/X11/lib \ + /usr/local/X11R6/lib \ + /usr/local/X11R5/lib \ + /usr/local/X11R4/lib \ + \ + /usr/local/lib/X11 \ + /usr/local/lib/X11R6 \ + /usr/local/lib/X11R5 \ + /usr/local/lib/X11R4 \ + \ + /usr/X386/lib \ + /usr/x386/lib \ + /usr/XFree86/lib/X11 \ + \ + /usr/lib \ + /usr/local/lib \ + /usr/unsupported/lib \ + /usr/athena/lib \ + /usr/local/x11r5/lib \ + /usr/lpp/Xamples/lib \ + /lib/usr/lib/X11 \ + \ + /usr/openwin/lib \ + /usr/openwin/share/lib \ + ; \ +do +dnl Don't even attempt the hair of trying to link an X program! + for ac_extension in a so sl; do + if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then + ac_x_libraries=$ac_dir + break 2 + fi + done +done]) +fi # $ac_x_libraries = NO +]) + +dnl Find additional X libraries, magic flags, etc. +AC_DEFUN(AC_PATH_XTRA, +[AC_REQUIRE([AC_PATH_X])dnl +if test "$no_x" = yes; then + # Not all programs may use this symbol, but it does not hurt to define it. + AC_DEFINE(X_DISPLAY_MISSING) + X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= +else + if test -n "$x_includes"; then + X_CFLAGS="$X_CFLAGS -I$x_includes" + fi + + # It would also be nice to do this for all -L options, not just this one. + if test -n "$x_libraries"; then + X_LIBS="$X_LIBS -L$x_libraries" +dnl FIXME banish uname from this macro! + # For Solaris; some versions of Sun CC require a space after -R and + # others require no space. Words are not sufficient . . . . + case "`(uname -sr) 2>/dev/null`" in + "SunOS 5"*) + AC_MSG_CHECKING(whether -R must be followed by a space) + ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" + AC_TRY_LINK(, , ac_R_nospace=yes, ac_R_nospace=no) + if test $ac_R_nospace = yes; then + AC_MSG_RESULT(no) + X_LIBS="$X_LIBS -R$x_libraries" + else + LIBS="$ac_xsave_LIBS -R $x_libraries" + AC_TRY_LINK(, , ac_R_space=yes, ac_R_space=no) + if test $ac_R_space = yes; then + AC_MSG_RESULT(yes) + X_LIBS="$X_LIBS -R $x_libraries" + else + AC_MSG_RESULT(neither works) + fi + fi + LIBS="$ac_xsave_LIBS" + esac + fi + + # Check for system-dependent libraries X programs must link with. + # Do this before checking for the system-independent R6 libraries + # (-lICE), since we may need -lsocket or whatever for X linking. + + if test "$ISC" = yes; then + X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" + else + # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X + # libraries were built with DECnet support. And karl@cs.umb.edu says + # the Alpha needs dnet_stub (dnet does not exist). + AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"]) + if test $ac_cv_lib_dnet_dnet_ntoa = no; then + AC_CHECK_LIB(dnet_stub, dnet_ntoa, + [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"]) + fi + + # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, + # to get the SysV transport functions. + # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) + # needs -lnsl. + # The nsl library prevents programs from opening the X display + # on Irix 5.2, according to dickey@clark.net. + AC_CHECK_FUNC(gethostbyname) + if test $ac_cv_func_gethostbyname = no; then + AC_CHECK_LIB(nsl, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl") + fi + + # lieder@skyler.mavd.honeywell.com says without -lsocket, + # socket/setsockopt and other routines are undefined under SCO ODT + # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary + # on later versions), says simon@lia.di.epfl.ch: it contains + # gethostby* variants that don't use the nameserver (or something). + # -lsocket must be given before -lnsl if both are needed. + # We assume that if connect needs -lnsl, so does gethostbyname. + AC_CHECK_FUNC(connect) + if test $ac_cv_func_connect = no; then + AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", , + $X_EXTRA_LIBS) + fi + + # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. + AC_CHECK_FUNC(remove) + if test $ac_cv_func_remove = no; then + AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix") + fi + + # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. + AC_CHECK_FUNC(shmat) + if test $ac_cv_func_shmat = no; then + AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc") + fi + fi + + # Check for libraries that X11R6 Xt/Xaw programs need. + ac_save_LDFLAGS="$LDFLAGS" + test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" + # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to + # check for ICE first), but we must link in the order -lSM -lICE or + # we get undefined symbols. So assume we have SM if we have ICE. + # These have to be linked with before -lX11, unlike the other + # libraries we check for below, so use a different variable. + # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. + AC_CHECK_LIB(ICE, IceConnectionNumber, + [X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], , $X_EXTRA_LIBS) + LDFLAGS="$ac_save_LDFLAGS" + +fi +AC_SUBST(X_CFLAGS)dnl +AC_SUBST(X_PRE_LIBS)dnl +AC_SUBST(X_LIBS)dnl +AC_SUBST(X_EXTRA_LIBS)dnl +]) + +dnl The old Cygwin32 macro is deprecated. +AC_DEFUN(AC_CYGWIN32, +[AC_OBSOLETE([$0], [; instead use AC_CYGWIN])dnl +AC_CYGWIN]) + +dnl Check for Cygwin. This is a way to set the right value for +dnl EXEEXT. +AC_DEFUN(AC_CYGWIN, +[AC_CACHE_CHECK(for Cygwin environment, ac_cv_cygwin, +[AC_TRY_COMPILE(,[ +#ifndef __CYGWIN__ +#define __CYGWIN__ __CYGWIN32__ +#endif +return __CYGWIN__;], +ac_cv_cygwin=yes, ac_cv_cygwin=no) +rm -f conftest*]) +CYGWIN= +test "$ac_cv_cygwin" = yes && CYGWIN=yes]) + +dnl Check for mingw32. This is another way to set the right value for +dnl EXEEXT. +AC_DEFUN(AC_MINGW32, +[AC_CACHE_CHECK(for mingw32 environment, ac_cv_mingw32, +[AC_TRY_COMPILE(,[return __MINGW32__;], +ac_cv_mingw32=yes, ac_cv_mingw32=no) +rm -f conftest*]) +MINGW32= +test "$ac_cv_mingw32" = yes && MINGW32=yes]) + +dnl Check for EMX/OS2. This is another way to set the right value for +dnl EXEEXT. +AC_DEFUN(AC_EMXOS2, +[AC_CACHE_CHECK(for EMX/OS2 environment, ac_cv_emxos2, +[AC_TRY_COMPILE(,[return __EMX__;], +ac_cv_emxos2=yes, ac_cv_emxos2=no) +rm -f conftest*]) +AC_CACHE_VAL(ac_cv_libpre, +if test "$ac_cv_emxos2" = yes ; then + ac_cv_libpre= +else + ac_cv_libpre=lib +fi +) +EMXOS2= +test "$ac_cv_emxos2" = yes && EMXOS2=yes]) + +dnl Check for the extension used for executables. This knows that we +dnl add .exe for Cygwin or mingw32. Otherwise, it compiles a test +dnl executable. If this is called, the executable extensions will be +dnl automatically used by link commands run by the configure script. +dnl +dnl exeext -> whether prog.exe ist created instead of prog +dnl xexeect -> whether prog.exe needs to be called instead of prog +dnl +AC_DEFUN(AC_EXEEXT, +[AC_REQUIRE([AC_CYGWIN]) +AC_REQUIRE([AC_MINGW32]) +AC_REQUIRE([AC_EMXOS2]) +AC_MSG_CHECKING([for executable suffix]) +AC_CACHE_VAL(ac_cv_exeext, +[if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then + ac_cv_exeext=.exe + ac_cv_xexeext="" +else + rm -f conftest* + echo 'int main () { return 0; }' > conftest.$ac_ext + ac_cv_exeext= + if AC_TRY_EVAL(ac_link); then + for file in conftest.*; do + case $file in + *.c | *.o | *.obj) ;; + *.dSYM) ;; # Ignore strange directory found on Mac OS X with cc -g + *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; + esac + done + else + ccout=`eval "${CC-cc} 2>&1" 2> /dev/null` + ret=$? + nf=`echo "$ccout" | grep 'not found'` + if test $ret = 127 -a -n "$nf" ; then # Korn Shell + ccout="" + fi + if test "$ret" -ne 0 -a ! -n "$ccout" ; then + AC_MSG_ERROR([installation or configuration problem: C compiler ${CC-cc} not found.]) + fi + AC_MSG_ERROR([installation or configuration problem: compiler cannot create executables.]) + fi + (./conftest ; exit) 2> /dev/null + if test $? != 0 ; then + ac_cv_xexeext="${ac_cv_exeext}" + (./conftest${ac_cv_xexeext} ; exit) 2> /dev/null + if test $? != 0 ; then + ac_cv_xexeext="" + fi + fi + rm -f conftest* + test x"${ac_cv_exeext}" = x && ac_cv_exeext=no + test x"${ac_cv_xexeext}" = x && ac_cv_xexeext=no +fi]) +EXEEXT="" +XEXEEXT="" +test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} +test x"${ac_cv_xexeext}" != xno && XEXEEXT=${ac_cv_xexeext} +AC_MSG_RESULT(${ac_cv_exeext}) +AC_MSG_CHECKING([for executable calling suffix]) +AC_MSG_RESULT(${ac_cv_xexeext}) +dnl Setting ac_exeext will implicitly change the ac_link command. +ac_exeext=$EXEEXT +ac_xexeext=$XEXEEXT +AC_SUBST(EXEEXT) +AC_SUBST(XEXEEXT) +]) + + +dnl ### Checks for UNIX variants +dnl These are kludges which should be replaced by a single POSIX check. +dnl They aren't cached, to discourage their use. + + +AC_DEFUN(AC_AIX, +[AC_BEFORE([$0], [AC_TRY_COMPILE])dnl +AC_BEFORE([$0], [AC_TRY_RUN])dnl +AC_MSG_CHECKING(for AIX) +AC_EGREP_CPP(yes, +[#ifdef _AIX + yes +#endif +], [AC_MSG_RESULT(yes); AC_DEFINE(_ALL_SOURCE)], AC_MSG_RESULT(no)) +]) + +AC_DEFUN(AC_MINIX, +[AC_BEFORE([$0], [AC_TRY_COMPILE])dnl +AC_BEFORE([$0], [AC_TRY_RUN])dnl +AC_CHECK_HEADER(minix/config.h, MINIX=yes, MINIX=) +if test "$MINIX" = yes; then + AC_DEFINE(_POSIX_SOURCE) + AC_DEFINE(_POSIX_1_SOURCE, 2) + AC_DEFINE(_MINIX) +fi +]) + +AC_DEFUN(AC_ISC_POSIX, +[AC_REQUIRE([AC_PROG_CC])dnl +AC_BEFORE([$0], [AC_TRY_COMPILE])dnl +AC_BEFORE([$0], [AC_TRY_RUN])dnl +AC_MSG_CHECKING(for POSIXized ISC) +if test -d /etc/conf/kconfig.d && + grep _POSIX_VERSION [/usr/include/sys/unistd.h] >/dev/null 2>&1 +then + AC_MSG_RESULT(yes) + ISC=yes # If later tests want to check for ISC. + AC_DEFINE(_POSIX_SOURCE) + if test "$GCC" = yes; then + CC="$CC -posix" + else + CC="$CC -Xp" + fi +else + AC_MSG_RESULT(no) + ISC= +fi +]) + +AC_DEFUN(AC_XENIX_DIR, +[AC_OBSOLETE([$0], [; instead use AC_HEADER_DIRENT])dnl +AC_REQUIRE([AC_DIR_HEADER])dnl +AC_MSG_CHECKING(for Xenix) +AC_EGREP_CPP(yes, +[#if defined(M_XENIX) && !defined(M_UNIX) + yes +#endif +], [AC_MSG_RESULT(yes); XENIX=yes], [AC_MSG_RESULT(no); XENIX=]) +if test "$XENIX" = yes; then + # Make sure -ldir precedes -lx. + test $ac_header_dirent = dirent.h && LIBS="-ldir $LIBS" + LIBS="$LIBS -lx" +fi +]) + +AC_DEFUN(AC_DYNIX_SEQ, +[AC_OBSOLETE([$0], [; instead use AC_FUNC_GETMNTENT])dnl +AC_CHECK_LIB(seq, getmntent, LIBS="-lseq $LIBS") +]) + +AC_DEFUN(AC_IRIX_SUN, +[AC_OBSOLETE([$0], [; instead use AC_FUNC_GETMNTENT or AC_CHECK_LIB(sun, getpwnam)])dnl +AC_CHECK_LIB(sun, getmntent, LIBS="-lsun $LIBS") +]) + +AC_DEFUN(AC_SCO_INTL, +[AC_OBSOLETE([$0], [; instead use AC_FUNC_STRFTIME])dnl +AC_CHECK_LIB(intl, strftime, LIBS="-lintl $LIBS") +]) diff --git a/autoconf/autoconf b/autoconf/autoconf new file mode 100755 index 0000000..01aac41 --- /dev/null +++ b/autoconf/autoconf @@ -0,0 +1,176 @@ +#! /bin/sh +# @(#)autoconf 1.8 09/04/19 Copyright 1999-2009 J. Schilling +# +# autoconf -- create `configure' using m4 macros +# Copyright (C) 1992, 1993, 1994, 1996 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, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# If given no args, create `configure' from template file `configure.in'. +# With one arg, create a configure script on standard output from +# the given template file. + +usage="\ +Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] + [-l dir] [--localdir=dir] [--version] [template-file]" + +# NLS nuisances. +# Only set these to C if already set. These must not be set unconditionally +# because not all systems understand e.g. LANG=C (notably SCO). +# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! +# Non-C LC_CTYPE values break the ctype check. +if test "${LANG+set}" = set; then LANG=C; export LANG; fi +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi +if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi +if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi + +: ${AC_MACRODIR=.} + +: ${M4=/usr/bin/gm4} +$M4 < /dev/null 2> /dev/null || M4=/opt/sfw/bin/gm4 +$M4 < /dev/null 2> /dev/null || M4=/usr/sfw/bin/gm4 +$M4 < /dev/null 2> /dev/null || M4=/opt/csw/bin/gm4 +$M4 < /dev/null 2> /dev/null || M4=gm4 +$M4 < /dev/null 2> /dev/null || M4=m4 + +: ${AWK=/usr/bin/gawk} +$AWK '{print 1}' < /dev/null 2> /dev/null || AWK=/opt/sfw/bin/gawk +$AWK '{print 1}' < /dev/null 2> /dev/null || AWK=/usr/sfw/bin/gawk +$AWK '{print 1}' < /dev/null 2> /dev/null || AWK=/opt/csw/bin/gawk +$AWK '{print 1}' < /dev/null 2> /dev/null || AWK=gawk +$AWK '{print 1}' < /dev/null 2> /dev/null || AWK=nawk +$AWK '{print 1}' < /dev/null 2> /dev/null || AWK=awk + +case "${M4}" in +/*) # Handle the case that m4 has moved since we were configured. + # It may have been found originally in a build directory. + test -f "${M4}" || M4=/usr/sfw/bin/gm4 + test -f "${M4}" || M4=m4 ;; +esac + +: ${TMPDIR=/tmp} +tmpout=${TMPDIR}/acout.$$ +localdir= +show_version=no + +while test $# -gt 0 ; do + case "${1}" in + -h | --help | --h* ) + echo "${usage}" 1>&2; exit 0 ;; + --localdir=* | --l*=* ) + localdir="`echo \"${1}\" | sed -e 's/^[^=]*=//'`" + shift ;; + -l | --localdir | --l*) + shift + test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; } + localdir="${1}" + shift ;; + --macrodir=* | --m*=* ) + AC_MACRODIR="`echo \"${1}\" | sed -e 's/^[^=]*=//'`" + shift ;; + -m | --macrodir | --m* ) + shift + test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; } + AC_MACRODIR="${1}" + shift ;; + --version | --v* ) + show_version=yes; shift ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "${usage}" 1>&2; exit 1 ;; + * ) + break ;; + esac +done + +if test $show_version = yes; then + version=`sed -n 's/define.AC_ACVERSION.[ ]*\([0-9.]*\).*/\1/p' \ + $AC_MACRODIR/acgeneral.m4` + echo "Autoconf version $version" + exit 0 +fi + +case $# in + 0) infile=configure.in ;; + 1) infile="$1" ;; + *) echo "$usage" >&2; exit 1 ;; +esac + +trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15 + +tmpin=${TMPDIR}/acin.$$ # Always set this, to avoid bogus errors from some rm's. +if test z$infile = z-; then + infile=$tmpin + cat > $infile +elif test ! -r "$infile"; then + echo "autoconf: ${infile}: No such file or directory" >&2 + exit 1 +fi + +if test -n "$localdir"; then + use_localdir="-I$localdir -DAC_LOCALDIR=$localdir" +else + use_localdir= +fi + +# Use the frozen version of Autoconf if available. +r= f= +# Some non-GNU m4's don't reject the --help option, so give them /dev/null. +case `$M4 --help < /dev/null 2>&1` in +*reload-state*) test -r $AC_MACRODIR/autoconf.m4f && { r=--reload f=f; } ;; +*traditional*) ;; +*) echo Autoconf requires GNU m4 1.1 or later >&2; rm -f $tmpin; exit 1 ;; +esac + +$M4 -I$AC_MACRODIR $use_localdir $r autoconf.m4$f $infile > $tmpout || + { rm -f $tmpin $tmpout; exit 2; } + +# You could add your own prefixes to pattern if you wanted to check for +# them too, e.g. pattern='\(AC_\|ILT_\)', except that UNIX sed doesn't do +# alternation. +pattern="AC_" + +status=0 +if grep "^[^#]*${pattern}" $tmpout > /dev/null 2>&1; then + echo "autoconf: Undefined macros:" >&2 + sed -n "s/^[^#]*\\(${pattern}[_A-Za-z0-9]*\\).*/\\1/p" $tmpout | + while read macro; do + grep -n "^[^#]*$macro" $infile /dev/null + test $? -eq 1 && echo >&2 "***BUG in Autoconf--please report*** $macro" + done | sort -u >&2 + status=1 +fi + +if test $# -eq 0; then + exec 4> configure; chmod +x configure +else + exec 4>&1 +fi + +# Put the real line numbers into configure to make config.log more helpful. +$AWK ' +/__oline__/ { printf "%d:", NR + 1 } + { print } +' $tmpout | sed ' +/__oline__/s/^\([0-9][0-9]*\):\(.*\)__oline__/\2\1/ +' >&4 + +rm -f $tmpout + +exit $status diff --git a/autoconf/autoconf.m4 b/autoconf/autoconf.m4 new file mode 100644 index 0000000..dde59ab --- /dev/null +++ b/autoconf/autoconf.m4 @@ -0,0 +1,28 @@ +dnl Driver that loads the Autoconf macro files. +dnl Requires GNU m4. +dnl This file is part of Autoconf. +dnl Copyright (C) 1994 Free Software Foundation, Inc. +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2, or (at your option) +dnl any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +dnl 02111-1307, USA. +dnl +dnl Written by David MacKenzie. +dnl +include(acgeneral.m4)dnl +builtin(include, acspecific.m4)dnl +builtin(include, acoldnames.m4)dnl +dnl Do not sinclude acsite.m4 here, because it may not be installed +dnl yet when Autoconf is frozen. +dnl Do not sinclude ./aclocal.m4 here, to prevent it from being frozen. diff --git a/autoconf/autoheader.m4 b/autoconf/autoheader.m4 new file mode 100644 index 0000000..cb411b0 --- /dev/null +++ b/autoconf/autoheader.m4 @@ -0,0 +1,110 @@ +dnl Driver and redefinitions of some Autoconf macros for autoheader. +dnl This file is part of Autoconf. +dnl Copyright (C) 1994, 1995 Free Software Foundation, Inc. +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2, or (at your option) +dnl any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +dnl 02111-1307, USA. +dnl +dnl Written by Roland McGrath. +dnl +include(acgeneral.m4)dnl +builtin(include, acspecific.m4)dnl +builtin(include, acoldnames.m4)dnl + +dnl These are alternate definitions of some macros, which produce +dnl strings in the output marked with "@@@" so we can easily extract +dnl the information we want. The `#' at the end of the first line of +dnl each definition seems to be necessary to prevent m4 from eating +dnl the newline, which makes the @@@ not always be at the beginning of +dnl a line. + +define([AC_CHECK_FUNCS], [# +@@@funcs="$funcs $1"@@@ +ifelse([$2], , , [ +# If it was found, we do: +$2 +# If it was not found, we do: +$3 +]) +]) + +define([AC_CHECK_HEADERS], [# +@@@headers="$headers $1"@@@ +ifelse([$2], , , [ +# If it was found, we do: +$2 +# If it was not found, we do: +$3 +]) +]) + +define([AC_CHECK_HEADERS_DIRENT], [# +@@@headers="$headers $1"@@@ +]) + +define([AC_CHECK_LIB], [# + ifelse([$3], , [ +@@@libs="$libs $1"@@@ +], [ +# If it was found, we do: +$3 +# If it was not found, we do: +$4 +]) +]) + +define([AC_HAVE_LIBRARY], [# +changequote(<<, >>)dnl +define(<>, dnl +patsubst(patsubst($1, <>, <<\1>>), <<-l>>, <<>>))dnl +changequote([, ])dnl + ifelse([$2], , [ +@@@libs="$libs AC_LIB_NAME"@@@ +], [ +# If it was found, we do: +$2 +# If it was not found, we do: +$3 +]) +]) + +define([AC_CHECK_SIZEOF], [# +@@@types="$types,$1"@@@ +]) + +define([AC_CONFIG_HEADER], [# +define([AC_CONFIG_H], patsubst($1, [ .*$], []))dnl +@@@config_h=AC_CONFIG_H@@@ +]) + +define([AC_DEFINE], [# +ifelse([$3],,[# +@@@syms="$syms $1"@@@ +], [# +@@@verbatim="$verbatim +/* $3 */ +#undef $1 +"@@@ +])]) + +define([AC_DEFINE_UNQUOTED], [# +ifelse([$3],,[# +@@@syms="$syms $1"@@@ +], [# +@@@verbatim="$verbatim +/* $3 */ +#undef $1 +"@@@ +])]) diff --git a/autoconf/config.guess b/autoconf/config.guess new file mode 100755 index 0000000..07b0d21 --- /dev/null +++ b/autoconf/config.guess @@ -0,0 +1,1031 @@ +#! /bin/sh +# @(#)config.guess 1.19 17/05/09 Copyright 1999-2014 J. Schilling +# +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc. +# +# 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., 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. + +# Written by Per Bothner . +# The master version of this file is at the FSF in /home/gd/gnu/lib. +# +# 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. +# +# The plan is that this can be called by configure scripts if you +# don't specify an explicit system type (host/target name). +# +# Only a few systems have been added to this list; please add others +# (but try to keep the structure clean). +# + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 8/24/94.) +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 + +trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15 + +# Note: order is significant - the case branches are not exclusive. + +# +# This command helps to debug the script via "sh -x" +# +: "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + alpha:OSF1:*:*) + if test $UNAME_RELEASE = "V4.0"; then + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + fi + # 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. + cat <dummy.s + .globl main + .ent main +main: + .frame \$30,0,\$26,0 + .prologue 0 + .long 0x47e03d80 # implver $0 + lda \$2,259 + .long 0x47e20c21 # amask $2,$1 + srl \$1,8,\$2 + sll \$2,2,\$2 + sll \$0,3,\$0 + addl \$1,\$0,\$0 + addl \$2,\$0,\$0 + ret \$31,(\$26),1 + .end main +EOF + ${CC-cc} dummy.s -o dummy 2>/dev/null + if test "$?" = 0 ; then + ./dummy + case "$?" in + 7) + UNAME_MACHINE="alpha" + ;; + 15) + UNAME_MACHINE="alphaev5" + ;; + 14) + UNAME_MACHINE="alphaev56" + ;; + 10) + UNAME_MACHINE="alphapca56" + ;; + 16) + UNAME_MACHINE="alphaev6" + ;; + esac + fi + rm -f dummy.s dummy + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]` + exit 0 ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit 0 ;; + *:FreeMiNT:*:*) + echo m68k-atari-freemint + exit 0 ;; + *:MiNT:*:*) + echo m68k-atari-mint + exit 0 ;; + *:TOS:*:*) + echo m68k-atari-tos + exit 0 ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-cbm-sysv4 + exit 0;; + amiga:NetBSD:*:*) + echo m68k-cbm-netbsd${UNAME_RELEASE} + exit 0 ;; + amiga:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit 0 ;; + arc64:OpenBSD:*:*) + echo mips64el-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + arc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + hkmips:OpenBSD:*:*) + echo mips-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + pmax:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sgi:OpenBSD:*:*) + echo mips-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + wgrisc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit 0;; + arm32:NetBSD:*:*) + echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + exit 0 ;; + SR2?01:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit 0;; + 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 0 ;; + NILE:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit 0 ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + i86pc:SunOS:5.*:*) + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + 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 0 ;; + 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 0 ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit 0 ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(head -1 /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 0 ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit 0 ;; + atari*:NetBSD:*:*) + echo m68k-atari-netbsd${UNAME_RELEASE} + exit 0 ;; + atari*:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sun3*:NetBSD:*:*) + echo m68k-sun-netbsd${UNAME_RELEASE} + exit 0 ;; + sun3*:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mac68k:NetBSD:*:*) + echo m68k-apple-netbsd${UNAME_RELEASE} + exit 0 ;; + mac68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit 0 ;; + macppc:NetBSD:*:*) + echo powerpc-apple-netbsd${UNAME_RELEASE} + exit 0 ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit 0 ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit 0 ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit 0 ;; + 2020:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit 0 ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + sed 's/^ //' << EOF >dummy.c + int main (argc, argv) int argc; char **argv; { + #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-cc} dummy.c -o dummy \ + && ./dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ + && rm dummy.c dummy && exit 0 + rm -f dummy.c dummy + echo mips-mips-riscos${UNAME_RELEASE} + exit 0 ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit 0 ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit 0 ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit 0 ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit 0 ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \ + -o ${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 0 ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit 0 ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit 0 ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit 0 ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit 0 ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit 0 ;; + ????????: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 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i?86:AIX:*:*) + echo i386-ibm-aix + exit 0 ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + sed 's/^ //' << EOF >dummy.c + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + ${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0 + rm -f dummy.c dummy + echo rs6000-ibm-aix3.2.5 + 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 0 ;; + *:AIX:*:4) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` + if /usr/sbin/lsattr -EHl ${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=4.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit 0 ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit 0 ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit 0 ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit 0 ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit 0 ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit 0 ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit 0 ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit 0 ;; + 9000/[34678]??:HP-UX:*:*) + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/6?? | 9000/7?? | 9000/80[24] | 9000/8?[13679] | 9000/892 | 9000/820 | 9000/800 ) + sed 's/^ //' << EOF >dummy.c + #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 + (${CC-cc} dummy.c -o dummy 2>/dev/null ) && HP_ARCH=`./dummy` + rm -f dummy.c dummy + esac + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit 0 ;; + 3050*:HI-UX:*:*) + 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-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0 + rm -f dummy.c dummy + echo unknown-hitachi-hiuxwe2 + exit 0 ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit 0 ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit 0 ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit 0 ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit 0 ;; + i?86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit 0 ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit 0 ;; + *:Bitrig:*:*) + echo ${UNAME_MACHINE}-unknown-bitrig + exit 0 ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit 0 ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit 0 ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit 0 ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit 0 ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit 0 ;; + CRAY*X-MP:*:*:*) + echo xmp-cray-unicos + exit 0 ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} + exit 0 ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ + exit 0 ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} + exit 0 ;; + CRAY-2:*:*:*) + echo cray2-cray-unicos + exit 0 ;; + F300:UNIX_System_V:*:*) + FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit 0 ;; + F301:UNIX_System_V:*:*) + echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'` + exit 0 ;; + hp3[0-9][05]:NetBSD:*:*) + echo m68k-hp-netbsd${UNAME_RELEASE} + exit 0 ;; + hp300:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit 0 ;; + i?86:BSD/386:*:* | *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit 0 ;; + *:FreeBSD:*:*) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; + *:NetBSD:*:*) + echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + exit 0 ;; + *:OpenBSD:*:*) + echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + exit 0 ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit 0 ;; + x*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit 0 ;; + i*:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit 0 ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit 0 ;; + x86:Interix*:3*) + echo i586-pc-interix3 + exit 0 ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + aarch64:SunOS:5.*:*) + echo aarch64-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + *:GNU:*:*) + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit 0 ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit 0 ;; + *:Linux:*:*) + # uname on the ARM produces all sorts of strangeness, and we need to + # filter it out. + case "$UNAME_MACHINE" in + arm* | sa110*) UNAME_MACHINE="arm" ;; + esac + + # The BFD linker knows what the default object file format is, so + # first see if it will tell us. + ld_help_string=`ld --help 2>&1` + ld_supported_emulations=`echo $ld_help_string \ + | sed -ne '/supported emulations:/!d + s/[ ][ ]*/ /g + s/.*supported emulations: *// + s/ .*// + p'` + case "$ld_supported_emulations" in + i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;; + i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;; + sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; + armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; + m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;; + elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;; + esac + + if test "${UNAME_MACHINE}" = "alpha" ; then + sed 's/^ //' <dummy.s + .globl main + .ent main + main: + .frame \$30,0,\$26,0 + .prologue 0 + .long 0x47e03d80 # implver $0 + lda \$2,259 + .long 0x47e20c21 # amask $2,$1 + srl \$1,8,\$2 + sll \$2,2,\$2 + sll \$0,3,\$0 + addl \$1,\$0,\$0 + addl \$2,\$0,\$0 + ret \$31,(\$26),1 + .end main +EOF + LIBC="" + ${CC-cc} dummy.s -o dummy 2>/dev/null + if test "$?" = 0 ; then + ./dummy + case "$?" in + 7) + UNAME_MACHINE="alpha" + ;; + 15) + UNAME_MACHINE="alphaev5" + ;; + 14) + UNAME_MACHINE="alphaev56" + ;; + 10) + UNAME_MACHINE="alphapca56" + ;; + 16) + UNAME_MACHINE="alphaev6" + ;; + esac + + objdump --private-headers dummy | \ + grep ld.so.1 > /dev/null + if test "$?" = 0 ; then + LIBC="libc1" + fi + fi + rm -f dummy.s dummy + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0 + elif test "${UNAME_MACHINE}" = "mips" ; then + cat >dummy.c </dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0 + rm -f dummy.c dummy + else + # Either a pre-BFD a.out linker (linux-gnuoldld) + # or one that does not give us useful --help. + # GCC wants to distinguish between linux-gnuoldld and linux-gnuaout. + # If ld does not provide *any* "supported emulations:" + # that means it is gnuoldld. + echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:" + test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0 + + case "${UNAME_MACHINE}" in + i?86) + VENDOR=pc; + ;; + *) + VENDOR=unknown; + ;; + esac + # Determine whether the default compiler is a.out or elf + cat >dummy.c < +main(argc, argv) + int argc; + char *argv[]; +{ +#if defined __ELF__ || defined __SUNPRO_C +# ifdef __GLIBC__ +# if __GLIBC__ >= 2 + printf ("%s-${VENDOR}-linux-gnu\n", argv[1]); +# else + printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); +# endif +# else + printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]); +# endif +#else + printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]); +#endif + return 0; +} +EOF + ${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0 + rm -f dummy.c dummy + fi ;; +# 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. + i?86:DYNIX/ptx:4*:*) + echo i386-sequent-sysv4 + exit 0 ;; + 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 0 ;; + i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*) + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} + fi + exit 0 ;; + i?86:MS-DOS:5:50) + # DJGPP v2 + echo ${UNAME_MACHINE}-pc-msdos + exit 0 ;; + i?86:*:5:*) + # Fixed at (any) Pentium or better + UNAME_MACHINE=i586 + if [ ${UNAME_SYSTEM} = "UnixWare" ] || + [ ${UNAME_SYSTEM} = "OpenUNIX" ]; then + echo ${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE} + fi + exit 0 ;; + 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|egrep Release|sed -e 's/.*= //')` + (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit 0 ;; + pc:*:*:*) + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i386. + echo i386-pc-msdosdjgpp + exit 0 ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit 0 ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit 0 ;; + 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 0 ;; + *:Minix:*:*) + echo i386-pc-minix + exit 0 ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit 0 ;; + M68*:*:R3V[567]*:*) + test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; + 3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*: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 0 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && echo i486-ncr-sysv4 && exit 0 ;; + m68*:LynxOS:2.*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit 0 ;; + i?86:LynxOS:2.*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit 0 ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit 0 ;; + *: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 0 ;; + PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit 0 ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit 0 ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit 0 ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit 0 ;; + news*:NEWS-OS:*:6*) + echo mips-sony-newsos6 + exit 0 ;; + R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R4000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit 0 ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit 0 ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit 0 ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit 0 ;; + BeMac:Haiku:*:*) + echo powerpc-apple-haiku + exit ;; + BePC:Haiku:*:*) + echo i586-pc-haiku + exit ;; + "Power Macintosh":Rhapsody:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit 0 ;; + "Power Macintosh":"Mac OS":*) + echo powerpc-apple-macosx${UNAME_RELEASE} + exit 0 ;; + "Power Macintosh":"Darwin":*) + echo powerpc-apple-macosx${UNAME_RELEASE} + exit 0 ;; + "i386":"Darwin":*) + echo i386-apple-macosx${UNAME_RELEASE} + exit 0 ;; + "x86_64":"Darwin":*) + echo x86_64-apple-macosx${UNAME_RELEASE} + exit 0 ;; + "x86":"Darwin":*) + echo i386-apple-macosx${UNAME_RELEASE} + exit 0 ;; + *:OS/2:*:*) + echo "i386-pc-os2_emx" + exit 0;; + *:OpenVMS:*:*) + UNAME_PROCESSOR=`uname -p | tr [A-Z] [a-z]` + echo "${UNAME_PROCESSOR}-hp-openvms" + exit 0;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +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"); 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`; + printf ("%s-next-nextstep%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) + printf ("vax-dec-bsd\n"); exit (0); +#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-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0 +rm -f dummy.c dummy + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } + +# 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 0 ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit 0 ;; + c34*) + echo c34-convex-bsd + exit 0 ;; + c38*) + echo c38-convex-bsd + exit 0 ;; + c4*) + echo c4-convex-bsd + exit 0 ;; + esac +fi + +if [ x$CONFIG_NOFAIL = xTRUE ]; then + echo unknownCPU-unknownMFR-unknownOS + exit 0 +fi + +#echo '(Unable to guess system type)' 1>&2 + +exit 1 diff --git a/autoconf/config.sub b/autoconf/config.sub new file mode 100755 index 0000000..fe74c35 --- /dev/null +++ b/autoconf/config.sub @@ -0,0 +1,998 @@ +#! /bin/sh +# @(#)config.sub 1.12 17/05/18 Copyright 1999-2017 J. Schilling +# +# Configuration validation subroutine script, version 1.1. +# Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc. +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# 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., 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. + +# 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. + +# 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. + +if [ x$1 = x ] +then + echo Configuration name missing. 1>&2 + echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 + echo "or $0 ALIAS" 1>&2 + echo where ALIAS is a recognized configuration type. 1>&2 + exit 1 +fi + +# First pass through any local machine types. +case $1 in + *local*) + echo $1 + exit 0 + ;; + *) + ;; +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 + linux-gnu*) + 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) + os= + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -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/'` + ;; + -sco*) + os=-sco3.2v2 + 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 + ;; +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. + tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc \ + | aarch64 | arm \ + | arme[lb] | pyramid | mn10200 | mn10300 | tron | a29k \ + | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0? \ + | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \ + | i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \ + | mips64 | mipsel | mips64el | mips64orion | mips64orionel \ + | mipstx39 | mipstx39el \ + | sparc | sparclet | sparclite | sparc64 | v850) + basic_machine=$basic_machine-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[34567]86) + 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. + vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \ + | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* \ + | aarch64-* | arm-* \ + | c[123]* \ + | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ + | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \ + | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0?-* \ + | ia64-* \ + | alpha-* | alphaev5-* | alphaev56-* | alphaev6-* | we32k-* | cydra-* \ + | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \ + | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ + | sparc64-* | mips64-* | mipsel-* \ + | mips64el-* | mips64orion-* | mips64orionel-* \ + | mipstx39-* | mipstx39el-* \ + | f301-* \ + | x86-* | x86_64-* | amd64-*) + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-cbm + ;; + amigaos | amigados) + basic_machine=m68k-cbm + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-cbm + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + 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 | ymp) + basic_machine=ymp-cray + os=-unicos + ;; + cray2) + basic_machine=cray2-cray + os=-unicos + ;; + [ctj]90-cray) + basic_machine=c90-cray + os=-unicos + ;; + crds | unos) + basic_machine=m68k-crds + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + 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 + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-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 + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + os=-mvs + ;; +# I'm not sure what "Sysv32" means. Should this be sysv3.2? + i[34567]86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i[34567]86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i[34567]86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i[34567]86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + miniframe) + basic_machine=m68000-convergent + ;; + mipsel*-linux*) + basic_machine=mipsel-unknown + os=-linux-gnu + ;; + mips*-linux*) + basic_machine=mips-unknown + os=-linux-gnu + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + 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 + ;; + 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 + ;; + np1) + basic_machine=np1-gould + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + parisc-unknown) + basic_machine=parisc-unknown + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pentium | p5 | k5 | nexen) + basic_machine=i586-pc + ;; + pentiumpro | p6 | k6 | 6x86) + basic_machine=i686-pc + ;; + pentiumii | pentium2) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | nexen-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | k6-* | 6x86-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=rs6000-ibm + ;; + ppc) basic_machine=powerpc-unknown + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64-*) basic_machine=powerpc64-`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/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + 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 + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + 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 + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + 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 + ;; + xmp) + basic_machine=xmp-cray + os=-unicos + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + 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. + mips) + if [ x$os = x-linux-gnu ]; then + basic_machine=mips-unknown + else + basic_machine=mips-mips + fi + ;; + romp) + basic_machine=romp-ibm + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sparc) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + *) + 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. + -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* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -dragonfly* \ + | -bitrig* \ + | -minix* \ + | -riscix* \ + | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -os2* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -macos* | -pyro* \ + | -haiku* | -syllable* ) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -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|'` + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -ctix* | -uts*) + os=-sysv + ;; + -ns2 ) + os=-nextstep2 + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + # For sys5.3 apollo + -sys5.3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -xenix) + os=-xenix + ;; + -freemint) + os=-freemint + ;; + -mint) + os=-mint + ;; + -tos) + os=-tos + ;; + + -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 + *-acorn) + os=-riscix1.2 + ;; + arm*-semi) + os=-aout + ;; + 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 + ;; + *-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 + ;; + *-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 + ;; + f301-fujitsu) + os=-uxpv + ;; + *) + 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 + ;; + -aix*) + vendor=ibm + ;; + -hpux*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -vxsim* | -vxworks*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os diff --git a/autoconf/configure b/autoconf/configure new file mode 100755 index 0000000..c2a0955 --- /dev/null +++ b/autoconf/configure @@ -0,0 +1,24885 @@ +#! /bin/sh + +# From configure.in 1.289 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#serial 18 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# Guess values for system-dependent variables and create Makefiles. +# Generated automatically using autoconf version 2.13 1.17-Schily +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# Copyright (C) 1998-2016 J. Schilling +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. + +# Defaults: +ac_help= +ac_default_prefix=/usr/local +# Any additions from configure.in: +ac_help="$ac_help + --disable-largefile omit support for large files" + +# Initialize some variables set by options. +# The variables have the same names as the options, with +# dashes changed to underlines. +build=NONE +cache_file=./config.cache +exec_prefix=NONE +host=NONE +no_create= +nonopt=NONE +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +target=NONE +verbose= +rmttest=test +rmtcall= +CONFIG_RMTCALL=${CONFIG_RMTCALL-NONE} +x_includes=NONE +x_libraries=NONE +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datadir='${prefix}/share' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +libdir='${exec_prefix}/lib' +includedir='${prefix}/include' +oldincludedir='/usr/include' +infodir='${prefix}/info' +mandir='${prefix}/man' + +# Initialize some other variables. +subdirs= +MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} +# Maximum number of lines to put in a shell here document. +ac_max_here_lines=12 + +ac_prev= +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=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) ac_optarg= ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case "$ac_option" in + + -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 ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build="$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" ;; + + -cc=* | --cc=* ) + CC="$ac_optarg" ; echo using $CC as compiler ;; + + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ + | --da=*) + datadir="$ac_optarg" ;; + + -disable-* | --disable-*) + ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + eval "enable_${ac_feature}=no" ;; + + -enable-* | --enable-*) + ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) ac_optarg=yes ;; + esac + eval "enable_${ac_feature}='$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) + # 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 << EOF +Usage: configure [options] [host] +Options: [defaults in brackets after descriptions] +Configuration: + --cache-file=FILE cache test results in FILE + --help print this message + --no-create do not create output files + --quiet, --silent do not print \`checking...' messages + --version print the version of autoconf that created configure +Directory and file names: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [same as prefix] + --bindir=DIR user executables in DIR [EPREFIX/bin] + --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] + --libexecdir=DIR program executables in DIR [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data in DIR + [PREFIX/share] + --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data in DIR + [PREFIX/com] + --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] + --libdir=DIR object code libraries in DIR [EPREFIX/lib] + --includedir=DIR C header files in DIR [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] + --infodir=DIR info documentation in DIR [PREFIX/info] + --mandir=DIR man documentation in DIR [PREFIX/man] + --srcdir=DIR find the sources in DIR [configure dir or ..] + --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 +EOF + cat << EOF +Host type: + --build=BUILD configure for building on BUILD [BUILD=HOST] + --host=HOST configure for HOST [guessed] + --target=TARGET configure for TARGET [TARGET=HOST] +Features and packages: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --x-includes=DIR X include files are in DIR + --x-libraries=DIR X library files are in DIR +EOF + if test -n "$ac_help"; then + echo "--enable and --with options recognized:$ac_help" + fi + exit 0 ;; + + -host | --host | --hos | --ho) + ac_prev=host ;; + -host=* | --host=* | --hos=* | --ho=*) + host="$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" ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst \ + | --locals | --local | --loca | --loc | --lo) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* \ + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) + 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) + 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" ;; + + -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 ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target="$ac_optarg" ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers) + echo "configure generated by autoconf version 2.13 1.17-Schily" + exit 0 ;; + + -with-* | --with-*) + ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi + ac_package=`echo $ac_package| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) ac_optarg=yes ;; + esac + eval "with_${ac_package}='$ac_optarg'" ;; + + -without-* | --without-*) + ac_package=`echo $ac_option|sed -e 's/-*without-//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi + ac_package=`echo $ac_package| sed 's/-/_/g'` + eval "with_${ac_package}=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" ;; + + -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } + ;; + + *) + if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then + echo "configure: warning: $ac_option: invalid host type" 1>&2 + fi + if test "x$nonopt" != xNONE; then + { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } + fi + nonopt="$ac_option" + ;; + + esac +done + +if test -n "$ac_prev"; then + { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } +fi + +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +# File descriptor usage: +# 0 standard input +# 1 file creation +# 2 errors and warnings +# 3 some systems may open it to /dev/tty +# 4 used on the Kubota Titan +# 6 checking for... messages and results +# 5 compiler messages saved in config.log +if test "$silent" = yes; then + exec 6>/dev/null +else + exec 6>&1 +fi +exec 5>./config.log + +echo "\ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. +" 1>&5 + +# Strip out --no-create and --no-recursion so they do not pile up. +# Also quote any args containing shell metacharacters. +ac_configure_args= +for ac_arg +do + case "$ac_arg" in + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c) ;; + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) + ac_configure_args="$ac_configure_args '$ac_arg'" ;; + *) ac_configure_args="$ac_configure_args $ac_arg" ;; + esac +done + +# NLS nuisances. +# Only set these to C if already set. These must not be set unconditionally +# because not all systems understand e.g. LANG=C (notably SCO). +# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! +# Non-C LC_CTYPE values break the ctype check. +if test "${LANG+set}" = set; then LANG=C; export LANG; fi +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi +if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi +if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -rf conftest* confdefs.h +# AIX cpp loses on an empty file, so make sure it contains at least a newline. +echo > confdefs.h + +# A filename unique to this package, relative to the directory that +# configure is in, which we can look for to find out if srcdir is correct. +ac_unique_file=config.guess + +# 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 its parent. + ac_prog=$0 + ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` + test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. + 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 + if test "$ac_srcdir_defaulted" = yes; then + { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } + else + { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } + fi +fi +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` + +# Prefer explicitly selected file to automatically selected ones. +if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + fi +fi +for ac_site_file in $CONFIG_SITE; do + if test -r "$ac_site_file"; then + echo "loading site script $ac_site_file" + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + echo "loading cache $cache_file" + . $cache_file +else + echo "creating cache $cache_file" + > $cache_file +fi + +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_compile2='${CC-cc} -c $CFLAGS $CPPFLAGS conftest2.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS conftest.$ac_ext $LDFLAGS $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross +if test "$cross_compiling" = yes -a "$CONFIG_RMTCALL" != NONE ; then + cross_compiling=remote + rmtcall="$CONFIG_RMTCALL" + rmttest="$CONFIG_RMTCALL" +fi + +ac_exeext= +ac_xexeext= +ac_objext=o +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then + # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. + if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then + ac_n= ac_c=' +' ac_t=' ' + else + ac_n=-n ac_c= ac_t= + fi +else + ac_n= ac_c='\c' ac_t= +fi + + + +ac_aux_dir= +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; 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 + fi +done +if test -z "$ac_aux_dir"; then + { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } +fi +ac_config_guess=$ac_aux_dir/config.guess +ac_config_sub=$ac_aux_dir/config.sub +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. + + +# Make sure we can run config.sub. +if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : +else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } +fi + +echo $ac_n "checking host system type""... $ac_c" 1>&6 +echo "configure:892: checking host system type" >&5 + +host_alias=$host +case "$host_alias" in +NONE) + case $nonopt in + NONE) + if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : + else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } + fi ;; + *) host_alias=$nonopt ;; + esac ;; +esac + +host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` +host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +eval echo "$ac_t""$host" 1>&6 + + +echo $ac_n "checking if sh is bash""... $ac_c" 1>&6 +echo "configure:914: checking if sh is bash" >&5 +if eval "test \"`echo '$''{'ac_cv_shell_is_bash'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + +ac_err=`< /dev/null sh --version 2> /dev/null | egrep 'GNU sh|bash'` +if test -n "$ac_err"; then + ac_cv_shell_is_bash=yes +else + ac_cv_shell_is_bash=no +fi + +fi + +eval echo "$ac_t""$ac_cv_shell_is_bash" 1>&6 +if test $ac_cv_shell_is_bash = yes; then + cat >> confdefs.h <<\EOF +#define SHELL_IS_BASH 1 +EOF + +fi +echo $ac_n "checking if /bin/sh is bash""... $ac_c" 1>&6 +echo "configure:936: checking if /bin/sh is bash" >&5 +if eval "test \"`echo '$''{'ac_cv_bin_shell_is_bash'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + +ac_err=`< /dev/null /bin/sh --version 2> /dev/null | egrep 'GNU sh|bash'` +if test -n "$ac_err"; then + ac_cv_bin_shell_is_bash=yes +else + ac_cv_bin_shell_is_bash=no +fi + +fi + +eval echo "$ac_t""$ac_cv_bin_shell_is_bash" 1>&6 +if test $ac_cv_bin_shell_is_bash = yes; then + cat >> confdefs.h <<\EOF +#define BIN_SHELL_IS_BASH 1 +EOF + +fi +echo $ac_n "checking whether sh -ce is broken""... $ac_c" 1>&6 +echo "configure:958: checking whether sh -ce is broken" >&5 +if eval "test \"`echo '$''{'ac_cv_shell_ce_is_broken'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + +ac_err=`sh -ce 'for i in 1 2 3; do ( echo $i; if test -d . ; then (false; echo 4); fi ) ; done' | grep 2` +if test -n "$ac_err"; then + ac_cv_shell_ce_is_broken=yes +else + ac_cv_shell_ce_is_broken=no +fi + +fi + +eval echo "$ac_t""$ac_cv_shell_ce_is_broken" 1>&6 +if test $ac_cv_shell_ce_is_broken = yes; then + cat >> confdefs.h <<\EOF +#define SHELL_CE_IS_BROKEN 1 +EOF + +fi +echo $ac_n "checking whether /bin/sh -ce is broken""... $ac_c" 1>&6 +echo "configure:980: checking whether /bin/sh -ce is broken" >&5 +if eval "test \"`echo '$''{'ac_cv_bin_shell_ce_is_broken'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + +ac_err=`/bin/sh -ce 'for i in 1 2 3; do ( echo $i; if test -d . ; then (false; echo 4); fi ) ; done' | grep 2` +if test -n "$ac_err"; then + ac_cv_bin_shell_ce_is_broken=yes +else + ac_cv_bin_shell_ce_is_broken=no +fi + +fi + +eval echo "$ac_t""$ac_cv_bin_shell_ce_is_broken" 1>&6 +if test $ac_cv_bin_shell_ce_is_broken = yes; then + cat >> confdefs.h <<\EOF +#define BIN_SHELL_CE_IS_BROKEN 1 +EOF + +fi +echo $ac_n "checking whether /bin/bosh is a working shell""... $ac_c" 1>&6 +echo "configure:1002: checking whether /bin/bosh is a working shell" >&5 +if eval "test \"`echo '$''{'ac_cv_bin_shell_bosh'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + +ac_err=`< /dev/null /bin/bosh -c 'echo abc' 2> /dev/null | grep abc` +if test "$ac_err" != "abc"; then + ac_cv_bin_shell_bosh=no +else + ac_err=`/bin/bosh -ce 'for i in 1 2 3; do ( echo $i; if test -d . ; then (false; echo 4); fi ) ; done' | grep 2` + if test -z "$ac_err"; then + ac_cv_bin_shell_bosh=yes + else + ac_cv_bin_shell_bosh=no + fi +fi + +fi + +eval echo "$ac_t""$ac_cv_bin_shell_bosh" 1>&6 +if test $ac_cv_bin_shell_bosh = yes; then + cat >> confdefs.h <<\EOF +#define BIN_SHELL_BOSH 1 +EOF + +fi +echo $ac_n "checking whether /opt/schily/bin/bosh is a working shell""... $ac_c" 1>&6 +echo "configure:1029: checking whether /opt/schily/bin/bosh is a working shell" >&5 +if eval "test \"`echo '$''{'ac_cv_opt_schily_bin_shell_bosh'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + +ac_err=`< /dev/null /opt/schily/bin/bosh -c 'echo abc' 2> /dev/null | grep abc` +if test "$ac_err" != "abc"; then + ac_cv_opt_schily_bin_shell_bosh=no +else + ac_err=`/opt/schily/bin/bosh -ce 'for i in 1 2 3; do ( echo $i; if test -d . ; then (false; echo 4); fi ) ; done' | grep 2` + if test -z "$ac_err"; then + ac_cv_opt_schily_bin_shell_bosh=yes + else + ac_cv_opt_schily_bin_shell_bosh=no + fi +fi + +fi + +eval echo "$ac_t""$ac_cv_opt_schily_bin_shell_bosh" 1>&6 +if test $ac_cv_opt_schily_bin_shell_bosh = yes; then + cat >> confdefs.h <<\EOF +#define OPT_SCHILY_BIN_SHELL_BOSH 1 +EOF + +fi +# Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1058: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="cc" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="gcc" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + eval echo "$ac_t""$CC" 1>&6 +else + eval echo "$ac_t""no" 1>&6 +fi + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1087: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="gcc" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + eval echo "$ac_t""$CC" 1>&6 +else + eval echo "$ac_t""no" 1>&6 +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 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1117: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_prog_rejected=no + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + break + fi + done + IFS="$ac_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 $# -gt 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 + set dummy "$ac_dir/$ac_word" "$@" + shift + ac_cv_prog_CC="$@" + fi +fi +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + eval echo "$ac_t""$CC" 1>&6 +else + eval echo "$ac_t""no" 1>&6 +fi + + if test -z "$CC"; then + case "`uname -s`" in + *win32* | *WIN32*) + # Extract the first word of "cl", so it can be a program name with args. +set dummy cl; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1168: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="cl" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + eval echo "$ac_t""$CC" 1>&6 +else + eval echo "$ac_t""no" 1>&6 +fi + ;; + esac + fi + test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } +fi + +echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 +echo "configure:1200: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 + +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_compile2='${CC-cc} -c $CFLAGS $CPPFLAGS conftest2.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS conftest.$ac_ext $LDFLAGS $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross +if test "$cross_compiling" = yes -a "$CONFIG_RMTCALL" != NONE ; then + cross_compiling=remote + rmtcall="$CONFIG_RMTCALL" + rmttest="$CONFIG_RMTCALL" +fi + +cat > conftest.$ac_ext << EOF + +#line 1217 "configure" +#include "confdefs.h" + +main(){return(0);} +EOF +if { eval echo configure:1222: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest${ac_xexeext}; exit) 2>/dev/null; then + ac_cv_prog_cc_cross=no + else + ac_cv_prog_cc_cross=yes + fi +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + ac_cv_prog_cc_works=no +fi +rm -fr conftest* +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_compile2='${CC-cc} -c $CFLAGS $CPPFLAGS conftest2.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS conftest.$ac_ext $LDFLAGS $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross +if test "$cross_compiling" = yes -a "$CONFIG_RMTCALL" != NONE ; then + cross_compiling=remote + rmtcall="$CONFIG_RMTCALL" + rmttest="$CONFIG_RMTCALL" +fi + +eval echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 +if test $ac_cv_prog_cc_works = no; then + ccout=`eval "${CC-cc} 2>&1" 2> /dev/null` + ret=$? + nf=`echo "$ccout" | grep 'not found'` + if test $ret = 127 -a -n "$nf" ; then # Korn Shell + ccout="" + fi + if test "$ret" -ne 0 -a ! -n "$ccout" ; then + { echo "configure: error: installation or configuration problem: C compiler ${CC-cc} not found." 1>&2; exit 1; } + fi + { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } +fi +echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 +echo "configure:1263: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +eval echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 +cross_compiling=$ac_cv_prog_cc_cross +if test "$cross_compiling" = yes -a "$CONFIG_RMTCALL" != NONE ; then + cross_compiling=remote + rmtcall="$CONFIG_RMTCALL" + rmttest="$CONFIG_RMTCALL" +fi + +echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 +echo "configure:1273: checking whether we are using GNU C" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.c <&5; eval $ac_try 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gcc=yes +else + ac_cv_prog_gcc=no +fi +fi + +eval echo "$ac_t""$ac_cv_prog_gcc" 1>&6 + +if test $ac_cv_prog_gcc = yes; then + GCC=yes +else + GCC= +fi + +ac_test_CFLAGS="${CFLAGS+set}" +ac_save_CFLAGS="$CFLAGS" +CFLAGS= +echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 +echo "configure:1301: checking whether ${CC-cc} accepts -g" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + echo 'void f(){}' > conftest.c +if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then + ac_cv_prog_cc_g=yes +else + ac_cv_prog_cc_g=no +fi +rm -f conftest* + +fi + +eval echo "$ac_t""$ac_cv_prog_cc_g" 1>&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 + +if test "$cross_compiling" = remote -a ."$CONFIG_RMTCALL" = . ; then + echo 'CONFIG_RMTCALL=script-path required for remote execution' 1>&2 + exit 1 +fi +if test "$cross_compiling" = remote -a ."$CONFIG_RMTHOST" = . ; then + echo 'CONFIG_RMTHOST=host or CONFIG_RMTHOST=user@host required for remote execution' 1>&2 + exit 1 +fi +if test "$cross_compiling" = remote ; then + echo "Cross-Compiling with remote execution of test programs" + echo "Cross-Compile script: $CONFIG_RMTCALL" + echo "Cross-Compile host: $CONFIG_RMTHOST" +fi + echo $ac_n "checking for object suffix""... $ac_c" 1>&6 +echo "configure:1346: checking for object suffix" >&5 +if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + rm -f conftest* +echo 'int i = 1;' > conftest.$ac_ext +if { eval echo configure:1352: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + for ac_file in conftest.*; do + case $ac_file in + *.c) ;; + *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; + esac + done +else + { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_objext" 1>&6 +OBJEXT=$ac_cv_objext +ac_objext=$ac_cv_objext + +echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 +echo "configure:1370: checking for Cygwin environment" >&5 +if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_cygwin=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_cygwin=no +fi +rm -f conftest* +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_cygwin" 1>&6 +CYGWIN= +test "$ac_cv_cygwin" = yes && CYGWIN=yes +echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 +echo "configure:1403: checking for mingw32 environment" >&5 +if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_mingw32=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_mingw32=no +fi +rm -f conftest* +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_mingw32" 1>&6 +MINGW32= +test "$ac_cv_mingw32" = yes && MINGW32=yes +echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 +echo "configure:1432: checking for EMX/OS2 environment" >&5 +if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_emxos2=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_emxos2=no +fi +rm -f conftest* +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_emxos2" 1>&6 +if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$ac_cv_emxos2" = yes ; then + ac_cv_libpre= +else + ac_cv_libpre=lib +fi + +fi + +EMXOS2= +test "$ac_cv_emxos2" = yes && EMXOS2=yes + + + +echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 +echo "configure:1475: checking for executable suffix" >&5 +if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then + ac_cv_exeext=.exe + ac_cv_xexeext="" +else + rm -f conftest* + echo 'int main () { return 0; }' > conftest.$ac_ext + ac_cv_exeext= + if { eval echo configure:1486: \"$ac_link\" 1>&5; eval $ac_link 2>&5; }; then + for file in conftest.*; do + case $file in + *.c | *.o | *.obj) ;; + *.dSYM) ;; # Ignore strange directory found on Mac OS X with cc -g + *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; + esac + done + else + ccout=`eval "${CC-cc} 2>&1" 2> /dev/null` + ret=$? + nf=`echo "$ccout" | grep 'not found'` + if test $ret = 127 -a -n "$nf" ; then # Korn Shell + ccout="" + fi + if test "$ret" -ne 0 -a ! -n "$ccout" ; then + { echo "configure: error: installation or configuration problem: C compiler ${CC-cc} not found." 1>&2; exit 1; } + fi + { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } + fi + (./conftest ; exit) 2> /dev/null + if test $? != 0 ; then + ac_cv_xexeext="${ac_cv_exeext}" + (./conftest${ac_cv_xexeext} ; exit) 2> /dev/null + if test $? != 0 ; then + ac_cv_xexeext="" + fi + fi + rm -f conftest* + test x"${ac_cv_exeext}" = x && ac_cv_exeext=no + test x"${ac_cv_xexeext}" = x && ac_cv_xexeext=no +fi +fi + +EXEEXT="" +XEXEEXT="" +test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} +test x"${ac_cv_xexeext}" != xno && XEXEEXT=${ac_cv_xexeext} +eval echo "$ac_t""${ac_cv_exeext}" 1>&6 +echo $ac_n "checking for executable calling suffix""... $ac_c" 1>&6 +echo "configure:1526: checking for executable calling suffix" >&5 +eval echo "$ac_t""${ac_cv_xexeext}" 1>&6 +ac_exeext=$EXEEXT +ac_xexeext=$XEXEEXT + + + +echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 +echo "configure:1534: checking how to run the C preprocessor" >&5 +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then +if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + # This must be in double quotes, not single quotes, because CPP may get + # substituted into the Makefile and "${CC-cc}" will confuse make. + CPP="${CC-cc} -E" + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. + cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:1555: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP="${CC-cc} -E -traditional-cpp" + cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:1572: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP="${CC-cc} -nologo -E" + cat > conftest.$ac_ext < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:1589: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP=/lib/cpp +fi +rm -f conftest* +fi +rm -f conftest* +fi +rm -f conftest* + ac_cv_prog_CPP="$CPP" +fi + CPP="$ac_cv_prog_CPP" +else + ac_cv_prog_CPP="$CPP" +fi +eval echo "$ac_t""$CPP" 1>&6 + +echo $ac_n "checking how to run the C preprocessor for any type of file""... $ac_c" 1>&6 +echo "configure:1614: checking how to run the C preprocessor for any type of file" >&5 +if test -z "$CPPX"; then +if eval "test \"`echo '$''{'ac_cv_prog_CPPX'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + # This must be in double quotes, not single quotes, because CPP may get + # substituted into the Makefile and "${CC-cc}" will confuse make. + CPPX="$CPP" + cat > conftestcpp << EOF + xxzzy +EOF + # gcc -E does not accept any file suffix, so we need to test + # and if $CC -E fails, we try to use dirname(which($CC))/cpp + # We cannot use AC_TRY_EVAL(CPPX conftestcpp | grep xxzzy) because + # of a bug in the parser from bash + ac_result=`(echo configure:1288: "$CPPX conftestcpp | grep xxzzy" 1>&5; eval $CPPX conftestcpp | grep xxzzy) 2>&5` + if test -z "$ac_result"; then + ac_file=`eval type ${CC-cc} 2>/dev/null | sed 's%[^/]*/%/%'` + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'` + if test -f "$ac_dir"/cpp; then + CPPX="$ac_dir"/cpp + fi + fi + ac_cv_prog_CPPX="$CPPX" +fi + CPPX="$ac_cv_prog_CPPX" +else + ac_cv_prog_CPPX="$CPPX" +fi +eval echo "$ac_t""$CPPX" 1>&6 + +echo $ac_n "checking if suncc/cc supports -m64""... $ac_c" 1>&6 +echo "configure:1647: checking if suncc/cc supports -m64" >&5 +if eval "test \"`echo '$''{'ac_cv_sun_cc64_opt'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + +sun_cc64=cc +sun_cc64_opt='' +ac_cv_sun_cc64_opt=no +if test "$GCC" != yes; then + if test "$CC" = suncc; then + sun_cc64=suncc + fi + ac_err=`< /dev/null eval $sun_cc64 -m64 -c 2>&1 | grep illegal` + if test -n "$ac_err"; then + ac_cv_sun_cc64_opt=no + else + ac_cv_sun_cc64_opt=yes + fi +fi + +fi + +eval echo "$ac_t""$ac_cv_sun_cc64_opt" 1>&6 +if test $ac_cv_sun_cc64_opt = yes; then + sun_cc64_opt='-m64' +fi +echo $ac_n "checking if HP cc supports -Ae""... $ac_c" 1>&6 +echo "configure:1674: checking if HP cc supports -Ae" >&5 +if eval "test \"`echo '$''{'ac_cv_hp_cc_ansi_opt'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + +hp_cc=cc +hp_cc_ansi_opt='' +ac_cv_hp_cc_ansi_opt=no +if test "$GCC" != yes; then + os_name=`(uname -s) 2> /dev/null` + if test ."$os_name" = .HP-UX ; then + ac_err=`< /dev/null eval $hp_cc -Ae -c 2>&1 | grep 'Bundled.*option is available only'` + if test -n "$ac_err"; then + ac_cv_hp_cc_ansi_opt=no + else + ac_cv_hp_cc_ansi_opt=yes + fi + fi +fi + +fi + +eval echo "$ac_t""$ac_cv_hp_cc_ansi_opt" 1>&6 +if test $ac_cv_hp_cc_ansi_opt = yes; then + hp_cc_ansi_opt='-Ae' +fi +echo $ac_n "checking if HP cc supports -O""... $ac_c" 1>&6 +echo "configure:1701: checking if HP cc supports -O" >&5 +if eval "test \"`echo '$''{'ac_cv_hp_cc_opt_opt'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + +hp_cc=cc +hp_cc_opt_opt='' +ac_cv_hp_cc_opt_opt=no +if test "$GCC" != yes; then + os_name=`(uname -s) 2> /dev/null` + if test ."$os_name" = .HP-UX ; then + ac_err=`< /dev/null eval $hp_cc -O -c 2>&1 | grep 'Bundled.*option is available only'` + if test -n "$ac_err"; then + ac_cv_hp_cc_opt_opt=no + else + ac_cv_hp_cc_opt_opt=yes + fi + fi +fi + +fi + +eval echo "$ac_t""$ac_cv_hp_cc_opt_opt" 1>&6 +if test $ac_cv_hp_cc_opt_opt = yes; then + hp_cc_opt_opt='-O' +fi +echo $ac_n "checking if HP cc supports -G""... $ac_c" 1>&6 +echo "configure:1728: checking if HP cc supports -G" >&5 +if eval "test \"`echo '$''{'ac_cv_hp_cc_gprof_opt'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + +hp_cc=cc +hp_cc_gprof_opt='' +ac_cv_hp_cc_gprof_opt=no +if test "$GCC" != yes; then + os_name=`(uname -s) 2> /dev/null` + if test ."$os_name" = .HP-UX ; then + ac_err=`< /dev/null eval $hp_cc -O -c 2>&1 | grep 'Bundled.*option is available only'` + if test -n "$ac_err"; then + ac_cv_hp_cc_gprof_opt=no + else + ac_cv_hp_cc_gprof_opt=yes + fi + fi +fi + +fi + +eval echo "$ac_t""$ac_cv_hp_cc_gprof_opt" 1>&6 +if test $ac_cv_hp_cc_gprof_opt = yes; then + hp_cc_gprof_opt='-G' +fi +# Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1757: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_RANLIB="ranlib" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" +fi +fi +RANLIB="$ac_cv_prog_RANLIB" +if test -n "$RANLIB"; then + eval echo "$ac_t""$RANLIB" 1>&6 +else + eval echo "$ac_t""no" 1>&6 +fi + +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 +echo "configure:1785: checking whether ${MAKE-make} sets \${MAKE}" >&5 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftestmake <<\EOF +all: + @echo 'ac_maketemp="${MAKE}"' +EOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` +if test -n "$ac_maketemp"; then + eval ac_cv_prog_make_${ac_make}_set=yes +else + eval ac_cv_prog_make_${ac_make}_set=no +fi +rm -f conftestmake +fi +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + SET_MAKE= +else + eval echo "$ac_t""no" 1>&6 + SET_MAKE="MAKE=${MAKE-make}" +fi + +for ac_prog in yacc 'bison -y' byacc +do +# Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1816: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$YACC"; then + ac_cv_prog_YACC="$YACC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_YACC="$ac_prog" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +YACC="$ac_cv_prog_YACC" +if test -n "$YACC"; then + eval echo "$ac_t""$YACC" 1>&6 +else + eval echo "$ac_t""no" 1>&6 +fi + +test -n "$YACC" && break +done +test -n "$YACC" || YACC="noyacc" + +for ac_prog in bison +do +# Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1851: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test -n "$BISON"; then + ac_cv_prog_BISON="$BISON" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_BISON="$ac_prog" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +BISON="$ac_cv_prog_BISON" +if test -n "$BISON"; then + eval echo "$ac_t""$BISON" 1>&6 +else + eval echo "$ac_t""no" 1>&6 +fi + +test -n "$BISON" && break +done +test -n "$BISON" || BISON="nobison" + +# +# We need both tsort/lorder or none of them +# +# Extract the first word of "lorder", so it can be a program name with args. +set dummy lorder; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1887: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_LORDER'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + case "$LORDER" in + /*) + ac_cv_path_LORDER="$LORDER" # Let the user override the test with a path. + ;; + ?:/*) + ac_cv_path_LORDER="$LORDER" # Let the user override the test with a dos path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH:/usr/ccs/bin" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_LORDER="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_LORDER" && ac_cv_path_LORDER="echo" + ;; +esac +fi +LORDER="$ac_cv_path_LORDER" +if test -n "$LORDER"; then + eval echo "$ac_t""$LORDER" 1>&6 +else + eval echo "$ac_t""no" 1>&6 +fi + +if test "$LORDER" = echo; then + TSORT=cat +else + # Extract the first word of "tsort", so it can be a program name with args. +set dummy tsort; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:1926: checking for $ac_word" >&5 +if eval "test \"`echo '$''{'ac_cv_path_TSORT'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + case "$TSORT" in + /*) + ac_cv_path_TSORT="$TSORT" # Let the user override the test with a path. + ;; + ?:/*) + ac_cv_path_TSORT="$TSORT" # Let the user override the test with a dos path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH:/usr/ccs/bin" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_path_TSORT="$ac_dir/$ac_word" + break + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_TSORT" && ac_cv_path_TSORT="cat" + ;; +esac +fi +TSORT="$ac_cv_path_TSORT" +if test -n "$TSORT"; then + eval echo "$ac_t""$TSORT" 1>&6 +else + eval echo "$ac_t""no" 1>&6 +fi + + if test "$TSORT" = cat; then + LORDER=echo + fi +fi + +echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 +echo "configure:1965: checking for ANSI C header files" >&5 +if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#include +#include +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:1978: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + ac_cv_header_stdc=yes +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_stdc=no +fi +rm -f conftest* + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. +cat > conftest.$ac_ext < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "memchr" >/dev/null 2>&1; then + : +else + rm -rf conftest* + 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 > conftest.$ac_ext < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "free" >/dev/null 2>&1; then + : +else + rm -rf conftest* + 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 > conftest.$ac_ext < +#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#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)) exit(2); +exit (0); } + +EOF +if { eval echo configure:2045: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + : +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_header_stdc=no +fi +rm -fr conftest* +fi + +fi +fi + +eval echo "$ac_t""$ac_cv_header_stdc" 1>&6 +if test $ac_cv_header_stdc = yes; then + cat >> confdefs.h <<\EOF +#define STDC_HEADERS 1 +EOF + + cat >> confdefs.h <<\EOF +#define HAVE_STDARG_H 1 +EOF + + cat >> confdefs.h <<\EOF +#define HAVE_STDLIB_H 1 +EOF + + cat >> confdefs.h <<\EOF +#define HAVE_STRING_H 1 +EOF + + cat >> confdefs.h <<\EOF +#define HAVE_FLOAT_H 1 +EOF + +fi + +for ac_hdr in stdarg.h stdlib.h string.h float.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2088: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:2098: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + echo $ac_n "checking for UNIX-98 compliant inttypes.h""... $ac_c" 1>&6 +echo "configure:2124: checking for UNIX-98 compliant inttypes.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_inttypes'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +int8_t c; uint8_t uc; int16_t s; uint16_t us; int32_t i; uint32_t ui; +int64_t ll; uint64_t ull; +intptr_t ip; uintptr_t uip; +; return 0; } +EOF +if { eval echo configure:2138: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_inttypes=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_inttypes=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_inttypes" 1>&6 +if test $ac_cv_header_inttypes = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_INTTYPES_H 1 +EOF + +fi +echo $ac_n "checking for SUSv3 compliant stdint.h""... $ac_c" 1>&6 +echo "configure:2158: checking for SUSv3 compliant stdint.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_stdint'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +int8_t c; uint8_t uc; int16_t s; uint16_t us; int32_t i; uint32_t ui; +int64_t ll; uint64_t ull; +intptr_t ip; uintptr_t uip; +intmax_t im; uintmax_t uim; +; return 0; } +EOF +if { eval echo configure:2173: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_stdint=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_stdint=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_stdint" 1>&6 +if test $ac_cv_header_stdint = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_STDINT_H 1 +EOF + + cat >> confdefs.h <<\EOF +#define HAVE_TYPE_INTMAX_T 1 +EOF + + cat >> confdefs.h <<\EOF +#define HAVE_TYPE_UINTMAX_T 1 +EOF + +fi +ac_xsave_LIBS="$LIBS" +LIBS="" +ac_header_dirent=no +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 +echo "configure:2207: checking for $ac_hdr that defines DIR" >&5 +if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include <$ac_hdr> +int main() { +DIR *dirp = 0; +; return 0; } +EOF +if { eval echo configure:2220: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + eval "ac_cv_header_dirent_$ac_safe=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_dirent_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. +if test $ac_header_dirent = dirent.h; then +echo $ac_n "checking for opendir in -lc""... $ac_c" 1>&6 +echo "configure:2245: checking for opendir in -lc" >&5 +ac_lib_var=`echo c'_'opendir | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + : +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 +echo "configure:2283: checking for opendir in -ldir" >&5 +ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-ldir $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + LIBS="$LIBS -ldir" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +else +echo $ac_n "checking for opendir in -lc""... $ac_c" 1>&6 +echo "configure:2326: checking for opendir in -lc" >&5 +ac_lib_var=`echo c'_'opendir | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + : +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 +echo "configure:2364: checking for opendir in -lx" >&5 +ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lx $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + LIBS="$LIBS -lx" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +fi + +lib_dir="$LIBS" +LIBS="$ac_xsave_LIBS" +echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6 +echo "configure:2410: checking whether stat file-mode macros are broken" >&5 +if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include + +#if defined(S_ISBLK) && defined(S_IFDIR) +# if S_ISBLK (S_IFDIR) +You lose. +# endif +#endif + +#if defined(S_ISBLK) && defined(S_IFCHR) +# if S_ISBLK (S_IFCHR) +You lose. +# endif +#endif + +#if defined(S_ISLNK) && defined(S_IFREG) +# if S_ISLNK (S_IFREG) +You lose. +# endif +#endif + +#if defined(S_ISSOCK) && defined(S_IFREG) +# if S_ISSOCK (S_IFREG) +You lose. +# endif +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "You lose" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_header_stat_broken=yes +else + rm -rf conftest* + ac_cv_header_stat_broken=no +fi +rm -f conftest* + +fi + +eval echo "$ac_t""$ac_cv_header_stat_broken" 1>&6 +if test $ac_cv_header_stat_broken = yes; then + cat >> confdefs.h <<\EOF +#define STAT_MACROS_BROKEN 1 +EOF + +fi + +echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 +echo "configure:2466: checking whether time.h and sys/time.h may both be included" >&5 +if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#include +int main() { +struct tm *tp; +; return 0; } +EOF +if { eval echo configure:2480: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_time=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_time=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_time" 1>&6 +if test $ac_cv_header_time = yes; then + cat >> confdefs.h <<\EOF +#define TIME_WITH_SYS_TIME 1 +EOF + +fi + +echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 +echo "configure:2501: checking for sys/wait.h that is POSIX.1 compatible" >&5 +if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#ifndef WEXITSTATUS +#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) +#endif +#ifndef WIFEXITED +#define WIFEXITED(stat_val) (((stat_val) & 255) == 0) +#endif +int main() { +int s; +wait (&s); +s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; +; return 0; } +EOF +if { eval echo configure:2522: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_sys_wait_h=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_sys_wait_h=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6 +if test $ac_cv_header_sys_wait_h = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SYS_WAIT_H 1 +EOF + +fi + +echo $ac_n "checking if select needs nonstd include files""... $ac_c" 1>&6 +echo "configure:2543: checking if select needs nonstd include files" >&5 +if eval "test \"`echo '$''{'ac_cv_header_slect_nonstd_hdr'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +fd_set rfd; FD_ZERO(&rfd); select(1, &rfd, 0, 0, 0); +; return 0; } +EOF +if { eval echo configure:2556: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_slect_nonstd_hdr=no +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_slect_nonstd_hdr=yes +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_slect_nonstd_hdr" 1>&6 +if test $ac_cv_header_slect_nonstd_hdr = yes; then + cat >> confdefs.h <<\EOF +#define SELECT_NONSTD_HDR 1 +EOF + +fi +echo $ac_n "checking if sys/select.h is needed for select""... $ac_c" 1>&6 +echo "configure:2576: checking if sys/select.h is needed for select" >&5 +if eval "test \"`echo '$''{'ac_cv_header_need_sys_select_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#include +#ifndef SELECT_NONSTD_HDR +do not compile if we do not need nonstandard headers +#endif +int main() { +fd_set rfd; FD_ZERO(&rfd); select(1, &rfd, 0, 0, 0); +; return 0; } +EOF +if { eval echo configure:2593: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_need_sys_select_h=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_need_sys_select_h=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_need_sys_select_h" 1>&6 +if test $ac_cv_header_need_sys_select_h = yes; then + cat >> confdefs.h <<\EOF +#define NEED_SYS_SELECT_H 1 +EOF + +fi +echo $ac_n "checking if sys/socket.h is needed for select""... $ac_c" 1>&6 +echo "configure:2613: checking if sys/socket.h is needed for select" >&5 +if eval "test \"`echo '$''{'ac_cv_header_need_sys_socket_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#include +#ifndef SELECT_NONSTD_HDR +do not compile if we do not need nonstandard headers +#endif +int main() { +fd_set rfd; FD_ZERO(&rfd); select(1, &rfd, 0, 0, 0); +; return 0; } +EOF +if { eval echo configure:2630: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_need_sys_socket_h=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_need_sys_socket_h=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_need_sys_socket_h" 1>&6 +if test $ac_cv_header_need_sys_socket_h = yes; then + cat >> confdefs.h <<\EOF +#define NEED_SYS_SOCKET_H 1 +EOF + +fi +for ac_hdr in ar.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2653: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:2663: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in assert.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2693: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:2703: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in stdio.h varargs.h stdarg.h stdlib.h stddef.h string.h strings.h unistd.h fcntl.h io.h sys/file.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2733: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:2743: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in conio.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2773: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:2783: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in getopt.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2813: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:2823: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in limits.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2853: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:2863: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in a.out.h aouthdr.h elf.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2893: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:2903: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sysexits.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2933: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:2943: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in malloc.h posix/malloc.h sgtty.h termios.h termio.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2973: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:2983: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in pwd.h grp.h sys/acl.h aclutils.h acllib.h acl/libacl.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3013: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3023: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in signal.h siginfo.h sys/siginfo.h ucontext.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3053: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3063: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in shadow.h syslog.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3093: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3103: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/time.h sys/times.h utime.h sys/utime.h sys/ioctl.h sys/filio.h sys/param.h sys/systeminfo.h sys/sysctl.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3133: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3143: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/loadavg.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3173: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3183: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/syscall.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3213: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3223: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in mach/machine.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3253: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3263: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in mntent.h sys/mntent.h sys/mnttab.h sys/mount.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3293: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3303: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/fork.h vfork.h wait.h sys/wait.h sys/resource.h procfs.h sys/procfs.h libproc.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3333: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3343: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in ulimit.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3373: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3383: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in process.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3413: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3423: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/utsname.h sys/priocntl.h sys/rtpriocntl.h sys/procset.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3453: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3463: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/mtio.h sys/tape.h sys/mman.h linux/pg.h camlib.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3493: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3503: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/shm.h sys/sem.h sys/ipc.h semaphore.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3533: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3543: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/dkio.h sys/dklabel.h sun/dkio.h sun/dklabel.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3573: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3583: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/types.h sys/stat.h types.h stat.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3613: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3623: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/stypes.h sys/filedesc.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3653: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3663: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/acct.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3693: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3703: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in poll.h sys/poll.h sys/select.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3733: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3743: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in netdb.h arpa/aixrcmds.h sys/socket.h netinet/in.h stropts.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3773: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3783: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in ieeefp.h fp.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3813: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3823: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in values.h float.h math.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3853: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3863: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in arpa/inet.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3893: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3903: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in rpc/rpc.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3933: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3943: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in bsd/dev/scsireg.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:3973: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:3983: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/bsdtty.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4013: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4023: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in scsi/scsi.h scsi/sg.h linux/scsi.h linux.sg.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4053: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4063: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in linux/types.h linux/gfp.h asm/types.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4093: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4103: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in sys/capability.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4133: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4143: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in OS.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4173: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4183: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in os2.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4213: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4223: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in os2me.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4253: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4263: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in windows.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4293: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4303: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in ext2fs/ext2_fs.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4333: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4343: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in attr/xattr.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4373: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4383: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in crt_externs.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4413: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4423: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in fnmatch.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4453: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4463: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in libintl.h locale.h langinfo.h nl_types.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4493: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4503: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in ctype.h wctype.h wchar.h iconv.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4533: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4543: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in priv.h sys/priv.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4573: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4583: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in exec_attr.h secdb.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4613: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4623: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in direct.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4653: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4663: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in pthread.h thread.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4693: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4703: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in libgen.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4733: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4743: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in regex.h regexp.h regexpr.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4773: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4783: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in dlfcn.h link.h dl.h libelf.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4813: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4823: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in ranlib.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4853: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4863: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in expat.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:4893: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:4903: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + + +echo $ac_n "checking for header file containing major(), minor() and makedev()""... $ac_c" 1>&6 +echo "configure:4931: checking for header file containing major(), minor() and makedev()" >&5 +if eval "test \"`echo '$''{'ac_cv_header_makedev'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_cv_header_makedev=none +cat > conftest.$ac_ext < +#include +int main() { +int i = major(0); i = minor(0); i = makedev(0,0); +; return 0; } +EOF +if { eval echo configure:4945: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_makedev=sys/mkdev.h +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* +if test $ac_cv_header_makedev = none; then + cat > conftest.$ac_ext < +#include +int main() { +int i = major(0); i = minor(0); i = makedev(0,0); +; return 0; } +EOF +if { eval echo configure:4963: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_makedev=sys/sysmacros.h +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* +fi +fi + +eval echo "$ac_t""$ac_cv_header_makedev" 1>&6 +if test $ac_cv_header_makedev = sys/mkdev.h; then + cat >> confdefs.h <<\EOF +#define MAJOR_IN_MKDEV 1 +EOF + +fi +if test $ac_cv_header_makedev = sys/sysmacros.h; then + cat >> confdefs.h <<\EOF +#define MAJOR_IN_SYSMACROS 1 +EOF + +fi + + +echo $ac_n "checking bits in minor device number""... $ac_c" 1>&6 +echo "configure:4990: checking bits in minor device number" >&5 +if eval "test \"`echo '$''{'ac_cv_dev_minor_bits'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#include +#ifdef major +# define _FOUND_MAJOR_ +#endif + +#ifdef MAJOR_IN_MKDEV +# include +# define _FOUND_MAJOR_ +#endif + +#ifndef _FOUND_MAJOR_ +# ifdef MAJOR_IN_SYSMACROS +# include +# define _FOUND_MAJOR_ +# endif +#endif + +#ifndef _FOUND_MAJOR_ +# if defined(hpux) || defined(__hpux__) || defined(__hpux) +# include +# define _FOUND_MAJOR_ +# endif +#endif + +#ifndef _FOUND_MAJOR_ +# define major(dev) (((dev) >> 8) & 0xFF) +# define minor(dev) ((dev) & 0xFF) +# define makedev(majo, mino) (((majo) << 8) | (mino)) +#endif +int +main() +{ + long l = 1; + int i; + int m; + int c = 0; + FILE *f=fopen("conftestval", "w"); + int maxloop = 32; + + if (sizeof (long) > 4) + maxloop = 64; + + if (!f) exit(1); + + for (i=1, m=0; i <= maxloop; i++, l<<=1) { + if (minor(l) == 0 && c == 0) + c = m; + if (minor(l) != 0) + m = i; + } + fprintf(f, "%d\n", m); + exit(0); +} +EOF +if { eval echo configure:5055: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_dev_minor_bits=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_dev_minor_bits=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_dev_minor_bits" 1>&6 +cat >> confdefs.h <&6 +echo "configure:5075: checking whether bits in minor device numbers are non contiguous" >&5 +if eval "test \"`echo '$''{'ac_cv_dev_minor_noncontig'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#ifdef major +# define _FOUND_MAJOR_ +#endif + +#ifdef MAJOR_IN_MKDEV +# include +# define _FOUND_MAJOR_ +#endif + +#ifndef _FOUND_MAJOR_ +# ifdef MAJOR_IN_SYSMACROS +# include +# define _FOUND_MAJOR_ +# endif +#endif + +#ifndef _FOUND_MAJOR_ +# if defined(hpux) || defined(__hpux__) || defined(__hpux) +# include +# define _FOUND_MAJOR_ +# endif +#endif + +#ifndef _FOUND_MAJOR_ +# define major(dev) (((dev) >> 8) & 0xFF) +# define minor(dev) ((dev) & 0xFF) +# define makedev(majo, mino) (((majo) << 8) | (mino)) +#endif +int +main() +{ + long l = 1; + int i; + int m; + int c = 0; + int maxloop = 32; + + if (sizeof (long) > 4) + maxloop = 64; + + for (i=1, m=0; i <= maxloop; i++, l<<=1) { + if (minor(l) == 0 && c == 0) + c = m; + if (minor(l) != 0) + m = i; + } +exit (m == c);} +EOF +if { eval echo configure:5135: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_dev_minor_noncontig=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_dev_minor_noncontig=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_dev_minor_noncontig" 1>&6 +if test $ac_cv_dev_minor_noncontig = yes; then + cat >> confdefs.h <<\EOF +#define DEV_MINOR_NONCONTIG 1 +EOF + +fi + +echo $ac_n "checking for _filbuf()""... $ac_c" 1>&6 +echo "configure:5158: checking for _filbuf()" >&5 +if eval "test \"`echo '$''{'ac_cv_func__filbuf'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +FILE *f; +int flag; +int count; +char *ptr; +char c = 0; +f = fopen("confdefs.h", "r"); +_filbuf(f); +_flsbuf(c, f); +flag = f->_flag & _IONBF; +flag |= f->_flag & _IOERR; +flag |= f->_flag & _IOEOF; +count = f->_cnt; +ptr = (char *)f->_ptr; +fclose(f); +; return 0; } +EOF +if { eval echo configure:5183: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func__filbuf=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func__filbuf=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func__filbuf" 1>&6 +if test $ac_cv_func__filbuf = yes; then + cat >> confdefs.h <<\EOF +#define HAVE__FILBUF 1 +EOF + +fi +echo $ac_n "checking for __filbuf()""... $ac_c" 1>&6 +echo "configure:5203: checking for __filbuf()" >&5 +if eval "test \"`echo '$''{'ac_cv_func___filbuf'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +FILE *f; +int flag; +int count; +char *ptr; +char c = 0; +f = fopen("confdefs.h", "r"); +__filbuf(f); +__flsbuf(c, f); +flag = f->_flag & _IONBF; +flag |= f->_flag & _IOERR; +flag |= f->_flag & _IOEOF; +count = f->_cnt; +ptr = (char *)f->_ptr; +fclose(f); +; return 0; } +EOF +if { eval echo configure:5228: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func___filbuf=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func___filbuf=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func___filbuf" 1>&6 +if test $ac_cv_func___filbuf = yes; then + cat >> confdefs.h <<\EOF +#define HAVE___FILBUF 1 +EOF + +fi +echo $ac_n "checking for USG derived STDIO""... $ac_c" 1>&6 +echo "configure:5248: checking for USG derived STDIO" >&5 +if eval "test \"`echo '$''{'ac_cv_header_usg_stdio'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +FILE *f; +int flag; +int count; +char *ptr; +char c = 0; +f = fopen("confdefs.h", "r"); +#ifdef HAVE___FILBUF +__filbuf(f); +__flsbuf(c, f); +#else +# ifdef HAVE__FILBUF +_filbuf(f); +_flsbuf(c, f); +# else +no filbuf() +# endif +#endif +flag = f->_flag & _IONBF; +flag |= f->_flag & _IOERR; +flag |= f->_flag & _IOEOF; +count = f->_cnt; +ptr = (char *)f->_ptr; +fclose(f); +; return 0; } +EOF +if { eval echo configure:5282: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_header_usg_stdio=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_usg_stdio=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_usg_stdio" 1>&6 +if test $ac_cv_header_usg_stdio = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_USG_STDIO 1 +EOF + +fi +echo $ac_n "checking for errno definition in errno.h""... $ac_c" 1>&6 +echo "configure:5302: checking for errno definition in errno.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_errno_def'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +errno = 0; +; return 0; } +EOF +if { eval echo configure:5314: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_errno_def=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_errno_def=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_errno_def" 1>&6 +if test $ac_cv_header_errno_def = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ERRNO_DEF 1 +EOF + +fi +echo $ac_n "checking for environ definition in unistd.h/stdlib.h""... $ac_c" 1>&6 +echo "configure:5334: checking for environ definition in unistd.h/stdlib.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_environ_def'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#else +#ifdef HAVE_STDLIB_H +#include /* MSC no unistd.h but environ in stdlib.h */ +#endif +#endif + +int main() { +environ = 0; +; return 0; } +EOF +if { eval echo configure:5354: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_environ_def=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_environ_def=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_environ_def" 1>&6 +if test $ac_cv_header_environ_def = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ENVIRON_DEF 1 +EOF + +fi +echo $ac_n "checking for sys_siglist definition in signal.h""... $ac_c" 1>&6 +echo "configure:5374: checking for sys_siglist definition in signal.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_sys_siglist_def'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +char *cp = (char *)sys_siglist[0]; exit (cp != (char *)0 && *cp != 0); +; return 0; } +EOF +if { eval echo configure:5386: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_sys_siglist_def=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_sys_siglist_def=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_sys_siglist_def" 1>&6 +if test $ac_cv_header_sys_siglist_def = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SYS_SIGLIST_DEF 1 +EOF + +fi +for ac_hdr in stdlib.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:5409: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:5419: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in unistd.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:5449: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:5459: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in wait.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:5489: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:5499: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 +echo "configure:5526: checking for sys/wait.h that is POSIX.1 compatible" >&5 +if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#ifndef WEXITSTATUS +#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) +#endif +#ifndef WIFEXITED +#define WIFEXITED(stat_val) (((stat_val) & 255) == 0) +#endif +int main() { +int s; +wait (&s); +s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; +; return 0; } +EOF +if { eval echo configure:5547: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_sys_wait_h=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_sys_wait_h=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6 +if test $ac_cv_header_sys_wait_h = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SYS_WAIT_H 1 +EOF + +fi + +echo $ac_n "checking for errno definition in errno.h""... $ac_c" 1>&6 +echo "configure:5568: checking for errno definition in errno.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_errno_def'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +errno = 0; +; return 0; } +EOF +if { eval echo configure:5580: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_errno_def=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_errno_def=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_errno_def" 1>&6 +if test $ac_cv_header_errno_def = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ERRNO_DEF 1 +EOF + +fi +echo $ac_n "checking for SVr4 compliant waitpid() with WNOWAIT support""... $ac_c" 1>&6 +echo "configure:5600: checking for SVr4 compliant waitpid() with WNOWAIT support" >&5 +if eval "test \"`echo '$''{'ac_cv_wnowait_waitpid'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#endif +#ifdef HAVE_UNISTD_H +#include +#endif +#if defined(HAVE_WAIT_H) +# include +#else +#include +#endif +#include +#ifndef HAVE_ERRNO_DEF +extern int errno; +#endif + +int +main() +{ + int xstat; + pid_t pid = -1; + int ret; + + ret = waitpid(pid, &xstat, WNOWAIT); + if (ret < 0 && errno == EINVAL) + exit(1); + exit(0); +} +EOF +if { eval echo configure:5640: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_wnowait_waitpid=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_wnowait_waitpid=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_wnowait_waitpid" 1>&6 +if test $ac_cv_wnowait_waitpid = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_WNOWAIT_WAITPID 1 +EOF + +fi + +echo $ac_n "checking for working const""... $ac_c" 1>&6 +echo "configure:5663: checking for working const" >&5 +if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <j = 5; +} +{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; +} + +; return 0; } +EOF +if { eval echo configure:5717: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_c_const=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_c_const=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_c_const" 1>&6 +if test $ac_cv_c_const = no; then + cat >> confdefs.h <<\EOF +#define const +EOF + +fi + +echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 +echo "configure:5738: checking whether byte ordering is bigendian" >&5 +if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_cv_c_bigendian=unknown +# See if sys/param.h defines the BYTE_ORDER macro. +cat > conftest.$ac_ext < +#include +int main() { + +#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN + bogus endian macros +#endif +; return 0; } +EOF +if { eval echo configure:5756: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + # It does; now see whether it defined to BIG_ENDIAN or not. +cat > conftest.$ac_ext < +#include +int main() { + +#if BYTE_ORDER != BIG_ENDIAN + not big endian +#endif +; return 0; } +EOF +if { eval echo configure:5771: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_c_bigendian=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_c_bigendian=no +fi +rm -f conftest* +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* +if test $ac_cv_c_bigendian = unknown; then +if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_c_bigendian=no +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_c_bigendian=yes +fi +rm -fr conftest* +fi + +fi +fi + +eval echo "$ac_t""$ac_cv_c_bigendian" 1>&6 +if test $ac_cv_c_bigendian = yes; then + cat >> confdefs.h <<\EOF +#define WORDS_BIGENDIAN 1 +EOF + +fi + +echo $ac_n "checking whether bitorder in bitfields is htol""... $ac_c" 1>&6 +echo "configure:5828: checking whether bitorder in bitfields is htol" >&5 +if eval "test \"`echo '$''{'ac_cv_c_bitfields_htol'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_c_bitfields_htol=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_c_bitfields_htol=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_c_bitfields_htol" 1>&6 +if test $ac_cv_c_bitfields_htol = yes; then + cat >> confdefs.h <<\EOF +#define BITFIELDS_HTOL 1 +EOF + +fi + + +echo $ac_n "checking for preprocessor stringizing operator""... $ac_c" 1>&6 +echo "configure:5876: checking for preprocessor stringizing operator" >&5 +if eval "test \"`echo '$''{'ac_cv_c_stringize'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5 | + egrep "#teststring" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_c_stringize=no +else + rm -rf conftest* + ac_cv_c_stringize=yes +fi +rm -f conftest* + +fi + +if test "${ac_cv_c_stringize}" = yes +then + cat >> confdefs.h <<\EOF +#define HAVE_STRINGIZE 1 +EOF + +fi +eval echo "$ac_t""${ac_cv_c_stringize}" 1>&6 + +echo $ac_n "checking for inline""... $ac_c" 1>&6 +echo "configure:5911: checking for inline" >&5 +if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat > conftest.$ac_ext <&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_c_inline=$ac_kw; break +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* +done + +fi + +eval echo "$ac_t""$ac_cv_c_inline" 1>&6 +case "$ac_cv_c_inline" in + inline | yes) + cat >> confdefs.h <<\EOF +#define HAVE_INLINE 1 +EOF + + ;; + no) cat >> confdefs.h <<\EOF +#define inline +EOF + + ;; + *) cat >> confdefs.h <> confdefs.h <<\EOF +#define HAVE_INLINE 1 +EOF + + ;; +esac + +echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 +echo "configure:5962: checking return type of signal handlers" >&5 +if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#ifdef signal +#undef signal +#endif +#ifdef __cplusplus +extern "C" void (*signal (int, void (*)(int)))(int); +#else +void (*signal ()) (); +#endif + +int main() { +int i; +; return 0; } +EOF +if { eval echo configure:5984: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_type_signal=void +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_type_signal=int +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_type_signal" 1>&6 +cat >> confdefs.h <&6 +echo "configure:6003: checking for uid_t in sys/types.h" >&5 +if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "uid_t" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_uid_t=yes +else + rm -rf conftest* + ac_cv_type_uid_t=no +fi +rm -f conftest* + +fi + +eval echo "$ac_t""$ac_cv_type_uid_t" 1>&6 +if test $ac_cv_type_uid_t = no; then + cat >> confdefs.h <<\EOF +#define uid_t int +EOF + + cat >> confdefs.h <<\EOF +#define gid_t int +EOF + +fi + +echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6 +echo "configure:6037: checking type of array argument to getgroups" >&5 +if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + ac_cv_type_getgroups=cross +else + cat > conftest.$ac_ext < +#define NGID 256 +#undef MAX +#define MAX(x, y) ((x) > (y) ? (x) : (y)) +main() +{ + gid_t gidset[NGID]; + int i, n; + union { gid_t gval; long lval; } val; + + val.lval = -1; + for (i = 0; i < NGID; i++) + gidset[i] = val.gval; + n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1, + gidset); + /* Exit non-zero if getgroups seems to require an array of ints. This + happens when gid_t is short but getgroups modifies an array of ints. */ + exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0); +} + +EOF +if { eval echo configure:6070: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_type_getgroups=gid_t +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_type_getgroups=int +fi +rm -fr conftest* +fi + +if test $ac_cv_type_getgroups = cross; then + cat > conftest.$ac_ext < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "getgroups.*int.*gid_t" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_getgroups=gid_t +else + rm -rf conftest* + ac_cv_type_getgroups=int +fi +rm -f conftest* + +fi +fi + +eval echo "$ac_t""$ac_cv_type_getgroups" 1>&6 +cat >> confdefs.h <&6 +echo "configure:6108: checking for type long long" >&5 +if eval "test \"`echo '$''{'ac_cv_type_longlong'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_type_longlong=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_type_longlong=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_type_longlong" 1>&6 +if test $ac_cv_type_longlong = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_LONGLONG 1 +EOF + +fi +echo $ac_n "checking for type __int64""... $ac_c" 1>&6 +echo "configure:6140: checking for type __int64" >&5 +if eval "test \"`echo '$''{'ac_cv_type___int64'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_type___int64=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_type___int64=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_type___int64" 1>&6 +if test $ac_cv_type___int64 = yes; then + cat >> confdefs.h <<\EOF +#define HAVE___INT64 1 +EOF + +fi +echo $ac_n "checking for type long double""... $ac_c" 1>&6 +echo "configure:6172: checking for type long double" >&5 +if eval "test \"`echo '$''{'ac_cv_type_longdouble'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_type_longdouble=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_type_longdouble=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_type_longdouble" 1>&6 +if test $ac_cv_type_longdouble = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_LONGDOUBLE 1 +EOF + +fi +echo $ac_n "checking for prototypes""... $ac_c" 1>&6 +echo "configure:6204: checking for prototypes" >&5 +if eval "test \"`echo '$''{'ac_cv_type_prototypes'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_type_prototypes=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_type_prototypes=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_type_prototypes" 1>&6 +if test $ac_cv_type_prototypes = yes; then + cat >> confdefs.h <<\EOF +#define PROTOTYPES 1 +EOF + +fi +echo $ac_n "checking if compiler allows dynamic arrays""... $ac_c" 1>&6 +echo "configure:6244: checking if compiler allows dynamic arrays" >&5 +if eval "test \"`echo '$''{'ac_cv_dyn_arrays'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_dyn_arrays=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_dyn_arrays=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_dyn_arrays" 1>&6 +if test $ac_cv_dyn_arrays = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_DYN_ARRAYS 1 +EOF + +fi +echo $ac_n "checking if compiler allows pragma weak""... $ac_c" 1>&6 +echo "configure:6276: checking if compiler allows pragma weak" >&5 +if eval "test \"`echo '$''{'ac_cv_pragma_weak'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_pragma_weak=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_pragma_weak=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_pragma_weak" 1>&6 +if test $ac_cv_pragma_weak = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_PRAGMA_WEAK 1 +EOF + +fi + + +if test $ac_cv_pragma_weak = yes; then +cat > conftest2.$ac_ext <&5; eval $ac_compile2 2>&5; }; then + true + +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +true +fi + +ac_save_LIBS="$LIBS" +LIBS="conftest2.$ac_cv_objext" +echo $ac_n "checking if linker allows pragma weak""... $ac_c" 1>&6 +echo "configure:6332: checking if linker allows pragma weak" >&5 +if eval "test \"`echo '$''{'ac_cv_link_weak'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_link_weak=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_link_weak=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_link_weak" 1>&6 +LIBS="$ac_save_LIBS" +if test $ac_cv_link_weak = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_LINK_WEAK 1 +EOF + +fi +rm -f conftest2.* +fi + +echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 +echo "configure:6368: checking for uid_t in sys/types.h" >&5 +if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "uid_t" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_uid_t=yes +else + rm -rf conftest* + ac_cv_type_uid_t=no +fi +rm -f conftest* + +fi + +eval echo "$ac_t""$ac_cv_type_uid_t" 1>&6 +if test $ac_cv_type_uid_t = no; then + cat >> confdefs.h <<\EOF +#define uid_t int +EOF + + cat >> confdefs.h <<\EOF +#define gid_t int +EOF + +fi + +echo $ac_n "checking for size_t""... $ac_c" 1>&6 +echo "configure:6402: checking for size_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_size_t=yes +else + rm -rf conftest* + ac_cv_type_size_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_size_t" 1>&6 +if test $ac_cv_type_size_t = no; then + cat >> confdefs.h <<\EOF +#define size_t unsigned +EOF + +fi + +echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 +echo "configure:6437: checking for ssize_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_ssize_t=yes +else + rm -rf conftest* + ac_cv_type_ssize_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_ssize_t" 1>&6 +if test $ac_cv_type_ssize_t = no; then + cat >> confdefs.h <<\EOF +#define ssize_t int +EOF + +fi + +echo $ac_n "checking for ptrdiff_t""... $ac_c" 1>&6 +echo "configure:6472: checking for ptrdiff_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_ptrdiff_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])ptrdiff_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_ptrdiff_t=yes +else + rm -rf conftest* + ac_cv_type_ptrdiff_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_ptrdiff_t" 1>&6 +if test $ac_cv_type_ptrdiff_t = no; then + cat >> confdefs.h <<\EOF +#define ptrdiff_t int +EOF + +fi + +echo $ac_n "checking for pid_t""... $ac_c" 1>&6 +echo "configure:6507: checking for pid_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_pid_t=yes +else + rm -rf conftest* + ac_cv_type_pid_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_pid_t" 1>&6 +if test $ac_cv_type_pid_t = no; then + cat >> confdefs.h <<\EOF +#define pid_t int +EOF + +fi + +echo $ac_n "checking for off_t""... $ac_c" 1>&6 +echo "configure:6542: checking for off_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_off_t=yes +else + rm -rf conftest* + ac_cv_type_off_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_off_t" 1>&6 +if test $ac_cv_type_off_t = no; then + cat >> confdefs.h <<\EOF +#define off_t long +EOF + +fi + +echo $ac_n "checking for mode_t""... $ac_c" 1>&6 +echo "configure:6577: checking for mode_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_mode_t=yes +else + rm -rf conftest* + ac_cv_type_mode_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_mode_t" 1>&6 +if test $ac_cv_type_mode_t = no; then + cat >> confdefs.h <<\EOF +#define mode_t int +EOF + +fi + +echo $ac_n "checking for time_t""... $ac_c" 1>&6 +echo "configure:6612: checking for time_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif +int main() { +time_t t; +; return 0; } +EOF +if { eval echo configure:6635: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_type_time_t=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_type_time_t=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_type_time_t" 1>&6 +if test $ac_cv_type_time_t = no; then + cat >> confdefs.h <<\EOF +#define time_t long +EOF + +fi +echo $ac_n "checking for caddr_t""... $ac_c" 1>&6 +echo "configure:6655: checking for caddr_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_caddr_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])caddr_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_caddr_t=yes +else + rm -rf conftest* + ac_cv_type_caddr_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_caddr_t" 1>&6 +if test $ac_cv_type_caddr_t = no; then + cat >> confdefs.h <<\EOF +#define caddr_t char * +EOF + +fi + +echo $ac_n "checking for daddr_t""... $ac_c" 1>&6 +echo "configure:6690: checking for daddr_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_daddr_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])daddr_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_daddr_t=yes +else + rm -rf conftest* + ac_cv_type_daddr_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_daddr_t" 1>&6 +if test $ac_cv_type_daddr_t = no; then + cat >> confdefs.h <<\EOF +#define daddr_t long +EOF + +fi + +echo $ac_n "checking for dev_t""... $ac_c" 1>&6 +echo "configure:6725: checking for dev_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_dev_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])dev_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_dev_t=yes +else + rm -rf conftest* + ac_cv_type_dev_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_dev_t" 1>&6 +if test $ac_cv_type_dev_t = no; then + cat >> confdefs.h <<\EOF +#define dev_t unsigned short +EOF + +fi + +echo $ac_n "checking for major_t""... $ac_c" 1>&6 +echo "configure:6760: checking for major_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_major_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])major_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_major_t=yes +else + rm -rf conftest* + ac_cv_type_major_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_major_t" 1>&6 +if test $ac_cv_type_major_t = no; then + cat >> confdefs.h <<\EOF +#define major_t dev_t +EOF + +fi + +echo $ac_n "checking for minor_t""... $ac_c" 1>&6 +echo "configure:6795: checking for minor_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_minor_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])minor_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_minor_t=yes +else + rm -rf conftest* + ac_cv_type_minor_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_minor_t" 1>&6 +if test $ac_cv_type_minor_t = no; then + cat >> confdefs.h <<\EOF +#define minor_t dev_t +EOF + +fi + +echo $ac_n "checking for ino_t""... $ac_c" 1>&6 +echo "configure:6830: checking for ino_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_ino_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])ino_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_ino_t=yes +else + rm -rf conftest* + ac_cv_type_ino_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_ino_t" 1>&6 +if test $ac_cv_type_ino_t = no; then + cat >> confdefs.h <<\EOF +#define ino_t unsigned long +EOF + +fi + +echo $ac_n "checking for nlink_t""... $ac_c" 1>&6 +echo "configure:6865: checking for nlink_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_nlink_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])nlink_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_nlink_t=yes +else + rm -rf conftest* + ac_cv_type_nlink_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_nlink_t" 1>&6 +if test $ac_cv_type_nlink_t = no; then + cat >> confdefs.h <<\EOF +#define nlink_t unsigned long +EOF + +fi + +echo $ac_n "checking for blksize_t""... $ac_c" 1>&6 +echo "configure:6900: checking for blksize_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_blksize_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])blksize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_blksize_t=yes +else + rm -rf conftest* + ac_cv_type_blksize_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_blksize_t" 1>&6 +if test $ac_cv_type_blksize_t = no; then + cat >> confdefs.h <<\EOF +#define blksize_t long +EOF + +fi + +echo $ac_n "checking for blkcnt_t""... $ac_c" 1>&6 +echo "configure:6935: checking for blkcnt_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_blkcnt_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])blkcnt_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_blkcnt_t=yes +else + rm -rf conftest* + ac_cv_type_blkcnt_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_blkcnt_t" 1>&6 +if test $ac_cv_type_blkcnt_t = no; then + cat >> confdefs.h <<\EOF +#define blkcnt_t Intmax_t +EOF + +fi + +echo $ac_n "checking for clock_t""... $ac_c" 1>&6 +echo "configure:6970: checking for clock_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_clock_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* + * time.h is needed because of a bug in Next Step. + * Next Step needs time.h for clock_t + */ +#ifdef TIME_WITH_SYS_TIME +# ifndef _INCL_SYS_TIME_H +# include +# define _INCL_SYS_TIME_H +# endif +# ifndef _INCL_TIME_H +# include +# define _INCL_TIME_H +# endif +#else +#ifdef HAVE_SYS_TIME_H +# ifndef _INCL_SYS_TIME_H +# include +# define _INCL_SYS_TIME_H +# endif +#else +# ifndef _INCL_TIME_H +# include +# define _INCL_TIME_H +# endif +#endif +#endif +#ifdef HAVE_SYS_TIMES_H +#include +#endif + +int main() { +clock_t t; +; return 0; } +EOF +if { eval echo configure:7013: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_type_clock_t=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_type_clock_t=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_type_clock_t" 1>&6 +if test $ac_cv_type_clock_t = no; then + cat >> confdefs.h <<\EOF +#define clock_t long +EOF + +fi +echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 +echo "configure:7033: checking for socklen_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#include +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])socklen_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_socklen_t=yes +else + rm -rf conftest* + ac_cv_type_socklen_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_socklen_t" 1>&6 +if test $ac_cv_type_socklen_t = no; then + cat >> confdefs.h <<\EOF +#define socklen_t int +EOF + +fi +echo $ac_n "checking for greg_t""... $ac_c" 1>&6 +echo "configure:7068: checking for greg_t" >&5 +if eval "test \"`echo '$''{'ac_cv_have_type_greg_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#include +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])greg_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + eval ac_cv_have_type_greg_t=yes +else + rm -rf conftest* + eval ac_cv_have_type_greg_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_have_type_greg_t" 1>&6 + ac_tr_type=HAVE_TYPE_`echo greg_t | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if test $ac_cv_have_type_greg_t = yes; then + cat >> confdefs.h <&6 +echo "configure:7105: checking for rlim_t" >&5 +if eval "test \"`echo '$''{'ac_cv_have_type_rlim_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#include +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])rlim_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + eval ac_cv_have_type_rlim_t=yes +else + rm -rf conftest* + eval ac_cv_have_type_rlim_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_have_type_rlim_t" 1>&6 + ac_tr_type=HAVE_TYPE_`echo rlim_t | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if test $ac_cv_have_type_rlim_t = yes; then + cat >> confdefs.h <&6 +echo "configure:7142: checking if idtype_t is declared correctly in wait.h" >&5 +if eval "test \"`echo '$''{'ac_cv_have_type_idtype_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#else +#include +#endif +int main() { +idtype_t idt; idt = P_ALL; idt = P_PGID; idt = P_PID; exit (idt == P_PID); +; return 0; } +EOF +if { eval echo configure:7159: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_have_type_idtype_t=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_have_type_idtype_t=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_have_type_idtype_t" 1>&6 +if test $ac_cv_have_type_idtype_t = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_TYPE_IDTYPE_T 1 +EOF + +fi +echo $ac_n "checking for siginfo_t""... $ac_c" 1>&6 +echo "configure:7179: checking for siginfo_t" >&5 +if eval "test \"`echo '$''{'ac_cv_have_type_siginfo_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#include +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])siginfo_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + eval ac_cv_have_type_siginfo_t=yes +else + rm -rf conftest* + eval ac_cv_have_type_siginfo_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_have_type_siginfo_t" 1>&6 + ac_tr_type=HAVE_TYPE_`echo siginfo_t | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if test $ac_cv_have_type_siginfo_t = yes; then + cat >> confdefs.h <&6 +echo "configure:7216: checking if stack_t is declared in signal.h" >&5 +if eval "test \"`echo '$''{'ac_cv_stack_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +stack_t ss; ss.ss_size = 0; exit (ss.ss_size == 0); +; return 0; } +EOF +if { eval echo configure:7228: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_stack_t=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_stack_t=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_stack_t" 1>&6 +if test $ac_cv_stack_t = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_STACK_T 1 +EOF + +fi +echo $ac_n "checking if siginfo_t is declared in signal.h""... $ac_c" 1>&6 +echo "configure:7248: checking if siginfo_t is declared in signal.h" >&5 +if eval "test \"`echo '$''{'ac_cv_siginfo_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#ifdef HAVE_SIGINFO_H +#include +#else +#ifdef HAVE_SYS_SIGINFO_H +#include +#endif +#endif +int main() { +siginfo_t si; si.si_signo = 0; exit (si.si_signo == 0); +; return 0; } +EOF +if { eval echo configure:7267: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_siginfo_t=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_siginfo_t=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_siginfo_t" 1>&6 +if test $ac_cv_siginfo_t = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SIGINFO_T 1 +EOF + +fi + +echo $ac_n "checking for u_char""... $ac_c" 1>&6 +echo "configure:7288: checking for u_char" >&5 +if eval "test \"`echo '$''{'ac_cv_type_u_char'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])u_char[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_u_char=yes +else + rm -rf conftest* + ac_cv_type_u_char=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_u_char" 1>&6 +if test $ac_cv_type_u_char = no; then + cat >> confdefs.h <<\EOF +#define u_char unsigned char +EOF + +fi + +echo $ac_n "checking for u_short""... $ac_c" 1>&6 +echo "configure:7323: checking for u_short" >&5 +if eval "test \"`echo '$''{'ac_cv_type_u_short'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])u_short[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_u_short=yes +else + rm -rf conftest* + ac_cv_type_u_short=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_u_short" 1>&6 +if test $ac_cv_type_u_short = no; then + cat >> confdefs.h <<\EOF +#define u_short unsigned short +EOF + +fi + +echo $ac_n "checking for u_int""... $ac_c" 1>&6 +echo "configure:7358: checking for u_int" >&5 +if eval "test \"`echo '$''{'ac_cv_type_u_int'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])u_int[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_u_int=yes +else + rm -rf conftest* + ac_cv_type_u_int=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_u_int" 1>&6 +if test $ac_cv_type_u_int = no; then + cat >> confdefs.h <<\EOF +#define u_int unsigned int +EOF + +fi + +echo $ac_n "checking for u_long""... $ac_c" 1>&6 +echo "configure:7393: checking for u_long" >&5 +if eval "test \"`echo '$''{'ac_cv_type_u_long'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])u_long[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_u_long=yes +else + rm -rf conftest* + ac_cv_type_u_long=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_u_long" 1>&6 +if test $ac_cv_type_u_long = no; then + cat >> confdefs.h <<\EOF +#define u_long unsigned long +EOF + +fi + + +echo $ac_n "checking for int8_t""... $ac_c" 1>&6 +echo "configure:7429: checking for int8_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_int8_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])int8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_int8_t=yes +else + rm -rf conftest* + ac_cv_type_int8_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_int8_t" 1>&6 +if test $ac_cv_type_int8_t = no; then + cat >> confdefs.h <<\EOF +#define int8_t Int8_t +EOF + +fi + + +echo $ac_n "checking for int16_t""... $ac_c" 1>&6 +echo "configure:7472: checking for int16_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_int16_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])int16_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_int16_t=yes +else + rm -rf conftest* + ac_cv_type_int16_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_int16_t" 1>&6 +if test $ac_cv_type_int16_t = no; then + cat >> confdefs.h <<\EOF +#define int16_t Int16_t +EOF + +fi + + +echo $ac_n "checking for int32_t""... $ac_c" 1>&6 +echo "configure:7515: checking for int32_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_int32_t=yes +else + rm -rf conftest* + ac_cv_type_int32_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_int32_t" 1>&6 +if test $ac_cv_type_int32_t = no; then + cat >> confdefs.h <<\EOF +#define int32_t Int32_t +EOF + +fi + + +echo $ac_n "checking for int64_t""... $ac_c" 1>&6 +echo "configure:7558: checking for int64_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_int64_t=yes +else + rm -rf conftest* + ac_cv_type_int64_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_int64_t" 1>&6 +if test $ac_cv_type_int64_t = no; then + cat >> confdefs.h <<\EOF +#define int64_t Int64_t +EOF + +fi + + +echo $ac_n "checking for intmax_t""... $ac_c" 1>&6 +echo "configure:7601: checking for intmax_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_intmax_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])intmax_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_intmax_t=yes +else + rm -rf conftest* + ac_cv_type_intmax_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_intmax_t" 1>&6 +if test $ac_cv_type_intmax_t = no; then + cat >> confdefs.h <<\EOF +#define intmax_t Intmax_t +EOF + +fi + + +echo $ac_n "checking for intptr_t""... $ac_c" 1>&6 +echo "configure:7644: checking for intptr_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_intptr_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])intptr_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_intptr_t=yes +else + rm -rf conftest* + ac_cv_type_intptr_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_intptr_t" 1>&6 +if test $ac_cv_type_intptr_t = no; then + cat >> confdefs.h <<\EOF +#define intptr_t Intptr_t +EOF + +fi + + +echo $ac_n "checking for uint8_t""... $ac_c" 1>&6 +echo "configure:7687: checking for uint8_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_uint8_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_uint8_t=yes +else + rm -rf conftest* + ac_cv_type_uint8_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_uint8_t" 1>&6 +if test $ac_cv_type_uint8_t = no; then + cat >> confdefs.h <<\EOF +#define uint8_t UInt8_t +EOF + +fi + + +echo $ac_n "checking for uint16_t""... $ac_c" 1>&6 +echo "configure:7730: checking for uint16_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_uint16_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])uint16_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_uint16_t=yes +else + rm -rf conftest* + ac_cv_type_uint16_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_uint16_t" 1>&6 +if test $ac_cv_type_uint16_t = no; then + cat >> confdefs.h <<\EOF +#define uint16_t UInt16_t +EOF + +fi + + +echo $ac_n "checking for uint32_t""... $ac_c" 1>&6 +echo "configure:7773: checking for uint32_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])uint32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_uint32_t=yes +else + rm -rf conftest* + ac_cv_type_uint32_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_uint32_t" 1>&6 +if test $ac_cv_type_uint32_t = no; then + cat >> confdefs.h <<\EOF +#define uint32_t UInt32_t +EOF + +fi + + +echo $ac_n "checking for uint64_t""... $ac_c" 1>&6 +echo "configure:7816: checking for uint64_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_uint64_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])uint64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_uint64_t=yes +else + rm -rf conftest* + ac_cv_type_uint64_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_uint64_t" 1>&6 +if test $ac_cv_type_uint64_t = no; then + cat >> confdefs.h <<\EOF +#define uint64_t UInt64_t +EOF + +fi + + +echo $ac_n "checking for uintmax_t""... $ac_c" 1>&6 +echo "configure:7859: checking for uintmax_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_uintmax_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])uintmax_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_uintmax_t=yes +else + rm -rf conftest* + ac_cv_type_uintmax_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_uintmax_t" 1>&6 +if test $ac_cv_type_uintmax_t = no; then + cat >> confdefs.h <<\EOF +#define uintmax_t UIntmax_t +EOF + +fi + + +echo $ac_n "checking for uintptr_t""... $ac_c" 1>&6 +echo "configure:7902: checking for uintptr_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_uintptr_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])uintptr_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_uintptr_t=yes +else + rm -rf conftest* + ac_cv_type_uintptr_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_uintptr_t" 1>&6 +if test $ac_cv_type_uintptr_t = no; then + cat >> confdefs.h <<\EOF +#define uintptr_t UIntptr_t +EOF + +fi + + +echo $ac_n "checking for wctype_t""... $ac_c" 1>&6 +echo "configure:7945: checking for wctype_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_wctype_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_WCHAR_H +#include +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])wctype_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_wctype_t=yes +else + rm -rf conftest* + ac_cv_type_wctype_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_wctype_t" 1>&6 +if test $ac_cv_type_wctype_t = no; then + cat >> confdefs.h <<\EOF +#define wctype_t int +EOF + +fi + + +echo $ac_n "checking for wint_t""... $ac_c" 1>&6 +echo "configure:7988: checking for wint_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_wint_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_WCHAR_H +#include +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif +#include + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])wint_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_wint_t=yes +else + rm -rf conftest* + ac_cv_type_wint_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_wint_t" 1>&6 +if test $ac_cv_type_wint_t = no; then + cat >> confdefs.h <<\EOF +#define wint_t int +EOF + +fi + + +echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6 +echo "configure:8032: checking for mbstate_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_mbstate_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_WCHAR_H +#include +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])mbstate_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_mbstate_t=yes +else + rm -rf conftest* + ac_cv_type_mbstate_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_mbstate_t" 1>&6 +if test $ac_cv_type_mbstate_t = no; then + cat >> confdefs.h <<\EOF +#define mbstate_t int +EOF + +fi + + +echo $ac_n "checking for timestruc_t""... $ac_c" 1>&6 +echo "configure:8075: checking for timestruc_t" >&5 +if eval "test \"`echo '$''{'ac_cv_type_timestruc_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if HAVE_STDLIB_H || STDC_HEADERS +#include +#endif +#if HAVE_STDDEF_H || STDC_HEADERS +#include +#endif +#ifdef HAVE_SYS_STAT_H +#include +#endif +#ifdef HAVE_STAT_H +#include +#endif + +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "(^|[^a-zA-Z_0-9])timestruc_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_type_timestruc_t=yes +else + rm -rf conftest* + ac_cv_type_timestruc_t=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_type_timestruc_t" 1>&6 +if test $ac_cv_type_timestruc_t = no; then + cat >> confdefs.h <<\EOF +#define timestruc_t timespec +EOF + +fi + + +echo $ac_n "checking size of char""... $ac_c" 1>&6 +echo "configure:8118: checking size of char" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(char)); + exit(0); +} +EOF +if { eval echo configure:8143: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_char=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_char=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_char" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8163: checking size of short int" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_short_int'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(short int)); + exit(0); +} +EOF +if { eval echo configure:8188: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_short_int=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_short_int=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_short_int" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8208: checking size of int" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(int)); + exit(0); +} +EOF +if { eval echo configure:8233: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_int=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_int=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_int" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8253: checking size of long int" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_long_int'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(long int)); + exit(0); +} +EOF +if { eval echo configure:8278: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_long_int=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_long_int=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_long_int" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8298: checking size of long long" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(long long)); + exit(0); +} +EOF +if { eval echo configure:8323: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_long_long=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_long_long=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8343: checking size of __int64" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof___int64'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(__int64)); + exit(0); +} +EOF +if { eval echo configure:8368: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof___int64=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof___int64=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof___int64" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8388: checking size of char *" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_char_p'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(char *)); + exit(0); +} +EOF +if { eval echo configure:8413: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_char_p=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_char_p=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_char_p" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8434: checking size of unsigned char" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_char'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(unsigned char)); + exit(0); +} +EOF +if { eval echo configure:8459: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_unsigned_char=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_unsigned_char=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_unsigned_char" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8479: checking size of unsigned short int" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_short_int'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(unsigned short int)); + exit(0); +} +EOF +if { eval echo configure:8504: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_unsigned_short_int=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_unsigned_short_int=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_unsigned_short_int" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8524: checking size of unsigned int" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_int'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(unsigned int)); + exit(0); +} +EOF +if { eval echo configure:8549: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_unsigned_int=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_unsigned_int=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_unsigned_int" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8569: checking size of unsigned long int" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long_int'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(unsigned long int)); + exit(0); +} +EOF +if { eval echo configure:8594: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_unsigned_long_int=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_unsigned_long_int=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_unsigned_long_int" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8614: checking size of unsigned long long" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long_long'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(unsigned long long)); + exit(0); +} +EOF +if { eval echo configure:8639: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_unsigned_long_long=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_unsigned_long_long=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_unsigned_long_long" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8659: checking size of unsigned __int64" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned___int64'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(unsigned __int64)); + exit(0); +} +EOF +if { eval echo configure:8684: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_unsigned___int64=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_unsigned___int64=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_unsigned___int64" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8704: checking size of unsigned char *" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_char_p'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(unsigned char *)); + exit(0); +} +EOF +if { eval echo configure:8729: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_unsigned_char_p=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_unsigned_char_p=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_unsigned_char_p" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8749: checking size of float" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(float)); + exit(0); +} +EOF +if { eval echo configure:8774: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_float=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_float=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_float" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8794: checking size of double" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(double)); + exit(0); +} +EOF +if { eval echo configure:8819: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_double=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_double=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_double" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8839: checking size of long double" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(long double)); + exit(0); +} +EOF +if { eval echo configure:8864: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_long_double=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_long_double=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_long_double" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8885: checking size of size_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_size_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(size_t)); + exit(0); +} +EOF +if { eval echo configure:8910: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_size_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_size_t=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_size_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8930: checking size of ssize_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_ssize_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(ssize_t)); + exit(0); +} +EOF +if { eval echo configure:8955: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_ssize_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_ssize_t=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_ssize_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:8975: checking size of ptrdiff_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_ptrdiff_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(ptrdiff_t)); + exit(0); +} +EOF +if { eval echo configure:9000: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_ptrdiff_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_ptrdiff_t=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_ptrdiff_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:9021: checking size of mode_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_mode_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(mode_t)); + exit(0); +} +EOF +if { eval echo configure:9046: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_mode_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_mode_t=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_mode_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:9066: checking size of uid_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_uid_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(uid_t)); + exit(0); +} +EOF +if { eval echo configure:9091: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_uid_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_uid_t=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_uid_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:9111: checking size of gid_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_gid_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(gid_t)); + exit(0); +} +EOF +if { eval echo configure:9136: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_gid_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_gid_t=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_gid_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:9156: checking size of pid_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_pid_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(pid_t)); + exit(0); +} +EOF +if { eval echo configure:9181: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_pid_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_pid_t=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_pid_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:9202: checking size of dev_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_dev_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(dev_t)); + exit(0); +} +EOF +if { eval echo configure:9227: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_dev_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_dev_t=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_dev_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:9247: checking size of major_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_major_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(major_t)); + exit(0); +} +EOF +if { eval echo configure:9272: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_major_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_major_t=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_major_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:9292: checking size of minor_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_minor_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#if HAVE_STDDEF_H || STDC_HEADERS +#include /* For ptrdiff_t, wchar_t, size_t */ +#endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(minor_t)); + exit(0); +} +EOF +if { eval echo configure:9317: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_minor_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_minor_t=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_minor_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:9338: checking size of time_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_time_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#include +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(time_t)); + exit(0); +} +EOF +if { eval echo configure:9368: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_time_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_time_t=SIZEOF_LONG_INT +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_time_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:9388: checking size of wchar" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_wchar'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(L'a')); + exit(0); +} +EOF +if { eval echo configure:9407: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_wchar=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_wchar=0 +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_wchar" 1>&6 +cat >> confdefs.h <&6 +echo "configure:9427: checking size of wchar_t" >&5 +if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_STDLIB_H +#include +#endif +#ifdef HAVE_WCHAR_H +#include +#endif +main() +{ + FILE *f=fopen("conftestval", "w"); + if (!f) exit(1); + fprintf(f, "%d\n", sizeof(wchar_t)); + exit(0); +} +EOF +if { eval echo configure:9455: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_sizeof_wchar_t=`cat conftestval` +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_sizeof_wchar_t=SIZEOF_CHAR +fi +rm -fr conftest* +fi + +fi +eval echo "$ac_t""$ac_cv_sizeof_wchar_t" 1>&6 +cat >> confdefs.h <&6 +echo "configure:9476: checking if char is unsigned" >&5 +if eval "test \"`echo '$''{'ac_cv_type_char_unsigned'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + ac_cv_type_char_unsigned=no +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_type_char_unsigned=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_type_char_unsigned=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_type_char_unsigned" 1>&6 +if test $ac_cv_type_char_unsigned = yes; then + cat >> confdefs.h <<\EOF +#define CHAR_IS_UNSIGNED 1 +EOF + +fi +echo $ac_n "checking if va_list is an array""... $ac_c" 1>&6 +echo "configure:9517: checking if va_list is an array" >&5 +if eval "test \"`echo '$''{'ac_cv_type_va_list_array'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#else +# include +#endif + +int main() { + +va_list a, b; + +a = b; +; return 0; } +EOF +if { eval echo configure:9538: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_type_va_list_array=no +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_type_va_list_array=yes +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_type_va_list_array" 1>&6 +if test $ac_cv_type_va_list_array = yes; then + cat >> confdefs.h <<\EOF +#define VA_LIST_IS_ARRAY 1 +EOF + +fi +echo $ac_n "checking for f->_flags in FILE *""... $ac_c" 1>&6 +echo "configure:9558: checking for f->_flags in FILE *" >&5 +if eval "test \"`echo '$''{'ac_cv_file__flags'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +FILE *f; +int flags; +f = fopen("confdefs.h", "r"); +flags = f->_flags; +fclose(f); +; return 0; } +EOF +if { eval echo configure:9574: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_file__flags=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_file__flags=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_file__flags" 1>&6 +if test $ac_cv_file__flags = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_FILE__FLAGS 1 +EOF + +fi +echo $ac_n "checking for f->_IO_buf_base in FILE *""... $ac_c" 1>&6 +echo "configure:9594: checking for f->_IO_buf_base in FILE *" >&5 +if eval "test \"`echo '$''{'ac_cv_file__io_buf_base'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +FILE *f; +char *ptr; +f = fopen("confdefs.h", "r"); +ptr = f->_IO_buf_base; +fclose(f); +; return 0; } +EOF +if { eval echo configure:9610: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_file__io_buf_base=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_file__io_buf_base=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_file__io_buf_base" 1>&6 +if test $ac_cv_file__io_buf_base = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_FILE__IO_BUF_BASE 1 +EOF + +fi +echo $ac_n "checking for struct timeval in time.h or sys/time.h""... $ac_c" 1>&6 +echo "configure:9630: checking for struct timeval in time.h or sys/time.h" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_timeval'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif +int main() { +struct timeval tv; +; return 0; } +EOF +if { eval echo configure:9653: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_timeval=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_timeval=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_timeval" 1>&6 +if test $ac_cv_struct_timeval = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_STRUCT_TIMEVAL 1 +EOF + +fi +echo $ac_n "checking for struct timezone in time.h or sys/time.h""... $ac_c" 1>&6 +echo "configure:9673: checking for struct timezone in time.h or sys/time.h" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_timezone'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif +int main() { +struct timezone tz; +; return 0; } +EOF +if { eval echo configure:9696: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_timezone=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_timezone=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_timezone" 1>&6 +if test $ac_cv_struct_timezone = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_STRUCT_TIMEZONE 1 +EOF + +fi +echo $ac_n "checking for struct timespec in time.h or sys/time.h""... $ac_c" 1>&6 +echo "configure:9716: checking for struct timespec in time.h or sys/time.h" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_timespec'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif +int main() { +struct timespec ts; +; return 0; } +EOF +if { eval echo configure:9739: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_timespec=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_timespec=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_timespec" 1>&6 +if test $ac_cv_struct_timespec = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_STRUCT_TIMESPEC 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_type""... $ac_c" 1>&6 +echo "configure:9759: checking if struct mtget contains mt_type" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_type'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_type = 0; +; return 0; } +EOF +if { eval echo configure:9772: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_type=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_type=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_type" 1>&6 +if test $ac_cv_struct_mtget_type = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_TYPE 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_model""... $ac_c" 1>&6 +echo "configure:9792: checking if struct mtget contains mt_model" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_model'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_model = 0; +; return 0; } +EOF +if { eval echo configure:9805: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_model=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_model=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_model" 1>&6 +if test $ac_cv_struct_mtget_model = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_MODEL 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_dsreg""... $ac_c" 1>&6 +echo "configure:9825: checking if struct mtget contains mt_dsreg" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_dsreg'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_dsreg = 0; +; return 0; } +EOF +if { eval echo configure:9838: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_dsreg=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_dsreg=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_dsreg" 1>&6 +if test $ac_cv_struct_mtget_dsreg = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_DSREG 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_dsreg1""... $ac_c" 1>&6 +echo "configure:9858: checking if struct mtget contains mt_dsreg1" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_dsreg1'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_dsreg1 = 0; +; return 0; } +EOF +if { eval echo configure:9871: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_dsreg1=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_dsreg1=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_dsreg1" 1>&6 +if test $ac_cv_struct_mtget_dsreg1 = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_DSREG1 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_dsreg2""... $ac_c" 1>&6 +echo "configure:9891: checking if struct mtget contains mt_dsreg2" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_dsreg2'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_dsreg2 = 0; +; return 0; } +EOF +if { eval echo configure:9904: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_dsreg2=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_dsreg2=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_dsreg2" 1>&6 +if test $ac_cv_struct_mtget_dsreg2 = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_DSREG2 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_gstat""... $ac_c" 1>&6 +echo "configure:9924: checking if struct mtget contains mt_gstat" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_gstat'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_gstat = 0; +; return 0; } +EOF +if { eval echo configure:9937: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_gstat=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_gstat=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_gstat" 1>&6 +if test $ac_cv_struct_mtget_gstat = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_GSTAT 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_erreg""... $ac_c" 1>&6 +echo "configure:9957: checking if struct mtget contains mt_erreg" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_erreg'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_erreg = 0; +; return 0; } +EOF +if { eval echo configure:9970: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_erreg=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_erreg=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_erreg" 1>&6 +if test $ac_cv_struct_mtget_erreg = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_ERREG 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_resid""... $ac_c" 1>&6 +echo "configure:9990: checking if struct mtget contains mt_resid" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_resid'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_resid = 0; +; return 0; } +EOF +if { eval echo configure:10003: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_resid=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_resid=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_resid" 1>&6 +if test $ac_cv_struct_mtget_resid = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_RESID 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_fileno""... $ac_c" 1>&6 +echo "configure:10023: checking if struct mtget contains mt_fileno" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_fileno'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_fileno = 0; +; return 0; } +EOF +if { eval echo configure:10036: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_fileno=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_fileno=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_fileno" 1>&6 +if test $ac_cv_struct_mtget_fileno = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_FILENO 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_blkno""... $ac_c" 1>&6 +echo "configure:10056: checking if struct mtget contains mt_blkno" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_blkno'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_blkno = 0; +; return 0; } +EOF +if { eval echo configure:10069: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_blkno=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_blkno=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_blkno" 1>&6 +if test $ac_cv_struct_mtget_blkno = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_BLKNO 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_flags""... $ac_c" 1>&6 +echo "configure:10089: checking if struct mtget contains mt_flags" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_flags'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_flags = 0; +; return 0; } +EOF +if { eval echo configure:10102: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_flags=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_flags=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_flags" 1>&6 +if test $ac_cv_struct_mtget_flags = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_FLAGS 1 +EOF + +fi +echo $ac_n "checking if struct mtget contains mt_bf""... $ac_c" 1>&6 +echo "configure:10122: checking if struct mtget contains mt_bf" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_mtget_bf'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct mtget t; t.mt_bf = 0; +; return 0; } +EOF +if { eval echo configure:10135: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_mtget_bf=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_mtget_bf=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_mtget_bf" 1>&6 +if test $ac_cv_struct_mtget_bf = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MTGET_BF 1 +EOF + +fi +echo $ac_n "checking if struct rusage is declared in sys/resource.h""... $ac_c" 1>&6 +echo "configure:10155: checking if struct rusage is declared in sys/resource.h" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_rusage'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct rusage r; +; return 0; } +EOF +if { eval echo configure:10168: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_rusage=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_rusage=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_rusage" 1>&6 +if test $ac_cv_struct_rusage = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_STRUCT_RUSAGE 1 +EOF + +fi +echo $ac_n "checking if struct siginfo contains si_utime""... $ac_c" 1>&6 +echo "configure:10188: checking if struct siginfo contains si_utime" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_si_utime'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct siginfo si; si.si_utime = 0; +; return 0; } +EOF +if { eval echo configure:10201: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_si_utime=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_si_utime=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_si_utime" 1>&6 +if test $ac_cv_struct_si_utime = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SI_UTIME 1 +EOF + +fi +echo $ac_n "checking if struct sockaddr_storage is declared in socket.h""... $ac_c" 1>&6 +echo "configure:10221: checking if struct sockaddr_storage is declared in socket.h" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_sockaddr_storage'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +struct sockaddr_storage ss; ss.ss_family = 0; exit (ss.ss_family == 0); +; return 0; } +EOF +if { eval echo configure:10233: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_sockaddr_storage=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_sockaddr_storage=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_sockaddr_storage" 1>&6 +if test $ac_cv_struct_sockaddr_storage = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SOCKADDR_STORAGE 1 +EOF + +fi +echo $ac_n "checking if an illegal declaration for union semun in sys/sem.h exists""... $ac_c" 1>&6 +echo "configure:10253: checking if an illegal declaration for union semun in sys/sem.h exists" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_union_semun'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#include +int main() { +union semun s; +; return 0; } +EOF +if { eval echo configure:10267: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_union_semun=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_union_semun=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_union_semun" 1>&6 +if test $ac_cv_struct_union_semun = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_UNION_SEMUN 1 +EOF + +fi +echo $ac_n "checking if union wait is declared in wait.h or sys/wait.h""... $ac_c" 1>&6 +echo "configure:10287: checking if union wait is declared in wait.h or sys/wait.h" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_union_wait'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if defined(HAVE_WAIT_H) +# include +#else +#include +#endif +int main() { +union wait w; +; return 0; } +EOF +if { eval echo configure:10304: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_union_wait=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_union_wait=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_union_wait" 1>&6 +if test $ac_cv_struct_union_wait = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_UNION_WAIT 1 +EOF + +fi +echo $ac_n "checking if union wait is used by default""... $ac_c" 1>&6 +echo "configure:10324: checking if union wait is used by default" >&5 +if eval "test \"`echo '$''{'ac_cv_use_union_wait'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#if defined(HAVE_WAIT_H) +# include +#else +#include +#endif +xxzzy WTERMSIG(status) +xxzzy WCOREDUMP(status) +xxzzy WEXITSTATUS(status) +xxzzy WSTOPSIG(status) +xxzzy WIFSTOPPED(status) +xxzzy WIFSIGNALED(status) +xxzzy WIFEXITED(status) +EOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + egrep "xxzzy.*x_|xxzzy.*union" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_use_union_wait=yes +else + rm -rf conftest* + ac_cv_use_union_wait=no +fi +rm -f conftest* + +fi +eval echo "$ac_t""$ac_cv_use_union_wait" 1>&6 +if test $ac_cv_use_union_wait = yes; then + cat >> confdefs.h <<\EOF +#define USE_UNION_WAIT 1 +EOF + +fi +echo $ac_n "checking if struct stat contains st_spare1""... $ac_c" 1>&6 +echo "configure:10364: checking if struct stat contains st_spare1" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_spare1'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_spare1 = 0; +; return 0; } +EOF +if { eval echo configure:10377: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_spare1=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_spare1=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_spare1" 1>&6 +if test $ac_cv_struct_st_spare1 = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_SPARE1 1 +EOF + +fi +echo $ac_n "checking if struct stat contains st_atimensec""... $ac_c" 1>&6 +echo "configure:10397: checking if struct stat contains st_atimensec" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_atimensec'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_atimensec = 0; +; return 0; } +EOF +if { eval echo configure:10410: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_atimensec=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_atimensec=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_atimensec" 1>&6 +if test $ac_cv_struct_st_atimensec = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_ATIMENSEC 1 +EOF + +fi +echo $ac_n "checking if struct stat contains st_atime_n""... $ac_c" 1>&6 +echo "configure:10430: checking if struct stat contains st_atime_n" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_atime_n'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_atime_n = 0; +; return 0; } +EOF +if { eval echo configure:10443: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_atime_n=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_atime_n=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_atime_n" 1>&6 +if test $ac_cv_struct_st_atime_n = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_ATIME_N 1 +EOF + +fi +echo $ac_n "checking if struct stat contains st_atim.tv_nsec""... $ac_c" 1>&6 +echo "configure:10463: checking if struct stat contains st_atim.tv_nsec" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_nsec'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_atim.tv_nsec = 0; +; return 0; } +EOF +if { eval echo configure:10476: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_nsec=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_nsec=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_nsec" 1>&6 +if test $ac_cv_struct_st_nsec = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_NSEC 1 +EOF + +fi +echo $ac_n "checking if struct stat contains st_atim.st__tim.tv_nsec""... $ac_c" 1>&6 +echo "configure:10496: checking if struct stat contains st_atim.st__tim.tv_nsec" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st__tim'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_atim.st__tim.tv_nsec = 0; +; return 0; } +EOF +if { eval echo configure:10509: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st__tim=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st__tim=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st__tim" 1>&6 +if test $ac_cv_struct_st__tim = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST__TIM 1 +EOF + +fi +echo $ac_n "checking if struct stat contains st_atimespec.tv_nsec""... $ac_c" 1>&6 +echo "configure:10529: checking if struct stat contains st_atimespec.tv_nsec" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_atimespec'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_atimespec.tv_nsec = 0; +; return 0; } +EOF +if { eval echo configure:10542: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_atimespec=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_atimespec=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_atimespec" 1>&6 +if test $ac_cv_struct_st_atimespec = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_ATIMESPEC 1 +EOF + +fi +echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 +echo "configure:10562: checking for st_blksize in struct stat" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_blksize; +; return 0; } +EOF +if { eval echo configure:10575: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_blksize=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_blksize=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6 +if test $ac_cv_struct_st_blksize = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_BLKSIZE 1 +EOF + +fi + +echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6 +echo "configure:10596: checking for st_blocks in struct stat" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_blocks; +; return 0; } +EOF +if { eval echo configure:10609: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_blocks=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_blocks=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6 +if test $ac_cv_struct_st_blocks = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_BLOCKS 1 +EOF + +else + LIBOBJS="$LIBOBJS fileblocks.${ac_objext}" +fi + +echo $ac_n "checking if struct stat contains st_fstype""... $ac_c" 1>&6 +echo "configure:10632: checking if struct stat contains st_fstype" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_fstype'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_fstype[0] = 0; +; return 0; } +EOF +if { eval echo configure:10645: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_fstype=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_fstype=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_fstype" 1>&6 +if test $ac_cv_struct_st_fstype = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_FSTYPE 1 +EOF + +fi +echo $ac_n "checking if struct stat contains st_aclcnt""... $ac_c" 1>&6 +echo "configure:10665: checking if struct stat contains st_aclcnt" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_aclcnt'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_aclcnt = 0; +; return 0; } +EOF +if { eval echo configure:10678: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_aclcnt=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_aclcnt=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_aclcnt" 1>&6 +if test $ac_cv_struct_st_aclcnt = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_ACLCNT 1 +EOF + +fi +echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 +echo "configure:10698: checking for st_rdev in struct stat" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_rdev; +; return 0; } +EOF +if { eval echo configure:10711: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_rdev=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_rdev=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6 +if test $ac_cv_struct_st_rdev = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_RDEV 1 +EOF + +fi + +echo $ac_n "checking if struct stat contains st_flag""... $ac_c" 1>&6 +echo "configure:10732: checking if struct stat contains st_flag" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_flag'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_flag = 0; +; return 0; } +EOF +if { eval echo configure:10745: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_flag=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_flag=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_flag" 1>&6 +if test $ac_cv_struct_st_flag = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_FLAG 1 +EOF + +fi +echo $ac_n "checking if struct stat contains st_flags""... $ac_c" 1>&6 +echo "configure:10765: checking if struct stat contains st_flags" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_st_flags'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct stat s; s.st_flags = 0; +; return 0; } +EOF +if { eval echo configure:10778: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_st_flags=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_st_flags=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_st_flags" 1>&6 +if test $ac_cv_struct_st_flags = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ST_FLAGS 1 +EOF + +fi +echo $ac_n "checking if struct dirent contains d_ino""... $ac_c" 1>&6 +echo "configure:10798: checking if struct dirent contains d_ino" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_dirent_d_ino'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +# ifdef HAVE_DIRENT_H /* This a POSIX compliant system */ +# include +# define _FOUND_DIR_ +# else /* This is a Pre POSIX system */ + +# define dirent direct + +# if defined(HAVE_SYS_DIR_H) +# include +# define _FOUND_DIR_ +# endif + +# if defined(HAVE_NDIR_H) && !defined(_FOUND_DIR_) +# include +# define _FOUND_DIR_ +# endif + +# if defined(HAVE_SYS_NDIR_H) && !defined(_FOUND_DIR_) +# include +# define _FOUND_DIR_ +# endif +# endif /* HAVE_DIRENT_H */ + +int main() { +struct dirent d; d.d_ino = 0; +; return 0; } +EOF +if { eval echo configure:10842: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_dirent_d_ino=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_dirent_d_ino=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_dirent_d_ino" 1>&6 +if test $ac_cv_struct_dirent_d_ino = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_DIRENT_D_INO 1 +EOF + +fi +echo $ac_n "checking if struct dirent contains d_type""... $ac_c" 1>&6 +echo "configure:10862: checking if struct dirent contains d_type" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_dirent_d_type'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +# ifdef HAVE_DIRENT_H /* This a POSIX compliant system */ +# include +# define _FOUND_DIR_ +# else /* This is a Pre POSIX system */ + +# define dirent direct + +# if defined(HAVE_SYS_DIR_H) +# include +# define _FOUND_DIR_ +# endif + +# if defined(HAVE_NDIR_H) && !defined(_FOUND_DIR_) +# include +# define _FOUND_DIR_ +# endif + +# if defined(HAVE_SYS_NDIR_H) && !defined(_FOUND_DIR_) +# include +# define _FOUND_DIR_ +# endif +# endif /* HAVE_DIRENT_H */ + +int main() { +struct dirent d; d.d_type = 0; +; return 0; } +EOF +if { eval echo configure:10906: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_dirent_d_type=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_dirent_d_type=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_dirent_d_type" 1>&6 +if test $ac_cv_struct_dirent_d_type = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_DIRENT_D_TYPE 1 +EOF + +fi +echo $ac_n "checking if DIR * contains dd_fd""... $ac_c" 1>&6 +echo "configure:10926: checking if DIR * contains dd_fd" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_dir_dd_fd'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +DIR d; d.dd_fd = 0; exit (d.dd_fd == 0); +; return 0; } +EOF +if { eval echo configure:10938: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_dir_dd_fd=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_dir_dd_fd=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_dir_dd_fd" 1>&6 +if test $ac_cv_struct_dir_dd_fd = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_DIR_DD_FD 1 +EOF + +fi +echo $ac_n "checking if struct utsname contains arch""... $ac_c" 1>&6 +echo "configure:10958: checking if struct utsname contains arch" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_utsname_arch'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +struct utsname u; u.arch[0] = 0; +; return 0; } +EOF +if { eval echo configure:10970: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_utsname_arch=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_utsname_arch=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_utsname_arch" 1>&6 +if test $ac_cv_struct_utsname_arch = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_UTSNAME_ARCH 1 +EOF + +fi +echo $ac_n "checking if struct utsname contains processor""... $ac_c" 1>&6 +echo "configure:10990: checking if struct utsname contains processor" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_utsname_processor'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +struct utsname u; u.processor[0] = 0; +; return 0; } +EOF +if { eval echo configure:11002: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_utsname_processor=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_utsname_processor=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_utsname_processor" 1>&6 +if test $ac_cv_struct_utsname_processor = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_UTSNAME_PROCESSOR 1 +EOF + +fi +echo $ac_n "checking if struct utsname contains sysname_host""... $ac_c" 1>&6 +echo "configure:11022: checking if struct utsname contains sysname_host" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_utsname_sysname_host'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +struct utsname u; u.sysname_host[0] = 0; +; return 0; } +EOF +if { eval echo configure:11034: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_utsname_sysname_host=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_utsname_sysname_host=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_utsname_sysname_host" 1>&6 +if test $ac_cv_struct_utsname_sysname_host = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_UTSNAME_SYSNAME_HOST 1 +EOF + +fi +echo $ac_n "checking if struct utsname contains release_host""... $ac_c" 1>&6 +echo "configure:11054: checking if struct utsname contains release_host" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_utsname_release_host'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +struct utsname u; u.release_host[0] = 0; +; return 0; } +EOF +if { eval echo configure:11066: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_utsname_release_host=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_utsname_release_host=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_utsname_release_host" 1>&6 +if test $ac_cv_struct_utsname_release_host = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_UTSNAME_RELEASE_HOST 1 +EOF + +fi +echo $ac_n "checking if struct utsname contains version_host""... $ac_c" 1>&6 +echo "configure:11086: checking if struct utsname contains version_host" >&5 +if eval "test \"`echo '$''{'ac_cv_struct_utsname_version_host'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +struct utsname u; u.version_host[0] = 0; +; return 0; } +EOF +if { eval echo configure:11098: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_struct_utsname_version_host=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_struct_utsname_version_host=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_struct_utsname_version_host" 1>&6 +if test $ac_cv_struct_utsname_version_host = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_UTSNAME_VERSION_HOST 1 +EOF + +fi + +echo $ac_n "checking whether iconv() uses const char **""... $ac_c" 1>&6 +echo "configure:11119: checking whether iconv() uses const char **" >&5 +if eval "test \"`echo '$''{'ac_cv_iconv_const'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.c < +EOF +if { ac_try='${CC-cc} -E conftest.c'; { eval echo configure:11126: \"$ac_try\" 1>&5; eval $ac_try 2>&5; }; } | grep 'size_t.*iconv.*iconv_t.*const' >/dev/null 2>&1; then + ac_cv_iconv_const=yes +else + ac_cv_iconv_const=no +fi +fi + +eval echo "$ac_t""$ac_cv_iconv_const" 1>&6 +if test $ac_cv_iconv_const = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ICONV_CONST 1 +EOF + +fi + +echo $ac_n "checking if stat is declared""... $ac_c" 1>&6 +echo "configure:11142: checking if stat is declared" >&5 +if eval "test \"`echo '$''{'ac_cv_have_decl_stat'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { + char *p = (char *) stat; exit (p != (char *)0 && *p != 0); +; return 0; } +EOF +if { eval echo configure:11156: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + eval ac_cv_have_decl_stat=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_decl_stat=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_have_decl_stat" 1>&6 + ac_tr_decl=HAVE_DECL_`echo stat | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if test $ac_cv_have_decl_stat = yes; then + cat >> confdefs.h <&6 +echo "configure:11177: checking if lstat is declared" >&5 +if eval "test \"`echo '$''{'ac_cv_have_decl_lstat'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { + char *p = (char *) lstat; exit (p != (char *)0 && *p != 0); +; return 0; } +EOF +if { eval echo configure:11191: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + eval ac_cv_have_decl_lstat=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_decl_lstat=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_have_decl_lstat" 1>&6 + ac_tr_decl=HAVE_DECL_`echo lstat | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if test $ac_cv_have_decl_lstat = yes; then + cat >> confdefs.h <&6 +echo "configure:11213: checking for wait3 that fills in rusage" >&5 +if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_wait3_rusage=no +else + cat > conftest.$ac_ext < +#include +#include +#include +/* HP-UX has wait3 but does not fill in rusage at all. */ +main() { + struct rusage r; + int i; + /* Use a field that we can force nonzero -- + voluntary context switches. + For systems like NeXT and OSF/1 that don't set it, + also use the system CPU time. And page faults (I/O) for Linux. */ + r.ru_nvcsw = 0; + r.ru_utime.tv_sec = 0; + r.ru_utime.tv_usec = 0; + r.ru_stime.tv_sec = 0; + r.ru_stime.tv_usec = 0; + r.ru_majflt = r.ru_minflt = 0; + switch (fork()) { + case 0: /* Child. */ + sleep(1); /* Give up the CPU. */ + for (i=200000; --i > 0;) getpid(); /* Use up some CPU time */ + _exit(0); + case -1: _exit(0); /* What can we do? */ + default: /* Parent. */ + wait3(&i, 0, &r); + sleep(2); /* Avoid "text file busy" from rm on fast HP-UX machines. */ + exit(r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0 + && r.ru_utime.tv_sec == 0 && r.ru_utime.tv_usec == 0 + && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0); + } +} +EOF +if { eval echo configure:11256: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_wait3_rusage=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_wait3_rusage=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_wait3_rusage" 1>&6 +if test $ac_cv_func_wait3_rusage = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_WAIT3 1 +EOF + +fi + +echo $ac_n "checking for mlock""... $ac_c" 1>&6 +echo "configure:11279: checking for mlock" >&5 +if eval "test \"`echo '$''{'ac_cv_func_mlock'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#include +#ifndef HAVE_ERRNO_DEF +extern int errno; +#endif + +main() +{ + if (mlock(0, 0) < 0) { + if (errno == EINVAL || errno == ENOMEM || + errno == EPERM || errno == EACCES) + exit(0); + exit(-1); + } + exit(0); +} +EOF +if { eval echo configure:11307: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_mlock=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_mlock=no +fi +rm -fr conftest* +fi + +rm -f core core.* *.core +fi + +eval echo "$ac_t""$ac_cv_func_mlock" 1>&6 +if test $ac_cv_func_mlock = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MLOCK 1 +EOF + +fi +echo $ac_n "checking for mlockall""... $ac_c" 1>&6 +echo "configure:11330: checking for mlockall" >&5 +if eval "test \"`echo '$''{'ac_cv_func_mlockall'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#include +#include +#ifndef HAVE_ERRNO_DEF +extern int errno; +#endif + +int +main() +{ + if (mlockall(MCL_CURRENT|MCL_FUTURE) < 0) { + if (errno == EINVAL || errno == ENOMEM || + errno == EPERM || errno == EACCES) + exit(0); + exit(-1); + } + exit(0); +} + +EOF +if { eval echo configure:11361: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_mlockall=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_mlockall=no +fi +rm -fr conftest* +fi + +rm -f core core.* *.core +fi + +eval echo "$ac_t""$ac_cv_func_mlockall" 1>&6 +if test $ac_cv_func_mlockall = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MLOCKALL 1 +EOF + +fi +echo $ac_n "checking for va_copy""... $ac_c" 1>&6 +echo "configure:11384: checking for va_copy" >&5 +if eval "test \"`echo '$''{'ac_cv_func_va_copy'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#else +# include +#endif +int main() { + +va_list a, b; + +va_copy(a, b); +; return 0; } +EOF +if { eval echo configure:11404: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_va_copy=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_va_copy=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_va_copy" 1>&6 +if test $ac_cv_func_va_copy = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_VA_COPY 1 +EOF + +fi +echo $ac_n "checking for __va_copy""... $ac_c" 1>&6 +echo "configure:11424: checking for __va_copy" >&5 +if eval "test \"`echo '$''{'ac_cv_func__va_copy'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#else +# include +#endif +int main() { + +va_list a, b; + +__va_copy(a, b); +; return 0; } +EOF +if { eval echo configure:11444: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func__va_copy=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func__va_copy=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func__va_copy" 1>&6 +if test $ac_cv_func__va_copy = yes; then + cat >> confdefs.h <<\EOF +#define HAVE__VA_COPY 1 +EOF + +fi +echo $ac_n "checking for working ecvt() ""... $ac_c" 1>&6 +echo "configure:11464: checking for working ecvt() " >&5 +if eval "test \"`echo '$''{'ac_cv_func_ecvt'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_ecvt=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_ecvt=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_ecvt" 1>&6 +if test $ac_cv_func_ecvt = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ECVT 1 +EOF + +fi +echo $ac_n "checking for working fcvt() ""... $ac_c" 1>&6 +echo "configure:11514: checking for working fcvt() " >&5 +if eval "test \"`echo '$''{'ac_cv_func_fcvt'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_fcvt=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_fcvt=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_fcvt" 1>&6 +if test $ac_cv_func_fcvt = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_FCVT 1 +EOF + +fi +echo $ac_n "checking for working gcvt() ""... $ac_c" 1>&6 +echo "configure:11564: checking for working gcvt() " >&5 +if eval "test \"`echo '$''{'ac_cv_func_gcvt'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_gcvt=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_gcvt=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_gcvt" 1>&6 +if test $ac_cv_func_gcvt = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_GCVT 1 +EOF + +fi +echo $ac_n "checking for __dtoa""... $ac_c" 1>&6 +echo "configure:11614: checking for __dtoa" >&5 +if eval "test \"`echo '$''{'ac_cv_func_dtoa'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_dtoa=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_dtoa=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_dtoa" 1>&6 +if test $ac_cv_func_dtoa = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_DTOA 1 +EOF + +fi +echo $ac_n "checking for __dtoa that needs result ptr""... $ac_c" 1>&6 +echo "configure:11647: checking for __dtoa that needs result ptr" >&5 +if eval "test \"`echo '$''{'ac_cv_func_dtoa_r'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_dtoa_r=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_dtoa_r=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_dtoa_r" 1>&6 +if test $ac_cv_func_dtoa_r = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_DTOA_R 1 +EOF + +fi +echo $ac_n "checking if getpagesize is defined or function""... $ac_c" 1>&6 +echo "configure:11698: checking if getpagesize is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_getpagesize"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif + +int main() { + +#ifndef getpagesize + char *p = (char *) getpagesize; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:11718: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_getpagesize=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_getpagesize=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_getpagesize"" 1>&6 + ac_tr_dfunc=HAVE_`echo getpagesize | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'getpagesize`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:11743: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:11753: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done +echo $ac_n "checking for mmap that needs ptr to size""... $ac_c" 1>&6 +echo "configure:11779: checking for mmap that needs ptr to size" >&5 +if eval "test \"`echo '$''{'ac_cv_func_mmap_sizep'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_mmap_sizep=no +else + cat > conftest.$ac_ext < +#include +#include +#include +#include + +#ifndef MAP_FILE +#define MAP_FILE 0 /* Needed on Apollo Domain/OS */ +#endif + +/* This mess was copied from the GNU getpagesize.h. */ +#ifndef HAVE_GETPAGESIZE +# ifdef HAVE_UNISTD_H +# include +# endif + +/* Assume that all systems that can run configure have sys/param.h. */ +# ifndef HAVE_SYS_PARAM_H +# define HAVE_SYS_PARAM_H 1 +# endif + +# ifdef _SC_PAGESIZE +# define getpagesize() sysconf(_SC_PAGESIZE) +# else /* no _SC_PAGESIZE */ +# ifdef HAVE_SYS_PARAM_H +# include +# ifdef EXEC_PAGESIZE +# define getpagesize() EXEC_PAGESIZE +# else /* no EXEC_PAGESIZE */ +# ifdef NBPG +# define getpagesize() NBPG * CLSIZE +# ifndef CLSIZE +# define CLSIZE 1 +# endif /* no CLSIZE */ +# else /* no NBPG */ +# ifdef NBPC +# define getpagesize() NBPC +# else /* no NBPC */ +# ifdef PAGESIZE +# define getpagesize() PAGESIZE +# endif /* PAGESIZE */ +# endif /* no NBPC */ +# endif /* no NBPG */ +# endif /* no EXEC_PAGESIZE */ +# else /* no HAVE_SYS_PARAM_H */ +# define getpagesize() 8192 /* punt totally */ +# endif /* no HAVE_SYS_PARAM_H */ +# endif /* no _SC_PAGESIZE */ + +#endif /* no HAVE_GETPAGESIZE */ + +#ifdef __cplusplus +extern "C" { void *malloc(unsigned); } +#else +char *malloc(); +#endif + +jmp_buf jenv; + +int +intr() +{ + signal(SIGSEGV, intr); + longjmp(jenv, 1); +} + +int +main() +{ + char *data, *data2; + int i, pagesize, ps; + int fd; + + pagesize = getpagesize(); + + /* + * First, make a file with some known garbage in it. + */ + data = malloc(pagesize); + if (!data) + exit(1); + for (i = 0; i < pagesize; ++i) + *(data + i) = rand(); + umask(0); + fd = creat("conftestmmap", 0600); + if (fd < 0) + exit(1); + if (write(fd, data, pagesize) != pagesize) + exit(1); + close(fd); + + /* + * Next, try to mmap the file at a fixed address which + * already has something else allocated at it. If we can, + * also make sure that we see the same garbage. + */ + fd = open("conftestmmap", O_RDWR); + if (fd < 0) + exit(1); + + /* + * Keep a copy, Apollo modifies the value... + */ + ps = pagesize; + + /* + * Apollo mmap() is not a syscall but a library function and fails + * if it tries to dereference 'ps'. We must use setjmp in order to + * catch the failure. + */ + signal(SIGSEGV, intr); + if (setjmp(jenv) == 0) { + data2 = mmap(0, ps, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0L); + } else { + data2 = (char *)-1; + } + if (data2 != (char *)-1) + exit(1); + + signal(SIGSEGV, intr); + if (setjmp(jenv) == 0) { + data2 = mmap(0, &ps, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0L); + } else { + data2 = (char *)-1; + } + if (data2 == (char *)-1) + exit(1); + + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data2 + i)) + exit(1); + + close(fd); + unlink("conftestmmap"); + exit(0); +} + +EOF +if { eval echo configure:11928: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_mmap_sizep=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_mmap_sizep=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_mmap_sizep" 1>&6 +if test $ac_cv_func_mmap_sizep = yes; then + cat >> confdefs.h <<\EOF +#define _MMAP_WITH_SIZEP 1 +EOF + +fi + +for ac_hdr in unistd.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:11954: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:11964: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done +echo $ac_n "checking for working mmap""... $ac_c" 1>&6 +echo "configure:11990: checking for working mmap" >&5 +if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_mmap_fixed_mapped=no +else + cat > conftest.$ac_ext < +#include +#include + +/* + * Needed for Apollo Domain/OS and may be for others? + */ +#ifdef _MMAP_WITH_SIZEP +# define mmap_sizeparm(s) (&(s)) +#else +# define mmap_sizeparm(s) (s) +#endif + +/* This mess was copied from the GNU getpagesize.h. */ +#ifndef HAVE_GETPAGESIZE +# ifdef HAVE_UNISTD_H +# include +# endif + +/* Assume that all systems that can run configure have sys/param.h. */ +# ifndef HAVE_SYS_PARAM_H +# define HAVE_SYS_PARAM_H 1 +# endif + +# ifdef _SC_PAGESIZE +# define getpagesize() sysconf(_SC_PAGESIZE) +# else /* no _SC_PAGESIZE */ +# ifdef HAVE_SYS_PARAM_H +# include +# ifdef EXEC_PAGESIZE +# define getpagesize() EXEC_PAGESIZE +# else /* no EXEC_PAGESIZE */ +# ifdef NBPG +# define getpagesize() NBPG * CLSIZE +# ifndef CLSIZE +# define CLSIZE 1 +# endif /* no CLSIZE */ +# else /* no NBPG */ +# ifdef NBPC +# define getpagesize() NBPC +# else /* no NBPC */ +# ifdef PAGESIZE +# define getpagesize() PAGESIZE +# endif /* PAGESIZE */ +# endif /* no NBPC */ +# endif /* no NBPG */ +# endif /* no EXEC_PAGESIZE */ +# else /* no HAVE_SYS_PARAM_H */ +# define getpagesize() 8192 /* punt totally */ +# endif /* no HAVE_SYS_PARAM_H */ +# endif /* no _SC_PAGESIZE */ + +#endif /* no HAVE_GETPAGESIZE */ + +#ifdef __cplusplus +extern "C" { void *malloc(unsigned); } +#else +char *malloc(); +#endif + +int +main() +{ + char *data, *data2, *data3; + int i, pagesize; + int fd; + + pagesize = getpagesize(); + + /* + * First, make a file with some known garbage in it. + */ + data = malloc(pagesize); + if (!data) + exit(1); + for (i = 0; i < pagesize; ++i) + *(data + i) = rand(); + umask(0); + fd = creat("conftestmmap", 0600); + if (fd < 0) + exit(1); + if (write(fd, data, pagesize) != pagesize) + exit(1); + close(fd); + + /* + * Next, try to mmap the file at a fixed address which + * already has something else allocated at it. If we can, + * also make sure that we see the same garbage. + */ + fd = open("conftestmmap", O_RDWR); + if (fd < 0) + exit(1); + data2 = malloc(2 * pagesize); + if (!data2) + exit(1); + data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); + if (data2 != mmap(data2, mmap_sizeparm(pagesize), PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_FIXED, fd, 0L)) + exit(1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data2 + i)) + exit(1); + + /* + * Finally, make sure that changes to the mapped area + * do not percolate back to the file as seen by read(). + * (This is a bug on some variants of i386 svr4.0.) + */ + for (i = 0; i < pagesize; ++i) + *(data2 + i) = *(data2 + i) + 1; + data3 = malloc(pagesize); + if (!data3) + exit(1); + if (read(fd, data3, pagesize) != pagesize) + exit(1); + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data3 + i)) + exit(1); + close(fd); + unlink("conftestmmap"); + exit(0); +} + +EOF +if { eval echo configure:12147: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_mmap_fixed_mapped=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_mmap_fixed_mapped=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 +if test $ac_cv_func_mmap_fixed_mapped = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_MMAP 1 +EOF + +fi + +for ac_hdr in unistd.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:12173: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:12183: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done +echo $ac_n "checking for mmap that needs ptr to size""... $ac_c" 1>&6 +echo "configure:12209: checking for mmap that needs ptr to size" >&5 +if eval "test \"`echo '$''{'ac_cv_func_mmap_sizep'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_mmap_sizep=no +else + cat > conftest.$ac_ext < +#include +#include +#include +#include + +#ifndef MAP_FILE +#define MAP_FILE 0 /* Needed on Apollo Domain/OS */ +#endif + +/* This mess was copied from the GNU getpagesize.h. */ +#ifndef HAVE_GETPAGESIZE +# ifdef HAVE_UNISTD_H +# include +# endif + +/* Assume that all systems that can run configure have sys/param.h. */ +# ifndef HAVE_SYS_PARAM_H +# define HAVE_SYS_PARAM_H 1 +# endif + +# ifdef _SC_PAGESIZE +# define getpagesize() sysconf(_SC_PAGESIZE) +# else /* no _SC_PAGESIZE */ +# ifdef HAVE_SYS_PARAM_H +# include +# ifdef EXEC_PAGESIZE +# define getpagesize() EXEC_PAGESIZE +# else /* no EXEC_PAGESIZE */ +# ifdef NBPG +# define getpagesize() NBPG * CLSIZE +# ifndef CLSIZE +# define CLSIZE 1 +# endif /* no CLSIZE */ +# else /* no NBPG */ +# ifdef NBPC +# define getpagesize() NBPC +# else /* no NBPC */ +# ifdef PAGESIZE +# define getpagesize() PAGESIZE +# endif /* PAGESIZE */ +# endif /* no NBPC */ +# endif /* no NBPG */ +# endif /* no EXEC_PAGESIZE */ +# else /* no HAVE_SYS_PARAM_H */ +# define getpagesize() 8192 /* punt totally */ +# endif /* no HAVE_SYS_PARAM_H */ +# endif /* no _SC_PAGESIZE */ + +#endif /* no HAVE_GETPAGESIZE */ + +#ifdef __cplusplus +extern "C" { void *malloc(unsigned); } +#else +char *malloc(); +#endif + +jmp_buf jenv; + +int +intr() +{ + signal(SIGSEGV, intr); + longjmp(jenv, 1); +} + +int +main() +{ + char *data, *data2; + int i, pagesize, ps; + int fd; + + pagesize = getpagesize(); + + /* + * First, make a file with some known garbage in it. + */ + data = malloc(pagesize); + if (!data) + exit(1); + for (i = 0; i < pagesize; ++i) + *(data + i) = rand(); + umask(0); + fd = creat("conftestmmap", 0600); + if (fd < 0) + exit(1); + if (write(fd, data, pagesize) != pagesize) + exit(1); + close(fd); + + /* + * Next, try to mmap the file at a fixed address which + * already has something else allocated at it. If we can, + * also make sure that we see the same garbage. + */ + fd = open("conftestmmap", O_RDWR); + if (fd < 0) + exit(1); + + /* + * Keep a copy, Apollo modifies the value... + */ + ps = pagesize; + + /* + * Apollo mmap() is not a syscall but a library function and fails + * if it tries to dereference 'ps'. We must use setjmp in order to + * catch the failure. + */ + signal(SIGSEGV, intr); + if (setjmp(jenv) == 0) { + data2 = mmap(0, ps, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0L); + } else { + data2 = (char *)-1; + } + if (data2 != (char *)-1) + exit(1); + + signal(SIGSEGV, intr); + if (setjmp(jenv) == 0) { + data2 = mmap(0, &ps, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0L); + } else { + data2 = (char *)-1; + } + if (data2 == (char *)-1) + exit(1); + + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data2 + i)) + exit(1); + + close(fd); + unlink("conftestmmap"); + exit(0); +} + +EOF +if { eval echo configure:12358: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_mmap_sizep=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_mmap_sizep=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_mmap_sizep" 1>&6 +if test $ac_cv_func_mmap_sizep = yes; then + cat >> confdefs.h <<\EOF +#define _MMAP_WITH_SIZEP 1 +EOF + +fi + +echo $ac_n "checking if mmap works to get shared memory""... $ac_c" 1>&6 +echo "configure:12381: checking if mmap works to get shared memory" >&5 +if eval "test \"`echo '$''{'ac_cv_func_smmap'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_smmap=no +else + cat > conftest.$ac_ext < +#include + +#ifndef MAP_ANONYMOUS +# ifdef MAP_ANON +# define MAP_ANONYMOUS MAP_ANON +# endif +#endif + +/* + * Needed for Apollo Domain/OS and may be for others? + */ +#ifdef _MMAP_WITH_SIZEP +# define mmap_sizeparm(s) (&(s)) +#else +# define mmap_sizeparm(s) (s) +#endif + +char * +mkshare() +{ + int size = 8192; + int f; + char *addr; + +#ifdef MAP_ANONYMOUS /* HP/UX */ + f = -1; + addr = mmap(0, mmap_sizeparm(size), PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, f, 0); +#else + if ((f = open("/dev/zero", 2)) < 0) + exit(1); + addr = mmap(0, mmap_sizeparm(size), PROT_READ|PROT_WRITE, MAP_SHARED, f, 0); +#endif + if (addr == (char *)-1) + exit(1); + close(f); + + return (addr); +} + +int +main() +{ + char *addr; + + addr = mkshare(); + *addr = 'I'; + + switch (fork()) { + + case -1: + printf("help\n"); exit(1); + + case 0: /* child */ + *addr = 'N'; + _exit(0); + break; + default: /* parent */ + wait(0); + sleep(1); + break; + } + + if (*addr != 'N') + exit(1); + exit(0); +} + +EOF +if { eval echo configure:12461: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_smmap=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_smmap=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_smmap" 1>&6 +if test $ac_cv_func_smmap = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SMMAP 1 +EOF + +fi +echo $ac_n "checking if shmget works to get shared memory""... $ac_c" 1>&6 +echo "configure:12483: checking if shmget works to get shared memory" >&5 +if eval "test \"`echo '$''{'ac_cv_func_shmget'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_shmget=no +else + cat > conftest.$ac_ext < +#include +#include +int +main() +{ + int id; + + id = shmget(IPC_PRIVATE, 0x1, IPC_CREAT|0600); + if (id == -1) + exit(1); + shmctl(id, IPC_RMID, 0); + exit(0); +} + +EOF +if { eval echo configure:12510: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_shmget=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_shmget=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_shmget" 1>&6 +if test $ac_cv_func_shmget = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SHMGET 1 +EOF + +fi +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works +# for constant arguments. Useless! +echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 +echo "configure:12534: checking for working alloca.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +char *p = alloca(2 * sizeof(int)); +; return 0; } +EOF +if { eval echo configure:12546: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_header_alloca_h=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_alloca_h=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 +if test $ac_cv_header_alloca_h = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ALLOCA_H 1 +EOF + +fi + +echo $ac_n "checking for alloca""... $ac_c" 1>&6 +echo "configure:12567: checking for alloca" >&5 +if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +# define alloca _alloca +# else +# if HAVE_ALLOCA_H +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ +char *alloca (); +# endif +# endif +# endif +# endif +#endif + +int main() { +char *p = (char *) alloca(1); +; return 0; } +EOF +if { eval echo configure:12600: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_alloca_works=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_alloca_works=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 +if test $ac_cv_func_alloca_works = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ALLOCA 1 +EOF + +fi + +if test $ac_cv_func_alloca_works = no; then + # The SVR3 libPW and SVR4 libucb both contain incompatible functions + # that cause trouble. Some versions do not even contain alloca or + # contain a buggy version. If you still want to use their alloca, + # use ar to extract alloca.o from them instead of compiling alloca.c. + ALLOCA=alloca.${ac_objext} + cat >> confdefs.h <<\EOF +#define C_ALLOCA 1 +EOF + + +echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 +echo "configure:12632: checking whether alloca needs Cray hooks" >&5 +if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5 | + egrep "webecray" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_os_cray=yes +else + rm -rf conftest* + ac_cv_os_cray=no +fi +rm -f conftest* + +fi + +eval echo "$ac_t""$ac_cv_os_cray" 1>&6 +if test $ac_cv_os_cray = yes; then +for ac_func in _getb67 GETB67 getb67; do + echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:12662: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:12690: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + cat >> confdefs.h <&6 +fi + +done +fi + +echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 +echo "configure:12717: checking stack direction for C alloca" >&5 +if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + ac_cv_c_stack_direction=0 +else + cat > conftest.$ac_ext < addr) ? 1 : -1; +} +main () +{ + exit (find_stack_direction() < 0); +} +EOF +if { eval echo configure:12744: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_c_stack_direction=1 +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_c_stack_direction=-1 +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 +cat >> confdefs.h <&6 +echo "configure:12766: checking if quotactl is an ioctl" >&5 +if eval "test \"`echo '$''{'ac_cv_func_quotaioctl'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { +struct quotctl q; ioctl(0, Q_QUOTACTL, &q) +; return 0; } +EOF +if { eval echo configure:12779: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_quotaioctl=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_quotaioctl=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_quotaioctl" 1>&6 +if test $ac_cv_func_quotaioctl = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_QUOTAIOCTL 1 +EOF + +fi +echo $ac_n "checking for file locking via fcntl""... $ac_c" 1>&6 +echo "configure:12799: checking for file locking via fcntl" >&5 +if eval "test \"`echo '$''{'ac_cv_func_fcntl_lock'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { + +struct flock fl; +fcntl(0, F_SETLK, &fl); +; return 0; } +EOF +if { eval echo configure:12815: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_fcntl_lock=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_fcntl_lock=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_fcntl_lock" 1>&6 +if test $ac_cv_func_fcntl_lock = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_FCNTL_LOCKF 1 +EOF + +fi +echo $ac_n "checking for uname""... $ac_c" 1>&6 +echo "configure:12835: checking for uname" >&5 +if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +struct utsname un; +uname(&un); +; return 0; } +EOF +if { eval echo configure:12848: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_uname=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_uname=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_uname" 1>&6 +if test $ac_cv_func_uname = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_UNAME 1 +EOF + +fi +for ac_func in execl +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:12870: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:12898: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 +echo "configure:12924: checking for vfork.h" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:12934: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + cat >> confdefs.h <<\EOF +#define HAVE_VFORK_H 1 +EOF + +else + eval echo "$ac_t""no" 1>&6 +fi + +echo $ac_n "checking for working vfork""... $ac_c" 1>&6 +echo "configure:12959: checking for working vfork" >&5 +if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + echo $ac_n "checking for vfork""... $ac_c" 1>&6 +echo "configure:12965: checking for vfork" >&5 +if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char vfork(); + +int main() { + +/* 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_vfork) || defined (__stub___vfork) +choke me +#else +vfork(); +#endif + +; return 0; } +EOF +if { eval echo configure:12993: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_vfork=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_vfork=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'vfork`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + : +else + eval echo "$ac_t""no" 1>&6 +fi + +ac_cv_func_vfork_works=$ac_cv_func_vfork +else + cat > conftest.$ac_ext < +#include +#include +#ifdef HAVE_UNISTD_H +#include +#endif +#ifdef HAVE_VFORK_H +#include +#endif +#ifdef HAVE_STDLIB_H +#include +#endif +#if defined(HAVE_WAIT_H) +#include +#else +#include +#endif +/* On some sparc systems, changes by the child to local and incoming + argument registers are propagated back to the parent. + The compiler is told about this with #include , + but some compilers (e.g. gcc -O) don't grok . + Test for this by using a static variable whose address + is put into a register that is clobbered by the vfork. */ +#ifndef VMS +static int +#ifdef __cplusplus +sparc_address_test (int arg) +#else +sparc_address_test (arg) int arg; +#endif +{ + static pid_t child; + if (!child) { + child = vfork (); + if (child < 0) { + perror ("vfork"); + _exit(2); + } + if (!child) { + arg = getpid(); + write(-1, "", 0); + _exit (arg); + } + } + return (0); +} +#endif +int exc = 0; +int data = 0; + +int +main() { + pid_t parent = getpid (); + pid_t child; + +#ifndef VMS + sparc_address_test(0); +#endif + + child = vfork (); + + if (child == 0) { + /* Here is another test for sparc vfork register problems. + This test uses lots of local variables, at least + as many local variables as main has allocated so far + including compiler temporaries. 4 locals are enough for + gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. + A buggy compiler should reuse the register of parent + for one of the local variables, since it will think that + parent can't possibly be used any more in this routine. + Assigning to the local variable will thus munge parent + in the parent process. */ + pid_t + p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), + p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); + /* Convince the compiler that p..p7 are live; otherwise, it might + use the same hardware register for all 8 local variables. */ + if (p != p1 || p != p2 || p != p3 || p != p4 + || p != p5 || p != p6 || p != p7) + exc = 1; + + /* On some systems (e.g. IRIX 3.3), + vfork doesn't separate parent from child file descriptors. + If the child closes a descriptor before it execs or exits, + this munges the parent's descriptor as well. + Test for this by closing stdout in the child. */ + if (exc == 0) + exc = close(fileno(stdout)) != 0; + + /* + * Check whether a modification in the data segment of the child + * is forwarded to the data segment of the parent, vfork() on Haiku + * fails to do this. We cannot use vfork() in this case as vfork() + * children usually signal things to their parent by modifying the + * data segment. + */ + data = 1; + + /* + * VMS hangs if we do not call execl() + */ +#ifdef HAVE_EXECL + /* + * On VMS, things hang unless the child calls exec() + */ + if (exc == 0) + execl("/bin/true", "true", (char *)0); + else + execl("/bin/false", "false", (char *)0); +#endif + _exit(exc); + } else { + int status; + struct stat st; + + while (wait(&status) != child) + ; + exit( + /* Was there some problem with vforking? */ + child < 0 + + /* Did the child fail? (This shouldn't happen.) */ + || status + + /* Did the vfork/compiler bug occur? */ + || parent != getpid() + + || data == 0 + + /* Did the file descriptor bug occur? */ + || fstat(fileno(stdout), &st) != 0 + ); + } +} +EOF +if { eval echo configure:13153: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_vfork_works=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_vfork_works=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_vfork_works" 1>&6 +if test $ac_cv_func_vfork_works = no; then + cat >> confdefs.h <<\EOF +#define vfork fork +EOF + +else + cat >> confdefs.h <<\EOF +#define HAVE_VFORK 1 +EOF + +fi + +echo $ac_n "checking for sys_siglist""... $ac_c" 1>&6 +echo "configure:13181: checking for sys_siglist" >&5 +if eval "test \"`echo '$''{'ac_cv_func_sys_siglist'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_sys_siglist=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_sys_siglist=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_sys_siglist" 1>&6 +if test $ac_cv_func_sys_siglist = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SYS_SIGLIST 1 +EOF + +fi +echo $ac_n "checking for BSD compliant getpgrp""... $ac_c" 1>&6 +echo "configure:13221: checking for BSD compliant getpgrp" >&5 +if eval "test \"`echo '$''{'ac_cv_func_bsd_getpgrp'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_bsd_getpgrp=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_bsd_getpgrp=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_bsd_getpgrp" 1>&6 +if test $ac_cv_func_bsd_getpgrp = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_BSD_GETPGRP 1 +EOF + +fi +echo $ac_n "checking for BSD compliant setpgrp""... $ac_c" 1>&6 +echo "configure:13265: checking for BSD compliant setpgrp" >&5 +if eval "test \"`echo '$''{'ac_cv_func_bsd_setpgrp'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#ifndef HAVE_ERRNO_DEF +extern int errno; +#endif +int +main() +{ errno = 0; +/* + * Force illegal pid on BSD + */ +if (setpgrp(-1, 100) < 0 && errno == ESRCH) + exit(0); +exit(1);} +EOF +if { eval echo configure:13290: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_bsd_setpgrp=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_bsd_setpgrp=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_bsd_setpgrp" 1>&6 +if test $ac_cv_func_bsd_setpgrp = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_BSD_SETPGRP 1 +EOF + +fi +echo $ac_n "checking for C99 compliant isinf""... $ac_c" 1>&6 +echo "configure:13312: checking for C99 compliant isinf" >&5 +if eval "test \"`echo '$''{'ac_cv_func_c99_isinf'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + double d; +#ifndef isinf +The isinf macro is not defined +#endif +return (isinf(d)); + +; return 0; } +EOF +if { eval echo configure:13329: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_c99_isinf=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_c99_isinf=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_c99_isinf" 1>&6 +if test $ac_cv_func_c99_isinf = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_C99_ISINF 1 +EOF + +fi +echo $ac_n "checking for C99 compliant isnan""... $ac_c" 1>&6 +echo "configure:13349: checking for C99 compliant isnan" >&5 +if eval "test \"`echo '$''{'ac_cv_func_c99_isnan'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + double d; +#ifndef isnan +The isnan macro is not defined +#endif +return (isnan(d)); + +; return 0; } +EOF +if { eval echo configure:13366: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_c99_isnan=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_c99_isnan=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_c99_isnan" 1>&6 +if test $ac_cv_func_c99_isnan = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_C99_ISNAN 1 +EOF + +fi +echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 +echo "configure:13386: checking for sigsetjmp" >&5 +if eval "test \"`echo '$''{'ac_cv_func_sigsetjmp'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +sigjmp_buf jb; +sigsetjmp(jb, 1); +; return 0; } +EOF +if { eval echo configure:13401: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_sigsetjmp=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_sigsetjmp=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_sigsetjmp" 1>&6 +if test $ac_cv_func_sigsetjmp = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SIGSETJMP 1 +EOF + +fi +echo $ac_n "checking for siglongjmp""... $ac_c" 1>&6 +echo "configure:13421: checking for siglongjmp" >&5 +if eval "test \"`echo '$''{'ac_cv_func_siglongjmp'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +sigjmp_buf jb; +sigsetjmp(jb, 1); +siglongjmp(jb, 1); +; return 0; } +EOF +if { eval echo configure:13437: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_siglongjmp=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_siglongjmp=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_siglongjmp" 1>&6 +if test $ac_cv_func_siglongjmp = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SIGLONGJMP 1 +EOF + +fi +echo $ac_n "checking whether *printf() supports %jd""... $ac_c" 1>&6 +echo "configure:13457: checking whether *printf() supports %jd" >&5 +if eval "test \"`echo '$''{'ac_cv_func_printf_j'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +int +main() +{ intmax_t m = 123456789012LL; +char buf[32]; +sprintf(buf, "%jd", m); +if (strcmp(buf, "123456789012") == 0) + exit(0); +exit(1);} +EOF +if { eval echo configure:13478: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_printf_j=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_printf_j=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_printf_j" 1>&6 +if test $ac_cv_func_printf_j = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_PRINTF_J 1 +EOF + +fi +echo $ac_n "checking whether *printf() supports %zd""... $ac_c" 1>&6 +echo "configure:13500: checking whether *printf() supports %zd" >&5 +if eval "test \"`echo '$''{'ac_cv_func_printf_z'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +int +main() +{ size_t m = 1234567890; +char buf[32]; +sprintf(buf, "%zd", m); +if (strcmp(buf, "1234567890") == 0) + exit(0); +exit(1);} +EOF +if { eval echo configure:13521: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_printf_z=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_printf_z=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_printf_z" 1>&6 +if test $ac_cv_func_printf_z = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_PRINTF_Z 1 +EOF + +fi +echo $ac_n "checking whether *printf() supports %lld""... $ac_c" 1>&6 +echo "configure:13543: checking whether *printf() supports %lld" >&5 +if eval "test \"`echo '$''{'ac_cv_func_printf_ll'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_printf_ll=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_printf_ll=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_printf_ll" 1>&6 +if test $ac_cv_func_printf_ll = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_PRINTF_LL 1 +EOF + +fi +for ac_hdr in stdlib.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:13588: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:13598: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 +echo "configure:13625: checking return type of signal handlers" >&5 +if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#ifdef signal +#undef signal +#endif +#ifdef __cplusplus +extern "C" void (*signal (int, void (*)(int)))(int); +#else +void (*signal ()) (); +#endif + +int main() { +int i; +; return 0; } +EOF +if { eval echo configure:13647: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_type_signal=void +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_type_signal=int +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_type_signal" 1>&6 +cat >> confdefs.h <&6 +echo "configure:13666: checking if realloc() does implement realloc(NULL, size)" >&5 +if eval "test \"`echo '$''{'ac_cv_realloc_null'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#endif +#include + +RETSIGTYPE +sig(s) + int s; +{ + exit(1); +} +int +main() +{ + char *p; + + signal(SIGSEGV, sig); + p = realloc((char *)0, 10); + if (p == (char *)0) + exit(1); + exit(0); +} +EOF +if { eval echo configure:13700: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_realloc_null=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_realloc_null=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_realloc_null" 1>&6 +if test $ac_cv_realloc_null = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_REALLOC_NULL 1 +EOF + +fi +for ac_hdr in stdlib.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:13725: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:13735: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in unistd.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:13765: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:13775: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +for ac_hdr in wait.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:13805: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:13815: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 +echo "configure:13842: checking for sys/wait.h that is POSIX.1 compatible" >&5 +if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#ifndef WEXITSTATUS +#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) +#endif +#ifndef WIFEXITED +#define WIFEXITED(stat_val) (((stat_val) & 255) == 0) +#endif +int main() { +int s; +wait (&s); +s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; +; return 0; } +EOF +if { eval echo configure:13863: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_header_sys_wait_h=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_header_sys_wait_h=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6 +if test $ac_cv_header_sys_wait_h = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_SYS_WAIT_H 1 +EOF + +fi + +echo $ac_n "checking for halfway POSIX compliant waitid()""... $ac_c" 1>&6 +echo "configure:13884: checking for halfway POSIX compliant waitid()" >&5 +if eval "test \"`echo '$''{'ac_cv_func_waitid'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#endif +#ifdef HAVE_UNISTD_H +#include +#endif +#if defined(HAVE_WAIT_H) +# include +#else +#include +#endif +#include +/* + * Non-standard compliant platforms may need + * #include or something similar + * in addition to the include files above. + */ + +int +main() +{ + siginfo_t si; + pid_t pid; + int ret; + + if ((pid = fork()) < 0) + exit(1); + if (pid == 0) { + _exit(1234567890); + } + ret = waitid(P_PID, pid, &si, WEXITED); + if (ret < 0) + exit(1); + if (pid != si.si_pid) /* Mac OS X has si.si_pid == 0 */ + exit(2); + if (si.si_code != CLD_EXITED) /* Mac OS X has si.si_code == 0 */ + exit(3); + if ((si.si_status & 0xFFFF) != (1234567890 & 0xFFFF)) + exit(4); /* Should deliver more than 8 bits */ + /* Linux only delivers 8 bits */ + /* Mac OS X delivers 24 bits */ + + exit(0); +} +EOF +if { eval echo configure:13940: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_func_waitid=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_func_waitid=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_func_waitid" 1>&6 +if test $ac_cv_func_waitid = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_WAITID 1 +EOF + +fi +for ac_func in access eaccess euidaccess +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:13964: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:13992: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in memchr memcmp memcpy memccpy memmove memset +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14019: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14047: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in brk sbrk strerror nice flock lockf fchdir statvfs quotactl +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14074: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14102: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in realpath resolvepath +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14129: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14157: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in dup dup2 +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14184: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14212: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getcwd shmat semget +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14239: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14267: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in lstat readlink symlink link rename mkfifo mknod +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14294: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14322: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in setreuid setresuid seteuid setuid +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14349: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14377: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in setregid setresgid setegid setgid +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14404: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14432: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getuid geteuid getgid getegid +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14459: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14487: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getpid getppid +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14514: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14542: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getpgid setpgid getsid setsid +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14569: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14597: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getpgrp setpgrp +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14624: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14652: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getpwnam getpwent getpwuid setpwent endpwent +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14679: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14707: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getgrnam getgrent getgrgid setgrent endgrent +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14734: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14762: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getspnam getspwnam +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14789: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14817: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getlogin +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14844: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14872: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in sync fsync fork forkx vforkx forkall forkallx wait wait4 wait6 waitpid getrusage getrlimit setrlimit ulimit +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14899: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14927: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in execl execle execlp execv execve execvp +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:14954: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:14982: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in spawnl spawnle spawnlp spawnlpe +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15009: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15037: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in spawnv spawnve spawnvp spawnvpe +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15064: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15092: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in cwait +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15119: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15147: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getexecname +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15174: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15202: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getprogname setprogname +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15229: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15257: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in proc_pidpath +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15284: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15312: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getloadavg +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15339: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15367: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in gethostid gethostname getdomainname getdtablesize +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15394: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15422: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in gettimeofday settimeofday time stime gethrtime +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15449: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15477: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in ftime tzset mktime gmtime localtime timegm timelocal +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15504: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15532: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in ctime cftime ascftime strftime +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15559: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15587: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in poll select isastream +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15614: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15642: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in chown fchown lchown chmod fchmod lchmod times utime utimes futimes lutimes +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15669: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15697: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in utimens lutimens +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15724: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15752: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in futimens utimensat +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15779: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15807: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in ioctl fcntl +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15834: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15862: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in qecvt qfcvt qgcvt +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15889: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15917: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in _qecvt _qfcvt _qgcvt +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15944: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:15972: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in _qecvt_r _qfcvt_r _qgcvt_r +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:15999: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16027: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in _ldecvt _ldfcvt _ldgcvt +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16054: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16082: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in ecvt_r fcvt_r gcvt_r +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16109: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16137: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in _ldecvt_r _ldfcvt_r _ldgcvt_r +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16164: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16192: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in econvert fconvert gconvert +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16219: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16247: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in qeconvert qfconvert qgconvert +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16274: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16302: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in isinf isnan +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16329: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16357: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getc_unlocked getchar_unlocked putc_unlocked putchar_unlocked +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16384: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16412: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in flockfile funlockfile ftrylockfile +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16439: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16467: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in rand drand48 +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16494: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16522: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in strtol strtoll strtoul strtoull strtod +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16549: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16577: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in setpriority DosSetPriority +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16604: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16632: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in DosAllocSharedMem +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16659: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16687: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getdelim +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16714: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16742: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in seekdir fdopendir +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16769: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16797: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in openat fstatat fchownat futimesat renameat unlinkat +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16824: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16852: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in attropen +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16879: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16907: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in __accessat +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16934: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:16962: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in accessat +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:16989: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17017: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in mkdirat faccessat fchmodat linkat mkfifoat mknodat readlinkat symlinkat +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17044: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17072: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in pipe _pipe +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17099: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17127: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in popen pclose _popen _pclose +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17154: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17182: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in closefrom +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17209: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17237: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in strsignal str2sig sig2str +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17264: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17292: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in kill killpg +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17319: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17347: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in signal sighold sigrelse sigignore sigpause sigprocmask sigsetmask sigset sigaltstack sigblock +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17374: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17402: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in alarm sleep usleep yield +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17429: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17457: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in atexit on_exit +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17484: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17512: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +echo $ac_n "checking if tcgetattr is defined or function""... $ac_c" 1>&6 +echo "configure:17537: checking if tcgetattr is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_tcgetattr"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif + +int main() { + +#ifndef tcgetattr + char *p = (char *) tcgetattr; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:17557: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_tcgetattr=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_tcgetattr=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_tcgetattr"" 1>&6 + ac_tr_dfunc=HAVE_`echo tcgetattr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'tcgetattr`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:17579: checking if tcsetattr is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_tcsetattr"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif + +int main() { + +#ifndef tcsetattr + char *p = (char *) tcsetattr; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:17599: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_tcsetattr=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_tcsetattr=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_tcsetattr"" 1>&6 + ac_tr_dfunc=HAVE_`echo tcsetattr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'tcsetattr`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:17623: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17651: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getenv putenv setenv unsetenv +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17678: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17706: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in snprintf strcasecmp strncasecmp +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17733: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17761: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in vprintf vfprintf vsprintf vsnprintf +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17788: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17816: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + +for ac_func in strcat strncat strcmp strncmp strcpy strlcat strlcpy strncpy strdup strndup strlen strnlen strchr strrchr strstr strspn strcspn +do +echo $ac_n "checking if $ac_func is defined or function""... $ac_c" 1>&6 +echo "configure:17844: checking if $ac_func is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_$ac_func"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif + +int main() { + +#ifndef $ac_func + char *p = (char *) $ac_func; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:17864: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_$ac_func=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_$ac_func=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_$ac_func"" 1>&6 + ac_tr_dfunc=HAVE_`echo $ac_func | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'$ac_func`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:17889: checking if $ac_func is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_$ac_func"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif + +int main() { + +#ifndef $ac_func + char *p = (char *) $ac_func; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:17909: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_$ac_func=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_$ac_func=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_$ac_func"" 1>&6 + ac_tr_dfunc=HAVE_`echo $ac_func | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'$ac_func`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:17935: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:17963: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in basename dirname +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:17990: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18018: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in pathconf fpathconf lpathconf +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18045: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18073: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in malloc calloc valloc realloc memalign posix_memalign +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18100: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18128: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in madvise +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18155: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18183: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in mktemp mkstemp +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18210: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18238: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in chflags fchflags fflagstostr strtofflags +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18265: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18293: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in fnmatch +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18320: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18348: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in truncate ftruncate +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18375: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18403: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getppriv setppriv priv_set +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18430: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18458: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in issetugid +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18485: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18513: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getroles privbit_set +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18540: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18568: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in setlocale localeconv nl_langinfo +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18595: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18623: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in setbuf setvbuf +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18650: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18678: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in clone_area create_area delete_area +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:18705: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:18733: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + +echo Checking for POSIX violations by the POSIX.1-2008 standard: +for ac_func in fexecl fexecle fexecv fexecve +do +echo $ac_n "checking for raw availability of $ac_func""... $ac_c" 1>&6 +echo "configure:18762: checking for raw availability of $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_rfunc_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_rfunc_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_rfunc_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_rfunc_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_RAW_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in fspawnv fspawnl fspawnv_nowait +do +echo $ac_n "checking for raw availability of $ac_func""... $ac_c" 1>&6 +echo "configure:18807: checking for raw availability of $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_rfunc_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_rfunc_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_rfunc_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_rfunc_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_RAW_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + +for ac_func in getline fgetline +do +echo $ac_n "checking for raw availability of $ac_func""... $ac_c" 1>&6 +echo "configure:18853: checking for raw availability of $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_rfunc_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_rfunc_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_rfunc_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_rfunc_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_RAW_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +echo End of tests for POSIX violations by the POSIX.1-2008 standard. + +echo $ac_n "checking if dirfd is defined or function""... $ac_c" 1>&6 +echo "configure:18898: checking if dirfd is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_dirfd"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +#ifndef dirfd + char *p = (char *) dirfd; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:18914: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_dirfd=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_dirfd=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_dirfd"" 1>&6 + ac_tr_dfunc=HAVE_`echo dirfd | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'dirfd`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:18937: checking if iswprint is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_iswprint"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif + +int main() { + +#ifndef iswprint + char *p = (char *) iswprint; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:18960: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_iswprint=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_iswprint=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_iswprint"" 1>&6 + ac_tr_dfunc=HAVE_`echo iswprint | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'iswprint`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:18983: checking if iswblank is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_iswblank"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif + +int main() { + +#ifndef iswblank + char *p = (char *) iswblank; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:19006: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_iswblank=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_iswblank=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_iswblank"" 1>&6 + ac_tr_dfunc=HAVE_`echo iswblank | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'iswblank`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:19029: checking if isblank is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_isblank"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif + +int main() { + +#ifndef isblank + char *p = (char *) isblank; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:19049: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_isblank=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_isblank=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_isblank"" 1>&6 + ac_tr_dfunc=HAVE_`echo isblank | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'isblank`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:19072: checking if mbsinit is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_mbsinit"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif + +int main() { + +#ifndef mbsinit + char *p = (char *) mbsinit; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:19095: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_mbsinit=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_mbsinit=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_mbsinit"" 1>&6 + ac_tr_dfunc=HAVE_`echo mbsinit | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'mbsinit`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:19118: checking if mbtowc is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_mbtowc"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif + +int main() { + +#ifndef mbtowc + char *p = (char *) mbtowc; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:19138: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_mbtowc=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_mbtowc=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_mbtowc"" 1>&6 + ac_tr_dfunc=HAVE_`echo mbtowc | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'mbtowc`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:19161: checking if wctomb is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_wctomb"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif + +int main() { + +#ifndef wctomb + char *p = (char *) wctomb; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:19181: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_wctomb=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_wctomb=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_wctomb"" 1>&6 + ac_tr_dfunc=HAVE_`echo wctomb | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'wctomb`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:19204: checking if mbrtowc is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_mbrtowc"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif + +int main() { + +#ifndef mbrtowc + char *p = (char *) mbrtowc; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:19227: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_mbrtowc=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_mbrtowc=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_mbrtowc"" 1>&6 + ac_tr_dfunc=HAVE_`echo mbrtowc | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'mbrtowc`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:19250: checking if wcrtomb is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_wcrtomb"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif + +int main() { + +#ifndef wcrtomb + char *p = (char *) wcrtomb; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:19273: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_wcrtomb=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_wcrtomb=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_wcrtomb"" 1>&6 + ac_tr_dfunc=HAVE_`echo wcrtomb | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'wcrtomb`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:19296: checking if finite is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_finite"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +#ifndef finite + char *p = (char *) finite; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:19312: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_finite=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_finite=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_finite"" 1>&6 + ac_tr_dfunc=HAVE_`echo finite | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'finite`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:19334: checking if isnand is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_isnand"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +#ifndef isnand + char *p = (char *) isnand; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:19350: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_isnand=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_isnand=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_isnand"" 1>&6 + ac_tr_dfunc=HAVE_`echo isnand | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'isnand`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:19373: checking if we may not define our own malloc()" >&5 +if eval "test \"`echo '$''{'ac_cv_no_user_malloc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_no_user_malloc=no +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_no_user_malloc=yes +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_no_user_malloc" 1>&6 +if test $ac_cv_no_user_malloc = yes; then + cat >> confdefs.h <<\EOF +#define NO_USER_MALLOC 1 +EOF + +fi +echo $ac_n "checking for working extern long timezone ""... $ac_c" 1>&6 +echo "configure:19438: checking for working extern long timezone " >&5 +if eval "test \"`echo '$''{'ac_cv_var_timezone'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_var_timezone=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_var_timezone=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_var_timezone" 1>&6 +if test $ac_cv_var_timezone = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_VAR_TIMEZONE 1 +EOF + +fi +echo $ac_n "checking for extern timezone in time.h or sys/time.h""... $ac_c" 1>&6 +echo "configure:19479: checking for extern timezone in time.h or sys/time.h" >&5 +if eval "test \"`echo '$''{'ac_cv_var_timezone_def'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#ifdef TIME_WITH_SYS_TIME_H +# include +# include +#else +#ifdef HAVE_SYS_TIME_H +# include +#else +# include +#endif +#endif +int main() { +timezone = 1; +; return 0; } +EOF +if { eval echo configure:19502: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_var_timezone_def=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_var_timezone_def=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_var_timezone_def" 1>&6 +if test $ac_cv_var_timezone_def = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_VAR_TIMEZONE_DEF 1 +EOF + +fi +echo $ac_n "checking for working extern char *__progname ""... $ac_c" 1>&6 +echo "configure:19522: checking for working extern char *__progname " >&5 +if eval "test \"`echo '$''{'ac_cv_var___progname'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_var___progname=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_var___progname=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_var___progname" 1>&6 +if test $ac_cv_var___progname = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_VAR___PROGNAME 1 +EOF + +fi +echo $ac_n "checking for working extern char *__progname_full ""... $ac_c" 1>&6 +echo "configure:19563: checking for working extern char *__progname_full " >&5 +if eval "test \"`echo '$''{'ac_cv_var___progname_full'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_var___progname_full=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_var___progname_full=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_var___progname_full" 1>&6 +if test $ac_cv_var___progname_full = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_VAR___PROGNAME_FULL 1 +EOF + +fi + +echo $ac_n "checking if link() allows hard links on symlinks""... $ac_c" 1>&6 +echo "configure:19605: checking if link() allows hard links on symlinks" >&5 +if eval "test \"`echo '$''{'ac_cv_hard_symlinks'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_hard_symlinks=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_hard_symlinks=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_hard_symlinks" 1>&6 +if test $ac_cv_hard_symlinks = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_HARD_SYMLINKS 1 +EOF + +fi +echo $ac_n "checking if link() does not folow symlinks""... $ac_c" 1>&6 +echo "configure:19657: checking if link() does not folow symlinks" >&5 +if eval "test \"`echo '$''{'ac_cv_link_nofollow'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#include + +main() +{ + int ret = 0; + int f; + struct stat sb; + + unlink("confdefs.f1"); + unlink("confdefs.l1"); + unlink("confdefs.h1"); + + f = creat("confdefs.f1", 0666); + close(f); + if (symlink("confdefs.f1", "confdefs.l1") < 0) + ret = 1; + if (link("confdefs.l1", "confdefs.h1") < 0) + ret = 1; + + stat("confdefs.f1", &sb); + if (sb.st_nlink == 2) + ret = 1; + + unlink("confdefs.f1"); + unlink("confdefs.l1"); + unlink("confdefs.h1"); + + exit(ret); +} +EOF +if { eval echo configure:19699: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_link_nofollow=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_link_nofollow=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_link_nofollow" 1>&6 +if test $ac_cv_link_nofollow = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_LINK_NOFOLLOW 1 +EOF + +fi +for ac_hdr in unistd.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:19724: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:19734: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +echo $ac_n "checking if access() does implement E_OK""... $ac_c" 1>&6 +echo "configure:19761: checking if access() does implement E_OK" >&5 +if eval "test \"`echo '$''{'ac_cv_access_e_ok'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +# endif +#ifndef R_OK +#define R_OK 4 /* Test for Read permission */ +#define W_OK 2 /* Test for Write permission */ +#define X_OK 1 /* Test for eXecute permission */ +#define F_OK 0 /* Test for existence of File */ +#endif + +#ifndef E_OK +#ifdef EFF_ONLY_OK +#define E_OK EFF_ONLY_OK /* Irix */ +#else +#ifdef EUID_OK +#define E_OK EUID_OK /* UNICOS (0400) */ +#else +#define E_OK 010 /* Test effective uids */ +#endif +#endif +#endif + +#include +#ifndef HAVE_ERRNO_DEF +extern int errno; +#endif + +main() +{ +#ifdef _MSC_VER +/* + * If we use "cl" to compile and call access(".", E_OK|F_OK), the program will + * cause an exception that results in a popup window. For this reason, the test + * is disabled for "cl", it would not work anyway. + */ + int ret = 1; +#else + int ret = 0; + + if (access(".", F_OK) != 0) + ret = 1; + else if (access(".", E_OK|F_OK) != 0) + ret = 1; + else if (access(".", (R_OK<<4)|F_OK) == 0) + ret = 1; +#endif + + exit(ret); +} +EOF +if { eval echo configure:19822: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_access_e_ok=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_access_e_ok=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_access_e_ok" 1>&6 +if test $ac_cv_access_e_ok = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_ACCESS_E_OK 1 +EOF + +fi +for ac_hdr in fnmatch.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:19847: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ eval echo configure:19857: \"$ac_try\" 1>&5; eval $ac_try 2>&5; } +ac_err=`tr -d '\015' < conftest.out | grep -v '^ *+' | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 +fi +done + +echo $ac_n "checking if fnmatch() does implement FNM_IGNORECASE or FNM_CASEFOLD""... $ac_c" 1>&6 +echo "configure:19884: checking if fnmatch() does implement FNM_IGNORECASE or FNM_CASEFOLD" >&5 +if eval "test \"`echo '$''{'ac_cv_fnmatch_igncase'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#endif + +#ifndef FNM_IGNORECASE +#ifdef FNM_CASEFOLD +#define FNM_IGNORECASE FNM_CASEFOLD +#endif +#endif + +main() +{ + int ret; + + ret = fnmatch("a", "A", FNM_IGNORECASE); + exit(ret); +} +EOF +if { eval echo configure:19913: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + ac_cv_fnmatch_igncase=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + ac_cv_fnmatch_igncase=no +fi +rm -fr conftest* +fi + +fi + +eval echo "$ac_t""$ac_cv_fnmatch_igncase" 1>&6 +if test $ac_cv_fnmatch_igncase = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_FNMATCH_IGNORECASE 1 +EOF + +fi + +echo $ac_n "checking for fseeko()""... $ac_c" 1>&6 +echo "configure:19936: checking for fseeko()" >&5 +if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +return !fseeko; +; return 0; } +EOF +if { eval echo configure:19948: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_fseeko=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_fseeko=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_fseeko" 1>&6 +if test $ac_cv_func_fseeko = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_FSEEKO 1 +EOF + +fi +echo $ac_n "checking for ftello()""... $ac_c" 1>&6 +echo "configure:19968: checking for ftello()" >&5 +if eval "test \"`echo '$''{'ac_cv_func_ftello'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { +return !ftello; +; return 0; } +EOF +if { eval echo configure:19980: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + ac_cv_func_ftello=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_func_ftello=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_func_ftello" 1>&6 +if test $ac_cv_func_ftello = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_FTELLO 1 +EOF + +fi + +echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 +echo "configure:20001: checking for dlopen in -lc" >&5 +ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_dl="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 +echo "configure:20039: checking for dlopen in -ldl" >&5 +ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-ldl $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_dl="-ldl" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_dl" +for ac_func in dlopen dlclose dlsym dlerror dlinfo +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:20085: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:20113: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in shl_load shl_unload shl_gethandle +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:20140: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:20168: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +LIBS="$ac_save_LIBS" +if test ."$lib_dl" = .""; then + cat >> confdefs.h <<\EOF +#define HAVE_DLOPEN_IN_LIBC 1 +EOF + +fi + +for ac_func in LoadLibrary FreeLibrary GetProcAddress +do +echo $ac_n "checking if $ac_func is defined or function""... $ac_c" 1>&6 +echo "configure:20203: checking if $ac_func is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_$ac_func"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif + +int main() { + +#ifndef $ac_func + char *p = (char *) $ac_func; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:20227: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_$ac_func=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_$ac_func=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_$ac_func"" 1>&6 + ac_tr_dfunc=HAVE_`echo $ac_func | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'$ac_func`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:20252: checking for socket in -lc" >&5 +ac_lib_var=`echo c'_'socket | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_socket="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 +echo "configure:20290: checking for socket in -lsocket" >&5 +ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lsocket $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_socket="-lsocket" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +LIBS="$ac_save_LIBS" +echo $ac_n "checking for gethostbyname in -lc""... $ac_c" 1>&6 +echo "configure:20333: checking for gethostbyname in -lc" >&5 +ac_lib_var=`echo c'_'gethostbyname | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_nsl="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 +echo "configure:20371: checking for gethostbyname in -lnsl" >&5 +ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lnsl $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_nsl="-lnsl" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for gethostbyname in -lnetwork""... $ac_c" 1>&6 +echo "configure:20409: checking for gethostbyname in -lnetwork" >&5 +ac_lib_var=`echo network'_'gethostbyname | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lnetwork $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_nsl="-lnetwork" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +fi + +LIBS="$ac_save_LIBS" +LIBS="$LIBS $lib_nsl $lib_socket" +for ac_func in rcmd socket socketpair +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:20457: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:20485: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getservbyname inet_ntoa +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:20512: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:20540: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in getaddrinfo getnameinfo +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:20567: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:20595: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in host2netname netname2host +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:20622: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:20650: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +LIBS="$ac_save_LIBS" + +ac_save_LIBS="$LIBS" +echo $ac_n "checking for res_init in -lc""... $ac_c" 1>&6 +echo "configure:20678: checking for res_init in -lc" >&5 +ac_lib_var=`echo c'_'res_init | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_resolv="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for res_init in -lresolv""... $ac_c" 1>&6 +echo "configure:20716: checking for res_init in -lresolv" >&5 +ac_lib_var=`echo resolv'_'res_init | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lresolv $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_resolv="-lresolv" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +LIBS="$ac_save_LIBS" +if test ."$lib_resolv" = .""; then + cat >> confdefs.h <<\EOF +#define HAVE_RESOLV_IN_LIBC 1 +EOF + +fi + +# Check whether --enable-largefile or --disable-largefile was given. +if test "${enable_largefile+set}" = set; then + enableval="$enable_largefile" + : +fi + + if test "$enable_largefile" != no; then + + echo $ac_n "checking for special C compiler options needed for large files""... $ac_c" 1>&6 +echo "configure:20774: checking for special C compiler options needed for large files" >&5 +if eval "test \"`echo '$''{'ac_cv_sys_largefile_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_cv_sys_largefile_CC=no + largefile_cc_opt="" + if test "$GCC" != yes; then + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat > conftest.$ac_ext < + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply "#define LARGE_OFF_T 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; } +EOF +if { eval echo configure:20800: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + : +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_save_CC="${CC-cc}" + CC="$CC -n32" + cat > conftest.$ac_ext < + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply "#define LARGE_OFF_T 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; } +EOF +if { eval echo configure:20825: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_sys_largefile_CC=' -n32' +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* + CC="$ac_save_CC" +fi +rm -f conftest* + fi +fi + +eval echo "$ac_t""$ac_cv_sys_largefile_CC" 1>&6 + if test "$ac_cv_sys_largefile_CC" != no; then + CC="$CC$ac_cv_sys_largefile_CC" + largefile_cc_opt="$ac_cv_sys_largefile_CC" + fi + + echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6 +echo "configure:20846: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_cv_sys_file_offset_bits=no + cat > conftest.$ac_ext < + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply "#define LARGE_OFF_T 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; } +EOF +if { eval echo configure:20868: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + : +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + cat > conftest.$ac_ext < + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply "#define LARGE_OFF_T 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; } +EOF +if { eval echo configure:20893: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_sys_file_offset_bits=64 +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6 + if test "$ac_cv_sys_file_offset_bits" != no; then + cat >> confdefs.h <&6 +echo "configure:20913: checking for _LARGE_FILES value needed for large files" >&5 +if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_cv_sys_large_files=no + cat > conftest.$ac_ext < + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply "#define LARGE_OFF_T 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; } +EOF +if { eval echo configure:20935: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + : +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + cat > conftest.$ac_ext < + /* Check that off_t can represent 2**63 - 1 correctly. + We can't simply "#define LARGE_OFF_T 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; } +EOF +if { eval echo configure:20960: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_sys_large_files=1 +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_sys_large_files" 1>&6 + if test "$ac_cv_sys_large_files" != no; then + cat >> confdefs.h <&6 +echo "configure:20980: checking for _LARGEFILE_SOURCE value needed for large files" >&5 +if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_cv_sys_largefile_source=no + cat > conftest.$ac_ext < +int main() { +return !fseeko; +; return 0; } +EOF +if { eval echo configure:20993: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + : +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + cat > conftest.$ac_ext < + +int main() { +return !fseeko; +; return 0; } +EOF +if { eval echo configure:21009: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_sys_largefile_source=1 +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +fi +rm -f conftest* +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_sys_largefile_source" 1>&6 + if test "$ac_cv_sys_largefile_source" != no; then + cat >> confdefs.h <&6 +echo "configure:21031: checking if system supports Large Files at all" >&5 +if eval "test \"`echo '$''{'ac_cv_largefiles'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +int main() { + +/* + * Check that off_t can represent 2**63 - 1 correctly. + * We can't simply "#define LARGE_OFF_T 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]; +return !fseeko; +return !ftello; +; return 0; } +EOF +if { eval echo configure:21056: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_largefiles=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_largefiles=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_largefiles" 1>&6 + if test $ac_cv_largefiles = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_LARGEFILES 1 +EOF + + fi + +cat >> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <> confdefs.h <&6 +echo "configure:21099: checking for crypt in -lc" >&5 +ac_lib_var=`echo c'_'crypt | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_crypt="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 +echo "configure:21137: checking for crypt in -lcrypt" >&5 +ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lcrypt $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_crypt="-lcrypt" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +if test ."$lib_crypt" = .""; then + cat >> confdefs.h <<\EOF +#define HAVE_CRYPT_IN_LIBC 1 +EOF + +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_crypt" +for ac_func in crypt +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:21190: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:21218: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +LIBS="$ac_save_LIBS" + +echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6 +echo "configure:21245: checking for gettext in -lc" >&5 +ac_lib_var=`echo c'_'gettext | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lc $LIBS" +cat > conftest.$ac_ext < +int main() { + + char *p = (char *) gettext; + + return ((int)p); + +; return 0; } +EOF +if { eval echo configure:21264: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_intl="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6 +echo "configure:21283: checking for gettext in -lintl" >&5 +ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lintl $LIBS" +cat > conftest.$ac_ext < +int main() { + + char *p = (char *) gettext; + + return ((int)p); + +; return 0; } +EOF +if { eval echo configure:21302: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_intl="-lintl" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +if test ."$lib_intl" = .""; then + cat >> confdefs.h <<\EOF +#define HAVE_GETTEXT_IN_LIBC 1 +EOF + +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_intl" +echo $ac_n "checking if gettext is defined or function""... $ac_c" 1>&6 +echo "configure:21334: checking if gettext is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_gettext"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +#ifndef gettext + char *p = (char *) gettext; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:21350: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_gettext=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_gettext=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_gettext"" 1>&6 + ac_tr_dfunc=HAVE_`echo gettext | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'gettext`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:21374: checking for iconv_open in -lc" >&5 +ac_lib_var=`echo c'_'iconv_open | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-lc $LIBS" +cat > conftest.$ac_ext < +int main() { + + char *p = (char *) iconv_open; + + return ((int)p); + +; return 0; } +EOF +if { eval echo configure:21393: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_iconv="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for iconv_open in -liconv""... $ac_c" 1>&6 +echo "configure:21412: checking for iconv_open in -liconv" >&5 +ac_lib_var=`echo iconv'_'iconv_open | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS="-liconv $LIBS" +cat > conftest.$ac_ext < +int main() { + + char *p = (char *) iconv_open; + + return ((int)p); + +; return 0; } +EOF +if { eval echo configure:21431: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_iconv="-liconv" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +if test ."$lib_iconv" = .""; then + cat >> confdefs.h <<\EOF +#define HAVE_ICONV_IN_LIBC 1 +EOF + +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_iconv" +echo $ac_n "checking if iconv is defined or function""... $ac_c" 1>&6 +echo "configure:21463: checking if iconv is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_iconv"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +#ifndef iconv + char *p = (char *) iconv; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:21479: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_iconv=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_iconv=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_iconv"" 1>&6 + ac_tr_dfunc=HAVE_`echo iconv | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'iconv`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:21501: checking if iconv_open is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_iconv_open"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +#ifndef iconv_open + char *p = (char *) iconv_open; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:21517: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_iconv_open=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_iconv_open=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_iconv_open"" 1>&6 + ac_tr_dfunc=HAVE_`echo iconv_open | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'iconv_open`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:21539: checking if iconv_close is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_iconv_close"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +#ifndef iconv_close + char *p = (char *) iconv_close; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:21555: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_iconv_close=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_iconv_close=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_iconv_close"" 1>&6 + ac_tr_dfunc=HAVE_`echo iconv_close | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'iconv_close`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:21577: checking if libiconv is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_libiconv"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +#ifndef libiconv + char *p = (char *) libiconv; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:21593: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_libiconv=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_libiconv=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_libiconv"" 1>&6 + ac_tr_dfunc=HAVE_`echo libiconv | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'libiconv`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:21615: checking if libiconv_open is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_libiconv_open"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +#ifndef libiconv_open + char *p = (char *) libiconv_open; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:21631: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_libiconv_open=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_libiconv_open=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_libiconv_open"" 1>&6 + ac_tr_dfunc=HAVE_`echo libiconv_open | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'libiconv_open`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:21653: checking if libiconv_close is defined or function" >&5 +if eval "test \"`echo '$''{'"ac_cv_have_libiconv_close"'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +int main() { + +#ifndef libiconv_close + char *p = (char *) libiconv_close; + exit (p != (char *)0 && *p != 0); +#endif +; return 0; } +EOF +if { eval echo configure:21669: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval ac_cv_have_libiconv_close=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval ac_cv_have_libiconv_close=no +fi +rm -f conftest* +fi + +eval echo "$ac_t""$"ac_cv_have_libiconv_close"" 1>&6 + ac_tr_dfunc=HAVE_`echo libiconv_close | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +if eval "test \"`echo '$ac_cv_have_'libiconv_close`\" = yes"; then + cat >> confdefs.h <&6 +echo "configure:21693: checking for XML_Parse in -lc" >&5 +ac_lib_var=`echo c'_'XML_Parse | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_expat="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for XML_Parse in -lexpat""... $ac_c" 1>&6 +echo "configure:21731: checking for XML_Parse in -lexpat" >&5 +ac_lib_var=`echo expat'_'XML_Parse | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lexpat $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_expat="-lexpat" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +if test ."$lib_expat" = ."" -a "$ac_cv_lib_c_XML_Parse" = yes ; then + cat >> confdefs.h <<\EOF +#define HAVE_EXPAT_IN_LIBC 1 +EOF + +fi +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_expat" +for ac_func in XML_Parse +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:21783: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:21811: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +LIBS="$ac_save_LIBS" + +if test "$CC" = cl.exe; then + echo configure does not yet support library checks for cl.exe: + echo checking for SCardEstablishContext in -lwinscard... we know it is present + lib_pcsc="-lwinscard" + cat >> confdefs.h <<\EOF +#define HAVE_SCARDESTABLISHCONTEXT 1 +EOF + +else + echo $ac_n "checking for SCardEstablishContext in -lc""... $ac_c" 1>&6 +echo "configure:21847: checking for SCardEstablishContext in -lc" >&5 +ac_lib_var=`echo c'_'SCardEstablishContext | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_pcsc="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for SCardEstablishContext in -lwinscard""... $ac_c" 1>&6 +echo "configure:21885: checking for SCardEstablishContext in -lwinscard" >&5 +ac_lib_var=`echo winscard'_'SCardEstablishContext | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lwinscard $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_pcsc="-lwinscard" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for SCardEstablishContext in -lpcsclite""... $ac_c" 1>&6 +echo "configure:21923: checking for SCardEstablishContext in -lpcsclite" >&5 +ac_lib_var=`echo pcsclite'_'SCardEstablishContext | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lpcsclite $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_pcsc="-lpcsclite" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +fi + + if test ."$lib_pcsc" = ."" -a "$ac_cv_lib_c_SCardEstablishContext" = yes ; then + cat >> confdefs.h <<\EOF +#define HAVE_PCSC_IN_LIBC 1 +EOF + + fi + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_pcsc" + for ac_func in SCardEstablishContext +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:21977: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:22005: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + LIBS="$ac_save_LIBS" +fi + +if test "$CC" = cl.exe; then + echo configure does not yet support library checks for cl.exe: + echo checking for CRYPTO_free in -llibeay32... we know it is present + echo checking for SSL_free in -lssleay32... we know it is present + lib_crypto="-llibeay32" + lib_ssl="-lssleay32" +else + echo $ac_n "checking for CRYPTO_free in -lc""... $ac_c" 1>&6 +echo "configure:22040: checking for CRYPTO_free in -lc" >&5 +ac_lib_var=`echo c'_'CRYPTO_free | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_crypto="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for CRYPTO_free in -lcrypto""... $ac_c" 1>&6 +echo "configure:22078: checking for CRYPTO_free in -lcrypto" >&5 +ac_lib_var=`echo crypto'_'CRYPTO_free | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lcrypto $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_crypto="-lcrypto" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + + if test ."$lib_crypto" = ."" -a "$ac_cv_lib_c_CRYPTO_free" = yes ; then + cat >> confdefs.h <<\EOF +#define HAVE_CRYPTO_IN_LIBC 1 +EOF + + fi + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_crypto" + for ac_func in CRYPTO_free +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:22130: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:22158: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + LIBS="$ac_save_LIBS" + echo $ac_n "checking for SSL_free in -lc""... $ac_c" 1>&6 +echo "configure:22184: checking for SSL_free in -lc" >&5 +ac_lib_var=`echo c'_'SSL_free | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_ssl="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for SSL_free in -lssl""... $ac_c" 1>&6 +echo "configure:22222: checking for SSL_free in -lssl" >&5 +ac_lib_var=`echo ssl'_'SSL_free | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lssl $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_ssl="-lssl" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + + if test ."$lib_ssl" = ."" -a "$ac_cv_lib_c_SSL_free" = yes ; then + cat >> confdefs.h <<\EOF +#define HAVE_SSL_IN_LIBC 1 +EOF + + fi + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_ssl" + for ac_func in SSL_free +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:22274: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:22302: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + LIBS="$ac_save_LIBS" +fi + +if test $ac_cv_header_camlib_h = yes; then + scsi_lib=-lcam + lib_scsi=-lcam +fi + +if test "$ac_cv_header_sys_acl_h" = yes; then + + echo "checking for Posix Access Control List support" 1>&6 +echo "configure:22337: checking for Posix Access Control List support" >&5 + echo $ac_n "checking for acl_get_file in -lacl""... $ac_c" 1>&6 +echo "configure:22339: checking for acl_get_file in -lacl" >&5 +ac_lib_var=`echo acl'_'acl_get_file | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lacl $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_acl="-lacl" +else + eval echo "$ac_t""no" 1>&6 +fi + + echo $ac_n "checking for acl_get_file in -lpacl""... $ac_c" 1>&6 +echo "configure:22379: checking for acl_get_file in -lpacl" >&5 +ac_lib_var=`echo pacl'_'acl_get_file | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lpacl $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_acl="-lpacl" +else + eval echo "$ac_t""no" 1>&6 +fi + + + + if test ".$lib_acl" != .; then + lib_acl_test="$lib_acl" + fi + + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_acl" + for ac_func in acl_get_file acl_set_file acl_from_text acl_to_text acl_free acl_delete_def_file +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:22429: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:22457: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + for ac_func in acl_extended_file +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:22484: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:22512: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + for ac_func in acl_get_entry +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:22539: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:22567: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + for ac_func in acl_to_text_np acl_get_brand_np acl_is_trivial_np acl_strip_np +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:22594: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:22622: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + LIBS="$ac_save_LIBS" + + echo "checking for Solaris UFS Access Control List support" 1>&6 +echo "configure:22649: checking for Solaris UFS Access Control List support" >&5 + echo $ac_n "checking for acltotext in -lsec""... $ac_c" 1>&6 +echo "configure:22651: checking for acltotext in -lsec" >&5 +ac_lib_var=`echo sec'_'acltotext | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lsec $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_acl="-lsec" +else + eval echo "$ac_t""no" 1>&6 +fi + + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_acl" + for ac_func in acl facl aclfromtext acltotext +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:22695: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:22723: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + + echo "checking for NFSv4 Access Control List support" 1>&6 +echo "configure:22749: checking for NFSv4 Access Control List support" >&5 + for ac_func in acl_get acl_set facl_get facl_set acl_fromtext acl_totext +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:22753: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:22781: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + LIBS="$ac_save_LIBS" + + + echo "checking for HP-UX Access Control List support" 1>&6 +echo "configure:22809: checking for HP-UX Access Control List support" >&5 + for ac_func in getacl fgetacl setacl fsetacl strtoacl acltostr cpacl fcpacl chownacl setaclentry fsetaclentry +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:22813: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:22841: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + + +fi + +if test "$ac_cv_header_attr_xattr_h" = yes; then + echo "checking for Linux flavor Extended Attribute support" 1>&6 +echo "configure:22871: checking for Linux flavor Extended Attribute support" >&5 + echo $ac_n "checking for getxattr in -lattr""... $ac_c" 1>&6 +echo "configure:22873: checking for getxattr in -lattr" >&5 +ac_lib_var=`echo attr'_'getxattr | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lattr $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_attr="-lattr" +else + eval echo "$ac_t""no" 1>&6 +fi + + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_attr" + for ac_func in getxattr setxattr listxattr lgetxattr lsetxattr llistxattr +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:22917: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:22945: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + LIBS="$ac_save_LIBS" +fi + +echo "checking for RBAC support" 1>&6 +echo "configure:22973: checking for RBAC support" >&5 +echo $ac_n "checking for getuserattr in -lsecdb""... $ac_c" 1>&6 +echo "configure:22975: checking for getuserattr in -lsecdb" >&5 +ac_lib_var=`echo secdb'_'getuserattr | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lsecdb $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_secdb="-lsecdb" +else + eval echo "$ac_t""no" 1>&6 +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_secdb" +for ac_func in getauthattr getuserattr getexecattr getprofattr +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:23019: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:23047: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +LIBS="$ac_save_LIBS" + +echo "checking for gmatch() support" 1>&6 +echo "configure:23074: checking for gmatch() support" >&5 +echo $ac_n "checking for gmatch in -lgen""... $ac_c" 1>&6 +echo "configure:23076: checking for gmatch in -lgen" >&5 +ac_lib_var=`echo gen'_'gmatch | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lgen $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_gen="-lgen" +else + eval echo "$ac_t""no" 1>&6 +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_gen" +for ac_func in gmatch +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:23120: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:23148: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +LIBS="$ac_save_LIBS" + +echo "checking for ELF support" 1>&6 +echo "configure:23175: checking for ELF support" >&5 +echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 +echo "configure:23177: checking for elf_begin in -lelf" >&5 +ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lelf $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_elf="-lelf" +else + eval echo "$ac_t""no" 1>&6 +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_elf" +for ac_func in elf_begin +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:23221: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:23249: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +LIBS="$ac_save_LIBS" + +for ac_func in thr_yield +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:23278: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:23306: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + + + +echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6 +echo "configure:23333: checking for pthread_create in -lc" >&5 +ac_lib_var=`echo c'_'pthread_create | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_pthread="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 +echo "configure:23371: checking for pthread_create in -lpthread" >&5 +ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lpthread $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_pthread="-lpthread" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_pthread" +for ac_func in pthread_create pthread_kill +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:23418: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:23446: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in pthread_mutex_lock pthread_cond_wait pthread_spin_lock +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:23473: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:23501: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +LIBS="$ac_save_LIBS" + +echo $ac_n "checking for clock_gettime in -lc""... $ac_c" 1>&6 +echo "configure:23528: checking for clock_gettime in -lc" >&5 +ac_lib_var=`echo c'_'clock_gettime | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lc $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_rt="" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for clock_gettime in -lrt""... $ac_c" 1>&6 +echo "configure:23566: checking for clock_gettime in -lrt" >&5 +ac_lib_var=`echo rt'_'clock_gettime | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lrt $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_rt="-lrt" +else + eval echo "$ac_t""no" 1>&6 +echo $ac_n "checking for clock_gettime in -lposix4""... $ac_c" 1>&6 +echo "configure:23604: checking for clock_gettime in -lposix4" >&5 +ac_lib_var=`echo posix4'_'clock_gettime | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lposix4 $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_rt="-lposix4" +else + eval echo "$ac_t""no" 1>&6 +fi + +fi + +fi + +if test ."$lib_rt" = .""; then + cat >> confdefs.h <<\EOF +#define HAVE_CLOCK_GETTIME_IN_LIBC 1 +EOF + +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_rt" +for ac_func in clock_gettime clock_settime clock_getres +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:23659: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:23687: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in sched_getparam sched_setparam sched_getscheduler sched_setscheduler +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:23714: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:23742: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in sched_yield +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:23769: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:23797: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +for ac_func in nanosleep +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:23824: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:23852: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +LIBS="$ac_save_LIBS" + +echo $ac_n "checking for cap_get_proc in -lcap""... $ac_c" 1>&6 +echo "configure:23879: checking for cap_get_proc in -lcap" >&5 +ac_lib_var=`echo cap'_'cap_get_proc | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ac_save_LIBS="$LIBS" +LIBS=`echo "-lcap $LIBS" | sed -e 's/-lc //'` +cat > conftest.$ac_ext <&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=no" +fi +rm -f conftest* +LIBS="$ac_save_LIBS" + +fi +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + lib_cap="-lcap" +else + eval echo "$ac_t""no" 1>&6 +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_cap" +for ac_func in cap_get_proc cap_set_proc cap_set_flag cap_clear_flag +do +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 +echo "configure:23923: checking for $ac_func" >&5 +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +/* Override any gcc2 internal prototype to avoid an error. */ +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func(); + +int main() { + +/* 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_$ac_func) || defined (__stub___$ac_func) +choke me +#else +$ac_func(); +#endif + +; return 0; } +EOF +if { eval echo configure:23951: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_$ac_func=yes" +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_func_$ac_func=no" +fi +rm -f conftest* +fi + +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + cat >> confdefs.h <&6 +fi +done + +LIBS="$ac_save_LIBS" + + +for ac_file in /dev/tty /dev/null /dev/zero +do + +ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_file""... $ac_c" 1>&6 +echo "configure:23983: checking for $ac_file" >&5 +if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#include + +int +main() +{ + struct stat sb; + + exit(stat("$ac_file", &sb) < 0); +} +EOF +if { eval echo configure:24005: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + eval ac_cv_file_$ac_safe=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + eval ac_cv_file_$ac_safe=no +fi +rm -fr conftest* +fi + +fi + +if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 + +fi +done + +for ac_file in /dev/stdin /dev/stdout /dev/stderr +do + +ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_file""... $ac_c" 1>&6 +echo "configure:24037: checking for $ac_file" >&5 +if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#include + +int +main() +{ + struct stat sb; + + exit(stat("$ac_file", &sb) < 0); +} +EOF +if { eval echo configure:24059: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + eval ac_cv_file_$ac_safe=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + eval ac_cv_file_$ac_safe=no +fi +rm -fr conftest* +fi + +fi + +if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 + +fi +done + +for ac_file in /dev/fd/0 /dev/fd/1 /dev/fd/2 +do + +ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_file""... $ac_c" 1>&6 +echo "configure:24091: checking for $ac_file" >&5 +if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#include + +int +main() +{ + struct stat sb; + + exit(stat("$ac_file", &sb) < 0); +} +EOF +if { eval echo configure:24113: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + eval ac_cv_file_$ac_safe=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + eval ac_cv_file_$ac_safe=no +fi +rm -fr conftest* +fi + +fi + +if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 + +fi +done + +for ac_file in /usr/src/linux/include /usr/xpg4/bin/sh /opt/schily/xpg4/bin/sh +do + +ac_safe=`echo "$ac_file" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_file""... $ac_c" 1>&6 +echo "configure:24145: checking for $ac_file" >&5 +if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$cross_compiling" = yes; then + { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } +else + cat > conftest.$ac_ext < +#include + +int +main() +{ + struct stat sb; + + exit(stat("$ac_file", &sb) < 0); +} +EOF +if { eval echo configure:24167: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext} && ($rmtcall ./conftest${ac_xexeext}; exit) 2>/dev/null +then + eval ac_cv_file_$ac_safe=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -fr conftest* + eval ac_cv_file_$ac_safe=no +fi +rm -fr conftest* +fi + +fi + +if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then + eval echo "$ac_t""yes" 1>&6 + ac_tr_file=HAVE_`echo $ac_file | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <&6 + +fi +done + + +UNAME=`uname || true` + +if test ."$UNAME" = .Linux; then + + +echo $ac_n "checking if Linux include file linux/ext2_fs.h is broken""... $ac_c" 1>&6 +echo "configure:24201: checking if Linux include file linux/ext2_fs.h is broken" >&5 +if eval "test \"`echo '$''{'ac_cv_broken_linux_ext2_fs_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif +int main() { + +; return 0; } +EOF +if { eval echo configure:24216: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_broken_linux_ext2_fs_h=no +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_broken_linux_ext2_fs_h=yes +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_broken_linux_ext2_fs_h" 1>&6 +if test $ac_cv_broken_linux_ext2_fs_h = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_BROKEN_LINUX_EXT2_FS_H 1 +EOF + +fi +echo $ac_n "checking if Linux include file /usr/src/linux/include/linux/ext2_fs.h is broken""... $ac_c" 1>&6 +echo "configure:24236: checking if Linux include file /usr/src/linux/include/linux/ext2_fs.h is broken" >&5 +if eval "test \"`echo '$''{'ac_cv_broken_src_linux_ext2_fs_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ___CPPFLAGS=$CPPFLAGS; CPPFLAGS="-I/usr/src/linux/include $CPPFLAGS" + cat > conftest.$ac_ext < +#endif +int main() { + +; return 0; } +EOF +if { eval echo configure:24252: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_broken_src_linux_ext2_fs_h=no +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_broken_src_linux_ext2_fs_h=yes +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_broken_src_linux_ext2_fs_h" 1>&6 +CPPFLAGS=$___CPPFLAGS +if test $ac_cv_broken_src_linux_ext2_fs_h = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_BROKEN_SRC_LINUX_EXT2_FS_H 1 +EOF + +fi +if test .$ac_cv_broken_linux_ext2_fs_h = .no -o .$ac_cv_broken_src_linux_ext2_fs_h = .no; then + # + # If either /usr/include/linux/ex2_fs.h works or + # /usr/src/linux/include/linux/ex2_fs.h works, we will + # #define HAVE_USABLE_LINUX_EXT2_FS_H + # + # If HAVE_USABLE_LINUX_EXT2_FS_H is defined, a simple + # #include will work. + # + ac_cv_usable_linux_ext2_fs_h=yes + cat >> confdefs.h <<\EOF +#define HAVE_USABLE_LINUX_EXT2_FS_H 1 +EOF + +else + ac_cv_usable_linux_ext2_fs_h=no +fi +echo $ac_n "checking if Linux include file scsi/scsi.h is broken""... $ac_c" 1>&6 +echo "configure:24290: checking if Linux include file scsi/scsi.h is broken" >&5 +if eval "test \"`echo '$''{'ac_cv_broken_scsi_scsi_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#endif +int main() { + +; return 0; } +EOF +if { eval echo configure:24305: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_broken_scsi_scsi_h=no +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_broken_scsi_scsi_h=yes +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_broken_scsi_scsi_h" 1>&6 +if test $ac_cv_broken_scsi_scsi_h = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_BROKEN_SCSI_SCSI_H 1 +EOF + +fi +echo $ac_n "checking if Linux include file /usr/src/linux/include/scsi/scsi.h is broken""... $ac_c" 1>&6 +echo "configure:24325: checking if Linux include file /usr/src/linux/include/scsi/scsi.h is broken" >&5 +if eval "test \"`echo '$''{'ac_cv_broken_src_scsi_scsi_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ___CPPFLAGS=$CPPFLAGS; CPPFLAGS="-I/usr/src/linux/include $CPPFLAGS" + cat > conftest.$ac_ext < +#endif +int main() { + +; return 0; } +EOF +if { eval echo configure:24341: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_broken_src_scsi_scsi_h=no +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_broken_src_scsi_scsi_h=yes +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_broken_src_scsi_scsi_h" 1>&6 +CPPFLAGS=$___CPPFLAGS +if test $ac_cv_broken_src_scsi_scsi_h = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_BROKEN_SRC_SCSI_SCSI_H 1 +EOF + +fi +echo $ac_n "checking if Linux include file scsi/sg.h is broken""... $ac_c" 1>&6 +echo "configure:24362: checking if Linux include file scsi/sg.h is broken" >&5 +if eval "test \"`echo '$''{'ac_cv_broken_scsi_sg_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +#include +#endif +int main() { + +; return 0; } +EOF +if { eval echo configure:24378: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_broken_scsi_sg_h=no +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_broken_scsi_sg_h=yes +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_broken_scsi_sg_h" 1>&6 +if test $ac_cv_broken_scsi_sg_h = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_BROKEN_SCSI_SG_H 1 +EOF + +fi +echo $ac_n "checking if Linux include file /usr/src/linux/include/scsi/sg.h is broken""... $ac_c" 1>&6 +echo "configure:24398: checking if Linux include file /usr/src/linux/include/scsi/sg.h is broken" >&5 +if eval "test \"`echo '$''{'ac_cv_broken_src_scsi_sg_h'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + ___CPPFLAGS=$CPPFLAGS; CPPFLAGS="-I/usr/src/linux/include $CPPFLAGS" + cat > conftest.$ac_ext < +#include +#endif +int main() { + +; return 0; } +EOF +if { eval echo configure:24415: \"$ac_compile\" 1>&5; eval $ac_compile 2>&5; }; then + rm -rf conftest* + ac_cv_broken_src_scsi_sg_h=no +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_broken_src_scsi_sg_h=yes +fi +rm -f conftest* +fi + +eval echo "$ac_t""$ac_cv_broken_src_scsi_sg_h" 1>&6 +CPPFLAGS=$___CPPFLAGS +if test $ac_cv_broken_src_scsi_sg_h = yes; then + cat >> confdefs.h <<\EOF +#define HAVE_BROKEN_SRC_SCSI_SG_H 1 +EOF + +fi + +if test .$ac_cv_broken_src_scsi_scsi_h = .yes; then + may_linux_src_include=no +fi +if test .$ac_cv_broken_src_linux_ext2_fs_h = .yes; then + may_linux_src_include=no +fi +if test .$ac_cv_file__usr_src_linux_include = .yes; then # only warn if there is /usr/src/linux/include +if test .$may_linux_src_include = .no; then + echo + echo "Warning: *** /usr/src/linux/include contains broken include files ***" + echo "Warning: *** /usr/src/linux/include is not used this reason ***" + echo "Warning: This may result in the inability to use recent Linux kernel interfaces" + echo +fi +fi +if test .$ac_cv_header_ext2fs_ext2_fs_h = .no; then # only if there is no +if test .$ac_cv_usable_linux_ext2_fs_h = .no; then + echo + echo "Warning: *** linux/ext2_fs.h is not usable at all ***" + echo "Warning: *** This makes it impossible to support Linux file flags ***" + echo "You may try to compile using 'make COPTX=-DTRY_EXT2_FS'" + echo + sleep 10 +fi +fi # was missing +fi # Linux only tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +trap '' 1 2 15 +cat > confcache <<\EOF +# 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. It is not useful on other systems. +# If it contains results you don't want to keep, you may remove or edit it. +# +# By default, configure uses ./config.cache as the cache file, +# creating it if it does not exist already. You can give configure +# the --cache-file=FILE option to use a different cache file; that is +# what configure does when it calls configure scripts in +# subdirectories, so they share the cache. +# Giving --cache-file=/dev/null disables caching, for debugging configure. +# config.status only pays attention to the cache file if you give it the +# --recheck option to rerun configure. +# +EOF +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, don't put newlines in cache variables' values. +# 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. +(set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote substitution + # turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + -e "s/'/'\\\\''/g" \ + -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' + ;; + esac >> confcache +if cmp -s $cache_file confcache; then + : +else + if test -w $cache_file; then + echo "updating cache $cache_file" + cat confcache > $cache_file + else + echo "not updating unwritable cache $cache_file" + fi +fi +rm -f confcache + +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +# Any assignment to VPATH causes Sun make to only execute +# the first set of double-colon rules, so remove it if not needed. +# If there is a colon in the path, we need to keep it. +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' +fi + +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 + +DEFS=-DHAVE_CONFIG_H + +# Without the "./", some shells look in PATH for config.status. +: ${CONFIG_STATUS=./config.status} + +echo creating $CONFIG_STATUS +rm -f $CONFIG_STATUS +cat > $CONFIG_STATUS </dev/null | sed 1q`: +# +# $0 $ac_configure_args +# +# Compiler output produced by configure, useful for debugging +# configure, is in ./config.log if it exists. + +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" +for ac_option +do + case "\$ac_option" in + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" + exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; + -version | --version | --versio | --versi | --vers | --ver | --ve | --v) + echo "$CONFIG_STATUS generated by autoconf version 2.13 1.17-Schily" + exit 0 ;; + -help | --help | --hel | --he | --h) + echo "\$ac_cs_usage"; exit 0 ;; + *) echo "\$ac_cs_usage"; exit 1 ;; + esac +done + +ac_given_srcdir=$srcdir + +trap 'rm -fr `echo "rules.cnf xconfig.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +EOF +cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF +$ac_vpsub +$extrasub +s%@SHELL@%$SHELL%g +s%@CFLAGS@%$CFLAGS%g +s%@CPPFLAGS@%$CPPFLAGS%g +s%@CXXFLAGS@%$CXXFLAGS%g +s%@FFLAGS@%$FFLAGS%g +s%@DEFS@%$DEFS%g +s%@LDFLAGS@%$LDFLAGS%g +s%@LIBS@%$LIBS%g +s%@exec_prefix@%$exec_prefix%g +s%@prefix@%$prefix%g +s%@program_transform_name@%$program_transform_name%g +s%@bindir@%$bindir%g +s%@sbindir@%$sbindir%g +s%@libexecdir@%$libexecdir%g +s%@datadir@%$datadir%g +s%@sysconfdir@%$sysconfdir%g +s%@sharedstatedir@%$sharedstatedir%g +s%@localstatedir@%$localstatedir%g +s%@libdir@%$libdir%g +s%@includedir@%$includedir%g +s%@oldincludedir@%$oldincludedir%g +s%@infodir@%$infodir%g +s%@mandir@%$mandir%g +s%@host@%$host%g +s%@host_alias@%$host_alias%g +s%@host_cpu@%$host_cpu%g +s%@host_vendor@%$host_vendor%g +s%@host_os@%$host_os%g +s%@CC@%$CC%g +s%@OBJEXT@%$OBJEXT%g +s%@EXEEXT@%$EXEEXT%g +s%@XEXEEXT@%$XEXEEXT%g +s%@CPP@%$CPP%g +s%@CPPX@%$CPPX%g +s%@RANLIB@%$RANLIB%g +s%@SET_MAKE@%$SET_MAKE%g +s%@YACC@%$YACC%g +s%@BISON@%$BISON%g +s%@LORDER@%$LORDER%g +s%@TSORT@%$TSORT%g +s%@LIBOBJS@%$LIBOBJS%g +s%@ALLOCA@%$ALLOCA%g +s%@may_linux_src_include@%$may_linux_src_include%g +s%@largefile_cc_opt@%$largefile_cc_opt%g +s%@sun_cc64_opt@%$sun_cc64_opt%g +s%@hp_cc_ansi_opt@%$hp_cc_ansi_opt%g +s%@hp_cc_opt_opt@%$hp_cc_opt_opt%g +s%@hp_cc_gprof_opt@%$hp_cc_gprof_opt%g +s%@lib_crypt@%$lib_crypt%g +s%@lib_resolv@%$lib_resolv%g +s%@lib_intl@%$lib_intl%g +s%@lib_iconv@%$lib_iconv%g +s%@lib_expat@%$lib_expat%g +s%@lib_pcsc@%$lib_pcsc%g +s%@lib_crypto@%$lib_crypto%g +s%@lib_ssl@%$lib_ssl%g +s%@lib_nsl@%$lib_nsl%g +s%@scsi_lib@%$scsi_lib%g +s%@lib_scsi@%$lib_scsi%g +s%@lib_acl@%$lib_acl%g +s%@lib_acl_test@%$lib_acl_test%g +s%@lib_attr@%$lib_attr%g +s%@lib_secdb@%$lib_secdb%g +s%@lib_gen@%$lib_gen%g +s%@lib_elf@%$lib_elf%g +s%@lib_pthread@%$lib_pthread%g +s%@lib_rt@%$lib_rt%g +s%@lib_dl@%$lib_dl%g +s%@lib_dir@%$lib_dir%g +s%@lib_cap@%$lib_cap%g + +CEOF +EOF + +cat >> $CONFIG_STATUS <<\EOF + +# Split the substitutions into bite-sized pieces for seds with +# small command number limits, like on Digital OSF/1 and HP-UX. +ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. +ac_file=1 # Number of current file. +ac_beg=1 # First line for current file. +ac_end=$ac_max_sed_cmds # Line after last line for current file. +ac_more_lines=: +ac_sed_cmds="" +while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file + else + sed "${ac_end}q" conftest.subs > conftest.s$ac_file + fi + if test ! -s conftest.s$ac_file; then + ac_more_lines=false + rm -f conftest.s$ac_file + else + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f conftest.s$ac_file" + else + ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" + fi + ac_file=`expr $ac_file + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_cmds` + fi +done +if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat +fi +EOF + +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac + + # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. + + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" + # A "../" for each directory in $ac_dir_suffix. + ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` + else + ac_dir_suffix= ac_dots= + fi + + case "$ac_given_srcdir" in + .) srcdir=. + if test -z "$ac_dots"; then top_srcdir=. + else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; + *) # Relative path. + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" + top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + + + echo creating "$ac_file" + rm -f "$ac_file" + configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." + case "$ac_file" in + *Makefile*) ac_comsub="1i\\ +# $configure_input" ;; + *) ac_comsub= ;; + esac + + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + sed -e "$ac_comsub +s%@configure_input@%$configure_input%g +s%@srcdir@%$srcdir%g +s%@top_srcdir@%$top_srcdir%g +" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file +fi; done +rm -f conftest.s* + +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where +# NAME is the cpp macro being defined and VALUE is the value it is being given. +# +# ac_d sets the value in "#define NAME VALUE" lines. +ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' +ac_dC='\3' +ac_dD='%g' +# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". +ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='\([ ]\)%\1#\2define\3' +ac_uC=' ' +ac_uD='\4%g' +# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_eB='$%\1#\2define\3' +ac_eC=' ' +ac_eD='%g' + +if test "${CONFIG_HEADERS+set}" != set; then +EOF +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +fi +for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac + + echo creating $ac_file + + rm -f conftest.frag conftest.in conftest.out + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + cat $ac_file_inputs > conftest.in + +EOF + +# Transform confdefs.h into a sed script conftest.vals that substitutes +# the proper values into config.h.in to produce config.h. And first: +# Protect against being on the right side of a sed subst in config.status. +# Protect against being in an unquoted here document in config.status. +rm -f conftest.vals +cat > conftest.hdr <<\EOF +s/[\\&%]/\\&/g +s%[\\$`]%\\&%g +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp +s%ac_d%ac_u%gp +s%ac_u%ac_e%gp +EOF +sed -n -f conftest.hdr confdefs.h > conftest.vals +rm -f conftest.hdr + +# This sed command replaces #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. +cat >> conftest.vals <<\EOF +s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% +EOF + +# Break up conftest.vals because some shells have a limit on +# the size of here documents, and old seds have small limits too. + +rm -f conftest.tail +while : +do + ac_lines=`grep -c . conftest.vals` + # grep -c gives empty output for an empty file on some AIX systems. + if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi + # Write a limited-size here document to conftest.frag. + echo ' cat > conftest.frag <> $CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS + echo 'CEOF + sed -f conftest.frag conftest.in > conftest.out + rm -f conftest.in + mv conftest.out conftest.in +' >> $CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail + rm -f conftest.vals + mv conftest.tail conftest.vals +done +rm -f conftest.vals + +cat >> $CONFIG_STATUS <<\EOF + rm -f conftest.frag conftest.h + echo "/* $ac_file. Generated automatically by configure. */" > conftest.h + cat conftest.in >> conftest.h + rm -f conftest.in + if cmp -s $ac_file conftest.h 2>/dev/null; then + echo "$ac_file is unchanged" + rm -f conftest.h + else + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + fi + rm -f $ac_file + mv conftest.h $ac_file + fi +fi; done + +EOF +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF + +exit 0 +EOF +chmod +x $CONFIG_STATUS +rm -fr confdefs* $ac_clean_files +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 + diff --git a/autoconf/configure.in b/autoconf/configure.in new file mode 100644 index 0000000..9a117ca --- /dev/null +++ b/autoconf/configure.in @@ -0,0 +1,1115 @@ +dnl @(#)configure.in 1.289 17/08/05 Copyright 1998-2015 J. Schilling +dnl Process this file with autoconf to produce a configure script. +AC_REVISION(1.289)dnl + +dnl AC_INIT(xconfig.h.in) +AC_INIT(config.guess) +AC_CONFIG_HEADER(xconfig.h) +AC_CANONICAL_HOST + +dnl Checks for programs. +AC_SHELL_BASH +AC_BIN_SHELL_BASH +AC_SHELL_CE_BROKEN +AC_BIN_SHELL_CE_BROKEN +AC_BIN_SHELL_BOSH +AC_OPT_SCHILY_BIN_SHELL_BOSH +dnl CC=${CC-cc} +dnl AC_PROG_CC +AC_CHECK_PROG(CC, cc, cc, gcc) dnl we default to cc not gcc +dnl The cross compile concepts from GNU autoconf are not usable. +dnl We permit to execute test programs on a remote machine while +dnl running "configure" in a cross compile environment. +AC_PROG_CC dnl now check for cross compiling +dnl cross_compiling=remote dnl disable GNU cross compile "defaults" +dnl rmtcall="$CONFIG_RMTCALL" dnl enable script for remote execution +dnl remote execution of test programs may be set up with: +dnl CONFIG_RMTCALL=script-path +dnl and +dnl CONFIG_RMTHOST=host or CONFIG_RMTHOST=user@host +dnl If AC_PROG_CC detects a cross compiler and CONFIG_RMTCALL is set, then +dnl all test programs are automatically transferred to the test machine +dnl and run on that machine. +AC_REMOTE_PARMS dnl check for correct remote parameters +AC_OBJEXT +AC_EXEEXT +AC_PROG_CPP +AC_PROG_CPPX +AC_SUN_CC64_OPT +AC_HP_CC_ANSI_OPT +AC_HP_CC_OPT_OPT +AC_HP_CC_GPROF_OPT +dnl AC_PROG_INSTALL +AC_PROG_RANLIB +AC_PROG_MAKE_SET +AC_CHECK_PROGS(YACC, yacc 'bison -y' byacc, noyacc) +AC_CHECK_PROGS(BISON, bison, nobison) +# +# We need both tsort/lorder or none of them +# +AC_PATH_PROG(LORDER, lorder, echo, $PATH:/usr/ccs/bin) +if test "$LORDER" = echo; then + TSORT=cat +else + AC_PATH_PROG(TSORT, tsort, cat, $PATH:/usr/ccs/bin) + if test "$TSORT" = cat; then + LORDER=echo + fi +fi + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS(stdarg.h stdlib.h string.h float.h) dnl AC_HEADER_STDC in particular +AC_HEADER_INTTYPES +AC_HEADER_STDINT +ac_xsave_LIBS="$LIBS" +LIBS="" +AC_HEADER_DIRENT +lib_dir="$LIBS" +LIBS="$ac_xsave_LIBS" +AC_HEADER_STAT +AC_HEADER_TIME +AC_HEADER_SYS_WAIT +dnl check whether select() needs sys/select.h +AC_HEADER_SYS_SELECT +dnl check whether select() needs sys/socket.h (BeOS) +AC_HEADER_SELECT2 +AC_CHECK_HEADERS(ar.h) +AC_CHECK_HEADERS(assert.h) +AC_CHECK_HEADERS(stdio.h varargs.h stdarg.h stdlib.h stddef.h string.h strings.h unistd.h fcntl.h io.h sys/file.h) +AC_CHECK_HEADERS(conio.h) +AC_CHECK_HEADERS(getopt.h) +AC_CHECK_HEADERS(limits.h) +AC_CHECK_HEADERS(a.out.h aouthdr.h elf.h) +AC_CHECK_HEADERS(sysexits.h) +AC_CHECK_HEADERS(malloc.h posix/malloc.h sgtty.h termios.h termio.h) +AC_CHECK_HEADERS(pwd.h grp.h sys/acl.h aclutils.h acllib.h acl/libacl.h) +AC_CHECK_HEADERS(signal.h siginfo.h sys/siginfo.h ucontext.h) +AC_CHECK_HEADERS(shadow.h syslog.h) +AC_CHECK_HEADERS(sys/time.h sys/times.h utime.h sys/utime.h sys/ioctl.h sys/filio.h sys/param.h sys/systeminfo.h sys/sysctl.h) +AC_CHECK_HEADERS(sys/loadavg.h) +AC_CHECK_HEADERS(sys/syscall.h) +AC_CHECK_HEADERS(mach/machine.h) +AC_CHECK_HEADERS(mntent.h sys/mntent.h sys/mnttab.h sys/mount.h) +AC_CHECK_HEADERS(sys/fork.h vfork.h wait.h sys/wait.h sys/resource.h procfs.h sys/procfs.h libproc.h) +AC_CHECK_HEADERS(ulimit.h) +AC_CHECK_HEADERS(process.h) +AC_CHECK_HEADERS(sys/utsname.h sys/priocntl.h sys/rtpriocntl.h sys/procset.h) +AC_CHECK_HEADERS(sys/mtio.h sys/tape.h sys/mman.h linux/pg.h camlib.h) +AC_CHECK_HEADERS(sys/shm.h sys/sem.h sys/ipc.h semaphore.h) +AC_CHECK_HEADERS(sys/dkio.h sys/dklabel.h sun/dkio.h sun/dklabel.h) +AC_CHECK_HEADERS(sys/types.h sys/stat.h types.h stat.h) +AC_CHECK_HEADERS(sys/stypes.h sys/filedesc.h) +AC_CHECK_HEADERS(sys/acct.h) +AC_CHECK_HEADERS(poll.h sys/poll.h sys/select.h) +AC_CHECK_HEADERS(netdb.h arpa/aixrcmds.h sys/socket.h netinet/in.h stropts.h) +AC_CHECK_HEADERS(ieeefp.h fp.h) +AC_CHECK_HEADERS(values.h float.h math.h) +AC_CHECK_HEADERS(arpa/inet.h) +AC_CHECK_HEADERS(rpc/rpc.h) +AC_CHECK_HEADERS(bsd/dev/scsireg.h) +dnl Check for HP-UX sys/bsdtty.h (needed for TIOCGPGRP) +AC_CHECK_HEADERS(sys/bsdtty.h) +dnl Check for Linux kernel definitions +AC_CHECK_HEADERS(scsi/scsi.h scsi/sg.h linux/scsi.h linux.sg.h) +AC_CHECK_HEADERS(linux/types.h linux/gfp.h asm/types.h) +AC_CHECK_HEADERS(sys/capability.h) +dnl Check for BeOS kernel definitions (e.g. B_PAGE_SIZE) +AC_CHECK_HEADERS(OS.h) +dnl needed for newer OS/2 versions of EMX +AC_CHECK_HEADERS(os2.h) +AC_CHECK_HEADERS(os2me.h) +dnl Check for MS-Win's junkyard +AC_CHECK_HEADERS(windows.h) +dnl Check for moving Linux targets caused by missing concepts +AC_CHECK_HEADERS(ext2fs/ext2_fs.h) +dnl Check for Linux Extended File Attributes definitions +AC_CHECK_HEADERS(attr/xattr.h) +dnl Check for Mas OS X ac, av, env delarations +AC_CHECK_HEADERS(crt_externs.h) +AC_CHECK_HEADERS(fnmatch.h) +AC_CHECK_HEADERS(libintl.h locale.h langinfo.h nl_types.h) +AC_CHECK_HEADERS(ctype.h wctype.h wchar.h iconv.h) +AC_CHECK_HEADERS(priv.h sys/priv.h) +AC_CHECK_HEADERS(exec_attr.h secdb.h) +AC_CHECK_HEADERS(direct.h) +AC_CHECK_HEADERS(pthread.h thread.h) +AC_CHECK_HEADERS(libgen.h) +AC_CHECK_HEADERS(regex.h regexp.h regexpr.h) +AC_CHECK_HEADERS(dlfcn.h link.h dl.h libelf.h) +AC_CHECK_HEADERS(ranlib.h) +AC_CHECK_HEADERS(expat.h) + +dnl from aclocal.m4 (uses AC_TRY_COMPILE) +AC_HEADER_MAKEDEV + +dnl don't use GNU original +dnl from GNU acspecific.m4 (uses AC_CHECK_HEADER) +dnl AC_HEADER_MAJOR + +AC_CHECK_MINOR_BITS +AC_CHECK_MINOR_NONCONTIG + +AC_HEADER_USG_STDIO +AC_HEADER_ERRNO_DEF +AC_HEADER_ENVIRON_DEF +AC_HEADER_SYS_SIGLIST_DEF +AC_WNOWAIT_WAITPID + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_C_BIGENDIAN +AC_C_BITFIELDS +AC_C_STRINGIZE +AC_C_INLINE +AC_TYPE_SIGNAL +AC_TYPE_GETGROUPS +AC_TYPE_LONGLONG +AC_TYPE___INT64 +AC_TYPE_LONGDOUBLE +AC_TYPE_PROTOTYPES +dnl AC_USER_MALLOC must be past AC_CHECK_FUNCS(strdup) +AC_DYN_ARRAYS +AC_PRAGMA_WEAK + +dnl This is a hack to compile two files and to check whether a weak alias from +dnl one file can be seen in another file. The reason for this test is to detect +dnl a bug on Cygwin that causes waek symbols to become "local" symbols that +dnl are useless because they would be invisible for other parts of the code. + +if test $ac_cv_pragma_weak = yes; then +AC_TRY_COMPILE2([#pragma weak weakname = conffunc],[],[true],[true]) +ac_save_LIBS="$LIBS" +LIBS="conftest2.$ac_cv_objext" +AC_CACHE_CHECK([if linker allows pragma weak], ac_cv_link_weak, + [AC_TRY_LINK([extern int weakname();], +[return weakname();], + [ac_cv_link_weak=yes], + [ac_cv_link_weak=no])]) +LIBS="$ac_save_LIBS" +if test $ac_cv_link_weak = yes; then + AC_DEFINE(HAVE_LINK_WEAK) +fi +rm -f conftest2.* +fi + +AC_TYPE_UID_T +AC_TYPE_SIZE_T +AC_CHECK_TYPE(ssize_t, int) +AC_CHECK_TYPE(ptrdiff_t, int) +AC_TYPE_PID_T +AC_TYPE_OFF_T +AC_TYPE_MODE_T +AC_TYPE_TIME_T +AC_CHECK_TYPE(caddr_t, char *) +AC_CHECK_TYPE(daddr_t, long) +AC_CHECK_TYPE(dev_t, unsigned short) +AC_CHECK_TYPE(major_t, dev_t) +AC_CHECK_TYPE(minor_t, dev_t) +AC_CHECK_TYPE(ino_t, unsigned long) +AC_CHECK_TYPE(nlink_t, unsigned long) +AC_CHECK_TYPE(blksize_t, long) +AC_CHECK_TYPE(blkcnt_t, Intmax_t) +AC_TYPE_CLOCK_T +AC_TYPE_SOCKLEN_T +AC_HAVE_TYPE([#include ], greg_t) +AC_HAVE_TYPE([#include ], rlim_t) +dnl NetBSD-5 has an idtype_t that is in conflict with POSIX +dnl AC_HAVE_TYPE([#include ], idtype_t) +AC_TYPE_IDTYPE_T +AC_HAVE_TYPE([#include ], siginfo_t) +AC_TYPE_STACK_T +AC_TYPE_SIGINFO_T + +dnl These types are present on all UNIX systems but should be avoided +dnl for portability. +dnl On Apollo/Domain OS we don't have them.... +dnl Better include and use Uchar, Uint & Ulong +AC_CHECK_TYPE(u_char, unsigned char) +AC_CHECK_TYPE(u_short, unsigned short) +AC_CHECK_TYPE(u_int, unsigned int) +AC_CHECK_TYPE(u_long, unsigned long) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], int8_t, Int8_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], int16_t, Int16_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], int32_t, Int32_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], int64_t, Int64_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], intmax_t, Intmax_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], intptr_t, Intptr_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], uint8_t, UInt8_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], uint16_t, UInt16_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], uint32_t, UInt32_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], uint64_t, UInt64_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], uintmax_t, UIntmax_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_INTTYPES_H +#include +#endif +#ifdef HAVE_STDINT_H +#include +#endif +], uintptr_t, UIntptr_t) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_WCHAR_H +#include +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif +], wctype_t, int) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_WCHAR_H +#include +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif +#include +], wint_t, int) + +AC_INCL_CHECK_TYPE( +[#ifdef HAVE_WCHAR_H +#include +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif +], mbstate_t, int) + +AC_INCL_CHECK_TYPE( +#ifdef HAVE_SYS_STAT_H +[#include +#endif +#ifdef HAVE_STAT_H +#include +#endif +], timestruc_t, timespec) + +AC_CHECK_SIZEOF(char) +AC_CHECK_SIZEOF(short int) +AC_CHECK_SIZEOF(int) +AC_CHECK_SIZEOF(long int) +AC_CHECK_SIZEOF(long long) +AC_CHECK_SIZEOF(__int64) +AC_CHECK_SIZEOF(char *) + +AC_CHECK_SIZEOF(unsigned char) +AC_CHECK_SIZEOF(unsigned short int) +AC_CHECK_SIZEOF(unsigned int) +AC_CHECK_SIZEOF(unsigned long int) +AC_CHECK_SIZEOF(unsigned long long) +AC_CHECK_SIZEOF(unsigned __int64) +AC_CHECK_SIZEOF(unsigned char *) +AC_CHECK_SIZEOF(float) +AC_CHECK_SIZEOF(double) +AC_CHECK_SIZEOF(long double) + +AC_CHECK_SIZEOF(size_t) +AC_CHECK_SIZEOF(ssize_t) +AC_CHECK_SIZEOF(ptrdiff_t) + +AC_CHECK_SIZEOF(mode_t) +AC_CHECK_SIZEOF(uid_t) +AC_CHECK_SIZEOF(gid_t) +AC_CHECK_SIZEOF(pid_t) + +AC_CHECK_SIZEOF(dev_t) +AC_CHECK_SIZEOF(major_t) +AC_CHECK_SIZEOF(minor_t) + +dnl This call must be past AC_CHECK_SIZEOF(long int) +AC_CHECK_SIZE_TIME_T +AC_CHECK_SIZE_WCHAR +AC_CHECK_SIZE_WCHAR_T + +dnl # AC_TYPE_SIZE_T_ # Defines HAVE_SIZE_T / NO_SIZE_T +AC_TYPE_CHAR +AC_TYPE_VA_LIST +AC_HEADER_FILE__FLAGS +AC_HEADER_FILE__IO_BUF_BASE +AC_STRUCT_TIMEVAL +AC_STRUCT_TIMEZONE +AC_STRUCT_TIMESPEC +AC_STRUCT_MTGET_TYPE +AC_STRUCT_MTGET_MODEL +AC_STRUCT_MTGET_DSREG +AC_STRUCT_MTGET_DSREG1 +AC_STRUCT_MTGET_DSREG2 +AC_STRUCT_MTGET_GSTAT +AC_STRUCT_MTGET_ERREG +AC_STRUCT_MTGET_RESID +AC_STRUCT_MTGET_FILENO +AC_STRUCT_MTGET_BLKNO +AC_STRUCT_MTGET_FLAGS +AC_STRUCT_MTGET_BF +AC_STRUCT_RUSAGE +AC_STRUCT_SI_UTIME +AC_STRUCT_SOCKADDR_STORAGE +AC_STRUCT_UNION_SEMUN +AC_STRUCT_UNION_WAIT +AC_USE_STRUCT_UNION_WAIT +AC_STRUCT_ST_SPARE1 +AC_STRUCT_ST_ATIMENSEC +AC_STRUCT_ST_ATIME_N +AC_STRUCT_ST_NSEC +AC_STRUCT_ST__TIM +AC_STRUCT_ST_ATIMESPEC +AC_STRUCT_ST_BLKSIZE +AC_STRUCT_ST_BLOCKS +AC_STRUCT_ST_FSTYPE +AC_STRUCT_ST_ACLCNT +AC_STRUCT_ST_RDEV +AC_STRUCT_ST_FLAG +AC_STRUCT_ST_FLAGS +AC_STRUCT_DIRENT_D_INO +AC_STRUCT_DIRENT_D_TYPE +AC_STRUCT_DIR_DD_FD +AC_STRUCT_UTSNAME_ARCH +AC_STRUCT_UTSNAME_PROCESSOR +AC_STRUCT_UTSNAME_SYSNAME_HOST +AC_STRUCT_UTSNAME_RELEASE_HOST +AC_STRUCT_UTSNAME_VERSION_HOST + +dnl Check whether iconv() uses const char ** arguments +AC_ICONV_CONST + +dnl Check whether we are able to get the address of a function +dnl or whether the symbol is declared and usable as rhs +AC_CHECK_DECLARE([ +#include +#include ], stat) +AC_CHECK_DECLARE([ +#include +#include ], lstat) + +dnl Checks for library functions. +AC_FUNC_WAIT3 +AC_FUNC_MLOCK +AC_FUNC_MLOCKALL +AC_FUNC_VA_COPY +AC_FUNC__VA_COPY +AC_FUNC_ECVT +AC_FUNC_FCVT +AC_FUNC_GCVT +AC_FUNC_DTOA +AC_FUNC_DTOA_R +AC_FUNC_GETPAGESIZE +jsAC_FUNC_MMAP +AC_MMAP_SIZEP +AC_FUNC_SMMAP +AC_FUNC_SHMGET +AC_FUNC_ALLOCA +AC_FUNC_QUOTAIOCTL +AC_FUNC_FCNTL_LOCKF +AC_FUNC_UNAME +AC_CHECK_FUNCS(execl) +AC_FUNC_VFORK +AC_FUNC_SYS_SIGLIST +AC_FUNC_BSD_GETPGRP +AC_FUNC_BSD_SETPGRP +AC_FUNC_C99_ISINF +AC_FUNC_C99_ISNAN +AC_FUNC_SIGSETJMP +AC_FUNC_SIGLONGJMP +AC_FUNC_PRINTF_J +AC_FUNC_PRINTF_Z +AC_FUNC_PRINTF_LL +AC_FUNC_REALLOC_NULL +AC_FUNC_WAITID +AC_CHECK_FUNCS(access eaccess euidaccess) +AC_CHECK_FUNCS(memchr memcmp memcpy memccpy memmove memset) +AC_CHECK_FUNCS(brk sbrk strerror nice flock lockf fchdir statvfs quotactl) +AC_CHECK_FUNCS(realpath resolvepath) +AC_CHECK_FUNCS(dup dup2) +AC_CHECK_FUNCS(getcwd shmat semget) +AC_CHECK_FUNCS(lstat readlink symlink link rename mkfifo mknod) +AC_CHECK_FUNCS(setreuid setresuid seteuid setuid) +AC_CHECK_FUNCS(setregid setresgid setegid setgid) +AC_CHECK_FUNCS(getuid geteuid getgid getegid) +AC_CHECK_FUNCS(getpid getppid) +AC_CHECK_FUNCS(getpgid setpgid getsid setsid) +AC_CHECK_FUNCS(getpgrp setpgrp) +AC_CHECK_FUNCS(getpwnam getpwent getpwuid setpwent endpwent) +AC_CHECK_FUNCS(getgrnam getgrent getgrgid setgrent endgrent) +dnl getspwnam() on HP-UX is in libsec.a +AC_CHECK_FUNCS(getspnam getspwnam) +AC_CHECK_FUNCS(getlogin) +dnl Cannot simply include "waitid" here as the so called POSIX compliant +dnl Mac OS X comes with a completely broken waitid() implementation. +AC_CHECK_FUNCS(sync fsync fork forkx vforkx forkall forkallx wait wait4 wait6 waitpid getrusage getrlimit setrlimit ulimit) +AC_CHECK_FUNCS(execl execle execlp execv execve execvp) +AC_CHECK_FUNCS(spawnl spawnle spawnlp spawnlpe) +AC_CHECK_FUNCS(spawnv spawnve spawnvp spawnvpe) +AC_CHECK_FUNCS(cwait) +AC_CHECK_FUNCS(getexecname) +AC_CHECK_FUNCS(getprogname setprogname) +AC_CHECK_FUNCS(proc_pidpath) +AC_CHECK_FUNCS(getloadavg) +AC_CHECK_FUNCS(gethostid gethostname getdomainname getdtablesize) +AC_CHECK_FUNCS(gettimeofday settimeofday time stime gethrtime) +AC_CHECK_FUNCS(ftime tzset mktime gmtime localtime timegm timelocal) +AC_CHECK_FUNCS(ctime cftime ascftime strftime) +AC_CHECK_FUNCS(poll select isastream) +AC_CHECK_FUNCS(chown fchown lchown chmod fchmod lchmod times utime utimes futimes lutimes) +AC_CHECK_FUNCS(utimens lutimens) +AC_CHECK_FUNCS(futimens utimensat) +AC_CHECK_FUNCS(ioctl fcntl) +dnl AC_CHECK_FUNCS(ecvt fcvt gcvt) +AC_CHECK_FUNCS(qecvt qfcvt qgcvt) +AC_CHECK_FUNCS(_qecvt _qfcvt _qgcvt) +AC_CHECK_FUNCS(_qecvt_r _qfcvt_r _qgcvt_r) +AC_CHECK_FUNCS(_ldecvt _ldfcvt _ldgcvt) +AC_CHECK_FUNCS(ecvt_r fcvt_r gcvt_r) +AC_CHECK_FUNCS(_ldecvt_r _ldfcvt_r _ldgcvt_r) +AC_CHECK_FUNCS(econvert fconvert gconvert) +AC_CHECK_FUNCS(qeconvert qfconvert qgconvert) +AC_CHECK_FUNCS(isinf isnan) +AC_CHECK_FUNCS(getc_unlocked getchar_unlocked putc_unlocked putchar_unlocked) +AC_CHECK_FUNCS(flockfile funlockfile ftrylockfile) +AC_CHECK_FUNCS(rand drand48) +AC_CHECK_FUNCS(strtol strtoll strtoul strtoull strtod) +AC_CHECK_FUNCS(setpriority DosSetPriority) +AC_CHECK_FUNCS(DosAllocSharedMem) +AC_CHECK_FUNCS(getdelim) +AC_CHECK_FUNCS(seekdir fdopendir) +dnl These are POSIX.1 functions (syscalls on Solaris) +AC_CHECK_FUNCS(openat fstatat fchownat futimesat renameat unlinkat) +dnl This is a library function for the Solaris extended attr interface +AC_CHECK_FUNCS(attropen) +dnl This appeared on Solaris 11 Build 63 +AC_CHECK_FUNCS(__accessat) +dnl This appeared not yet in POSIX +AC_CHECK_FUNCS(accessat) +dnl This are POSIX extensions not found on Solaris 10 +AC_CHECK_FUNCS(mkdirat faccessat fchmodat linkat mkfifoat mknodat readlinkat symlinkat) +AC_CHECK_FUNCS(pipe _pipe) +AC_CHECK_FUNCS(popen pclose _popen _pclose) +AC_CHECK_FUNCS(closefrom) +AC_CHECK_FUNCS(strsignal str2sig sig2str) +AC_CHECK_FUNCS(kill killpg) +AC_CHECK_FUNCS(signal sighold sigrelse sigignore sigpause sigprocmask sigsetmask sigset sigaltstack sigblock) +AC_CHECK_FUNCS(alarm sleep usleep yield) +AC_CHECK_FUNCS(atexit on_exit) +dnl tcgetattr and tcsetattr are a inline functions in termios.h on Android +AC_CHECK_DFUNC([ +#ifdef HAVE_TERMIOS_H +#include +#endif +], tcgetattr) +AC_CHECK_DFUNC([ +#ifdef HAVE_TERMIOS_H +#include +#endif +], tcsetattr) +AC_CHECK_FUNCS(tcgetpgrp tcsetpgrp tcgetsid) +AC_CHECK_FUNCS(getenv putenv setenv unsetenv) +AC_CHECK_FUNCS(snprintf strcasecmp strncasecmp) +AC_CHECK_FUNCS(vprintf vfprintf vsprintf vsnprintf) + +AC_CHECK_DFUNCS([ +#ifdef HAVE_STRING_H +#include +#endif +], strcat strncat strcmp strncmp strcpy strlcat strlcpy strncpy strdup strndup strlen strnlen strchr strrchr strstr strspn strcspn) +AC_CHECK_DFUNCS([ +#ifdef HAVE_WCHAR_H +#include +#endif +], wcscat wcsncat wcscmp wcsncmp wcscpy wcslcat wcslcpy wcsncpy wcsdup wcsndup wcslen wcsnlen wcschr wcsrchr wcsstr wcsspn wcscspn) + +AC_CHECK_FUNCS(wcwidth wcswidth wctype iswctype) +AC_CHECK_FUNCS(basename dirname) +AC_CHECK_FUNCS(pathconf fpathconf lpathconf) +AC_CHECK_FUNCS(malloc calloc valloc realloc memalign posix_memalign) +AC_CHECK_FUNCS(madvise) +AC_CHECK_FUNCS(mktemp mkstemp) +AC_CHECK_FUNCS(chflags fchflags fflagstostr strtofflags) +AC_CHECK_FUNCS(fnmatch) +AC_CHECK_FUNCS(truncate ftruncate) +AC_CHECK_FUNCS(getppriv setppriv priv_set) +AC_CHECK_FUNCS(issetugid) +AC_CHECK_FUNCS(getroles privbit_set) +AC_CHECK_FUNCS(setlocale localeconv nl_langinfo) +AC_CHECK_FUNCS(setbuf setvbuf) +AC_CHECK_FUNCS(clone_area create_area delete_area) + +dnl The official POSIX rule is not to define "new" interfaces that +dnl are in conflict with older interfaces of the same name. +dnl Our interfaces fexec*() have been defined and published in 1982. +dnl The new POSIX interfaces define a different interface and the +dnl new POSIX interfaces even use names that are not compatible with +dnl POSIX rules. The new POSIX interfaces in question should be called +dnl fdexec*() to follow the rules of other similar POSIX functions. +dnl +dnl We use AC_RCHECK_FUNCS() because some Linux distros define a +dnl fexecve() that returns ENOSYS an AC_CHECK_FUNCS() would return FALSE +dnl +echo Checking for POSIX violations by the POSIX.1-2008 standard: +AC_RCHECK_FUNCS(fexecl fexecle fexecv fexecve) +AC_RCHECK_FUNCS(fspawnv fspawnl fspawnv_nowait) + +dnl A similar problem exists with the new POSIX.1-2008 interfaces +dnl getline() and fgetline(). These interfaces are also incompatible +dnl with our interfaces defined in 1982. +AC_RCHECK_FUNCS(getline fgetline) +echo End of tests for POSIX violations by the POSIX.1-2008 standard. + +dnl Check whether a symbol is either defined in an include file or +dnl otherwise usable (e.g. as function) +AC_CHECK_DFUNC([#include ], dirfd) + +AC_CHECK_DFUNC([ +#ifdef HAVE_WCHAR_H +#include +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif +], iswprint) + +AC_CHECK_DFUNC([ +#ifdef HAVE_WCHAR_H +#include +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif +], iswblank) + +AC_CHECK_DFUNC([ +#ifdef HAVE_CTYPE_H +#include +#endif +], isblank) + +AC_CHECK_DFUNC([ +#ifdef HAVE_WCHAR_H +#include +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif +], mbsinit) + +AC_CHECK_DFUNC([ +#ifdef HAVE_STDLIB_H +#include +#endif +], mbtowc) + +AC_CHECK_DFUNC([ +#ifdef HAVE_STDLIB_H +#include +#endif +], wctomb) + +AC_CHECK_DFUNC([ +#ifdef HAVE_WCHAR_H +#include +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif +], mbrtowc) + +AC_CHECK_DFUNC([ +#ifdef HAVE_WCHAR_H +#include +#endif +#ifdef HAVE_WCTYPE_H +#include +#endif +], wcrtomb) + +AC_CHECK_DFUNC([#include ], finite) +AC_CHECK_DFUNC([#include ], isnand) + +dnl Checks for typedefs, structures, and compiler characteristics. +dnl that need results from the AC_CHECK_FUNCS() calls. +AC_USER_MALLOC +dnl AC_USER_XCVT test macro does not yet work +AC_VAR_TIMEZONE +AC_VAR_TIMEZONE_DEF +AC_VAR___PROGNAME +AC_VAR___PROGNAME_FULL + +dnl Checks for OS characteristics. +AC_HARD_SYMLINKS +AC_LINK_NOFOLLOW +AC_ACCESS_E_OK +AC_FNMATCH_IGNORECASE + +dnl Need to check this in default compilation mode to find out +dnl whether this platform supports both functions by default too. +dnl We cannot use the standard tests because they would find +dnl that fseeko()/ftello() are present in small file mode on +dnl Limnux while there is no prototype for these functions. +AC_SMALL_FSEEKO +AC_SMALL_FTELLO + +AC_CHECK_LIB(c, dlopen, lib_dl="", + [AC_CHECK_LIB(dl, dlopen, lib_dl="-ldl")]) +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_dl" +AC_CHECK_FUNCS(dlopen dlclose dlsym dlerror dlinfo) +AC_CHECK_FUNCS(shl_load shl_unload shl_gethandle) +LIBS="$ac_save_LIBS" +if test ."$lib_dl" = .""; then + AC_DEFINE(HAVE_DLOPEN_IN_LIBC) +fi + +AC_CHECK_DFUNCS([ +#ifdef HAVE_WINDOWS_H +#undef u_char +#undef u_short +#undef u_int +#undef u_long +#include +#endif +], LoadLibrary FreeLibrary GetProcAddress) + +dnl ??? AC_CHECK_LIB(socket, socket, lib_socket="-lsocket") +dnl +ac_save_LIBS="$LIBS" +AC_CHECK_LIB(c, socket, lib_socket="", + [AC_CHECK_LIB(socket, socket, lib_socket="-lsocket")]) +LIBS="$ac_save_LIBS" +AC_CHECK_LIB(c, gethostbyname, lib_nsl="", + [AC_CHECK_LIB(nsl, gethostbyname, lib_nsl="-lnsl", + [AC_CHECK_LIB(network, gethostbyname, lib_nsl="-lnetwork")])]) +LIBS="$ac_save_LIBS" +LIBS="$LIBS $lib_nsl $lib_socket" +AC_CHECK_FUNCS(rcmd socket socketpair) +AC_CHECK_FUNCS(getservbyname inet_ntoa) +AC_CHECK_FUNCS(getaddrinfo getnameinfo) +AC_CHECK_FUNCS(host2netname netname2host) +LIBS="$ac_save_LIBS" + +ac_save_LIBS="$LIBS" +AC_CHECK_LIB(c, res_init, lib_resolv="", + [AC_CHECK_LIB(resolv, res_init, lib_resolv="-lresolv")]) +LIBS="$ac_save_LIBS" +if test ."$lib_resolv" = .""; then + AC_DEFINE(HAVE_RESOLV_IN_LIBC) +fi + +dnl Check for largefile support +dnl Do this last to make sure that no large file definition +dnl in confdefs.h will modify our results +AC_SYS_LARGEFILE +dnl Warning do not run this test. it interferes with the test +dnl AC_CHECK_FUNCS(fseeko ftello) from above. +dnl The test AC_HAVE_LARGEFILES will check whether ftello/fseeko +dnl are available in Large File mode +dnl AC_FUNC_FSEEKO +AC_HAVE_LARGEFILES + +AC_DEFINE_UNQUOTED_STRING(HOST_ALIAS,$host_alias) +AC_DEFINE_UNQUOTED_STRING(HOST_SUB,$host) +AC_DEFINE_UNQUOTED_STRING(HOST_CPU,$host_cpu) +AC_DEFINE_UNQUOTED_STRING(HOST_VENDOR,$host_vendor) +AC_DEFINE_UNQUOTED_STRING(HOST_OS,$host_os) + +dnl AC_CHECK_LIB(crypt, crypt, lib_crypt="-lcrypt") + +AC_CHECK_LIB(c, crypt, lib_crypt="", + [AC_CHECK_LIB(crypt, crypt, lib_crypt="-lcrypt")]) +if test ."$lib_crypt" = .""; then + AC_DEFINE(HAVE_CRYPT_IN_LIBC) +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_crypt" +AC_CHECK_FUNCS(crypt) +LIBS="$ac_save_LIBS" + +AC_CHECK_ILIB([#include ], c, gettext, lib_intl="", + [AC_CHECK_ILIB([#include ], intl, gettext, lib_intl="-lintl")]) +if test ."$lib_intl" = .""; then + AC_DEFINE(HAVE_GETTEXT_IN_LIBC) +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_intl" +AC_CHECK_DFUNC([#include ], gettext) +LIBS="$ac_save_LIBS" + +AC_CHECK_ILIB([#include ], c, iconv_open, lib_iconv="", + [AC_CHECK_ILIB([#include ], iconv, iconv_open, lib_iconv="-liconv")]) +if test ."$lib_iconv" = .""; then + AC_DEFINE(HAVE_ICONV_IN_LIBC) +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_iconv" +AC_CHECK_DFUNC([#include ], iconv) +AC_CHECK_DFUNC([#include ], iconv_open) +AC_CHECK_DFUNC([#include ], iconv_close) +dnl GNU libiconv on Linux and Cygwin may make "configure" fail :-( +AC_CHECK_DFUNC([#include ], libiconv) +AC_CHECK_DFUNC([#include ], libiconv_open) +AC_CHECK_DFUNC([#include ], libiconv_close) +LIBS="$ac_save_LIBS" + +AC_CHECK_LIB(c, XML_Parse, lib_expat="", + [AC_CHECK_LIB(expat, XML_Parse, lib_expat="-lexpat")]) +if test ."$lib_expat" = ."" -a "$ac_cv_lib_c_XML_Parse" = yes ; then + AC_DEFINE(HAVE_EXPAT_IN_LIBC) +fi +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_expat" +AC_CHECK_FUNCS(XML_Parse) +LIBS="$ac_save_LIBS" + +if test "$CC" = cl.exe; then + echo configure does not yet support library checks for cl.exe: + echo checking for SCardEstablishContext in -lwinscard... we know it is present + lib_pcsc="-lwinscard" + AC_DEFINE(HAVE_SCARDESTABLISHCONTEXT) +else + AC_CHECK_LIB(c, SCardEstablishContext, lib_pcsc="", + [AC_CHECK_LIB(winscard, SCardEstablishContext, lib_pcsc="-lwinscard", + [AC_CHECK_LIB(pcsclite, SCardEstablishContext, lib_pcsc="-lpcsclite")])]) + if test ."$lib_pcsc" = ."" -a "$ac_cv_lib_c_SCardEstablishContext" = yes ; then + AC_DEFINE(HAVE_PCSC_IN_LIBC) + fi + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_pcsc" + AC_CHECK_FUNCS(SCardEstablishContext) + LIBS="$ac_save_LIBS" +fi + +if test "$CC" = cl.exe; then + echo configure does not yet support library checks for cl.exe: + echo checking for CRYPTO_free in -llibeay32... we know it is present + echo checking for SSL_free in -lssleay32... we know it is present + lib_crypto="-llibeay32" + lib_ssl="-lssleay32" +else + AC_CHECK_LIB(c, CRYPTO_free, lib_crypto="", + [AC_CHECK_LIB(crypto, CRYPTO_free, lib_crypto="-lcrypto")]) + if test ."$lib_crypto" = ."" -a "$ac_cv_lib_c_CRYPTO_free" = yes ; then + AC_DEFINE(HAVE_CRYPTO_IN_LIBC) + fi + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_crypto" + AC_CHECK_FUNCS(CRYPTO_free) + LIBS="$ac_save_LIBS" + AC_CHECK_LIB(c, SSL_free, lib_ssl="", + [AC_CHECK_LIB(ssl, SSL_free, lib_ssl="-lssl")]) + if test ."$lib_ssl" = ."" -a "$ac_cv_lib_c_SSL_free" = yes ; then + AC_DEFINE(HAVE_SSL_IN_LIBC) + fi + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_ssl" + AC_CHECK_FUNCS(SSL_free) + LIBS="$ac_save_LIBS" +fi + +if test $ac_cv_header_camlib_h = yes; then + scsi_lib=-lcam + lib_scsi=-lcam +fi + +if test "$ac_cv_header_sys_acl_h" = yes; then + + AC_CHECKING(for Posix Access Control List support) + AC_CHECK_LIB(acl, acl_get_file, lib_acl="-lacl") + AC_CHECK_LIB(pacl, acl_get_file, lib_acl="-lpacl") + + dnl If $lib_acl is nonempty, save it in $lib_acl_test + + if test ".$lib_acl" != .; then + lib_acl_test="$lib_acl" + fi + + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_acl" + AC_CHECK_FUNCS(acl_get_file acl_set_file acl_from_text acl_to_text acl_free acl_delete_def_file) + AC_CHECK_FUNCS(acl_extended_file) + AC_CHECK_FUNCS(acl_get_entry) + AC_CHECK_FUNCS(acl_to_text_np acl_get_brand_np acl_is_trivial_np acl_strip_np) + LIBS="$ac_save_LIBS" + + AC_CHECKING(for Solaris UFS Access Control List support) + AC_CHECK_LIB(sec, acltotext, lib_acl="-lsec") + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_acl" + AC_CHECK_FUNCS(acl facl aclfromtext acltotext) + + AC_CHECKING(for NFSv4 Access Control List support) + dnl These functions support NFSv4 ACLs + dnl Do not check for acl_free because of a name clash with the withdrawn POSIX draft + AC_CHECK_FUNCS(acl_get acl_set facl_get facl_set acl_fromtext acl_totext) + LIBS="$ac_save_LIBS" + + dnl On Solaris, there is no need for lib_acl_test as acl(2) is in -libc + + AC_CHECKING(for HP-UX Access Control List support) + AC_CHECK_FUNCS(getacl fgetacl setacl fsetacl strtoacl acltostr cpacl fcpacl chownacl setaclentry fsetaclentry) + + dnl XXX lib_acl_test: How do we test for ACLs on HP-UX? + +fi + +if test "$ac_cv_header_attr_xattr_h" = yes; then + AC_CHECKING(for Linux flavor Extended Attribute support) + AC_CHECK_LIB(attr, getxattr, lib_attr="-lattr") + ac_save_LIBS="$LIBS" + LIBS="$LIBS $lib_attr" + AC_CHECK_FUNCS(getxattr setxattr listxattr lgetxattr lsetxattr llistxattr) + LIBS="$ac_save_LIBS" +fi + +AC_CHECKING(for RBAC support) +AC_CHECK_LIB(secdb, getuserattr, lib_secdb="-lsecdb") +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_secdb" +AC_CHECK_FUNCS(getauthattr getuserattr getexecattr getprofattr) +LIBS="$ac_save_LIBS" + +AC_CHECKING(for gmatch() support) +AC_CHECK_LIB(gen, gmatch, lib_gen="-lgen") +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_gen" +AC_CHECK_FUNCS(gmatch) +LIBS="$ac_save_LIBS" + +AC_CHECKING(for ELF support) +AC_CHECK_LIB(elf, elf_begin, lib_elf="-lelf") +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_elf" +AC_CHECK_FUNCS(elf_begin) +LIBS="$ac_save_LIBS" + +AC_CHECK_FUNCS(thr_yield) + +dnl AC_CHECK_LIB(c, sem_post, lib_sem="", +dnl [AC_CHECK_LIB(pthread, sem_post, lib_sem="-lpthread")]) +dnl ac_save_LIBS="$LIBS" +dnl LIBS="$LIBS $lib_sem" +dnl AC_CHECK_FUNCS(sem_post) +dnl LIBS="$ac_save_LIBS" + +AC_CHECK_LIB(c, pthread_create, lib_pthread="", + [AC_CHECK_LIB(pthread, pthread_create, lib_pthread="-lpthread")]) + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_pthread" +AC_CHECK_FUNCS(pthread_create pthread_kill) +AC_CHECK_FUNCS(pthread_mutex_lock pthread_cond_wait pthread_spin_lock) +LIBS="$ac_save_LIBS" + +AC_CHECK_LIB(c, clock_gettime, lib_rt="", + [AC_CHECK_LIB(rt, clock_gettime, lib_rt="-lrt", + [AC_CHECK_LIB(posix4, clock_gettime, lib_rt="-lposix4")])]) +if test ."$lib_rt" = .""; then + AC_DEFINE(HAVE_CLOCK_GETTIME_IN_LIBC) +fi + +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_rt" +AC_CHECK_FUNCS(clock_gettime clock_settime clock_getres) +AC_CHECK_FUNCS(sched_getparam sched_setparam sched_getscheduler sched_setscheduler) +AC_CHECK_FUNCS(sched_yield) +AC_CHECK_FUNCS(nanosleep) +LIBS="$ac_save_LIBS" + +AC_CHECK_LIB(cap, cap_get_proc, lib_cap="-lcap") +ac_save_LIBS="$LIBS" +LIBS="$LIBS $lib_cap" +AC_CHECK_FUNCS(cap_get_proc cap_set_proc cap_set_flag cap_clear_flag) +LIBS="$ac_save_LIBS" + +dnl Misc OS checks. +dnl +dnl WARNING: AC_CHECK_FILES uses "test -r file" and bash on Haiku returns wrong results +dnl for /dev/stdin /dev/stdout /dev/stderr /dev/fd/0 /dev/fd/1 /dev/fd/2 +dnl For this reason, we rather use AC_STAT_FILES +dnl AC_CHECK_FILES(/dev/tty /dev/null /dev/zero) +dnl AC_CHECK_FILES(/dev/stdin /dev/stdout /dev/stderr) +dnl AC_CHECK_FILES(/dev/fd/0 /dev/fd/1 /dev/fd/2) +dnl AC_CHECK_FILES(/usr/src/linux/include) + +AC_STAT_FILES(/dev/tty /dev/null /dev/zero) +AC_STAT_FILES(/dev/stdin /dev/stdout /dev/stderr) +AC_STAT_FILES(/dev/fd/0 /dev/fd/1 /dev/fd/2) +AC_STAT_FILES(/usr/src/linux/include /usr/xpg4/bin/sh /opt/schily/xpg4/bin/sh) + +dnl Checks for OS madness. +UNAME=`uname || true` + +if test ."$UNAME" = .Linux; then + +dnl Linux madness tests: + +AC_BROKEN_LINUX_EXT2_FS_H +AC_BROKEN_SRC_LINUX_EXT2_FS_H +if test .$ac_cv_broken_linux_ext2_fs_h = .no -o .$ac_cv_broken_src_linux_ext2_fs_h = .no; then + # + # If either /usr/include/linux/ex2_fs.h works or + # /usr/src/linux/include/linux/ex2_fs.h works, we will + # #define HAVE_USABLE_LINUX_EXT2_FS_H + # + # If HAVE_USABLE_LINUX_EXT2_FS_H is defined, a simple + # #include will work. + # + ac_cv_usable_linux_ext2_fs_h=yes + AC_DEFINE(HAVE_USABLE_LINUX_EXT2_FS_H) +else + ac_cv_usable_linux_ext2_fs_h=no +fi +AC_BROKEN_SCSI_SCSI_H +AC_BROKEN_SRC_SCSI_SCSI_H +AC_BROKEN_SCSI_SG_H +AC_BROKEN_SRC_SCSI_SG_H + +if test .$ac_cv_broken_src_scsi_scsi_h = .yes; then + may_linux_src_include=no +fi +if test .$ac_cv_broken_src_linux_ext2_fs_h = .yes; then + may_linux_src_include=no +fi +if test .$ac_cv_file__usr_src_linux_include = .yes; then # only warn if there is /usr/src/linux/include +if test .$may_linux_src_include = .no; then + echo + echo "Warning: *** /usr/src/linux/include contains broken include files ***" + echo "Warning: *** /usr/src/linux/include is not used this reason ***" + echo "Warning: This may result in the inability to use recent Linux kernel interfaces" + echo +fi +fi +if test .$ac_cv_header_ext2fs_ext2_fs_h = .no; then # only if there is no +if test .$ac_cv_usable_linux_ext2_fs_h = .no; then + echo + echo "Warning: *** linux/ext2_fs.h is not usable at all ***" + echo "Warning: *** This makes it impossible to support Linux file flags ***" + echo "You may try to compile using 'make COPTX=-DTRY_EXT2_FS'" + echo + sleep 10 +fi +fi # was missing +fi # Linux only tests + +AC_SUBST(may_linux_src_include) + +AC_SUBST(largefile_cc_opt) +AC_SUBST(sun_cc64_opt) +AC_SUBST(hp_cc_ansi_opt) +AC_SUBST(hp_cc_opt_opt) +AC_SUBST(hp_cc_gprof_opt) + +AC_SUBST(lib_crypt) +AC_SUBST(lib_resolv) +AC_SUBST(lib_intl) +AC_SUBST(lib_iconv) +AC_SUBST(lib_expat) +AC_SUBST(lib_pcsc) +AC_SUBST(lib_crypto) +AC_SUBST(lib_ssl) +AC_SUBST(lib_nsl) +AC_SUBST(scsi_lib) +AC_SUBST(lib_scsi) +AC_SUBST(lib_acl) +AC_SUBST(lib_acl_test) +AC_SUBST(lib_attr) +AC_SUBST(lib_secdb) +AC_SUBST(lib_gen) +AC_SUBST(lib_elf) +AC_SUBST(lib_pthread) +AC_SUBST(lib_rt) +AC_SUBST(lib_dl) +AC_SUBST(lib_dir) +AC_SUBST(lib_cap) + +AC_OUTPUT(rules.cnf) diff --git a/autoconf/install-sh b/autoconf/install-sh new file mode 100755 index 0000000..ebc6691 --- /dev/null +++ b/autoconf/install-sh @@ -0,0 +1,250 @@ +#! /bin/sh +# +# install - install a program, script, or datafile +# This comes from X11R5 (mit/util/scripts/install.sh). +# +# Copyright 1991 by the Massachusetts Institute of Technology +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of M.I.T. not be used in advertising or +# publicity pertaining to distribution of the software without specific, +# written prior permission. M.I.T. makes no representations about the +# suitability of this software for any purpose. It is provided "as is" +# without express or implied warranty. +# +# 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. It can only install one file at a time, a restriction +# shared with many OS's install programs. + + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit="${DOITPROG-}" + + +# put in absolute paths if you don't have them in your path; or use env. vars. + +mvprog="${MVPROG-mv}" +cpprog="${CPPROG-cp}" +chmodprog="${CHMODPROG-chmod}" +chownprog="${CHOWNPROG-chown}" +chgrpprog="${CHGRPPROG-chgrp}" +stripprog="${STRIPPROG-strip}" +rmprog="${RMPROG-rm}" +mkdirprog="${MKDIRPROG-mkdir}" + +transformbasename="" +transform_arg="" +instcmd="$mvprog" +chmodcmd="$chmodprog 0755" +chowncmd="" +chgrpcmd="" +stripcmd="" +rmcmd="$rmprog -f" +mvcmd="$mvprog" +src="" +dst="" +dir_arg="" + +while [ x"$1" != x ]; do + case $1 in + -c) instcmd="$cpprog" + shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + -s) stripcmd="$stripprog" + shift + continue;; + + -t=*) transformarg=`echo $1 | sed 's/-t=//'` + shift + continue;; + + -b=*) transformbasename=`echo $1 | sed 's/-b=//'` + shift + continue;; + + *) if [ x"$src" = x ] + then + src=$1 + else + # this colon is to work around a 386BSD /bin/sh bug + : + dst=$1 + fi + shift + continue;; + esac +done + +if [ x"$src" = x ] +then + echo "install: no input file specified" + exit 1 +else + true +fi + +if [ x"$dir_arg" != x ]; then + dst=$src + src="" + + if [ -d $dst ]; then + instcmd=: + else + instcmd=mkdir + fi +else + +# Waiting for this to be detected by the "$instcmd $src $dsttmp" command +# might cause directories to be created, which would be especially bad +# if $src (and thus $dsttmp) contains '*'. + + if [ -f $src -o -d $src ] + then + true + else + echo "install: $src does not exist" + exit 1 + fi + + if [ x"$dst" = x ] + then + echo "install: no destination specified" + exit 1 + else + true + fi + +# If destination is a directory, append the input filename; if your system +# does not like double slashes in filenames, you may need to add some logic + + if [ -d $dst ] + then + dst="$dst"/`basename $src` + else + true + fi +fi + +## this sed command emulates the dirname command +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` + +# Make sure that the destination directory exists. +# this part is taken from Noah Friedman's mkinstalldirs script + +# Skip lots of stat calls in the usual case. +if [ ! -d "$dstdir" ]; then +defaultIFS=' +' +IFS="${IFS-${defaultIFS}}" + +oIFS="${IFS}" +# Some sh's can't handle IFS=/ for some reason. +IFS='%' +set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` +IFS="${oIFS}" + +pathcomp='' + +while [ $# -ne 0 ] ; do + pathcomp="${pathcomp}${1}" + shift + + if [ ! -d "${pathcomp}" ] ; + then + $mkdirprog "${pathcomp}" + else + true + fi + + pathcomp="${pathcomp}/" +done +fi + +if [ x"$dir_arg" != x ] +then + $doit $instcmd $dst && + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi +else + +# If we're going to rename the final executable, determine the name now. + + if [ x"$transformarg" = x ] + then + dstfile=`basename $dst` + else + dstfile=`basename $dst $transformbasename | + sed $transformarg`$transformbasename + fi + +# don't allow the sed command to completely eliminate the filename + + if [ x"$dstfile" = x ] + then + dstfile=`basename $dst` + else + true + fi + +# Make a temp file name in the proper directory. + + dsttmp=$dstdir/#inst.$$# + +# Move or copy the file name to the temp name + + $doit $instcmd $src $dsttmp && + + trap "rm -f ${dsttmp}" 0 && + +# 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 $instcmd $src $dsttmp" command. + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && + +# Now rename the file to the real destination. + + $doit $rmcmd -f $dstdir/$dstfile && + $doit $mvcmd $dsttmp $dstdir/$dstfile + +fi && + + +exit 0 diff --git a/autoconf/rules.cnf.in b/autoconf/rules.cnf.in new file mode 100644 index 0000000..27c7387 --- /dev/null +++ b/autoconf/rules.cnf.in @@ -0,0 +1,43 @@ +# @(#)rules.cnf.in 1.32 17/04/27 Copyright 1998-2014 J. Schilling + +EXEEXT= @EXEEXT@ +XEXEEXT= @XEXEEXT@ +OBJEXT= @OBJEXT@ + +YACC= @YACC@ +BISON= @BISON@ +TSORT_PROG= @TSORT@ +LORDER_PROG= @LORDER@ +CPP= @CPP@ +CPPX= @CPPX@ + +LARGEFILE_CC_OPT= @largefile_cc_opt@ +SUN_CC64_OPT= @sun_cc64_opt@ # Used on e.g. Solaris and Linux +HP_CC_ANSI_OPT= @hp_cc_ansi_opt@ # Used on HP-UX +HP_CC_OPT_OPT= @hp_cc_opt_opt@ # Used on HP-UX +HP_CC_GPROF_OPT= @hp_cc_gprof_opt@ # Used on HP-UX + +MAY_LINUX_SRC_INCLUDE= @may_linux_src_include@ + +SCSILIB= @scsi_lib@ +LIB_SCSI= @lib_scsi@ +LIB_RESOLV= @lib_resolv@ +LIB_CRYPT= @lib_crypt@ +LIB_INTL= @lib_intl@ +LIB_ICONV= @lib_iconv@ +LIB_EXPAT= @lib_expat@ +LIB_PCSC= @lib_pcsc@ +LIB_CRYPTO= @lib_crypto@ +LIB_SSL= @lib_ssl@ +LIB_NSL= @lib_nsl@ # For gethostbyname() users +LIB_ACL= @lib_acl@ # Full (test/set) ACL users like star +LIB_ACL_TEST= @lib_acl_test@ # Test only ACL users like libfind +LIB_ATTR = @lib_attr@ +LIB_SECDB = @lib_secdb@ +LIB_GEN = @lib_gen@ +LIB_ELF= @lib_elf@ +LIB_PTHREAD = @lib_pthread@ +LIB_RT = @lib_rt@ +LIB_DL= @lib_dl@ +LIB_DIR= @lib_dir@ +LIB_CAP= @lib_cap@ diff --git a/autoconf/xconfig.h.in b/autoconf/xconfig.h.in new file mode 100644 index 0000000..df2d71f --- /dev/null +++ b/autoconf/xconfig.h.in @@ -0,0 +1,1180 @@ +/* @(#)xconfig.h.in 1.271 17/08/05 Copyright 1998-2017 J. Schilling */ +/* + * Dynamic autoconf C-include code. + * Do not edit, this file has been created automatically. + * + * Copyright (c) 1998-2017 J. Schilling + * + * The layout for this file is controlled by "configure". + * Switch off cstyle(1) checks for now. + */ +#ifndef __XCONFIG_H +#define __XCONFIG_H +/* BEGIN CSTYLED */ + +/* + * Header Files + */ +#undef PROTOTYPES /* if Compiler supports ANSI C prototypes */ +#undef HAVE_INLINE /* if Compiler supports "inline" keyword */ +#undef HAVE_AR_H /* to use ar.h */ +#undef HAVE_ASSERT_H /* to use assert.h */ +#undef HAVE_STDIO_H /* to use stdio.h */ +#undef HAVE_STDARG_H /* to use stdarg.h, else use varargs.h NOTE: SaberC on a Sun has prototypes but no stdarg.h */ +#undef HAVE_VARARGS_H /* to use use varargs.h NOTE: The free HP-UX C-compiler has stdarg.h but no PROTOTYPES */ +#undef HAVE_STDLIB_H /* to use general utility defines (malloc(), size_t ...) and general C library prototypes */ +#undef HAVE_STDDEF_H /* to use offsetof(), ptrdiff_t, wchar_t, size_t */ +#undef HAVE_STRING_H /* to get NULL and ANSI C string function prototypes */ +#undef HAVE_STRINGS_H /* to get BSD string function prototypes */ +#undef STDC_HEADERS /* if ANSI compliant stdlib.h, stdarg.h, string.h, float.h are present */ +#undef HAVE_UNISTD_H /* to get POSIX syscall prototypes XXX sys/file.h fcntl.h (unixstd/fctl)XXX*/ +#undef HAVE_GETOPT_H /* to get getopt() prototype from getopt.h instead of unistd.h */ +#undef HAVE_LIMITS_H /* to get POSIX numeric limits constants */ +#undef HAVE_A_OUT_H /* if a.out.h is present (may be a system using a.out format) */ +#undef HAVE_AOUTHDR_H /* if aouthdr.h is present. This is a COFF system */ +#undef HAVE_ELF_H /* if elf.h is present. This is an ELF system */ +#undef HAVE_FCNTL_H /* to access, O_XXX constants for open(), otherwise use sys/file.h */ +#undef HAVE_IO_H /* to access setmode()... from WIN-DOS, OS/2 and similar */ +#undef HAVE_CONIO_H /* to access getch()... from WIN-DOS, OS/2 and similar */ +#undef HAVE_SYS_FILE_H /* to use O_XXX constants for open() and flock() defs */ +#undef HAVE_INTTYPES_H /* to use UNIX-98 inttypes.h */ +#undef HAVE_STDINT_H /* to use SUSv3 stdint.h */ +#undef HAVE_DIRENT_H /* to use POSIX dirent.h */ +#undef HAVE_SYS_DIR_H /* to use BSD sys/dir.h */ +#undef HAVE_NDIR_H /* to use ndir.h */ +#undef HAVE_SYS_NDIR_H /* to use sys/ndir.h */ +#undef HAVE_ALLOCA_H /* if alloca.h exists */ +#undef HAVE_MALLOC_H /* if malloc.h exists */ +#undef HAVE_POSIX_MALLOC_H /* The Haiku include file for malloc()/valloc()/... */ +#undef HAVE_SGTTY_H /* if sgtty.h exists */ +#undef HAVE_TERMIOS_H /* to use POSIX termios.h */ +#undef HAVE_TERMIO_H /* to use SVR4 termio.h */ +#undef HAVE_PWD_H /* if pwd.h exists */ +#undef HAVE_GRP_H /* if grp.h exists */ +#undef HAVE_SIGNAL_H /* if signal.h exists */ +#undef HAVE_SIGINFO_H /* if siginfo.h exists */ +#undef HAVE_SYS_SIGINFO_H /* if sys/siginfo.h exists */ +#undef HAVE_UCONTEXT_H /* if ucontext.h exists */ +#undef HAVE_SYS_ACL_H /* to use for ACL definitions */ +#undef HAVE_ACLUTILS_H /* to use for NFSv4 ACL extensions */ +#undef HAVE_ACLLIB_H /* if HP-UX is present */ +#undef HAVE_ACL_LIBACL_H /* if Linux is present */ +#undef HAVE_SHADOW_H /* if shadow.h exists */ +#undef HAVE_SYSLOG_H /* if syslog.h exists */ +#undef HAVE_SYS_TIME_H /* may include sys/time.h for struct timeval */ +#undef TIME_WITH_SYS_TIME /* may include both time.h and sys/time.h */ +#undef HAVE_TIMES /* to use times() and sys/times.h */ +#undef HAVE_SYS_TIMES_H /* may include sys/times.h for struct tms */ +#undef HAVE_UTIME /* to use AT&T utime() and utimbuf */ +#undef HAVE_UTIMES /* to use BSD utimes() and sys/time.h */ +#undef HAVE_FUTIMES /* to use BSD futimes() and sys/time.h */ +#undef HAVE_LUTIMES /* to use BSD lutimes() and sys/time.h */ +#undef HAVE_UTIMENS /* to use BSD utimens() and sys/time.h */ +#undef HAVE_FUTIMENS /* to use BSD futimens() and sys/time.h */ +#undef HAVE_LUTIMENS /* to use BSD lutimens() and sys/time.h */ +#undef HAVE_UTIME_H /* to use utime.h for the utimbuf structure declaration, else declare struct utimbuf yourself */ +#undef HAVE_SYS_UTIME_H /* to use sys/utime.h if utime.h does not exist */ +#undef HAVE_SYS_IOCTL_H /* if sys/ioctl.h is present */ +#undef HAVE_SYS_FILIO_H /* if sys/filio.h is present */ +#undef HAVE_SYS_PARAM_H /* if sys/param.h is present */ +#undef HAVE_MACH_MACHINE_H /* if mach/machine.h is present */ +#undef HAVE_MNTENT_H /* if mntent.h is present */ +#undef HAVE_SYS_MNTENT_H /* if sys/mntent.h is present */ +#undef HAVE_SYS_MNTTAB_H /* if sys/mnttab.h is present */ +#undef HAVE_SYS_MOUNT_H /* if sys/mount.h is present */ +#undef HAVE_WAIT_H /* to use wait.h for prototypes and union wait */ +#undef HAVE_SYS_WAIT_H /* else use sys/wait.h */ +#undef HAVE_ULIMIT_H /* to use ulimit() as fallback for getrlimit() */ +#undef HAVE_PROCESS_H /* to use process.h for spawn*() and cwait() */ +#undef HAVE_SYS_RESOURCE_H /* to use sys/resource.h for rlimit() and wait3() */ +#undef HAVE_PROCFS_H /* to use procfs.h instead of sys/procfs.h (Solaris forces profcs-2) */ +#undef HAVE_SYS_PROCFS_H /* to use sys/procfs.h for wait3() emulation */ +#undef HAVE_LIBPROC_H /* to use libproc.h (Mac OS X) */ +#undef HAVE_SYS_SYSTEMINFO_H /* to use SVr4 sysinfo() */ +#undef HAVE_SYS_SYSCTL_H /* to use BSD sysctl() */ +#undef HAVE_SYS_UTSNAME_H /* to use uname() */ +#undef HAVE_SYS_PRIOCNTL_H /* to use SVr4 priocntl() instead of nice()/setpriority() */ +#undef HAVE_SYS_RTPRIOCNTL_H /* if the system supports SVr4 real time classes */ +#undef HAVE_SYS_PROCSET_H /* if the system supports SVr4 process sets */ +#undef HAVE_SYS_LOADAVG_H /* to use getloadavg() */ +#undef HAVE_SYS_SYSCALL_H /* to use syscall() */ +#undef HAVE_SYS_MTIO_H /* to use mtio definitions from sys/mtio.h */ +#undef HAVE_SYS_TAPE_H /* to use mtio definitions from AIX sys/tape.h */ +#undef HAVE_SYS_MMAN_H /* to use definitions for mmap()/madvise()... from sys/mman.h */ +#undef HAVE_SYS_SHM_H /* to use definitions for shmget() ... from sys/shm.h */ +#undef HAVE_SYS_SEM_H /* to use definitions for semget() ... from sys/sem.h */ +#undef HAVE_SYS_IPC_H /* to use definitions for ftok() ... from sys/ipc.h */ +#undef HAVE_SEMAPHORE_H /* to use definitions for sema_init() ... from semaphore.h */ +#undef MAJOR_IN_MKDEV /* if we should include sys/mkdev.h to get major()/minor()/makedev() */ +#undef MAJOR_IN_SYSMACROS /* if we should include sys/sysmacros.h to get major()/minor()/makedev() */ +#undef HAVE_SYS_DKIO_H /* if we may include sys/dkio.h for disk ioctls */ +#undef HAVE_SYS_DKLABEL_H /* if we may include sys/dklabel.h for disk label */ +#undef HAVE_SUN_DKIO_H /* if we may include sun/dkio.h for disk ioctls */ +#undef HAVE_SUN_DKLABEL_H /* if we may include sun/dklabel.h for disk label */ +#undef HAVE_SYS_TYPES_H /* if we may include sys/types.h (the standard) */ +#undef HAVE_SYS_STYPES_H /* if we may include sys/stypes.h (JOS) */ +#undef HAVE_SYS_FILEDESC_H /* if we may include sys/filedesc.h (JOS) */ +#undef HAVE_SYS_STAT_H /* if we may include sys/stat.h (the standard) */ +#undef HAVE_SYS_ACCT_H /* if we may include sys/acct.h */ +#undef HAVE_TYPES_H /* if we may include types.h (rare cases e.g. ATARI TOS) */ +#undef HAVE_STAT_H /* if we may include stat.h (rare cases e.g. ATARI TOS) */ +#undef HAVE_POLL_H /* if we may include poll.h to use poll() */ +#undef HAVE_SYS_POLL_H /* if we may include sys/poll.h to use poll() */ +#undef HAVE_SYS_SELECT_H /* if we may have sys/select.h nonstandard use for select() on some systems*/ +#undef NEED_SYS_SELECT_H /* if we need sys/select.h to use select() (this is nonstandard) */ +#undef HAVE_NETDB_H /* if we have netdb.h for get*by*() and rcmd() */ +#undef HAVE_ARPA_AIXRCMDS_H /* if we have arpa/aixrcmds.h for get*by*() and rcmd() */ +#undef HAVE_SYS_SOCKET_H /* if we have sys/socket.h for socket() */ +#undef NEED_SYS_SOCKET_H /* if we need sys/socket.h to use select() (this is nonstandard) */ +#undef HAVE_NETINET_IN_H /* if we have netinet/in.h */ +#undef HAVE_STROPTS_H /* if we have stropts.h */ +#undef HAVE_LINUX_PG_H /* if we may include linux/pg.h for PP ATAPI sypport */ +#undef HAVE_CAMLIB_H /* if we may include camlib.h for CAM SCSI transport definitions */ +#undef HAVE_IEEEFP_H /* if we may include ieeefp.h for finite()/isnand() */ +#undef HAVE_FP_H /* if we may include fp.h for FINITE()/IS_INF()/IS_NAN() */ +#undef HAVE_VALUES_H /* if we may include values.h for MAXFLOAT */ +#undef HAVE_FLOAT_H /* if we may include float.h for FLT_MAX */ +#undef HAVE_MATH_H /* if we may include math.h for e.g. isinf()/isnan() */ +#undef HAVE__FILBUF /* if we have _filbuf() for USG derived STDIO */ +#undef HAVE___FILBUF /* if we have __filbuf() for USG derived STDIO */ +#undef HAVE_USG_STDIO /* if we have USG derived STDIO */ +#undef HAVE_ERRNO_DEF /* if we have errno definition in */ +#undef HAVE_ENVIRON_DEF /* if we have environ definition in */ +#undef HAVE_SYS_SIGLIST_DEF /* if we have sys_siglist definition in */ +#undef HAVE_SYS_FORK_H /* if we should include sys/fork.h for forkx() definitions */ +#undef HAVE_VFORK_H /* if we should include vfork.h for vfork() definitions */ +#undef HAVE_ARPA_INET_H /* if we have arpa/inet.h (missing on BeOS) */ + /* BeOS has inet_ntoa() in */ +#undef HAVE_RPC_RPC_H /* if we may include rpc/rpc.h */ +#undef HAVE_BSD_DEV_SCSIREG_H /* if we have a NeXT Step compatible sg driver */ +#undef HAVE_SCSI_SCSI_H /* if we may include scsi/scsi.h */ +#undef HAVE_SCSI_SG_H /* if we may include scsi/sg.h */ +#undef HAVE_LINUX_SCSI_H /* if we may include linux/scsi.h */ +#undef HAVE_LINUX_SG_H /* if we may include linux/sg.h */ +#undef HAVE_LINUX_TYPES_H /* if we may include linux/types.h */ +#undef HAVE_LINUX_GFP_H /* if we may include linux/gfp.h */ +#undef HAVE_ASM_TYPES_H /* if we may include asm/types.h */ +#undef HAVE_SYS_CAPABILITY_H /* if we may include sys/capability.h */ +#undef HAVE_SYS_BSDTTY_H /* if we have sys/bsdtty.h on HP-UX for TIOCGPGRP */ +#undef HAVE_OS_H /* if we have the BeOS kernel definitions in OS.h */ +#undef HAVE_OS2_H /* if we have the OS/2 definitions in os2.h */ +#undef HAVE_OS2ME_H /* if we have the OS/2 definitions in os2me.h */ +#undef HAVE_WINDOWS_H /* if we have the MS-Win definitions in windows.h */ +#undef HAVE_EXT2FS_EXT2_FS_H /* if we have the Linux moving target ext2fs/ext2_fs.h */ +#undef HAVE_ATTR_XATTR_H /* if we have the Linux Extended File Attr definitions in attr/xattr.h */ +#undef HAVE_CRT_EXTERNS_H /* if we have the Mac OS X env definitions in crt_externs.h */ +#undef HAVE_FNMATCH_H /* if we may include fnmatch.h */ +#undef HAVE_DIRECT_H /* if we may include direct.h (MSVC for getcwd()/chdir()/mkdir()/rmdir()) */ +#undef HAVE_SYSEXITS_H /* if we may include sysexits.h */ + +#undef HAVE_LIBINTL_H /* if we may include libintl.h */ +#undef HAVE_LOCALE_H /* if we may include locale.h */ +#undef HAVE_LANGINFO_H /* if we may include langinfo.h */ +#undef HAVE_NL_TYPES_H /* if we may include nl_types.h */ +#undef HAVE_CTYPE_H /* if we may include ctype.h */ +#undef HAVE_WCTYPE_H /* if we may include wctype.h */ +#undef HAVE_WCHAR_H /* if we may include wchar.h */ +#undef HAVE_ICONV_H /* if we may include iconv.h */ + +#undef HAVE_PRIV_H /* if we may include priv.h */ +#undef HAVE_SYS_PRIV_H /* if we may include sys/priv.h */ +#undef HAVE_EXEC_ATTR_H /* if we may include exec_attr.h */ +#undef HAVE_SECDB_H /* if we may include secdb.h */ +#undef HAVE_PTHREAD_H /* if we may include pthread.h */ +#undef HAVE_THREAD_H /* if we may include thread.h */ + +#undef HAVE_LIBGEN_H /* if we may include libgen.h */ +#undef HAVE_REGEX_H /* if we may include regex.h */ +#undef HAVE_REGEXP_H /* if we may include regexp.h */ +#undef HAVE_REGEXPR_H /* if we may include regexpr.h */ + +#undef HAVE_DLFCN_H /* if we may include dlfcn.h */ +#undef HAVE_LINK_H /* if we may include link.h */ +#undef HAVE_DL_H /* if we may include dl.h */ +#undef HAVE_LIBELF_H /* if we may include libelf.h */ + +#undef HAVE_RANLIB_H /* if we may include ranlib.h */ + +#undef HAVE_EXPAT_H /* if we may include expat.h */ + +/* + * Convert to SCHILY name + */ +#ifdef STDC_HEADERS +# ifndef HAVE_STDC_HEADERS +# define HAVE_STDC_HEADERS +# endif +#endif + +#ifdef HAVE_ELF_H +#define HAVE_ELF /* This system uses ELF */ +#else +# ifdef HAVE_AOUTHDR_H +# define HAVE_COFF /* This system uses COFF */ +# else +# ifdef HAVE_A_OUT_H +# define HAVE_AOUT /* This system uses AOUT */ +# endif +# endif +#endif + +/* + * Function declarations + */ +#undef HAVE_DECL_STAT /* Whether defines extern stat(); */ +#undef HAVE_DECL_LSTAT /* Whether defines extern lstat(); */ + +/* + * Library Functions + */ +#undef HAVE_ACCESS /* access() is present in libc */ +#undef HAVE_EACCESS /* eaccess() is present in libc */ +#undef HAVE_EUIDACCESS /* euidaccess() is present in libc */ +#undef HAVE_ACCESS_E_OK /* access() implements E_OK (010) for effective UIDs */ +#undef HAVE_CRYPT_IN_LIBC /* whether crypt() is in libc (needs no -lcrypt) */ +#undef HAVE_CRYPT /* crypt() is present in libc or libcrypt */ +#undef HAVE_STRERROR /* strerror() is present in libc */ +#undef HAVE_MEMCHR /* memchr() is present in libc */ +#undef HAVE_MEMCMP /* memcmp() is present in libc */ +#undef HAVE_MEMCPY /* memcpy() is present in libc */ +#undef HAVE_MEMCCPY /* memccpy() is present in libc */ +#undef HAVE_MEMMOVE /* memmove() is present in libc */ +#undef HAVE_MEMSET /* memset() is present in libc */ +#undef HAVE_MADVISE /* madvise() is present in libc */ +#undef HAVE_MLOCK /* mlock() is present in libc */ +#undef HAVE_MLOCKALL /* working mlockall() is present in libc */ +#undef HAVE_MMAP /* working mmap() is present in libc */ +#undef _MMAP_WITH_SIZEP /* mmap() needs address of size parameter */ +#undef HAVE_FLOCK /* *BSD flock() is present in libc */ +#undef HAVE_LOCKF /* lockf() is present in libc (XOPEN) */ +#undef HAVE_FCNTL_LOCKF /* file locking via fcntl() is present in libc */ +#undef HAVE_FCHDIR /* fchdir() is present in libc */ +#undef HAVE_FDOPENDIR /* fdopendir() is present in libc */ +#undef HAVE_GETDELIM /* getdelim() is present in libc */ +#undef HAVE_OPENAT /* openat() is present in libc */ +#undef HAVE_ATTROPEN /* attropen() is present in libc */ +#undef HAVE_FSTATAT /* fstatat() is present in libc */ +#undef HAVE_FCHOWNAT /* fchownat() is present in libc */ +#undef HAVE_FUTIMESAT /* futimesat() is present in libc */ +#undef HAVE_RENAMEAT /* renameat() is present in libc */ +#undef HAVE_UNLINKAT /* unlinkat() is present in libc */ +#undef HAVE___ACCESSAT /* __accessat() is present in libc */ +#undef HAVE_ACCESSAT /* accessat() is present in libc */ +#undef HAVE_REALPATH /* realpath() is present in libc */ +#undef HAVE_RESOLVEPATH /* resolvepath() is present in libc */ +/* + * See e.g. http://www.die.net/doc/linux/man/man2/mkdirat.2.html + */ +#undef HAVE_MKDIRAT /* mkdirat() is present in libc */ +#undef HAVE_FACCESSAT /* faccessat() is present in libc */ +#undef HAVE_FCHMODAT /* fchmodat() is present in libc */ +#undef HAVE_LINKAT /* inkat() is present in libc */ +#undef HAVE_MKFIFOAT /* mkfifoat() is present in libc */ +#undef HAVE_MKNODAT /* mknodat() is present in libc */ +#undef HAVE_READLINKAT /* readlinkat() is present in libc */ +#undef HAVE_SYMLINKAT /* symlinkat() is present in libc */ +#undef HAVE_UTIMENSAT /* utimensat() is present in libc */ +#undef HAVE_IOCTL /* ioctl() is present in libc */ +#undef HAVE_FCNTL /* fcntl() is present in libc */ +#undef HAVE_PIPE /* pipe() is present in libc */ +#undef HAVE__PIPE /* _pipe() is present in libc */ +#undef HAVE_POPEN /* popen() is present in libc */ +#undef HAVE_PCLOSE /* pclose() is present in libc */ +#undef HAVE__POPEN /* _popen() is present in libc */ +#undef HAVE__PCLOSE /* _pclose() is present in libc */ +#undef HAVE_CLOSEFROM /* closefrom() is present in libc */ +#undef HAVE_STATVFS /* statvfs() is present in libc */ +#undef HAVE_QUOTACTL /* quotactl() is present in libc */ +#undef HAVE_QUOTAIOCTL /* use ioctl(f, Q_QUOTACTL, &q) instead of quotactl() */ +#undef HAVE_GETPID /* getpid() is present in libc */ +#undef HAVE_GETPPID /* getppid() is present in libc */ +#undef HAVE_SETREUID /* setreuid() is present in libc */ +#undef HAVE_SETRESUID /* setresuid() is present in libc */ +#undef HAVE_SETEUID /* seteuid() is present in libc */ +#undef HAVE_SETUID /* setuid() is present in libc */ +#undef HAVE_SETREGID /* setregid() is present in libc */ +#undef HAVE_SETRESGID /* setresgid() is present in libc */ +#undef HAVE_SETEGID /* setegid() is present in libc */ +#undef HAVE_SETGID /* setgid() is present in libc */ +#undef HAVE_GETUID /* getuid() is present in libc */ +#undef HAVE_GETEUID /* geteuid() is present in libc */ +#undef HAVE_GETGID /* getgid() is present in libc */ +#undef HAVE_GETEGID /* getegid() is present in libc */ +#undef HAVE_GETPGID /* getpgid() is present in libc (POSIX) */ +#undef HAVE_SETPGID /* setpgid() is present in libc (POSIX) */ +#undef HAVE_GETPGRP /* getpgrp() is present in libc (ANY) */ +#undef HAVE_GETSID /* getsid() is present in libc (POSIX) */ +#undef HAVE_SETSID /* setsid() is present in libc (POSIX) */ +#undef HAVE_SETPGRP /* setpgrp() is present in libc (ANY) */ +#undef HAVE_BSD_GETPGRP /* getpgrp() in libc is BSD-4.2 compliant */ +#undef HAVE_BSD_SETPGRP /* setpgrp() in libc is BSD-4.2 compliant */ +#undef HAVE_GETPWNAM /* getpwnam() in libc */ +#undef HAVE_GETPWENT /* getpwent() in libc */ +#undef HAVE_GETPWUID /* getpwuid() in libc */ +#undef HAVE_SETPWENT /* setpwent() in libc */ +#undef HAVE_ENDPWENT /* endpwent() in libc */ +#undef HAVE_GETGRNAM /* getgrnam() in libc */ +#undef HAVE_GETGRENT /* getgrent() in libc */ +#undef HAVE_GETGRGID /* getgrgid() in libc */ +#undef HAVE_SETGRENT /* setgrent() in libc */ +#undef HAVE_ENDGRENT /* endgrent() in libc */ +#undef HAVE_GETSPNAM /* getspnam() in libc (SVR4 compliant) */ +#undef HAVE_GETSPWNAM /* getspwnam() in libsec.a (HP-UX) */ +#undef HAVE_GETLOGIN /* getlogin() in libc */ +#undef HAVE_SYNC /* sync() is present in libc */ +#undef HAVE_FSYNC /* fsync() is present in libc */ +#undef HAVE_TCGETATTR /* tcgetattr() is present in libc */ +#undef HAVE_TCSETATTR /* tcsetattr() is present in libc */ +#undef HAVE_TCGETPGRP /* tcgetpgrp() is present in libc */ +#undef HAVE_TCSETPGRP /* tcsetpgrp() is present in libc */ +#undef HAVE_TCGETSID /* tcgetsid() is present in libc */ +#undef HAVE_WAIT /* wait() is present in libc */ +#undef HAVE_WAIT3 /* working wait3() is present in libc */ +#undef HAVE_WAIT4 /* wait4() is present in libc */ +#undef HAVE_WAIT6 /* wait6() is present in libc */ +#undef HAVE_WAITID /* waitid() is present in libc */ +#undef HAVE_WAITPID /* waitpid() is present in libc */ +#undef HAVE_WNOWAIT_WAITPID /* waitpid() supports NOWAIT */ +#undef HAVE_CWAIT /* cwait() is present in libc */ +#undef HAVE_GETHOSTID /* gethostid() is present in libc */ +#undef HAVE_GETHOSTNAME /* gethostname() is present in libc */ +#undef HAVE_GETDOMAINNAME /* getdomainname() is present in libc */ +#undef HAVE_GETPAGESIZE /* getpagesize() is present in libc */ +#undef HAVE_GETDTABLESIZE /* getdtablesize() is present in libc */ +#undef HAVE_GETRUSAGE /* getrusage() is present in libc */ +#undef HAVE_GETRLIMIT /* getrlimit() is present in libc */ +#undef HAVE_SETRLIMIT /* setrlimit() is present in libc */ +#undef HAVE_ULIMIT /* ulimit() is present in libc */ +#undef HAVE_GETTIMEOFDAY /* gettimeofday() is present in libc */ +#undef HAVE_SETTIMEOFDAY /* settimeofday() is present in libc */ +#undef HAVE_VAR_TIMEZONE /* extern long timezone is present in libc */ +#undef HAVE_VAR_TIMEZONE_DEF /* extern long timezone is present in time.h */ +#undef HAVE_TIME /* time() is present in libc */ +#undef HAVE_GMTIME /* gmtime() is present in libc */ +#undef HAVE_LOCALTIME /* localtime() is present in libc */ +#undef HAVE_MKTIME /* mktime() is present in libc */ +#undef HAVE_TIMEGM /* timegm() is present in libc */ +#undef HAVE_TIMELOCAL /* timelocal() is present in libc */ +#undef HAVE_FTIME /* ftime() is present in libc */ +#undef HAVE_STIME /* stime() is present in libc */ +#undef HAVE_TZSET /* tzset() is present in libc */ +#undef HAVE_CTIME /* ctime() is present in libc */ +#undef HAVE_CFTIME /* cftime() is present in libc */ +#undef HAVE_ASCFTIME /* ascftime() is present in libc */ +#undef HAVE_STRFTIME /* strftime() is present in libc */ +#undef HAVE_GETHRTIME /* gethrtime() is present in libc */ +#undef HAVE_POLL /* poll() is present in libc */ +#undef HAVE_SELECT /* select() is present in libc */ +#undef HAVE_ISASTREAM /* isastream() is present in libc */ +#undef HAVE_CHMOD /* chmod() is present in libc */ +#undef HAVE_FCHMOD /* fchmod() is present in libc */ +#undef HAVE_LCHMOD /* lchmod() is present in libc */ +#undef HAVE_CHOWN /* chown() is present in libc */ +#undef HAVE_FCHOWN /* fchown() is present in libc */ +#undef HAVE_LCHOWN /* lchown() is present in libc */ +#undef HAVE_TRUNCATE /* truncate() is present in libc */ +#undef HAVE_FTRUNCATE /* ftruncate() is present in libc */ +#undef HAVE_BRK /* brk() is present in libc */ +#undef HAVE_SBRK /* sbrk() is present in libc */ +#undef HAVE_VA_COPY /* va_copy() is present in varargs.h/stdarg.h */ +#undef HAVE__VA_COPY /* __va_copy() is present in varargs.h/stdarg.h */ +#undef HAVE_DTOA /* BSD-4.4 __dtoa() is present in libc */ +#undef HAVE_DTOA_R /* BSD-4.4 __dtoa() with result ptr (reentrant) */ +#undef HAVE_DUP /* dup() is present in libc */ +#undef HAVE_DUP2 /* dup2() is present in libc */ +#undef HAVE_GETCWD /* POSIX getcwd() is present in libc */ +#undef HAVE_SMMAP /* may map anonymous memory to get shared mem */ +#undef HAVE_SHMAT /* shmat() is present in libc */ +#undef HAVE_SHMGET /* shmget() is present in libc and working */ +#undef HAVE_SEMGET /* semget() is present in libc */ +#undef HAVE_LSTAT /* lstat() is present in libc */ +#undef HAVE_READLINK /* readlink() is present in libc */ +#undef HAVE_SYMLINK /* symlink() is present in libc */ +#undef HAVE_LINK /* link() is present in libc */ +#undef HAVE_HARD_SYMLINKS /* link() allows hard links on symlinks */ +#undef HAVE_LINK_NOFOLLOW /* link() does not follow symlinks when hard linking symlinks */ +#undef HAVE_RENAME /* rename() is present in libc */ +#undef HAVE_MKFIFO /* mkfifo() is present in libc */ +#undef HAVE_MKNOD /* mknod() is present in libc */ +#undef HAVE_ECVT /* ecvt() is present in libc */ +#undef HAVE_FCVT /* fcvt() is present in libc */ +#undef HAVE_GCVT /* gcvt() is present in libc */ +#undef HAVE_ECVT_R /* ecvt_r() is present in libc */ +#undef HAVE_FCVT_R /* fcvt_r() is present in libc */ +#undef HAVE_GCVT_R /* gcvt_r() is present in libc */ +#undef HAVE_QECVT /* qecvt() is present in libc */ +#undef HAVE_QFCVT /* qfcvt() is present in libc */ +#undef HAVE_QGCVT /* qgcvt() is present in libc */ +#undef HAVE__QECVT /* _qecvt() is present in libc */ +#undef HAVE__QFCVT /* _qfcvt() is present in libc */ +#undef HAVE__QGCVT /* _qgcvt() is present in libc */ +#undef HAVE__QECVT_R /* _qecvt_r() is present in libc */ +#undef HAVE__QFCVT_R /* _qfcvt_r() is present in libc */ +#undef HAVE__QGCVT_R /* _qgcvt_r() is present in libc */ +#undef HAVE__LDECVT /* _ldecvt() is present in libc */ +#undef HAVE__LDFCVT /* _ldfcvt() is present in libc */ +#undef HAVE__LDGCVT /* _ldgcvt() is present in libc */ +#undef HAVE__LDECVT_R /* _ldecvt_r() is present in libc */ +#undef HAVE__LDFCVT_R /* _ldfcvt_r() is present in libc */ +#undef HAVE__LDGCVT_R /* _ldgcvt_r() is present in libc */ +#undef HAVE_ECONVERT /* econvert() is present in libc */ +#undef HAVE_FCONVERT /* fconvert() is present in libc */ +#undef HAVE_GCONVERT /* gconvert() is present in libc */ +#undef HAVE_QECONVERT /* qeconvert() is present in libc */ +#undef HAVE_QFCONVERT /* qfconvert() is present in libc */ +#undef HAVE_QGCONVERT /* qgconvert() is present in libc */ +#undef HAVE_ISINF /* isinf() is present in libc */ +#undef HAVE_ISNAN /* isnan() is present in libc */ +#undef HAVE_C99_ISINF /* isinf() is present in math.h/libc */ +#undef HAVE_C99_ISNAN /* isnan() is present in math.h/libc */ +#undef HAVE_GETC_UNLOCKED /* getc_unlocked() is present in libc */ +#undef HAVE_GETCHAR_UNLOCKED /* getchar_unlocked() is present in libc */ +#undef HAVE_PUTC_UNLOCKED /* putc_unlocked() is present in libc */ +#undef HAVE_PUTCHAR_UNLOCKED /* putchar_unlocked() is present in libc */ +#undef HAVE_FLOCKFILE /* flockfile() is present in libc */ +#undef HAVE_FUNLOCKFILE /* funlockfile() is present in libc */ +#undef HAVE_FTRYLOCKFILE /* ftrylockfile() is present in libc */ +#undef HAVE_FINITE /* finite() is present in libc/ieeefp.h (SVr4) */ +#undef HAVE_ISNAND /* isnand() is present in libc/ieeefp.h (SVr4) */ +#undef HAVE_RAND /* rand() is present in libc */ +#undef HAVE_DRAND48 /* drand48() is present in libc */ +#undef HAVE_ICONV_IN_LIBC /* whether iconv() is in libc (needs no -liconv) */ +#undef HAVE_ICONV /* iconv() is present in libiconv */ +#undef HAVE_ICONV_OPEN /* iconv_open() is present in libiconv */ +#undef HAVE_ICONV_CLOSE /* iconv_close() is present in libiconc */ +#undef HAVE_LIBICONV /* libiconv() is present in libiconv */ +#undef HAVE_LIBICONV_OPEN /* libiconv_open() is present in liiconv */ +#undef HAVE_LIBICONV_CLOSE /* libiconv_close() is present in libiconv */ +#undef HAVE_SETPRIORITY /* setpriority() is present in libc */ +#undef HAVE_NICE /* nice() is present in libc */ +#undef HAVE_DOSSETPRIORITY /* DosSetPriority() is present in libc */ +#undef HAVE_DOSALLOCSHAREDMEM /* DosAllocSharedMem() is present in libc */ +#undef HAVE_SEEKDIR /* seekdir() is present in libc */ +#undef HAVE_GETENV /* getenv() is present in libc */ +#undef HAVE_PUTENV /* putenv() is present in libc (preferred function) */ +#undef HAVE_SETENV /* setenv() is present in libc (use instead of putenv()) */ +#undef HAVE_UNSETENV /* unsetenv() is present in libc */ +#undef HAVE_UNAME /* uname() is present in libc */ +#undef HAVE_SNPRINTF /* snprintf() is present in libc */ +#undef HAVE_VPRINTF /* vprintf() is present in libc */ +#undef HAVE_VFPRINTF /* vfprintf() is present in libc */ +#undef HAVE_VSPRINTF /* vsprintf() is present in libc */ +#undef HAVE_VSNPRINTF /* vsnprintf() is present in libc */ +#undef HAVE_STRCAT /* strcat() is present in libc */ +#undef HAVE_STRNCAT /* strncat() is present in libc */ +#undef HAVE_STRCMP /* strcmp() is present in libc */ +#undef HAVE_STRNCMP /* strncmp() is present in libc */ +#undef HAVE_STRCPY /* strcpy() is present in libc */ +#undef HAVE_STRLCAT /* strlcat() is present in libc */ +#undef HAVE_STRLCPY /* strlcpy() is present in libc */ +#undef HAVE_STRNCPY /* strncpy() is present in libc */ +#undef HAVE_STRDUP /* strdup() is present in libc */ +#undef HAVE_STRNDUP /* strndup() is present in libc */ +#undef HAVE_STRLEN /* strlen() is present in libc */ +#undef HAVE_STRNLEN /* strnlen() is present in libc */ +#undef HAVE_STRCHR /* strchr() is present in libc */ +#undef HAVE_STRRCHR /* strrchr() is present in libc */ +#undef HAVE_STRSTR /* strstr() is present in libc */ +#undef HAVE_STRSPN /* strspn() is present in libc */ +#undef HAVE_STRCSPN /* strcspn() is present in libc */ +#undef HAVE_STRCASECMP /* strcasecmp() is present in libc */ +#undef HAVE_STRNCASECMP /* strncasecmp() is present in libc */ +#undef HAVE_BASENAME /* basename() is present in libc */ +#undef HAVE_DIRNAME /* dirname() is present in libc */ +#undef HAVE_PATHCONF /* pathconf() is present in libc */ +#undef HAVE_FPATHCONF /* fpathconf() is present in libc */ +#undef HAVE_LPATHCONF /* lpathconf() is present in libc */ +#undef HAVE_STRTOL /* strtol() is present in libc */ +#undef HAVE_STRTOLL /* strtoll() is present in libc */ +#undef HAVE_STRTOUL /* strtoul() is present in libc */ +#undef HAVE_STRTOULL /* strtoull() is present in libc */ +#undef HAVE_STRTOD /* strtold() is present in libc */ +#undef HAVE_STRSIGNAL /* strsignal() is present in libc */ +#undef HAVE_STR2SIG /* str2sig() is present in libc */ +#undef HAVE_SIG2STR /* sig2str() is present in libc */ +#undef HAVE_SIGSETJMP /* sigsetjmp() is present in libc */ +#undef HAVE_SIGLONGJMP /* siglongjmp() is present in libc */ +#undef HAVE_KILL /* kill() is present in libc */ +#undef HAVE_KILLPG /* killpg() is present in libc */ +#undef HAVE_SIGNAL /* signal() is present in libc */ +#undef HAVE_SIGHOLD /* sighold() is present in libc */ +#undef HAVE_SIGRELSE /* sigrelse() is present in libc */ +#undef HAVE_SIGIGNORE /* sigignore() is present in libc */ +#undef HAVE_SIGPAUSE /* sigpause() is present in libc */ +#undef HAVE_SIGPROCMASK /* sigprocmask() is present in libc (POSIX) */ +#undef HAVE_SIGSETMASK /* sigsetmask() is present in libc (BSD) */ +#undef HAVE_SIGSET /* sigset() is present in libc (POSIX) */ +#undef HAVE_SIGALTSTACK /* sigaltstack() is present in libc (POSIX) */ +#undef HAVE_SIGBLOCK /* sigblock() is present in libc (BSD) */ +#undef HAVE_SYS_SIGLIST /* char *sys_siglist[] is present in libc */ +#undef HAVE_ALARM /* alarm() is present in libc */ +#undef HAVE_SLEEP /* sleep() is present in libc */ +#undef HAVE_USLEEP /* usleep() is present in libc */ +#undef HAVE_FORK /* fork() is present in libc */ +#undef HAVE_FORKX /* forkx() is present in libc */ +#undef HAVE_FORKALL /* forkall() is present in libc */ +#undef HAVE_FORKALLX /* forkallx() is present in libc */ +#undef HAVE_VFORK /* working vfork() is present in libc */ +#undef HAVE_VFORKX /* working vforkx() is present in libc */ +#undef HAVE_EXECL /* execl() is present in libc */ +#undef HAVE_EXECLE /* execle() is present in libc */ +#undef HAVE_EXECLP /* execlp() is present in libc */ +#undef HAVE_EXECV /* execv() is present in libc */ +#undef HAVE_EXECVE /* execve() is present in libc */ +#undef HAVE_EXECVP /* execvp() is present in libc */ +#undef HAVE_SPAWNL /* spawnl() is present in libc */ +#undef HAVE_SPAWNLE /* spawnle() is present in libc */ +#undef HAVE_SPAWNLP /* spawnlp() is present in libc */ +#undef HAVE_SPAWNLPE /* spawnlpe() is present in libc */ +#undef HAVE_SPAWNV /* spawnv() is present in libc */ +#undef HAVE_SPAWNVE /* spawnve() is present in libc */ +#undef HAVE_SPAWNVP /* spawnvp() is present in libc */ +#undef HAVE_SPAWNVPE /* spawnvpe() is present in libc */ +#undef HAVE_ATEXIT /* atexit() is present in libc */ +#undef HAVE_ON_EXIT /* on_exit() (SunOS-4.x) is present in libc */ +#undef HAVE_GETEXECNAME /* getexecname() is present in libc */ +#undef HAVE_GETPROGNAME /* getprogname() is present in libc */ +#undef HAVE_SETPROGNAME /* setprogname() is present in libc */ +#undef HAVE_PROC_PIDPATH /* proc_pidpath() is present in libc */ +#undef HAVE_VAR_PROGNAME /* extern char *__progname is present in libc */ +#undef HAVE_VAR_PROGNAME_FULL /* extern char *__progname_full is present in libc */ +#undef HAVE_GETLOADAVG /* getloadavg() is present in libc */ +#undef HAVE_ALLOCA /* alloca() is present (else use malloc())*/ +#undef HAVE_MALLOC /* malloc() is present in libc */ +#undef HAVE_CALLOC /* calloc() is present in libc */ +#undef HAVE_REALLOC /* realloc() is present in libc */ +#undef HAVE_REALLOC_NULL /* realloc() implements realloc(NULL, size) */ +#undef HAVE_VALLOC /* valloc() is present in libc (else use malloc())*/ +#undef HAVE_MEMALIGN /* memalign() is present in libc */ +#undef HAVE_POSIX_MEMALIGN /* posix_memalign() is present in libc */ +#undef vfork +#undef HAVE_WCSCAT /* wcscat() is present in libc */ +#undef HAVE_WCSNCAT /* wcsncat() is present in libc */ +#undef HAVE_WCSCMP /* wcscmp() is present in libc */ +#undef HAVE_WCSNCMP /* wcsncmp() is present in libc */ +#undef HAVE_WCSCPY /* wcscpy() is present in libc */ +#undef HAVE_WCSLCAT /* wcsncat() is present in libc */ +#undef HAVE_WCSLCPY /* wcsncpy() is present in libc */ +#undef HAVE_WCSNCPY /* wcsncpy() is present in libc */ +#undef HAVE_WCSDUP /* wcsdup() is present in libc */ +#undef HAVE_WCSNDUP /* wcsndup() is present in libc */ +#undef HAVE_WCSLEN /* wcslen() is present in libc */ +#undef HAVE_WCSNLEN /* wcsnlen() is present in libc */ +#undef HAVE_WCSCHR /* wcschr() is present in libc */ +#undef HAVE_WCSRCHR /* wcsrchr() is present in libc */ +#undef HAVE_WCSSTR /* wcsstr() is present in libc */ +#undef HAVE_WCSSPN /* wcsspn() is present in libc */ +#undef HAVE_WCSCSPN /* wcscspn() is present in libc */ +#undef HAVE_WCWIDTH /* wcwidth() is present in libc */ +#undef HAVE_WCSWIDTH /* wcswidth() is present in libc */ +#undef HAVE_WCTYPE /* wctype() is present in libc */ +#undef HAVE_ISWCTYPE /* iswctype() is present in libc */ + + +#undef HAVE_CHFLAGS /* chflags() is present in libc */ +#undef HAVE_FCHFLAGS /* fchflags() is present in libc */ +#undef HAVE_FFLAGSTOSTR /* fflagstostr() is present in libc */ +#undef HAVE_STRTOFFLAGS /* strtofflags() is present in libc */ + +#undef HAVE_GETTEXT_IN_LIBC /* whether gettext() is in libc (needs no -lintl) */ +#undef HAVE_GETTEXT /* gettext() is present in -lintl */ +#undef HAVE_SETLOCALE /* setlocale() is present in libc */ +#undef HAVE_LOCALECONV /* localeconv() is present in libc */ +#undef HAVE_NL_LANGINFO /* nl_langinfo() is present in libc */ + +#undef HAVE_EXPAT_IN_LIBC /* whether XML_Parse() is in libc (needs no -lexpat) */ +#undef HAVE_XML_PARSE /* whether XML_Parse() libc or -lexpat */ + +#undef HAVE_PCSC_IN_LIBC /* whether SCardEstablishContext() is in libc (needs no -lpcsclite) */ +#undef HAVE_SCARDESTABLISHCONTEXT /* whether SCardEstablishContext() libc or -lpcsclite */ + +#undef HAVE_CRYPTO_IN_LIBC /* whether CRYPTO_free() is in libc (needs no -lcrypto) */ +#undef HAVE_CRYPTO_FREE /* whether CRYPTO_free() libc or -lcrypto */ + +#undef HAVE_SSL_IN_LIBC /* whether SSL_free() is in libc (needs no -lssl) */ +#undef HAVE_SSL_FREE /* whether SSL_free() libc or -lssl */ + +#undef HAVE_SETBUF /* setbuf() is present in libc */ +#undef HAVE_SETVBUF /* setvbuf() is present in libc */ + +#undef HAVE_FNMATCH /* fnmatch() is present in libc */ +#undef HAVE_FNMATCH_IGNORECASE /* fnmatch() implements FNM_IGNORECASE */ + +#undef HAVE_MKTEMP /* mktemp() is present in libc */ +#undef HAVE_MKSTEMP /* mkstemp() is present in libc */ + +#undef HAVE_GETPPRIV /* getppriv() is present in libc */ +#undef HAVE_SETPPRIV /* setppriv() is present in libc */ +#undef HAVE_PRIV_SET /* priv_set() is present in libc */ +#undef HAVE_ISSETUGID /* issetugid() is present in libc */ +#undef HAVE_GETROLES /* getroles() is present in libc (AIX) */ +#undef HAVE_PRIVBIT_SET /* privbit_set() is present in libc (AIX) */ + +#undef HAVE_GETAUTHATTR /* getauthattr() is present in -lsecdb */ +#undef HAVE_GETUSERATTR /* getuserattr() is present in -lsecdb */ +#undef HAVE_GETEXECATTR /* getexecattr() is present in -lsecdb */ +#undef HAVE_GETPROFATTR /* getprofattr() is present in -lsecdb */ + +#undef HAVE_GMATCH /* gmatch() is present in -lgen */ + +#undef HAVE_ELF_BEGIN /* elf_begin() is present in -lelf */ + +#undef HAVE_CLONE_AREA /* clone_area() is present in libc */ +#undef HAVE_CREATE_AREA /* create_area() is present in libc */ +#undef HAVE_DELETE_AREA /* delete_area() is present in libc */ + +#undef HAVE_RES_INIT_IN_LIBC /* whether res_init() is in libc (needs no -lresolv) */ + +#undef HAVE_DLOPEN_IN_LIBC /* whether dlopen() is in libc (needs no -ldl) */ +#undef HAVE_DLOPEN /* dlopen() is present in libc */ +#undef HAVE_DLCLOSE /* dlclose() is present in libc */ +#undef HAVE_DLSYM /* dlsym() is present in libc */ +#undef HAVE_DLERROR /* dlerror() is present in libc */ +#undef HAVE_DLINFO /* dlinfo() is present in libc */ +#undef HAVE_SHL_LOAD /* shl_load() is present in libc */ +#undef HAVE_SHL_UNLOAD /* shl_unload() is present in libc */ +#undef HAVE_SHL_GETHANDLE /* shl_gethandle() is present in libc */ +#undef HAVE_LOADLIBRARY /* LoadLibrary() as present in libc */ +#undef HAVE_FREELIBRARY /* FreeLibrary() is present in libc */ +#undef HAVE_GETPROCADDRESS /* GetProcAddress() is present in libc */ + +#undef HAVE_YIELD /* yield() is present in libc */ +#undef HAVE_THR_YIELD /* thr_yield() is present in libc */ + +#undef HAVE_PTHREAD_CREATE /* pthread_create() is present in libpthread */ +#undef HAVE_PTHREAD_KILL /* pthread_kill() is present in libpthread */ +#undef HAVE_PTHREAD_MUTEX_LOCK /* pthread_mutex_lock() is present in libpthread */ +#undef HAVE_PTHREAD_COND_WAIT /* pthread_cond_wait() is present in libpthread */ +#undef HAVE_PTHREAD_SPIN_LOCK /* pthread_spin_lock() is present in libpthread */ + +#undef HAVE_CLOCK_GETTIME_IN_LIBC /* whether clock_gettime() is in libc (needs no -lrt) */ +#undef HAVE_CLOCK_GETTIME /* clock_gettime() is present in librt */ +#undef HAVE_CLOCK_SETTIME /* clock_settime() is present in librt */ +#undef HAVE_CLOCK_GETRES /* clock_getres() is present in librt */ +#undef HAVE_SCHED_GETPARAM /* sched_getparam() is present in librt */ +#undef HAVE_SCHED_SETPARAM /* sched_setparam() is present in librt */ +#undef HAVE_SCHED_GETSCHEDULER /* sched_getscheduler() is present in librt */ +#undef HAVE_SCHED_SETSCHEDULER /* sched_setscheduler() is present in librt */ +#undef HAVE_SCHED_YIELD /* sched_yield() is present in librt */ +#undef HAVE_NANOSLEEP /* nanosleep() is present in librt */ + +/* + * The POSIX.1e draft has been withdrawn in 1997. + * Linux started to implement this outdated concept in 1997. + */ +#undef HAVE_CAP_GET_PROC /* cap_get_proc() is present in libcap */ +#undef HAVE_CAP_SET_PROC /* cap_set_proc() is present in libcap */ +#undef HAVE_CAP_SET_FLAG /* cap_set_flag() is present in libcap */ +#undef HAVE_CAP_CLEAR_FLAG /* cap_clear_flag() is present in libcap */ + + +#undef HAVE_DIRFD /* dirfd() is present in libc */ +#undef HAVE_ISWPRINT /* iswprint() is present in libc */ +#undef HAVE_ISWBLANK /* iswblank() is present in libc */ +#undef HAVE_ISBLANK /* isblank() is present in libc */ +#undef HAVE_MBSINIT /* mbsinit() is present in libc */ +#undef HAVE_MBTOWC /* mbtowc() is present in libc */ +#undef HAVE_WCTOMB /* wctomb() is present in libc */ +#undef HAVE_MBRTOWC /* mbrtowc() is present in libc */ +#undef HAVE_WCRTOMB /* wcrtomb() is present in libc */ + +#undef HAVE_PRINTF_J /* *printf() in libc supports %jd */ +#undef HAVE_PRINTF_Z /* *printf() in libc supports %zd */ +#undef HAVE_PRINTF_LL /* *printf() in libc supports %lld */ + +/* + * Functions that we defined in 1982 but where POSIX.1-2008 defined + * a POSIX violating incompatible definition. + * We use AC_RCHECK_FUNCS(), so we get HAVE_RAW_* results as some + * Linux distros have fexecve() that returns ENOSYS. + */ +#undef HAVE_RAW_FEXECL /* fexecl() */ +#undef HAVE_RAW_FEXECLE /* fexecle() */ +#undef HAVE_RAW_FEXECV /* fexecv() */ +#undef HAVE_RAW_FEXECVE /* fexecve() */ +#undef HAVE_RAW_FSPAWNV /* fspawnv() */ +#undef HAVE_RAW_FSPAWNL /* fspawnl() */ +#undef HAVE_RAW_FSPAWNV_NOWAIT /* fspawnv_nowait() */ +#undef HAVE_RAW_GETLINE /* getline() */ +#undef HAVE_RAW_FGETLINE /* fgetline() */ + + +/* + * Misc OS stuff + */ + /* Dirty hack, better use C program not test */ +#if !defined(_MSC_VER) && !defined(__MINGW32__) +#undef HAVE__DEV_TTY /* /dev/tty present */ +#undef HAVE__DEV_NULL /* /dev/null present */ +#undef HAVE__DEV_ZERO /* /dev/zero present */ +#undef HAVE__DEV_STDIN /* /dev/stdin present */ +#undef HAVE__DEV_STDOUT /* /dev/stdout present */ +#undef HAVE__DEV_STDERR /* /dev/stderr present */ +#undef HAVE__DEV_FD_0 /* /dev/fd/0 present */ +#undef HAVE__DEV_FD_1 /* /dev/fd/1 present */ +#undef HAVE__DEV_FD_2 /* /dev/fd/2 present */ +#undef HAVE__USR_SRC_LINUX_INCLUDE /* /usr/src/linux/include present */ +#undef HAVE__USR_XPG4_BIN_SH /* /usr/xpg4/bin/sh present */ +#undef HAVE__OPT_SCHILY_XPG4_BIN_SH /* /opt/schily/xpg4/bin/sh present */ +#endif + +/* + * Misc OS programs + */ +#undef SHELL_IS_BASH /* sh is bash */ +#undef BIN_SHELL_IS_BASH /* /bin/sh is bash */ +#undef SHELL_CE_IS_BROKEN /* sh -ce is broken */ +#undef BIN_SHELL_CE_IS_BROKEN /* /bin/sh -ce is broken */ +#undef BIN_SHELL_BOSH /* /bin/bosh is a working Bourne Shell */ +#undef OPT_SCHILY_BIN_SHELL_BOSH /* /opt/schily/bin/bosh is a working Bourne Shell */ + +/* + * OS madness + */ +#undef HAVE_BROKEN_LINUX_EXT2_FS_H /* whether is broken */ +#undef HAVE_BROKEN_SRC_LINUX_EXT2_FS_H /* whether /usr/src/linux/include/linux/ext2_fs.h is broken */ +#undef HAVE_USABLE_LINUX_EXT2_FS_H /* whether linux/ext2_fs.h is usable at all */ +#undef HAVE_BROKEN_SCSI_SCSI_H /* whether is broken */ +#undef HAVE_BROKEN_SRC_SCSI_SCSI_H /* whether /usr/src/linux/include/scsi/scsi.h is broken */ +#undef HAVE_BROKEN_SCSI_SG_H /* whether is broken */ +#undef HAVE_BROKEN_SRC_SCSI_SG_H /* whether /usr/src/linux/include/scsi/sg.h is broken */ + +/* + * Linux Extended File Attributes + */ +#undef HAVE_GETXATTR /* getxattr() */ +#undef HAVE_SETXATTR /* setxattr() */ +#undef HAVE_LISTXATTR /* listxattr() */ +#undef HAVE_LGETXATTR /* lgetxattr() */ +#undef HAVE_LSETXATTR /* lsetxattr() */ +#undef HAVE_LLISTXATTR /* llistxattr() */ + +/* + * Important: This must be a result from a check _before_ the Large File test + * has been run. It then tells us whether these functions are + * available even when not in Large File mode. + * + * Do not run the AC_FUNC_FSEEKO test from the GNU tar Large File test + * siute. It will use the same cache names and interfere with our test. + * Instead use the tests AC_SMALL_FSEEKO/AC_SMALL/STELLO and make sure + * they are placed before the large file tests. + */ +#undef HAVE_FSEEKO /* fseeko() is present in default compile mode */ +#undef HAVE_FTELLO /* ftello() is present in default compile mode */ + +#undef HAVE_RCMD /* rcmd() is present in libc/libsocket */ +#undef HAVE_SOCKET /* socket() is present in libc/libsocket */ +#undef HAVE_SOCKETPAIR /* socketpair() is present in libc/libsocket */ +#undef HAVE_GETSERVBYNAME /* getservbyname() is present in libc/libsocket */ +#undef HAVE_INET_NTOA /* inet_ntoa() is present in libc/libsocket */ +#undef HAVE_GETADDRINFO /* getaddrinfo() is present in libc/libsocket */ +#undef HAVE_GETNAMEINFO /* getnameinfo() is present in libc/libsocket */ +#undef HAVE_HOST2NETNAME /* host2netname() is present in libc/libsocket */ +#undef HAVE_NETNAME2HOST /* netname2host() is present in libc/libsocket */ + + +#if defined(HAVE_QUOTACTL) || defined(HAVE_QUOTAIOCTL) +# define HAVE_QUOTA /* The system inludes quota */ +#endif + +/* + * We need to test for the include files too because Apollo Domain/OS has a + * libc that includes the functions but the includes files are not visible + * from the BSD compile environment. + * + * ATARI MiNT has a non-working shmget(), so we test for it separately. + */ +#if defined(HAVE_SHMAT) && defined(HAVE_SHMGET) && \ + defined(HAVE_SYS_SHM_H) && defined(HAVE_SYS_IPC_H) +# define HAVE_USGSHM /* USG shared memory is present */ +#endif +#if defined(HAVE_SEMGET) && defined(HAVE_SYS_SHM_H) && defined(HAVE_SYS_IPC_H) +# define HAVE_USGSEM /* USG semaphores are present */ +#endif + +#if defined(HAVE_GETPGRP) && !defined(HAVE_BSD_GETPGRP) +#define HAVE_POSIX_GETPGRP 1 /* getpgrp() in libc is POSIX compliant */ +#endif +#if defined(HAVE_SETPGRP) && !defined(HAVE_BSD_SETPGRP) +#define HAVE_POSIX_SETPGRP 1 /* setpgrp() in libc is POSIX compliant */ +#endif + +/* + * Structures + */ +#undef HAVE_FILE__FLAGS /* if FILE * contains _flags */ +#undef HAVE_FILE__IO_BUF_BASE /* if FILE * contains _IO_buf_base */ + +#undef HAVE_MTGET_TYPE /* if struct mtget contains mt_type (drive type) */ +#undef HAVE_MTGET_MODEL /* if struct mtget contains mt_model (drive type) */ +#undef HAVE_MTGET_DSREG /* if struct mtget contains mt_dsreg (drive status) */ +#undef HAVE_MTGET_DSREG1 /* if struct mtget contains mt_dsreg1 (drive status msb) */ +#undef HAVE_MTGET_DSREG2 /* if struct mtget contains mt_dsreg2 (drive status lsb) */ +#undef HAVE_MTGET_GSTAT /* if struct mtget contains mt_gstat (generic status) */ +#undef HAVE_MTGET_ERREG /* if struct mtget contains mt_erreg (error register) */ +#undef HAVE_MTGET_RESID /* if struct mtget contains mt_resid (residual count) */ +#undef HAVE_MTGET_FILENO /* if struct mtget contains mt_fileno (file #) */ +#undef HAVE_MTGET_BLKNO /* if struct mtget contains mt_blkno (block #) */ +#undef HAVE_MTGET_FLAGS /* if struct mtget contains mt_flags (flags) */ +#undef HAVE_MTGET_BF /* if struct mtget contains mt_bf (optimum blocking factor) */ +#undef HAVE_STRUCT_TIMEVAL /* have struct timeval in time.h or sys/time.h */ +#undef HAVE_STRUCT_TIMEZONE /* have struct timezone in time.h or sys/time.h */ +#undef HAVE_STRUCT_TIMESPEC /* have struct timespec in time.h or sys/time.h */ +#undef HAVE_STRUCT_RUSAGE /* have struct rusage in sys/resource.h */ +#undef HAVE_SI_UTIME /* if struct siginfo contains si_utime */ +#undef HAVE_UNION_SEMUN /* have an illegal definition for union semun in sys/sem.h */ +#undef HAVE_UNION_WAIT /* have union wait in wait.h */ +#undef USE_UNION_WAIT /* union wait in wait.h is used by default */ +#undef HAVE_DIRENT_D_INO /* have d_ino in struct dirent */ +#undef HAVE_DIRENT_D_TYPE /* have d_type in struct dirent */ +#undef HAVE_DIR_DD_FD /* have dd_fd in DIR * */ +/* + * SCO UnixWare has st_atim.st__tim.tv_nsec but the st_atim.tv_nsec tests also + * succeeds. If you use st_atim.tv_nsec on UnixWare, you get a warning about + * illegal structure usage. For this reason, your code needs to have + * #ifdef HAVE_ST__TIM before #ifdef HAVE_ST_NSEC. + */ +#undef HAVE_ST_SPARE1 /* if struct stat contains st_spare1 (usecs) */ +#undef HAVE_ST_ATIMENSEC /* if struct stat contains st_atimensec (nanosecs) */ +#undef HAVE_ST_ATIME_N /* if struct stat contains st_atime_n (nanosecs) */ +#undef HAVE_ST_NSEC /* if struct stat contains st_atim.tv_nsec (nanosecs) */ +#undef HAVE_ST__TIM /* if struct stat contains st_atim.st__tim.tv_nsec (nanosecs) */ +#undef HAVE_ST_ATIMESPEC /* if struct stat contains st_atimespec.tv_nsec (nanosecs) */ +#undef HAVE_ST_BLKSIZE /* if struct stat contains st_blksize */ +#undef HAVE_ST_BLOCKS /* if struct stat contains st_blocks */ +#undef HAVE_ST_FSTYPE /* if struct stat contains st_fstype */ +#undef HAVE_ST_ACLCNT /* if struct stat contains st_aclcnt */ +#undef HAVE_ST_RDEV /* if struct stat contains st_rdev */ +#undef HAVE_ST_FLAG /* if struct stat contains st_flag */ +#undef HAVE_ST_FLAGS /* if struct stat contains st_flags */ +#undef STAT_MACROS_BROKEN /* if the macros S_ISDIR, S_ISREG .. don't work */ + +#undef HAVE_UTSNAME_ARCH /* if struct utsname contains processor as arch */ +#undef HAVE_UTSNAME_PROCESSOR /* if struct utsname contains processor */ +#undef HAVE_UTSNAME_SYSNAME_HOST /* if struct utsname contains sysname_host */ +#undef HAVE_UTSNAME_RELEASE_HOST /* if struct utsname contains release_host */ +#undef HAVE_UTSNAME_VERSION_HOST /* if struct utsname contains version_host */ + +#undef DEV_MINOR_BITS /* # if bits needed to hold minor device number */ +#undef DEV_MINOR_NONCONTIG /* if bits in minor device number are noncontiguous */ + +#undef HAVE_SOCKADDR_STORAGE /* if socket.h defines struct sockaddr_storage */ + + +/* + * Byteorder/Bitorder + */ +#define HAVE_C_BIGENDIAN /* Flag that WORDS_BIGENDIAN test was done */ +#undef WORDS_BIGENDIAN /* If using network byte order */ +#define HAVE_C_BITFIELDS /* Flag that BITFIELDS_HTOL test was done */ +#undef BITFIELDS_HTOL /* If high bits come first in structures */ + +/* + * Types/Keywords + */ +#undef SIZEOF_CHAR +#undef SIZEOF_SHORT_INT +#undef SIZEOF_INT +#undef SIZEOF_LONG_INT +#undef SIZEOF_LONG_LONG +#undef SIZEOF___INT64 +#undef SIZEOF_CHAR_P +#undef SIZEOF_UNSIGNED_CHAR +#undef SIZEOF_UNSIGNED_SHORT_INT +#undef SIZEOF_UNSIGNED_INT +#undef SIZEOF_UNSIGNED_LONG_INT +#undef SIZEOF_UNSIGNED_LONG_LONG +#undef SIZEOF_UNSIGNED___INT64 +#undef SIZEOF_UNSIGNED_CHAR_P +#undef SIZEOF_FLOAT +#undef SIZEOF_DOUBLE +#undef SIZEOF_LONG_DOUBLE + +#undef SIZEOF_SIZE_T +#undef SIZEOF_SSIZE_T +#undef SIZEOF_PTRDIFF_T + +#undef SIZEOF_MODE_T +#undef SIZEOF_UID_T +#undef SIZEOF_GID_T +#undef SIZEOF_PID_T + +/* + * If sizeof (mode_t) is < sizeof (int) and used with va_arg(), + * GCC4 will abort the code. So we need to use the promoted size. + */ +#if SIZEOF_MODE_T < SIZEOF_INT +#define PROMOTED_MODE_T int +#else +#define PROMOTED_MODE_T mode_t +#endif + +#undef SIZEOF_DEV_T +#undef SIZEOF_MAJOR_T +#undef SIZEOF_MINOR_T + +#undef SIZEOF_TIME_T +#undef SIZEOF_WCHAR /* sizeof (L'a') */ +#undef SIZEOF_WCHAR_T /* sizeof (wchar_t) */ + +#undef HAVE_LONGLONG /* Compiler defines long long type */ +#undef HAVE___INT64 /* Compiler defines __int64 type */ +#undef HAVE_LONGDOUBLE /* Compiler defines long double type */ +#undef CHAR_IS_UNSIGNED /* Compiler defines char to be unsigned */ + +#undef const /* Define to empty if const doesn't work */ +#undef uid_t /* To be used if uid_t is not present */ +#undef gid_t /* To be used if gid_t is not present */ +#undef size_t /* To be used if size_t is not present */ +#undef ssize_t /* To be used if ssize_t is not present */ +#undef ptrdiff_t /* To be used if ptrdiff_t is not present */ +#undef pid_t /* To be used if pid_t is not present */ +#undef off_t /* To be used if off_t is not present */ +#undef mode_t /* To be used if mode_t is not present */ +#undef time_t /* To be used if time_t is not present */ +#undef caddr_t /* To be used if caddr_t is not present */ +#undef daddr_t /* To be used if daddr_t is not present */ +#undef dev_t /* To be used if dev_t is not present */ +#undef major_t /* To be used if major_t is not present */ +#undef minor_t /* To be used if minor_t is not present */ +#undef ino_t /* To be used if ino_t is not present */ +#undef nlink_t /* To be used if nlink_t is not present */ +#undef blksize_t /* To be used if blksize_t is not present */ +#undef blkcnt_t /* To be used if blkcnt_t is not present */ + +#undef HAVE_TYPE_INTMAX_T /* if defines intmax_t */ +#undef HAVE_TYPE_UINTMAX_T /* if defines uintmax_t */ + +#undef int8_t /* To be used if int8_t is not present */ +#undef int16_t /* To be used if int16_t is not present */ +#undef int32_t /* To be used if int32_t is not present */ +#if defined(HAVE_LONGLONG) || defined(HAVE___INT64) +#undef int64_t /* To be used if int64_t is not present */ +#endif +#undef intmax_t /* To be used if intmax_t is not present */ +#undef uint8_t /* To be used if uint8_t is not present */ +#undef uint16_t /* To be used if uint16_t is not present */ +#undef uint32_t /* To be used if uint32_t is not present */ +#if defined(HAVE_LONGLONG) || defined(HAVE___INT64) +#undef uint64_t /* To be used if uint64_t is not present */ +#endif +#undef uintmax_t /* To be used if uintmax_t is not present */ + +#undef HAVE_TYPE_GREG_T /* if defines greg_t */ + +#undef HAVE_TYPE_RLIM_T /* if defines rlim_t */ +#undef HAVE_TYPE_IDTYPE_T /* if defines idtype_t */ +#undef HAVE_TYPE_SIGINFO_T /* if defines siginfo_t */ + +#undef HAVE_STACK_T /* if defines stack_t */ +#undef HAVE_SIGINFO_T /* if defines siginfo_t */ + +/* + * Important: Next Step needs time.h for clock_t (because of a bug) + */ +#undef clock_t /* To be used if clock_t is not present */ +#undef socklen_t /* To be used if socklen_t is not present */ + +/* + * These types are present on all UNIX systems but should be avoided + * for portability. + * On Apollo/Domain OS we don't have them.... + * + * Better include and use Uchar, Uint & Ulong + */ +#undef u_char /* To be used if u_char is not present */ +#undef u_short /* To be used if u_short is not present */ +#undef u_int /* To be used if u_int is not present */ +#undef u_long /* To be used if u_long is not present */ + +#undef wctype_t /* To be used if wctype_t is not in wchar.h */ +#undef wint_t /* To be used if wint_t is not in wchar.h */ +#undef mbstate_t /* To be used if mbstate_t is not in wchar.h */ + +#undef timestruc_t /* To be used if timestruc_t is not in sys/stat.h */ + +/*#undef HAVE_SIZE_T*/ +/*#undef NO_SIZE_T*/ +#undef VA_LIST_IS_ARRAY /* va_list is an array */ +#undef GETGROUPS_T +#define GID_T GETGROUPS_T + +/* + * Define as the return type of signal handlers (int or void). + */ +#undef RETSIGTYPE + +/* + * Defined in case that we have iconv(iconv_t, const char **, site_t *, ...) + */ +#undef HAVE_ICONV_CONST + +/* + * Defines needed to get large file support. + */ +#ifdef USE_LARGEFILES + +#undef HAVE_LARGEFILES + +#ifdef HAVE_LARGEFILES /* If we have working largefiles at all */ + /* This is not defined with glibc-2.1.3 */ + +#undef _FILE_OFFSET_BITS /* # of bits in off_t if settable */ +#undef _LARGEFILE_SOURCE /* To make ftello() visible (HP-UX 10.20). */ +#undef _LARGE_FILES /* Large file defined on AIX-style hosts. */ +#undef _XOPEN_SOURCE /* To make ftello() visible (glibc 2.1.3). */ + /* XXX We don't use this because glibc2.1.3*/ + /* XXX is bad anyway. If we define */ + /* XXX _XOPEN_SOURCE we will loose caddr_t */ + +#undef HAVE_FSEEKO /* Do we need this? If HAVE_LARGEFILES is */ + /* defined, we have fseeko() */ + +#endif /* HAVE_LARGEFILES */ +#endif /* USE_LARGEFILES */ + +#ifdef USE_ACL /* Enable/disable ACL support */ +/* + * The withdrawn POSIX.1e ACL draft support. + * It has been written in 1993 and withdrawn in 1997. + * Linux started to implement it in 2001. + */ +#undef HAVE_ACL_GET_FILE /* acl_get_file() function */ +#undef HAVE_ACL_SET_FILE /* acl_set_file() function */ +#undef HAVE_ACL_GET_ENTRY /* acl_get_entry() function */ +#undef HAVE_ACL_FROM_TEXT /* acl_from_text() function */ +#undef HAVE_ACL_TO_TEXT /* acl_to_text() function */ +#undef HAVE_ACL_TO_TEXT_NP /* acl_to_text_np() function */ +#undef HAVE_ACL_GET_BRAND_NP /* acl_get_brand_np() function */ +#undef HAVE_ACL_IS_TRIVIAL_NP /* acl_is_trivial_np() function */ +#undef HAVE_ACL_STRIP_NP /* acl_strip_np() function */ +#undef HAVE_ACL_FREE /* acl_free() function */ +#undef HAVE_ACL_DELETE_DEF_FILE /* acl_delete_def_file() function */ +#undef HAVE_ACL_EXTENDED_FILE /* acl_extended_file() function (Linux only)*/ + +#if defined(HAVE_ACL_GET_FILE) && defined(HAVE_ACL_SET_FILE) && \ + defined(HAVE_ACL_FROM_TEXT) && defined(HAVE_ACL_TO_TEXT) && \ + defined(HAVE_ACL_FREE) +# define HAVE_POSIX_ACL 1 /* Withdrawn POSIX draft ACL's present */ +#endif + +/* + * Sun UFS ACL support. + * Note: unfortunately, HP-UX has an (undocumented) acl() function in libc. + */ +#undef HAVE_ACL /* acl() function */ +#undef HAVE_FACL /* facl() function */ +#undef HAVE_ACLFROMTEXT /* aclfromtext() function */ +#undef HAVE_ACLTOTEXT /* acltotext() function */ + +/* + * NFSv4 ACL support. + * Note: There is an unfortunate name clash for acl_free() with the + * withdrawn POSIX.1e draft. We correct this below. + */ +#undef HAVE_ACL_GET /* acl_get() function */ +#undef HAVE_ACL_SET /* acl_set() function */ +#undef HAVE_FACL_GET /* facl_get() function */ +#undef HAVE_FACL_SET /* facl_set() function */ +#undef HAVE_ACL_FROMTEXT /* acl_fromtext() function */ +#undef HAVE_ACL_TOTEXT /* acl_totext() function */ + +#if !defined(HAVE_POSIX_ACL) +/* + * Cygwin used to implement the Sun UFS ACL interface but in 2016 + * moved towards the withdrawn POSIX draft. + * Make sure that we do not #define HAVE_POSIX_ACL and HAVE_SUN_ACL + * at the same time. + */ +#if defined(HAVE_ACL) && defined(HAVE_FACL) && \ + defined(HAVE_ACLFROMTEXT) && defined(HAVE_ACLTOTEXT) +# define HAVE_SUN_ACL 1 /* Sun UFS ACL's present */ +#endif +#endif /* !defined(HAVE_POSIX_ACL) */ + +#if defined(HAVE_ACL_GET) && defined(HAVE_ACL_SET) && \ + defined(HAVE_FACL_GET) && defined(HAVE_FACL_SET) && \ + defined(HAVE_ACL_FROMTEXT) && defined(HAVE_ACL_TOTEXT) +# define HAVE_ACL_FREE 1 /* acl_fre() function */ +# define HAVE_NFSV4_ACL 1 /* NFSv4 ACL's present */ +#endif + +#if defined(HAVE_ACL_GET_BRAND_NP) +#ifndef HAVE_NFSV4_ACL +# define HAVE_NFSV4_ACL 1 /* NFSv4 ACL's present */ +#endif +# define HAVE_FREEBSD_NFSV4_ACL 1 /* FreeBSD NFSv4 ACL implementation */ +#endif + +/* + * HP-UX ACL support. + * Note: unfortunately, HP-UX has an (undocumented) acl() function in libc. + */ +#undef HAVE_GETACL /* getacl() function */ +#undef HAVE_FGETACL /* fgetacl() function */ +#undef HAVE_SETACL /* setacl() function */ +#undef HAVE_FSETACL /* fsetacl() function */ +#undef HAVE_STRTOACL /* strtoacl() function */ +#undef HAVE_ACLTOSTR /* acltostr() function */ +#undef HAVE_CPACL /* cpacl() function */ +#undef HAVE_FCPACL /* fcpacl() function */ +#undef HAVE_CHOWNACL /* chownacl() function */ +#undef HAVE_SETACLENTRY /* setaclentry() function */ +#undef HAVE_FSETACLENTRY /* fsetaclentry() function */ + +#if defined(HAVE_GETACL) && defined(HAVE_FGETACL) && \ + defined(HAVE_SETACL) && defined(HAVE_FSETACL) && \ + defined(HAVE_STRTOACL) && defined(HAVE_ACLTOTEXT) +# define HAVE_HP_ACL 1 /* HP-UX ACL's present */ +#endif + +/* + * Global definition whether ACL support is present. + * As HP-UX differs too much from other implementations, HAVE_HP_ACL is not + * included in HAVE_ANY_ACL. + */ +#if defined(HAVE_POSIX_ACL) || defined(HAVE_SUN_ACL) || defined(HAVE_NFSV4_ACL) +# define HAVE_ANY_ACL 1 /* Any ACL implementation present */ +#endif + +#endif /* USE_ACL */ + +/* + * Misc CC / LD related stuff + */ +#undef NO_USER_MALLOC /* If we cannot define our own malloc() */ +#undef NO_USER_XCVT /* If we cannot define our own ecvt()/fcvt()/gcvt() */ +#undef HAVE_DYN_ARRAYS /* If the compiler allows dynamic sized arrays */ +#undef HAVE_PRAGMA_WEAK /* If the compiler allows #pragma weak */ +#undef HAVE_LINK_WEAK /* If the linker sees weak entries in other files */ +#undef HAVE_STRINGIZE /* If the cpp supports ANSI C stringize */ +#undef inline + +/* + * Strings that help to maintain OS/platform id's in C-programs + */ +#undef HOST_ALIAS /* Output from config.guess (orig) */ +#undef HOST_SUB /* Output from config.sub (modified) */ +#undef HOST_CPU /* CPU part from HOST_SUB */ +#undef HOST_VENDOR /* VENDOR part from HOST_SUB */ +#undef HOST_OS /* CPU part from HOST_SUB */ + + +/* + * Begin restricted code for quality assurance. + * + * Warning: you are not allowed to include the #define below if you are not + * using the Schily makefile system or if you modified the autoconfiguration + * tests. + * + * If you only added other tests you are allowed to keep this #define. + * + * This restiction is introduced because this way, I hope that people + * contribute to the project instead of creating branches. + */ +#define IS_SCHILY_XCONFIG +/* + * End restricted code for quality assurance. + */ + +#endif /* __XCONFIG_H */ diff --git a/btcflash/MKLINKS b/btcflash/MKLINKS new file mode 100644 index 0000000..85d0a77 --- /dev/null +++ b/btcflash/MKLINKS @@ -0,0 +1,38 @@ +#!/bin/sh +########################################################################### +#ident "@(#)MKLINKS 1.7 11/08/04 " +########################################################################### +# Written 2008-2011 by J. Schilling +########################################################################### +# Copyright (c) 2008-2011 J. Schilling +########################################################################### +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# See the file CDDL.Schily.txt in this distribution for details. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file CDDL.Schily.txt from this distribution. +########################################################################### +symlink="ln -s" +MKLINKS_TEST=${MKLINKS_TEST-:} +if [ ".$MKLINKS_COPY" = '.' ]; then + rm -f xxzzy.123 xxzzy.345 + echo test > xxzzy.123 + $symlink xxzzy.123 xxzzy.345 + test $? = 0 || symlink=cp + test -r xxzzy.345 || symlink=cp + ${MKLINKS_TEST} -h xxzzy.345 || symlink=cp + rm -f xxzzy.123 xxzzy.345 +else + symlink=cp +fi +########################################################################### + +$symlink ../cdrecord/cd_misc.c . +$symlink ../readcd/io.c . +$symlink ../cdrecord/misc.c . +$symlink ../cdrecord/scsi_cdr.c . +$symlink ../cdrecord/scsi_scan.c . diff --git a/btcflash/Makefile b/btcflash/Makefile new file mode 100644 index 0000000..3bf7ecd --- /dev/null +++ b/btcflash/Makefile @@ -0,0 +1,41 @@ +#ident @(#)Makefile 1.13 13/04/21 +########################################################################### +SRCROOT= .. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +INSDIR= bin +TARGET= btcflash +CPPOPTS += -DUSE_LARGEFILES +CPPOPTS += -DSCHILY_PRINT +CPPOPTS += -I../cdrecord +CPPOPTS += -I../libcdrdeflt +CPPOPTS += -I../libscg +CPPOPTS += -I../readcd +CPPOPTS += -DINS_BASE=\"${INS_BASE}\" +CPPOPTS += -DTEXT_DOMAIN=\"SCHILY_cdrtools\" + +CFILES= skel.c \ + io.c cd_misc.c scsi_cdr.c \ + scsi_scan.c \ + misc.c + + +HFILES= +# +# LIB_CAP is needed for Linux capability support in librscg. +# +LIBS= -lscgcmd -lrscg -lscg $(LIB_VOLMGT) -lcdrdeflt -ldeflt -lschily $(SCSILIB) $(LIB_SOCKET) $(LIB_INTL) $(LIB_CAP) +XMK_FILE= Makefile.man + +scsi_scan.c io.c scsi_cdr.c misc.c: + @echo " ==> MAKING SYMLINKS in ." && sh ./MKLINKS +$(ALLTARGETS): scsi_scan.c io.c scsi_cdr.c + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.cmd +########################################################################### +count: $(CFILES) $(HFILES) + count $r1 + diff --git a/btcflash/Makefile.man b/btcflash/Makefile.man new file mode 100644 index 0000000..a45e140 --- /dev/null +++ b/btcflash/Makefile.man @@ -0,0 +1,18 @@ +#ident %W% %E% %Q% +########################################################################### +# Sample makefile for installing manual pages +########################################################################### +SRCROOT= .. +RULESDIR= RULES +include $(SRCROOT)/$(RULESDIR)/rules.top +########################################################################### + +MANDIR= man +TARGETMAN= btcflash +MANSECT= $(MANSECT_CMD) +MANSUFFIX= $(MANSUFF_CMD) +MANFILE= btcflash.1 + +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.man +########################################################################### diff --git a/btcflash/btcflash.1 b/btcflash/btcflash.1 new file mode 100644 index 0000000..a613275 --- /dev/null +++ b/btcflash/btcflash.1 @@ -0,0 +1,451 @@ +.\" @(#)btcflash.1 1.10 16/01/26 Copyr 2006-2016 J. Schilling +.\" Manual page for btcflash +.\" +.if t .ds a \v'-0.55m'\h'0.00n'\z.\h'0.40n'\z.\v'0.55m'\h'-0.40n'a +.if t .ds o \v'-0.55m'\h'0.00n'\z.\h'0.45n'\z.\v'0.55m'\h'-0.45n'o +.if t .ds u \v'-0.55m'\h'0.00n'\z.\h'0.40n'\z.\v'0.55m'\h'-0.40n'u +.if t .ds A \v'-0.77m'\h'0.25n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.70n'A +.if t .ds O \v'-0.77m'\h'0.25n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.70n'O +.if t .ds U \v'-0.77m'\h'0.30n'\z.\h'0.45n'\z.\v'0.77m'\h'-0.75n'U +.if t .ds s \\(*b +.if t .ds S SS +.if n .ds a ae +.if n .ds o oe +.if n .ds u ue +.if n .ds s sz +.TH BTCFLASH 1L "2016/01/26" "J\*org Schilling" "Schily\'s USER COMMANDS" +.SH NAME +btcflash \- Firmware flash utility for BTC DRW1008 DVD+/-RW recorder +.SH SYNOPSIS +.B +btcflash +.BI dev= device +[ +.I options +] +[ +.BI f= firmwarefile +] +.SH DESCRIPTION +.B Btcflash +is used to read update the Firmware for a BTC DRW1008 DVD+/-RW recorder. +.PP +Be very careful when writing firmware as this program does not check +for the correctness of the target device. +.PP +.SS "Device naming" +For a list of possible device name parameters call +.B "btcflash \-scanbus +or +.B "btcflash dev=help +and then use the right +.B dev= +parameter based on the device listing. + +.SH OPTIONS +.TP +.B \-help +Prints a short summary of the +.B p +options and exists. +.TP +.B \-version +Print version information and exit. +.TP +.BI dev= target +Set the SCSI target for the CD/DVD/BluRay-Recorder, see notes above. +A typical target device specification is +.BI dev= 1,6,0 +\&. +If a filename must be provided together with the numerical target +specification, the filename is implementation specific. +The correct filename in this case can be found in the system specific +manuals of the target operating system. +On a +.I FreeBSD +system without +.I CAM +support, you need to use the control device (e.g. +.IR /dev/rcd0.ctl ). +A correct device specification in this case may be +.BI dev= /dev/rcd0.ctl:@ +\&. +.sp +.B \h'-2m'General SCSI addressing +.br +The +.I target device +to the +.B dev= +option +refers to +.IR scsibus / target / lun +of the CD/DVD/BluRay-Recorder. Communication on +.I SunOS +is done with the SCSI general driver +.B scg. +Other operating systems are using a library simulation of this driver. +Possible syntax is: +.B dev= +.IR scsibus , target , lun +or +.B dev= +.IR target , lun . +In the latter case, the CD/DVD/BluRay-Recorder has to be connected to the default +SCSI bus of the machine. +.IR Scsibus , +.I target +and +.I lun +are integer numbers. +Some operating systems or SCSI transport implementations may require to +specify a filename in addition. +In this case the correct syntax for the device is: +.B dev= +.IR devicename : scsibus , target , lun +or +.B dev= +.IR devicename : target , lun . +If the name of the device node that has been specified on such a system +refers to exactly one SCSI device, a shorthand in the form +.B dev= +.IR devicename : @ +or +.B dev= +.IR devicename : @ , lun +may be used instead of +.B dev= +.IR devicename : scsibus , target , lun . +.sp +.B \h'-2m'Remote SCSI addressing +.br +To access remote SCSI devices, you need to prepend the SCSI device name by +a remote device indicator. The remote device indicator is either +.BI REMOTE: user@host: +or +.BI REMOTE: host: +A valid remote SCSI device name may be: +.BI REMOTE: user@host: +to allow remote SCSI bus scanning or +.BI REMOTE: user@host:1,0,0 +to access the SCSI device at +.I host +connected to SCSI bus # 1,target 0, lun 0. +In order to allow remote access to a specific +.IR host , +the +.BR rscsi (1) +program needs to be present and configured on the +.IR host . +.sp +.B \h'-2m'Alternate SCSI transports +.br +.B ATAPI +drives are just +.B SCSI +drives that inherently use the +.I "ATA packet interface +as +.B SCSI +command transport layer build into the IDE (ATA) transport. +You may need to specify an alternate transport layer on the command line +if your OS does not implement a fully integrated kernel driver subsystem that +allows to access any drive using +.B SCSI +commands via a single unique user interface. +.sp +To access SCSI devices via alternate transport layers, +you need to prepend the SCSI device name by a transport layer indicator. +The transport layer indicator may be something like +.B USCSI: +or +.BR ATAPI: . +To get a list of supported transport layers for your platform, use +.B dev= +.IR HELP : +.sp +.B \h'-2m'Portability Background +.br +To make +.B btcflash +portable to all \s-2UNIX\s0 platforms, the syntax +.B dev= +.IR devicename : scsibus , target , lun +is preferred as it hides OS specific knowledge about device names from the user. +A specific OS may not necessarily support a way to specify a real device file name nor a +way to specify +.IR scsibus , target , lun . +.sp +.I Scsibus +0 is the default SCSI bus on the machine. Watch the boot messages for more +information or look into +.B /var/adm/messages +for more information about the SCSI configuration of your machine. +If you have problems to figure out what values for +.IR scsibus , target , lun +should be used, try the +.B \-scanbus +option of +.B btcflash +described below. +.sp +.B \h'-2m'Using logical names for devices +.br +If no +.I dev +option is present, +.B btcflash +will try to get the device from the +.B CDR_DEVICE +environment. +.sp +If a file /etc/default/cdrecord exists, and +if the argument to the +.B dev= +option +or the +.B CDR_DEVICE +environment +does not contain the characters ',', '/', '@' or ':', +it is interpreted as a device label name that was defined in the file +/etc/default/cdrecord (see FILES section). +.sp +.B \h'-2m'Autotarget Mode +.br +If no +.B dev= +option +and no +.B CDR_DEVICE +environment +is present, or if it +only contains a transport specifyer but no address notation, +.B btcflash +tries to scan the SCSI address space for CD-ROM drives. +If exactly one is found, this is used by default. +.TP +.BI timeout= # +Set the default SCSI command timeout value to +.IR # " seconds. +The default SCSI command timeout is the minimum timeout used for sending +SCSI commands. +If a SCSI command fails due to a timeout, you may try to raise the +default SCSI command timeout above the timeout value of the failed command. +If the command runs correctly with a raised command timeout, +please report the better timeout value and the corresponding command to +the author of the program. +If no +.I timeout +option is present, a default timeout of 40 seconds is used. +.TP +.BI debug= "#, " -d +Set the misc debug value to # (with debug=#) or increment +the misc debug level by one (with -d). If you specify +.I -dd, +this equals to +.BI debug= 2. +This may help to find problems while opening a driver for libscg. +as well as with sector sizes and sector types. +Using +.B \-debug +slows down the process and may be the reason for a buffer underrun. +.TP +.BR kdebug= "#, " kd= # +Tell the +.BR scg -driver +to modify the kernel debug value while SCSI commands are running. +.TP +.BR \-silent ", " \-s +Do not print out a status report for failed SCSI commands. +.TP +.B \-v +Increment the level of general verbosity by one. +This is used e.g. to display the progress of the process. +.TP +.B \-V +Increment the verbose level with respect of SCSI command transport by one. +This helps to debug problems +during the process, that occur in the CD-Recorder. +If you get incomprehensible error messages you should use this flag +to get more detailed output. +.B \-VV +will show data buffer content in addition. +Using +.B \-V +or +.B \-VV +slows down the process. +.TP +.BI f= file +Specify the filename where the firmware should be read from. +.TP +.B \-scanbus +Scan all SCSI devices on all SCSI busses and print the inquiry +strings. This option may be used to find SCSI address of the +devices on a system. +The numbers printed out as labels are computed by: +.B "bus * 100 + target +.TP +.BI scgopts= list +A comma separated list of SCSI options that are handled by libscg. +The implemented options may be uptated indepentendly from applications. +Currently, one option: +.B ignore\-resid +is supported to work around a Linux kernel bug. +.TP +.BR ts= # +Set the maximum transfer size for a single SCSI command to #. +The syntax for the +.B ts= +option is the same as for cdrecord fs=# or sdd bs=#. +.sp +If no +.B ts= +option has been specified, +.B btcflash +defaults to a transfer size of 256 kB. If libscg gets lower values from the +operating system, the value is reduced to the maximum value that is possible +with the current operating system. +Sometimes, it may help to further reduce the transfer size or to enhance it, +but note that it may take a long time to find a better value by experimenting +with the +.B ts= +option. + + +.SH EXAMPLES +.SH ENVIRONMENT +.TP +.B RSH +If the +.B RSH +environment is present, the remote connection will not be created via +.BR rcmd (3) +but by calling the program pointed to by +.BR RSH . +Use e.g. +.BR RSH= /usr/bin/ssh +to create a secure shell connection. +.sp +Note that this forces +.B cdrecord +to create a pipe to the +.B rsh(1) +program and disallows +.B cdrecord +to directly access the network socket to the remote server. +This makes it impossible to set up performance parameters and slows down +the connection compared to a +.B root +initiated +.B rcmd(3) +connection. +.TP +.B RSCSI +If the +.B RSCSI +environment is present, the remote SCSI server will not be the program +.B /opt/schily/sbin/rscsi +but the program pointed to by +.BR RSCSI . +Note that the remote SCSI server program name will be ignored if you log in +using an account that has been created with a remote SCSI server program as +login shell. +.SH "SEE ALSO" +.BR cdrecord (1), +.BR scg (7), +.BR rcmd (3), +.BR ssh (1). +.SH NOTES +.SH DIAGNOSTICS +.PP +A typical error message for a SCSI command looks like: +.sp +.RS +.nf +btcflash: I/O error. test unit ready: scsi sendcmd: no error +CDB: 00 20 00 00 00 00 +status: 0x2 (CHECK CONDITION) +Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 25 00 00 00 00 00 +Sense Key: 0x5 Illegal Request, Segment 0 +Sense Code: 0x25 Qual 0x00 (logical unit not supported) Fru 0x0 +Sense flags: Blk 0 (not valid) +cmd finished after 0.002s timeout 40s +.fi +.sp +.RE +The first line gives information about the transport of the command. +The text after the first colon gives the error text for the system call +from the view of the kernel. It usually is: +.B "I/O error +unless other problems happen. The next words contain a short description for +the SCSI command that fails. The rest of the line tells you if there were +any problems for the transport of the command over the SCSI bus. +.B "fatal error +means that it was not possible to transport the command (i.e. no device present +at the requested SCSI address). +.PP +The second line prints the SCSI command descriptor block for the failed command. +.PP +The third line gives information on the SCSI status code returned by the +command, if the transport of the command succeeds. +This is error information from the SCSI device. +.PP +The fourth line is a hex dump of the auto request sense information for the +command. +.PP +The fifth line is the error text for the sense key if available, followed +by the segment number that is only valid if the command was a +.I copy +command. If the error message is not directly related to the current command, +the text +.I deferred error +is appended. +.PP +The sixth line is the error text for the sense code and the sense qualifier if available. +If the type of the device is known, the sense data is decoded from tables +in +.IR scsierrs.c " . +The text is followed by the error value for a field replaceable unit. +.PP +The seventh line prints the block number that is related to the failed command +and text for several error flags. The block number may not be valid. +.PP +The eight line reports the timeout set up for this command and the time +that the command really needed to complete. + +.SH BUGS +.SH AUTHOR +.nf +J\*org Schilling +Seestr. 110 +D-13353 Berlin +Germany +.fi +.PP +Additional information can be found on: +.br +http://cdrecord.org/private/cdrecord.html +.PP +If you have support questions, send them to: +.PP +.B +cdrtools-support@lists.sourceforge.net +.PP +If you have definitely found a bug, send a mail to: +.PP +.B +cdrtools-developers@lists.sourceforge.net +.br +or +.B +joerg.schilling@fokus.fraunhofer.de +.PP +To subscribe, use: +.PP +.B +https://lists.sourceforge.net/lists/listinfo/cdrtools-developers +.br +or +.B +https://lists.sourceforge.net/lists/listinfo/cdrtools-support diff --git a/btcflash/btcflash.c b/btcflash/btcflash.c new file mode 100644 index 0000000..36afd79 --- /dev/null +++ b/btcflash/btcflash.c @@ -0,0 +1,307 @@ +/* @(#)btcflash.c 1.18 17/07/15 2004-2017 J. Schilling */ +#ifndef lint +static const char _sccsid[] = + "@(#)btcflash.c 1.18 17/07/15 2004-2017 J. Schilling"; +#endif +/*--------------------------------------------------------------------------*/ +/* + * Firmware flash utility for BTC DRW1008 DVD+/-RW recorder + * Version 2004/04/29 + * By David Huang + * This work is dedicated to the public domain + * + * This utility may also work with other BTC DVD recorders, such as + * the DRW1004 and DRW1108, but they have not been tested. + * + * USE AT YOUR OWN RISK! + * btcflash is provided AS IS, with NO WARRANTY, either expressed or implied. + * + * Firmware files may be obtained by running BTC's Windows flash + * utility, then searching in the WINDOWS\TEMP or WINNT\TEMP directory + * for a *.HEX file. It will probably be in a subdirectory named + * PAC*.tmp.DIR, and the HEX file will be named Vnnnn.HEX, where nnnn + * is the firmware version number. You'll also find IDEFLASH.EXE or + * BTCFLASH.EXE in the same directory. + * + * This utility will also accept firmware files in ".BIN" format. + */ + +#ifdef DO_INCLUDE +#include +#include +#include +#include +#endif + +#define FLASHSIZE 0x100000 /* BTC flash is 1MB */ + +EXPORT unsigned char *loadfirmware __PR((const char *)); +LOCAL int getbyte __PR((char **)); +LOCAL unsigned short calcsum __PR((unsigned char *)); +LOCAL int btcmain __PR((SCSI *scgp, const char *fwfile)); + + +EXPORT unsigned char * +loadfirmware(firmware) + const char * firmware; +{ + FILE *f; + char line[80]; + char *p; + unsigned char *fwbuf; + int bank; + int length; + int offset; + int type; + int hexsum; + int i; + int b; + + fwbuf = malloc(FLASHSIZE); + if (!fwbuf) { + fprintf(stderr, _("Could not allocate memory for firmware\n")); + return (NULL); + } + + f = fopen(firmware, "r"); + if (!f) { + fprintf(stderr, _("%s: Unable to open: "), firmware); + perror(NULL); + free(fwbuf); + return (NULL); + } + + /* + * Get length of file. If it's exactly FLASHSIZE, assume it's a + * .bin file. Otherwise, try to read it as a .hex file. + */ + fseek(f, 0, SEEK_END); + if (ftell(f) == FLASHSIZE) { + rewind(f); + if (fread(fwbuf, 1, FLASHSIZE, f) != FLASHSIZE) { + fprintf(stderr, _("%s: Short read\n"), firmware); + fclose(f); + free(fwbuf); + return (NULL); + } + fclose(f); + return (fwbuf); + } + + rewind(f); + memset(fwbuf, 0xff, FLASHSIZE); + + bank = 0; + while (fgets(line, sizeof (line), f)) { + if (line[0] != ':') + continue; + + p = line + 1; + + length = getbyte(&p); + offset = getbyte(&p) << 8 | getbyte(&p); + type = getbyte(&p); + if (length < 0 || offset < 0 || type < 0 || + (type != 0 && length != 0)) { + errmsgno(EX_BAD, _("Malformed line: %.79s\n"), line); + fclose(f); + free(fwbuf); + return (NULL); + } else if (length == 0) { + if (strncmp(line, ":00000155AA", 11) == 0) { + if (++bank >= 16) { + errmsgno(EX_BAD, + _("Firmware file larger than 1MB\n")); + fclose(f); + free(fwbuf); + return (NULL); + } + continue; + } else if (strncmp(line, ":00000001FF", 11) == 0) { + break; + } else { + errmsgno(EX_BAD, _("Malformed line: %.79s\n"), line); + fclose(f); + free(fwbuf); + return (NULL); + } + } + + hexsum = (length + (offset >> 8) + (offset & 0xff)) & 0xff; + for (i = 0; i < length; i++, offset++) { + b = getbyte(&p); + hexsum = (hexsum + b) & 0xff; + if (b < 0) { + errmsgno(EX_BAD, _("Short line: %.79s\n"), line); + fclose(f); + free(fwbuf); + return (NULL); + } + fwbuf[(bank << 16) | offset] = (char)b; + } + hexsum = (0x100 - hexsum) & 0xff; + if (hexsum != getbyte(&p)) { + errmsgno(EX_BAD, _("Checksum mismatch: %.79s\n"), line); + fclose(f); + free(fwbuf); + return (NULL); + } + } + + fclose(f); + + if (bank != 15) { + errmsgno(EX_BAD, _("Firmware file too small\n")); + free(fwbuf); + return (NULL); + } + + return (fwbuf); +} + +LOCAL int +getbyte(pp) + char **pp; +{ + int h; + int l; + + h = **pp; + if (h >= '0' && h <= '9') + h -= '0'; + else if (h >= 'A' && h <= 'F') + h -= 'A' - 10; + else if (h >= 'a' && h <= 'f') + h -= 'a' - 10; + else + return (-1); + + l = *(*pp+1); + if (l >= '0' && l <= '9') + l -= '0'; + else if (l >= 'A' && l <= 'F') + l -= 'A' - 10; + else if (l >= 'a' && l <= 'f') + l -= 'a' - 10; + else + return (-1); + + *pp += 2; + return ((h << 4) | l); +} + +LOCAL unsigned short +calcsum(fwbuf) + unsigned char *fwbuf; +{ + unsigned int flashsum; + unsigned int i; + + for (flashsum = 0, i = 0; i < FLASHSIZE; i++) + flashsum += fwbuf[i]; + + return ((flashsum & 0xffff)); +} + +LOCAL int +btcmain(scgp, fwfile) + SCSI *scgp; + const char *fwfile; +{ + char confirm[5]; + unsigned char *fwbuf; + unsigned char inq[128]; + unsigned char csbuf[32]; + unsigned short checksum; + unsigned int offset; + + printf(_("BTC DVD+/-RW firmware flash utility release %s %s\n"), "1.18", "17/07/15"); + printf(_("USE AT YOUR OWN RISK!\n\n")); + + if (!(fwbuf = loadfirmware(fwfile))) + return (1); + + checksum = calcsum(fwbuf); + + printf(_("Loaded firmware from %s\nFirmware checksum is %04X\n"), + fwfile, checksum); + + if (inquiry(scgp, (char *)inq, 36) < 0) + return (1); + + printf(_("Drive is currently: [%.8s][%.16s][%.4s]\n"), + inq+8, inq+16, inq+32); + printf(_("Firmware appears to be: [%.8s][%.16s][%.4s]\n\n"), + fwbuf+0x40bc, fwbuf+0x40c4, fwbuf+0x40d4); + + if (strncmp((char *)inq + 8, (char *)fwbuf + 0x40bc, 24) != 0) + printf( + "**********************************************************\n"); + printf( + _("WARNING! THIS FIRMWARE DOES NOT SEEM TO BE FOR THIS DRIVE!\n")); + printf( + "**********************************************************\n"); + + printf(_("Type \"YES\" to proceed with flash: ")); + fflush(stdout); + fgets(confirm, sizeof (confirm), stdin); + if (strcmp(confirm, "YES\n") != 0) { + printf(_("\nFlash canceled.\n")); + return (0); + } + + printf(_("\nUploading firmware...\n")); + + /* Upload firmware */ + for (offset = 0; offset < FLASHSIZE; offset += 0x1000) { + + if (write_buffer(scgp, (char *)fwbuf + offset, 0x1000, + 6 /* Download Microcode with Offsets */, + 0 /* Buffer ID 0 */, + offset + 0x20) < 0) { + errmsgno(EX_BAD, _("Cannot write microcode\n")); + return (1); + } + } + + /* Upload checksum */ + memset(csbuf, 0, 32); + csbuf[30] = (checksum >> 8); + csbuf[31] = (checksum & 0xff); + + if (write_buffer(scgp, (char *)csbuf, 0x20, + 6 /* Download Microcode with Offsets */, + 0 /* Buffer ID 0 */, + 0) /* Offset 0 */ + < 0) { + errmsgno(EX_BAD, _("Cannot write microcode checksum\n")); + return (1); + } + + printf(_("Flashing drive...\n")); + + /* Firmware uploaded; now flash it! */ + if (write_buffer(scgp, NULL, 0, + 7 /* Download Microcode with Offsets and Save */, + 0 /* Buffer ID 0 */, + 0) /* Offset 0 */ + < 0) { + errmsgno(EX_BAD, _("Cannot save microcode\n")); + return (1); + } + + sleep(50); /* Let drive sit for a while before bothering it */ + + scgp->silent++; + wait_unit_ready(scgp, 300); + scgp->silent--; + + if (inquiry(scgp, (char *)inq, 36) < 0) + return (1); + + printf(_("Drive is now: [%.8s][%.16s][%.4s]\n\n"), + inq+8, inq+16, inq+32); + printf(_("Please reboot before using the drive.\n")); + + return (0); +} diff --git a/btcflash/skel.c b/btcflash/skel.c new file mode 100644 index 0000000..471418c --- /dev/null +++ b/btcflash/skel.c @@ -0,0 +1,527 @@ +/* @(#)skel.c 1.26 16/01/24 Copyright 1987, 1995-2016 J. Schilling */ +#include +#ifndef lint +static UConst char sccsid[] = + "@(#)skel.c 1.26 16/01/24 Copyright 1987, 1995-2016 J. Schilling"; +#endif +/* + * Skeleton for the use of the scg genearal SCSI - driver + * + * Copyright (c) 1987, 1995-2016 J. Schilling + */ +/* + * The contents of this file are subject to the terms of the + * Common Development and Distribution License, Version 1.0 only + * (the "License"). You may not use this file except in compliance + * with the License. + * + * See the file CDDL.Schily.txt in this distribution for details. + * A copy of the CDDL is also available via the Internet at + * http://www.opensource.org/licenses/cddl1.txt + * + * When distributing Covered Code, include this CDDL HEADER in each + * file and include the License file CDDL.Schily.txt from this distribution. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include /* for setmode() prototype */ + +#include +#include +#include + +#include "scsi_scan.h" +#include "cdrecord.h" +#include "cdrdeflt.h" + +char skel_version[] = "1.1"; + +extern BOOL getlong __PR((char *, long *, long, long)); +extern BOOL getint __PR((char *, int *, int, int)); + +struct exargs { + SCSI *scgp; + int old_secsize; + int flags; + int exflags; + char oerr[3]; +} exargs; + +LOCAL void usage __PR((int ret)); +EXPORT int main __PR((int ac, char **av)); +LOCAL void intr __PR((int sig)); +LOCAL void exscsi __PR((int excode, void *arg)); +#ifdef __needed__ +LOCAL void excdr __PR((int excode, void *arg)); +LOCAL int prstats __PR((void)); +LOCAL int prstats_silent __PR((void)); +#endif +LOCAL void doit __PR((SCSI *scgp)); +LOCAL void dofile __PR((SCSI *scgp, char *filename)); + +struct timeval starttime; +struct timeval stoptime; +int didintr; +int exsig; + +char *Sbuf; +long Sbufsize = -1L; + +int help; +int xdebug; +int lverbose; +int quiet; +BOOL is_suid; + +LOCAL void +usage(ret) + int ret; +{ + error(_("Usage:\tbtcflash [options] f=firmwarefile\n")); + error(_("Options:\n")); + error(_("\t-version print version information and exit\n")); + error(_("\tdev=target SCSI target to use\n")); + error(_("\tscgopts=spec SCSI options for libscg\n")); + error(_("\tf=filename Name of firmware file to read from\n")); + error(_("\tts=# set maximum transfer size for a single SCSI command\n")); + error(_("\ttimeout=# set the default SCSI command timeout to #.\n")); + error(_("\tdebug=#,-d Set to # or increment misc debug level\n")); + error(_("\tkdebug=#,kd=# do Kernel debugging\n")); + error(_("\t-quiet,-q be more quiet in error retry mode\n")); + error(_("\t-verbose,-v increment general verbose level by one\n")); + error(_("\t-Verbose,-V increment SCSI command transport verbose level by one\n")); + error(_("\t-silent,-s do not print status of failed SCSI commands\n")); + error(_("\t-scanbus scan the SCSI bus and exit\n")); + exit(ret); +} + +/* CSTYLED */ +char opts[] = "debug#,d+,kdebug#,kd#,timeout#,quiet,q,verbose+,v+,Verbose+,V+,x+,xd#,silent,s,help,h,version,scanbus,dev*,scgopts*,ts&,f*"; + +EXPORT int +main(ac, av) + int ac; + char *av[]; +{ + char *dev = NULL; + char *scgopts = NULL; + int fcount; + int cac; + char * const *cav; +#if defined(USE_NLS) + char *dir; +#endif + int scsibus = -1; + int target = -1; + int lun = -1; + int silent = 0; + int verbose = 0; + int kdebug = 0; + int debug = 0; + int deftimeout = 40; + int pversion = 0; + int scanbus = 0; + SCSI *scgp; + char *filename = NULL; + int err; + + save_args(ac, av); + +#if defined(USE_NLS) + (void) setlocale(LC_ALL, ""); +#if !defined(TEXT_DOMAIN) /* Should be defined by cc -D */ +#define TEXT_DOMAIN "btcflash" /* Use this only if it weren't */ +#endif + dir = searchfileinpath("share/locale", F_OK, + SIP_ANY_FILE|SIP_NO_PATH, NULL); + if (dir) + (void) bindtextdomain(TEXT_DOMAIN, dir); + else +#if defined(PROTOTYPES) && defined(INS_BASE) + (void) bindtextdomain(TEXT_DOMAIN, INS_BASE "/share/locale"); +#else + (void) bindtextdomain(TEXT_DOMAIN, "/usr/share/locale"); +#endif + (void) textdomain(TEXT_DOMAIN); +#endif + + cac = --ac; + cav = ++av; + + if (getallargs(&cac, &cav, opts, + &debug, &debug, + &kdebug, &kdebug, + &deftimeout, + &quiet, &quiet, + &lverbose, &lverbose, + &verbose, &verbose, + &xdebug, &xdebug, + &silent, &silent, + &help, &help, &pversion, + &scanbus, + &dev, &scgopts, + getnum, &Sbufsize, + &filename) < 0) { + errmsgno(EX_BAD, _("Bad flag: %s.\n"), cav[0]); + usage(EX_BAD); + } + if (help) + usage(0); + if (pversion) { + printf(_("btcflash %s (%s-%s-%s) Copyright (C) 1987, 1995-2016 %s (C) 2004 David Huang\n"), + skel_version, + HOST_CPU, HOST_VENDOR, HOST_OS, + _("Joerg Schilling")); + exit(0); + } + + fcount = 0; + cac = ac; + cav = av; + + while (getfiles(&cac, &cav, opts) > 0) { + fcount++; + if (fcount == 1) { + if (*astoi(cav[0], &target) != '\0') { + errmsgno(EX_BAD, + _("Target '%s' is not a Number.\n"), + cav[0]); + usage(EX_BAD); + /* NOTREACHED */ + } + } + if (fcount == 2) { + if (*astoi(cav[0], &lun) != '\0') { + errmsgno(EX_BAD, + _("Lun is '%s' not a Number.\n"), + cav[0]); + usage(EX_BAD); + /* NOTREACHED */ + } + } + if (fcount == 3) { + if (*astoi(cav[0], &scsibus) != '\0') { + errmsgno(EX_BAD, + _("Scsibus is '%s' not a Number.\n"), + cav[0]); + usage(EX_BAD); + /* NOTREACHED */ + } + } else { + scsibus = 0; + } + cac--; + cav++; + } +/*error("dev: '%s'\n", dev);*/ + + cdr_defaults(&dev, NULL, NULL, &Sbufsize, NULL); + if (debug) { + printf(_("dev: '%s'\n"), dev); + } + if (!scanbus && dev == NULL && + scsibus == -1 && (target == -1 || lun == -1)) { + errmsgno(EX_BAD, _("No SCSI device specified.\n")); + usage(EX_BAD); + } + if (dev || scanbus) { + char errstr[80]; + + /* + * Call scg_remote() to force loading the remote SCSI transport + * library code that is located in librscg instead of the dummy + * remote routines that are located inside libscg. + */ + scg_remote(); + if (dev != NULL && + ((strncmp(dev, "HELP", 4) == 0) || + (strncmp(dev, "help", 4) == 0))) { + scg_help(stderr); + exit(0); + } + if ((scgp = scg_open(dev, errstr, sizeof (errstr), debug, lverbose)) == (SCSI *)0) { + err = geterrno(); + + errmsgno(err, _("%s%sCannot open SCSI driver.\n"), errstr, errstr[0]?". ":""); + errmsgno(EX_BAD, _("For possible targets try 'btcflash -scanbus'. Make sure you are root.\n")); + errmsgno(EX_BAD, _("For possible transport specifiers try 'btcflash dev=help'.\n")); + exit(err); + } + } else { + if (scsibus == -1 && target >= 0 && lun >= 0) + scsibus = 0; + + scgp = scg_smalloc(); + scgp->debug = debug; + scgp->kdebug = kdebug; + + scg_settarget(scgp, scsibus, target, lun); + if (scg__open(scgp, NULL) <= 0) + comerr(_("Cannot open SCSI driver.\n")); + } + if (scgopts) { + int i = scg_opts(scgp, scgopts); + if (i <= 0) + exit(i < 0 ? EX_BAD : 0); + } + scgp->silent = silent; + scgp->verbose = verbose; + scgp->debug = debug; + scgp->kdebug = kdebug; + scg_settimeout(scgp, deftimeout); + + if (Sbufsize < 0) + Sbufsize = 256*1024L; + Sbufsize = scg_bufsize(scgp, Sbufsize); + if ((Sbuf = scg_getbuf(scgp, Sbufsize)) == NULL) + comerr(_("Cannot get SCSI I/O buffer.\n")); + +#ifdef HAVE_PRIV_SET + /* + * Give up privs we do not need anymore. + * We no longer need: + * file_dac_read,net_privaddr + * We still need: + * sys_devices + */ + priv_set(PRIV_OFF, PRIV_EFFECTIVE, + PRIV_FILE_DAC_READ, PRIV_NET_PRIVADDR, NULL); + priv_set(PRIV_OFF, PRIV_PERMITTED, + PRIV_FILE_DAC_READ, PRIV_NET_PRIVADDR, NULL); + priv_set(PRIV_OFF, PRIV_INHERITABLE, + PRIV_FILE_DAC_READ, PRIV_NET_PRIVADDR, PRIV_SYS_DEVICES, NULL); +#endif + /* + * This is only for OS that do not support fine grained privs. + */ + is_suid = geteuid() != getuid(); + /* + * We don't need root privilleges anymore. + */ +#ifdef HAVE_SETREUID + if (setreuid(-1, getuid()) < 0) +#else +#ifdef HAVE_SETEUID + if (seteuid(getuid()) < 0) +#else + if (setuid(getuid()) < 0) +#endif +#endif + comerr(_("Panic cannot set back effective uid.\n")); + + /* code to use SCG */ + + if (scanbus) { + if (select_target(scgp, stdout) < 0) + exit(EX_BAD); + exit(0); + } + seterrno(0); + do_inquiry(scgp, FALSE); + err = geterrno(); + if (err == EPERM || err == EACCES) + exit(EX_BAD); + allow_atapi(scgp, TRUE); /* Try to switch to 10 byte mode cmds */ + + exargs.scgp = scgp; + exargs.old_secsize = -1; +/* exargs.flags = flags;*/ + exargs.oerr[2] = 0; + + /* + * Install exit handler before we change the drive status. + */ + on_comerr(exscsi, &exargs); + signal(SIGINT, intr); + signal(SIGTERM, intr); + + if (filename) { + dofile(scgp, filename); + } else { + errmsgno(EX_BAD, _("Firmware file missing.\n")); + doit(scgp); + } + + comexit(0); + return (0); +} + +/* + * XXX Leider kann man vim Signalhandler keine SCSI Kommandos verschicken + * XXX da meistens das letzte SCSI Kommando noch laeuft. + * XXX Eine Loesung waere ein Abort Callback in SCSI *. + */ +LOCAL void +intr(sig) + int sig; +{ + didintr++; + exsig = sig; +/* comexit(sig);*/ +} + +/* ARGSUSED */ +LOCAL void +exscsi(excode, arg) + int excode; + void *arg; +{ + struct exargs *exp = (struct exargs *)arg; + int i; + + /* + * Try to restore the old sector size. + */ + if (exp != NULL && exp->exflags == 0) { + for (i = 0; i < 10*100; i++) { + if (!exp->scgp->running) + break; + if (i == 10) { + errmsgno(EX_BAD, + _("Waiting for current SCSI command to finish.\n")); + } + usleep(100000); + } + +#ifdef ___NEEDED___ + /* + * Try to set drive back to original state. + */ + if (!exp->scgp->running) { + if (exp->oerr[2] != 0) { + domode(exp->scgp, exp->oerr[0], exp->oerr[1]); + } + if (exp->old_secsize > 0 && exp->old_secsize != 2048) + select_secsize(exp->scgp, exp->old_secsize); + } +#endif + exp->exflags++; /* Make sure that it only get called once */ + } +} + +#ifdef __needed__ +LOCAL void +excdr(excode, arg) + int excode; + void *arg; +{ + exscsi(excode, arg); + +#ifdef needed + /* Do several other restores/statistics here (see cdrecord.c) */ +#endif +} +#endif + +#ifdef __needed__ +/* + * Return milliseconds since start time. + */ +LOCAL int +prstats() +{ + int sec; + int usec; + int tmsec; + + if (gettimeofday(&stoptime, (struct timezone *)0) < 0) + comerr(_("Cannot get time\n")); + + sec = stoptime.tv_sec - starttime.tv_sec; + usec = stoptime.tv_usec - starttime.tv_usec; + tmsec = sec*1000 + usec/1000; +#ifdef lint + tmsec = tmsec; /* Bisz spaeter */ +#endif + if (usec < 0) { + sec--; + usec += 1000000; + } + + error(_("Time total: %d.%03dsec\n"), sec, usec/1000); + return (1000*sec + (usec / 1000)); +} +#endif + +#ifdef __needed__ +/* + * Return milliseconds since start time, but be silent this time. + */ +LOCAL int +prstats_silent() +{ + int sec; + int usec; + int tmsec; + + if (gettimeofday(&stoptime, (struct timezone *)0) < 0) + comerr(_("Cannot get time\n")); + + sec = stoptime.tv_sec - starttime.tv_sec; + usec = stoptime.tv_usec - starttime.tv_usec; + tmsec = sec*1000 + usec/1000; +#ifdef lint + tmsec = tmsec; /* Bisz spaeter */ +#endif + if (usec < 0) { + sec--; + usec += 1000000; + } + + return (1000*sec + (usec / 1000)); +} +#endif + +LOCAL void +doit(scgp) + SCSI *scgp; +{ + int i = 0; + + for (;;) { + if (!wait_unit_ready(scgp, 60)) + comerrno(EX_BAD, _("Device not ready.\n")); + + printf(_("0:read\n")); +/* printf("7:wne 8:floppy 9:verify 10:checkcmds 11:read disk 12:write disk\n");*/ + + getint(_("Enter selection:"), &i, 0, 20); + if (didintr) + return; + + switch (i) { + +/* case 1: read_disk(scgp, 0); break;*/ + + default: error(_("Unimplemented selection %d\n"), i); + } + } +} + +LOCAL int btcmain __PR((SCSI *scgp, const char *fwfile)); + +LOCAL void +dofile(scgp, filename) + SCSI *scgp; + char *filename; +{ + if (btcmain(scgp, filename) != 0) + exit(EX_BAD); +} + +/* + * Add your own code below.... + */ + +#include "btcflash.c" diff --git a/build_all.com b/build_all.com new file mode 100644 index 0000000..be59c6f --- /dev/null +++ b/build_all.com @@ -0,0 +1,29 @@ +$ set default [.LIBFILE] +$ write sys$output "Creating LIBFILE.OLB" +$ @LIBFILE.COM +$ set default [-.LIBHFS_ISO] +$ write sys$output "Creating LIBHFS_ISO.OLB" +$ @LIBHFS_ISO.COM +$ set default [-.LIBUNLS] +$ write sys$output "Creating LIBUNLS.OLB" +$ @LIBUNLS.COM +$ set default [-.LIBSCG] +$ write sys$output "Creating LIBSCG.OLB" +$ @libscg.com +$ set default [-.libschily] +$ write sys$output "Creating LIBSCHILY.OLB" +$ @libschily.com +$ set default [-.MKISOFS] +$ write sys$output "BUILDING MKISOFS.EXE" +$ @BUILD_MKISOFS.COM +$ set default [-.cdrecord] +$ write sys$output "BUILDING CDRECORD.EXE" +$ @build_cdrecord.com +$ set default [-.readcd] +$ write sys$output "BUILDING READCD.EXE" +$ @build_readcd.com +$ set default [-.CDDA2WAV] +$ write sys$output "BUILDING CDDA2WAV.EXE" +$ @BUILD_CDDA2WAV.com +$ set default [-] +$ dir [.bins]*.exe diff --git a/cdda2wav/Changelog b/cdda2wav/Changelog new file mode 100644 index 0000000..e510327 --- /dev/null +++ b/cdda2wav/Changelog @@ -0,0 +1,570 @@ +210 Einträge +Fri Apr 6 15:58:32 2001 Heiko Eissfeldt + * interface.c 1.16 + bugfix symbolic constant 'linux' -> 'LINUX', code cleanup + +Sun Mar 11 17:55:25 2001 Heiko Eissfeldt + * scsi_cmds.c 1.11 + schily changes + +Sun Mar 11 17:25:14 2001 Heiko Eissfeldt + * semshm.c 1.6 + change to new shared memory scheme. + +Mon Dec 25 11:13:42 2000 Heiko Eissfeldt + * config.h 1.3 + get rid of PRETEND_TO_USE, use ARGSUSED instead + +Sun Dec 10 16:49:56 2000 Heiko Eissfeldt + * scsi_cmds.c 1.10 + Large file type fix: u_char -> Uchar + +Sat Dec 9 23:41:42 2000 Heiko Eissfeldt + * Makefile 1.2 + add libraries for remote scsi + +Sat Dec 9 23:39:59 2000 Heiko Eissfeldt + * ioctl.c 1.9 + read toc in msf AND lba format. Use mins,secs,frms fields. + +Sat Dec 9 23:38:25 2000 Heiko Eissfeldt + * interface.h 1.6 + portability fix: change signed char to int for mins,secs,frms + +Sat Dec 9 23:37:18 2000 Heiko Eissfeldt + * scsi_cmds.c 1.9 + change mins, secs, frms to type int; use conversion function lba_2_msf + +Sat Dec 9 23:35:43 2000 Heiko Eissfeldt + * toc.c 1.15 + add conversion function lba_2_msf + +Fri Dec 1 14:37:10 2000 Heiko Eissfeldt + * interface.c 1.15 + change ReadToc_sim to define new toc struc members mins, secs, frms. + +Fri Dec 1 14:36:22 2000 Heiko Eissfeldt + * scsi_cmds.c 1.8 + change ReadToc to read in MSF as well as in LBA format. Store seperately. + +Fri Dec 1 14:35:04 2000 Heiko Eissfeldt + * interface.h 1.5 + add seperate fields in toc structure: mins, secs, frms for + msf can hold different data than lba (as seen by dvds) + +Mon Nov 6 21:14:11 2000 Heiko Eissfeldt + * cdda2wav.c 1.23 + fix from Joerg Schilling for better Cygwin old/new compatibility + +Wed Oct 25 23:48:02 2000 Heiko Eissfeldt + * cdda2wav.c 1.22 + don't try to get cd text info on discs with data tracks only + +Wed Oct 25 23:47:20 2000 Heiko Eissfeldt + * interface.c 1.14 + disable Read TOC cd text for Sony CRX100E reported by George Fisher (fisher@ssl.berkeley.edu) + +Tue Sep 19 21:30:57 2000 Heiko Eissfeldt + * cdda2wav.c 1.21 + fix from js for wait() declarations + +Fri Sep 15 12:51:43 2000 Heiko Eissfeldt + * cdda2wav.c 1.20 + adapt for Cygwin 1.0 header files + +Wed Sep 13 23:06:25 2000 Heiko Eissfeldt + * cdda2wav.c 1.19 + * interface.c 1.13 + * scsi_cmds.c 1.7 + (r)scsi interface changes + +Sun Aug 20 17:29:02 2000 Heiko Eissfeldt + * scsi_cmds.c 1.6 + * cdda2wav.c 1.18 + * interface.c 1.12 + adapt for new libscsi + +Sat Jun 24 07:57:38 2000 Heiko Eissfeldt + * cdda2wav.c 1.17 + use setpriority if available before nice + +Sat Jun 24 07:56:40 2000 Heiko Eissfeldt + * toc.c 1.14 + ISRC hardening II + +Fri Jun 16 00:12:21 2000 Heiko Eissfeldt + * mycdrom.h 1.4 + bugfix: FreeBSD should get the ioctl interface again + +Fri Jun 16 00:11:39 2000 Heiko Eissfeldt + * ioctl.c 1.8 + bugfix: FreeBSD ioctl should work again + +Sat Jun 10 22:27:43 2000 Heiko Eissfeldt + * toc.c 1.13 + recorder id detection and extended character range for ISRC + +Fri Jun 2 08:56:22 2000 Heiko Eissfeldt + * interface.c 1.11 + added schily header files + interface change for ReadCdRom* functions + now allocate always a SCSI structure for use of silent and verbose + thats it. + +Fri Jun 2 08:49:08 2000 Heiko Eissfeldt + * cdda2wav.c 1.16 + added schily header files + major changes for cds with illegal leadout positions + moved nSamplesToDo into the shared memory segment + added exit wrapper for portability under Max-OS-X + cleaned up ring buffer handling + bugfix for silent mode (call DisplayToc and Read_MCN_ISRC was needed) + +Fri Jun 2 08:37:12 2000 Heiko Eissfeldt + * toc.c 1.12 + added schily header files + made cd text detection more reliable for plextor/sony non-mmc drives + hardened cdda2wav against illegal ISRC codes + major changes for cds with illegal leadout positions + protected the index scan against illegal leadout positions + *** CHANGED *** 00/06/02 07:43:08 heiko + added schilys header files + +Fri Jun 2 08:33:44 2000 Heiko Eissfeldt + * aifc.c 1.4 + * aiff.c 1.4 + include schilys header files + +Fri Jun 2 08:32:28 2000 Heiko Eissfeldt + * semshm.c 1.5 + added schily headerfile + +Fri Jun 2 08:31:53 2000 Heiko Eissfeldt + * interface.h 1.4 + interface change for ReadCdRom*. Return int instead of void + +Fri Jun 2 08:30:51 2000 Heiko Eissfeldt + * scsi_cmds.c 1.5 + interface change: Read* function do not exit the program, when + sectors could not be read. Instead they signal this through the return value. + +Fri Jun 2 08:28:37 2000 Heiko Eissfeldt + * scsi_cmds.h 1.3 + interface change: Read* functions now return number of sectors read + added myscsierr function for scsi result checking + +Fri Jun 2 08:26:46 2000 Heiko Eissfeldt + * ioctl.c 1.7 + interface change: ReadCdrom and ReadCdromData return number of read sectors + schily include file added + default buffer size set to 8 sectors for ide on Linux + suppress errors when scgp->silent > 0 + +Fri Jun 2 07:39:55 2000 Heiko Eissfeldt + * ringbuff.c 1.4 + added a pointer for the new shared memory reference eorecording + +Fri Jun 2 07:38:48 2000 Heiko Eissfeldt + * ringbuff.h 1.4 + new variables in shared memory: + end_is_reached is set when the previously unknown leadout is encountered. + nSamplesToDo has been moved into shared memory to be visible for the writer. + +Fri Jun 2 07:36:11 2000 Heiko Eissfeldt + * local.cnf.in 1.3 + bugfixes: SunOS sound device, NetBSD inclusion of extralibs + +Fri Jun 2 07:34:37 2000 Heiko Eissfeldt + * configure.in 1.2 + bugfix. include detected libs in EXTRALIBS + +Fri Jun 2 07:29:12 2000 Heiko Eissfeldt + * global.h 1.4 + added two globals for detection of cds with illegal lead out positions + and one for a drive capability to read beyond the wrong leadout position. + +Tue May 2 21:41:40 2000 Heiko Eissfeldt + * resample.c 1.9 + fixed an signedness warning for buffer pointer for WriteSound() + +Thu Apr 27 23:53:49 2000 Heiko Eissfeldt + * cdda2wav.c 1.15 + -t4+4 -B now records only one track +4 is interpreted as a limit + +Sat Apr 22 23:37:57 2000 Heiko Eissfeldt + * setuid.c 1.3 + fixed a drop root forever bug, when we were currently nonroot + +Mon Apr 17 08:27:51 2000 Heiko Eissfeldt + * resample.c 1.8 + fixed 'wait for signal' + +Mon Apr 17 08:27:23 2000 Heiko Eissfeldt + * cdda2wav.c 1.14 + fixed info files generation, added warnings + +Mon Apr 17 08:26:37 2000 Heiko Eissfeldt + * toc.c 1.11 + fixed empty title display + +Thu Apr 13 00:38:04 2000 Heiko Eissfeldt + * cdda2wav.c 1.13 + added some consistency checks for info file generation + +Wed Apr 12 22:54:37 2000 Heiko Eissfeldt + * scsi_cmds.c 1.4 + fixed read cd text wrt reserved track/session field (now 0) + +Mon Apr 10 07:49:11 2000 Heiko Eissfeldt + * sndfile.h 1.3 + new interface methods for mp3 + +Thu Mar 30 00:03:38 2000 Heiko Eissfeldt + * toc.c 1.10 + add isrc and mcn retrieval for cd-extra + +Wed Mar 29 23:12:09 2000 Heiko Eissfeldt + * toc.c 1.9 + fixed a bug with gui-mode and quote() function usage + +Wed Mar 29 21:24:04 2000 Heiko Eissfeldt + * ioctl.c 1.6 + allow for sun type ioctl even on non_suns (HAVE_SYS_CDIO_H) + +Wed Mar 29 21:21:51 2000 Heiko Eissfeldt + * mycdrom.h 1.3 + disable HAVE_IOCTL_INTERFACE even if HAVE_SYS_CDIO_H (for Mac OS X) + +Sun Mar 26 23:17:47 2000 Heiko Eissfeldt + * resample.c 1.7 + change write call for sndfile to new sndfile method WriteSound + +Sun Mar 26 23:14:47 2000 Heiko Eissfeldt + * cdda2wav.c 1.12 + variable name change 'fill_buffer' -> 'he_fill_buffer' + prepare for new output format mp3 with lame (disabled with #ifdef USE_LAME) + +Sun Mar 26 23:10:19 2000 Heiko Eissfeldt + * ringbuff.c 1.3 + * ringbuff.h 1.3 + variable name change to avoid collision with fill_buffer from lame + +Sun Mar 26 23:09:14 2000 Heiko Eissfeldt + * interface.h 1.3 + mask SCSI depend declarations with NO_SCSI_STUFF define + +Sun Mar 26 23:08:27 2000 Heiko Eissfeldt + * toc.c 1.8 + fix an unimportant typo in resolve_id not active + +Sun Mar 26 22:14:53 2000 Heiko Eissfeldt + * aifc.c 1.3 + * aiff.c 1.3 + * raw.c 1.3 + * sun.c 1.3 + * wav.c 1.3 + prepared sndfile interface for additional functions needed for mp3 + +Tue Mar 21 21:42:10 2000 Heiko Eissfeldt + * interface.c 1.10 + added the DEC RRD47 drive as not mmc/readCD capable + +Tue Mar 21 20:25:44 2000 Heiko Eissfeldt + * cdda2wav.c 1.11 + fixed an cd extra detection bug + disabled .cddb and .cdindex file generation with --gui + +Tue Mar 21 20:22:26 2000 Heiko Eissfeldt + * Makefile.man 1.1 + date and time created 00/03/21 20:22:26 by heiko + +Tue Mar 21 20:17:28 2000 Heiko Eissfeldt + * toc.c 1.7 + added cactus data shield copy protection recognition + fixed display for cd extra (track times) + fix for sony crx140s (delivers Qsubchannel position data in bcd instead of hex) + fixed screen output during index scan cosmetically + +Tue Mar 21 20:06:19 2000 Heiko Eissfeldt + * ioctl.c 1.5 + added rough debugging messages for -V + fixed index scanning for Linux and FreeBSD + +Tue Mar 21 18:45:30 2000 Heiko Eissfeldt + * interface.c 1.9 + included inquiry message, added rough ioctl debugging messages + +Sun Feb 20 23:07:27 2000 Heiko Eissfeldt + * resample.c 1.6 + fixed a compiler warning + +Sun Feb 20 23:07:16 2000 Heiko Eissfeldt + * interface.c 1.8 + fixed missing global.in_lendian substitutes + +Thu Feb 17 22:00:32 2000 Heiko Eissfeldt + * cdda2wav.c 1.10 + made deemphasizing automatic + adjusted info files accordingly + allow non-root users to fail on realtimescheduling (and continue) + get shared memory initialization from interface.c now based on nsectors and + overlap values. + add more checks for buffers and nsectors. + increase buffers and nsectors, if necessary + +Thu Feb 17 21:56:22 2000 Heiko Eissfeldt + * interface.c 1.7 + moved shared memory allocation to cdda2wav.c + open linux ioctl devices with O_NONBLOCK + +Thu Feb 17 21:52:15 2000 Heiko Eissfeldt + * resample.c 1.5 + fix synchronization with channel swaps or deemphasizing + +Thu Feb 17 21:50:59 2000 Heiko Eissfeldt + * scsi_cmds.c 1.3 + avoid error message, if speedselectMMC fails (is optional) + +Thu Feb 17 21:50:00 2000 Heiko Eissfeldt + * toc.c 1.6 + fix compiler warnings, fix index scanning + +Thu Feb 17 21:48:43 2000 Heiko Eissfeldt + * semshm.c 1.4 + moved free_sem() in order to compile properly + +Thu Feb 17 21:47:04 2000 Heiko Eissfeldt + * global.h 1.3 + add input endianess variable for SCSI setup + +Wed Feb 16 21:26:40 2000 Heiko Eissfeldt + * semshm.c 1.3 + fixed comments and variable names for child/parent role swap + +Sun Feb 13 22:28:42 2000 Heiko Eissfeldt + * resample.c 1.4 + changed deemphasizing (now for marked tracks) + +Sun Feb 13 22:27:34 2000 Heiko Eissfeldt + * cdda2wav.c 1.9 + automatic handling of -T (with index scanning) + +Sun Feb 13 22:26:38 2000 Heiko Eissfeldt + * cdda2wav.h 1.4 + new get_current_track() function + +Sun Feb 13 22:21:04 2000 Heiko Eissfeldt + * cdda2wav.1 1.5 + document new -T, cleanup + +Thu Feb 10 18:35:26 2000 Heiko Eissfeldt + * toc.c 1.5 + implemented reading of cdplus/info.cdp through ISO file system + +Mon Feb 7 22:47:24 2000 root + * interface.c 1.6 + added Hitachi drive to mmc exception list + +Mon Feb 7 18:17:40 2000 Heiko Eissfeldt + * interface.c 1.5 + explicitly let Toshiba ATAPI drives use the mmc command set. + +Sat Feb 5 11:47:00 2000 Heiko Eissfeldt + * cdda2wav.c 1.8 + fixed percentage display for the 100% case + +Sat Feb 5 11:46:38 2000 Heiko Eissfeldt + * interface.c 1.4 + extended simulation interface + +Thu Feb 3 20:59:12 2000 Heiko Eissfeldt + * toc.c 1.4 + added the missing ascii to html character mapper + added check for valid cd extra + +Wed Feb 2 23:54:48 2000 Heiko Eissfeldt + * cdda2wav.c 1.7 + fixed mixed mode multinaming + allow nonroot users , do not abort for failing prioctl() + +Tue Jan 25 18:57:39 2000 Heiko Eissfeldt + * cdda2wav.h 1.3 + * toc.h 1.3 + prototype change with index scanning function + +Tue Jan 25 18:55:58 2000 Heiko Eissfeldt + * ioctl.c 1.4 + fixed dumb warning + +Tue Jan 25 18:43:49 2000 Heiko Eissfeldt + * interface.c 1.3 + extend ioctl interface for FreeBSD-4.x atapi driver + +Sat Jan 22 21:24:16 2000 Heiko Eissfeldt + * ioctl.c 1.3 + fixed data reading for cd-Extra+ATAPI+Linux + +Tue Jan 11 23:16:11 2000 Heiko Eissfeldt + * cdda2wav.c 1.6 + * toc.c 1.3 + + +Sun Jan 9 12:11:21 2000 Heiko Eissfeldt + * cdda2wav.c 1.5 + index scanning limited to single tracks, if requested. + changed vfprintf() to Joerg Schillings error() for better portability. + modified error handling for wrong parameters. no more long usage listing. + + +Mon Jan 3 22:53:51 2000 Heiko Eissfeldt + * cdda2wav.c 1.4 + * resample.c 1.3 + * mmsystem.h 1.4 + *_h -> *_H + +Sun Jan 2 23:22:23 2000 Heiko Eissfeldt + * mmsystem.h 1.3 + delete ctrl-m lineends + +Sun Jan 2 23:18:58 2000 Heiko Eissfeldt + * cdda2wav.1 1.4 + new fix for SCCS (@(x)) + +Sun Jan 2 18:20:36 2000 Heiko Eissfeldt + * cdda2wav.1 1.3 + fixed man page for SCCS header + +Sun Jan 2 18:07:17 2000 Heiko Eissfeldt + * mmsystem.h 1.2 + put under SCCS + +Sun Jan 2 18:02:48 2000 Heiko Eissfeldt + * lconfig.h.in 1.3 + * sndconfig.c 1.3 + OSS sound support added for NetBSD + +Sun Jan 2 17:56:13 2000 Heiko Eissfeldt + * mmsystem.h 1.1 + date and time created 00/01/02 17:56:13 by heiko + +Sun Jan 2 17:53:10 2000 Heiko Eissfeldt + * Makefile 1.1 + date and time created 00/01/02 17:53:10 by heiko + +Sun Jan 2 17:24:41 2000 Heiko Eissfeldt + * configure.in 1.1 + date and time created 00/01/02 17:24:41 by heiko + +Sun Dec 19 22:34:34 1999 Heiko Eissfeldt + * cdda2wav.c 1.3 + multiple file names + +Sun Dec 19 21:52:00 1999 Heiko Eissfeldt + * toc.h 1.2 + * wav.c 1.2 + * wav.h 1.2 + * sha_func.c 1.2 + * sndconfig.c 1.2 + * sndconfig.h 1.2 + * sndfile.h 1.2 + * sun.c 1.2 + * sun.h 1.2 + * toc.c 1.2 + * ringbuff.h 1.2 + * saveargs.h 1.2 + * scsi_cmds.c 1.2 + * scsi_cmds.h 1.2 + * semshm.c 1.2 + * semshm.h 1.2 + * setuid.c 1.2 + * setuid.h 1.2 + * sha.h 1.2 + * md5c.c 1.2 + * mycdrom.h 1.2 + * mytype.h 1.2 + * raw.c 1.2 + * raw.h 1.2 + * resample.c 1.2 + * resample.h 1.2 + * ringbuff.c 1.2 + * global.h 1.2 + * interface.c 1.2 + * interface.h 1.2 + * ioctl.c 1.2 + * ioctl.h 1.2 + * lconfig.h.in 1.2 + * local.cnf.in 1.2 + * lowlevel.h 1.2 + * md5.h 1.2 + * aiff.h 1.2 + * base64.c 1.2 + * base64.h 1.2 + * byteorder.h 1.2 + * cdda2wav.1 1.2 + * cdda2wav.c 1.2 + * cdda2wav.h 1.2 + * config.h 1.2 + * aifc.c 1.2 + * aifc.h 1.2 + * aiff.c 1.2 + first + +Sat Nov 13 19:30:21 1999 Heiko Eissfeldt + * cdda2wav.1 1.1 + date and time created 99/11/13 19:30:21 by heiko + +Sat Nov 13 19:25:02 1999 Heiko Eissfeldt + * lconfig.h.in 1.1 + * local.cnf.in 1.1 + date and time created 99/11/13 19:25:02 by heiko + +Sat Nov 13 19:24:29 1999 Heiko Eissfeldt + * aifc.h 1.1 + * aiff.h 1.1 + * base64.h 1.1 + * byteorder.h 1.1 + * cdda2wav.h 1.1 + * config.h 1.1 + * global.h 1.1 + * interface.h 1.1 + * ioctl.h 1.1 + * lowlevel.h 1.1 + * md5.h 1.1 + * mycdrom.h 1.1 + * mytype.h 1.1 + * raw.h 1.1 + * resample.h 1.1 + * ringbuff.h 1.1 + * saveargs.h 1.1 + * scsi_cmds.h 1.1 + * semshm.h 1.1 + * setuid.h 1.1 + * sha.h 1.1 + * sndconfig.h 1.1 + * sndfile.h 1.1 + * sun.h 1.1 + * toc.h 1.1 + * wav.c 1.1 + * wav.h 1.1 + date and time created 99/11/13 19:24:29 by heiko + +Sat Nov 13 19:24:28 1999 Heiko Eissfeldt + * aifc.c 1.1 + * aiff.c 1.1 + * base64.c 1.1 + * cdda2wav.c 1.1 + * interface.c 1.1 + * ioctl.c 1.1 + * md5c.c 1.1 + * raw.c 1.1 + * resample.c 1.1 + * ringbuff.c 1.1 + * scsi_cmds.c 1.1 + * semshm.c 1.1 + * setuid.c 1.1 + * sha_func.c 1.1 + * sndconfig.c 1.1 + * sun.c 1.1 + * toc.c 1.1 + date and time created 99/11/13 19:24:28 by heiko + diff --git a/cdda2wav/FAQ b/cdda2wav/FAQ new file mode 100644 index 0000000..ab46d12 --- /dev/null +++ b/cdda2wav/FAQ @@ -0,0 +1,293 @@ +Frequently Asked Questions + +Status +====== + + +Q: What is the copyright status of cdda2wav? + +A: Cdda2wav is software copyrighted by Heiko Eissfeldt and released under the + COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (see file CDDL.Schily.txt). + +Compilation +=========== + + +Q: What are the requirements to run cdda2wav? + +A: All operating systems that are supported by cdrecord should also be able to + run cdda2wav. Currently DOS and Windows are not covered. + Requirements of previous versions of cdda2wav have been cut down for the + sake of portability. Features like fork(), realtime scheduling, or shared + memory are all optional now. You need a shell, which runs autoconf, a c + compiler (even a K&R compiler should work) and a c library to build cdda2wav + on a supported operating system. To run cdda2wav, a SCSI transport + implementation for the os, a cdrom or cd burner device to read from, and + at least say 65K of memory for buffers are needed. + + +Q: Why does it not compile under Linux, although I am using the newest kernel? + +A: There have been changes in the generic driver by Douglas Gilbert, that are + in its first release not compatible with the scsi library from Joerg + Schilling. We are working on this problem... + In the meantime better do not use this variant, use the older one instead. + + +Q: Why does it not compile using standard make? + +A: Like cdrecord, cdda2wav needs a sophisticated make program like Joerg + Schilling's smake or GNU gmake. Pure posix make functionality is not enough. + +Setting Up (for now Linux only) +=============================== + + +Q: Should I use scsi emulation or the eide driver for my ATAPI cdrom drive? + +A: Scsi emulation is preferred, since it enables cdda2wav to use more commands + and is often the only way to get special information like track titles with + cd-text. The emulation module is called ide-scsi, the eide module is called + ide-cd. + + +Q: How can I use my parallel-port-connected cdrom with cdda2wav? + +A: Under Linux there is a driver, that makes this device under SCSI + emulation available. For more information see the cdrecord documentation. + + +Q: How do I check, if the current Linux kernel does support generic SCSI? + +A: run 'cat /proc/devices | grep "21 sg"' and see, if a line with 'sg' appears. + If it does not appear, the current kernel is not able to use the generic_scsi + interface. If you have generic SCSI support compiled as a module, see next + question, otherwise you need to recompile the kernel and enable generic SCSI. + You might try to use the 'cooked_ioctl' interface as a last resort, but then + you need to supply a cdrom device with -D (like -D/dev/cdrom). In this case + cdda2wav completely relies on the cdda reading methods from the kernel + driver, so it might not work (due to unsupported). + + +Q: How do I load the generic SCSI module by hand? + +A: run 'insmod sg' and check the result (see above). + + +Q: How do I find the device setting for my drive? + +A: Under Linux use the script scan_scsi.Linux. It prints the available devices + and their respective device option to be used. + Be aware of the fact that the generic device naming may change whenever the + devices on the SCSI bus change (present or not present). + +General usage (sampling) +======================== + + +Q: How do I record the whole cd, each track in a seperate file? + +A: Use the '-B' option. This will automagically create a file for each track. + + +Q: How do I record the whole cd into one file? + +A: Just extend the default recording time from one track to a big enough + time in seconds to cover the whole cd (like -d99999). + + +Q: How do I record successive tracks (a track range) into seperate files? + +A: Use the '-B' option and -t+. + + +Q: How do I record successive tracks (a track range) into one file? + +A: Use -t+. + + +Q: How do I record different tracks into seperate files with individual file + names? + +A: Use the supplied script 'readmult'. For usage see the comments at the + beginning of the script. + + +Q: How can I get the highest speed out of cdda2wav? + +A: See the file README. There is a section about performance and what is + influencing it. + + +Q: How can I burn audio cds with cdda2wav and cdrecord on-the-fly? + +A: This has not been tested very well, so caveat emptor. It is possible to + use cdda2wav and cdrecord with pipes, _but_ there are several issues. + 1.: The cd drive may become too slow to keep cdrecords buffer happy, when + a scratch on the audio cd is encountered, and several retries take place. + 2.: Currently there is no way to carry individual track information from + cdda2wav to cdrecord. Several information bits are available very late + but are needed in advance from cdrecord. + 3.: Some operating systems have limitations in multiple SCSI accesses and + other ressources (shared memory). cdda2wav and cdrecord may block each + other, or might fight over limited ressources. + For these reasons it is not recommended to burn on-the-fly with cdda2wav. + +Frontends +========= + + +Q: Which frontends for cdda2wav are available? + +A: See the file 'Frontends'. There are command line and graphical frontends. + +Album and track titles +====================== + + +Q: Does cdda2wav support titles from cd extra (aka cd plus aka enhanced cd)? + +A: In general, yes. In order to get this information, cdda2wav needs to read + a data sector from the second session of the cd. This requires multisession + support and the capability to read XA sectors. The titles are printed on the + screen and written into the inf files, then. + + +Q: Does cdda2wav support titles from cd-text? + +A: Newer versions support the most important features of cd-text like titles + and creators. Non-supported are currently 16-bit characters, so asian + titles etc. are currently not available. + + +Q: Does cdda2wav support CDDB ids? + +A: Yes, while it does not make CDDB lookups itself, it supplies an cddb file + with the table of contents and the cddb id. For cddb lookups see the + perl script tracknames.pl and tracknames.txt. If the titles are known to + cdda2wav, it fills the titles itself in the cddb file. + + +Q: What is the MCN? + +A: The media catalog number is an unique id for the audio cd release. It is + similar to the ISBN for books, but unfortunately it is included only on + some audio cds. + + +Q: What is the ISRC? + +A: The International Standard Record Code is an unique id for a track. Like the + MCN (see above) it is an optional item. + +MP3 coding +========== + + +Q: Does cdda2wav support on-the-fly mp3-coding? + +A: Yes. As of version 1.9alpha I integrated the LAME encoding engine as a new + output format. + To support external encoders, I added two scripts. The trick + is to avoid big temporary files. There are three versions (cdda2mp3.file, + cdda2mp3.pipe, and cdda2mp3.fifo), the first using files, the second uses + pipes, and the last uses a named pipe (also called fifo). The examples + use the Fraunhofer encoder 'l3enc', which is a commercial product and has + to be purchased seperately. Other encoders should be usable in a similar way. + +Conversions +=========== + + +Q: How do I create a file suitable for cd burning? + +A: If you are using cdrecord, you can produce cdr or wav files. To select + cdr files, use -Ocdr, to select wav files use -Owav (the default). + Audio files that have been recorded with a length not a multiple of the + audio sector size 2352 bytes, should be used with cdrecords -pad option. + + +Q: How do I convert a wav file into a cdr file (my other cd burning program + does not accept wav format)? + +A: Use 'dd if=wavfile of=cdrfile conv=swab ibs=44 skip=1 obs=2352' + + +Q: How to convert cdr to wav? + +A: Use sox, the sound utility. It supports other formats as well. + +Specials +======== + + +Q: Does cdda2wav support the pre-emphasis bit? + +A: If the table of contents marks a track as pre-emphasized, the corresponding + inf file will have this information, too. That enables a cd burning program + to retain the state of the track. + + +Q: Can cdda2wav undo the pre-emphasis effect in the samples? + +A: Yes, if the -T option is given (and cd quality is selected), + cdda2wav filters the samples with the reverse emphasis on-the-fly. This has + been checked with a sine sweep from a pre-emphasized test cd. + + +Q: My cdrom delivers the stereo channels swapped. How can I undo this? + +A: Use the -cs option. + + +Q: Does cdda2wav support indices? + +A: Yes, but since there are positioning problems with a lot of drives, + information might be inaccurate. A start index can be specified with the + -i option. To get all indices, use the -v7 option. + + +Q: Can cdda2wav avoid including the pre-gap region at the end of the track? + +A: Currently not. This might be added later, but is not easily done. + + +Q: How can I get all information about the cd without writing files? + +A: Use the -J option, which switches analysis to the max, and aborts after + the report. + + +Q: Can cdda2wav display/save the graphics on my CD+graphics disc? + +A: No, this is not planned. A seperate X11 program could do that probably + better. + + +Q: Can cdda2wav read the audio portion from my CD-I/Video-CD/DVD mpeg streams? + +A: No, these are special formats, which require much more effort. + +User support/feedback +===================== + + +Q: Cdda2wav is great. How can I support you to encourage further development? + +A: Look into the file NEEDED. Also constructive criticism and feedback is + appreciated. + + +Q: I want to port cdrtools (cdrecord/mkisofs/cdda2wav) to a new platform (like + DJGPP,cygwin,os/2). How should I proceed? + +A: It would be convenient to have a unix like environment (like cygwin provides) A shell, and a make program would be needed to first create smake (in order + to make the makefile system working). Another critical component is autoconf. + Once that is running, os dependent interfaces and the SCSI library should be + adjusted. For the makefile system and the scsi library please contact Joerg + Schilling. + + +Q: Cdda2wav sucks. Are there other alternatives available? + +A: Yes, for Linux you might try 'cdparanoia' from Monty (see README file). diff --git a/cdda2wav/Frontends b/cdda2wav/Frontends new file mode 100644 index 0000000..16682ac --- /dev/null +++ b/cdda2wav/Frontends @@ -0,0 +1,34 @@ +This file lists additional free frontend software to be combined with cdda2wav: + +graphical frontends +=================== + +BurnIT (http://sunsite.auc.dk/BurnIT/) + by Jesper Petersen + a Java based frontend for cdrecord and cdda2wav/cdparanoia + +Grip (http://www.ling.ed.ac.uk/~oliphant/grip) + by Mike Oliphant + a GTK+ Frontend for audio extraction and MPEG 1 Layer 3 conversion + (incl. CDDB support) + requires libcdaudio (also by Mike Oliphant) + +Krabber (http://members.tripod.com/~fehlfarben/download.html) + by Adrian Schroeter + a KDE frontend for cdparanoia and MPEG 1 Layer 3 conversion + (incl. CDDB support) + +script frontends +================ + +Cdr Create/Duplicate/Rip (ftp://ftp.burdell.org/pub/) + by David Cantrell + a ncurses based Perl script for CDDA to MPEG 1 Layer 3 conversion + (incl. CDDB support) + requires xmcd + +Ripenc rip encoder (http://www.asde.com/~mjparme/index.htm) + by Michael J. Parmeley + a shell script frontend for CDDA extraction and MPEG 1 Layer 3 + conversion + (incl. CDDB support) diff --git a/cdda2wav/HOWTOUSE b/cdda2wav/HOWTOUSE new file mode 100644 index 0000000..3e53a4a --- /dev/null +++ b/cdda2wav/HOWTOUSE @@ -0,0 +1,101 @@ +Cdda2wav User guide +=================== + +NOTE: expressions in angle braces have to be substituted with + the corresponding numerical values. + For example: has to be substituted + with the numerical value to be used. + +Common tasks +============ +NOTE: The examples used here depend on proper default settings for interface +method and devices as specified in the Makefile. They can be overriden with +command line parameters, but here I choose to focus on simple examples. + +Copy complete audio CDs + +1. Copy an audio CD into wav files one per track. + + cdda2wav -B + + will produce the sample wav files (one per track) + audio_01.wav + audio_02.wav + ... + + and the corresponding description files + audio_01.inf + audio_02.inf + ... + +2. Same as above but include MD-5 type signatures + + cdda2wav -B -M + + +3. Same as above but use other file name ('party_cd.wav') + + cdda2wav -B -M party_cd.wav + + +Copy single tracks + +1. Copy one track (eg track 6) into a wav file. + + cdda2wav -t6 + + will produce a wav file including track 6 + + audio.wav + + and + + audio.inf + + +Copy parts of tracks + +1. Copy from given start time to end of track + + cdda2wav -t6 -o + + will record track 6 starting at track time /75 seconds + from track beginning upto the end of track. + +2. Copy from given start time and record for a given time + + cdda2wav -t6 -o -d