48 Commits

Author SHA1 Message Date
gottfriedleibniz d79382bbfe Run codespell on README, build, and source files. (#824)
* chore: run codespell on source/header files

Fixes most reported typos discovered by codespell (while trying to be
unopinionated about American vs. British English).

* chore: run codespell on build/readme files
2026-04-10 11:01:50 -07:00
Z. Liu 2c7dec1b25 autoconf/hercules.m4: fix compiling error w/ modern C duing configure (#704)
1. withoug "--tag", libtool will:
     libtool:   error: specify a tag with '--tag'
     libtool: compile: unable to infer tagged configuration
2. without "extern ...", compile will:
     error: implicit declaration of function 'getopt'
     error: implicit declaration of function 'test1'

both will cause false postive of feature test, i.e.,
"checking whether getopt wrapper kludge is necessary" report yes always
then config.h always has "#define NEED_GETOPT_WRAPPER 1".

Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
2025-01-24 13:15:59 -08:00
Bill Lewis 04bc641442 Update config.{guess,sub} to the latest from GNU 2024-09-17 13:31:31 -04:00
matoro 62cbbfcf2a Add missing includes to configure script (#658)
This is needed for gcc 14 and clang 16 as they both make implicit
function definitions a hard error.  In a configure script, this means
these tests will switch from passing to failing, which likely means
features will get unintentionally flipped as configure now thinks you
don't have support.

See: https://wiki.gentoo.org/wiki/Modern_C_porting
See: https://bugs.gentoo.org/931607

Co-authored-by: matoro <matoro@users.noreply.github.com>
2024-07-23 11:33:41 -07:00
Bill Lewis 5f450c7ee5 Add support for Elbrus Linux on e2k CPU 2022-02-04 11:16:23 -05:00
Bill Lewis 929c9008b4 Remove local ltdl.
As we now use the system provided 'libltdl', the old local ltdl.[ch] files, and references to them in the Makefile, have been removed. This avoids uses seeing erroneous and confusing error messages if the system packages are missing.
2021-11-20 12:58:35 -05:00
Bill Lewis 1414f200ff Update autotools/automake/libtool apparatus to current versions (#397)
- Update various autoconf/automake files to current version
- Patch libtool to work around "newer" 2007 Debian feature that turned off link_all_deplibs
- Removed backslash continuation line disallowed by newer aclocal
- Autoconf/automake changes to work with Apple Darwin M1 libltdl
- Update files generated by autoreconf and autogen.sh
- Remove +x permission bit from diagnose.c
2021-07-05 14:17:27 -04:00
Fish (David B. Trout) e566fb8f12 REVERT ALL COMMITS SINCE a6fb047bc1
Until I can figure out what the fuck is going on with gcc/Linux it only makes sense to fall back to the last known stable commit, which was commit a6fb047bc1. All commits made SINCE then will need to be selectively reapplied and commit after THOROUGH testing.

Sorry about this folks! :(

Revert "Update automagic generated files" (38d6835b74)
Revert "Fix "static inline used in non-static inline" warning" (173bb14583)

Revert "Bump minimum gcc version to 5 for proper "inline" behavior" (83b9acd87d)

Revert "Update autotools/automake/libtool apparatus to current versions (#397)" (67d4a6b1d0)

Revert "Update automagic generated files" (3fad697f41)

Revert "Fix for Linux build issue documented in GitHub Issue #396" (3282666634)

Revert "Change as many static inlines to extern inlines instead for performance." (49e2723ea1)
2021-07-04 17:05:52 -07:00
Bill Lewis 67d4a6b1d0 Update autotools/automake/libtool apparatus to current versions (#397)
* Preliminary work for macOS Mojave

Update various autoconf/automake files.

* Updates for newer autoconf and libtool

Patch libtool to work around "newer" 2007 Debian feature that turned off link_all_deplibs.
Removed backslash continuation line disallowed by newer aclocal.

* Add/update files generated by autoreconf and autogen.sh
These was done on macOS Big Sur, using autoconf 2.71, automake 1.16.3.

* Update files generated by autoreconf and autogen.sh (part 2)

* Update files generated by autoreconf and autogen.sh (part 3)
Added autoconf/compile that got skipped by a .gitignore

* autoconf for Apple M1 Silicon

Autoconf/automake changes to work with Apple Darwin M1 libltdl.

* Remove libltdl/config.status

The presence of config.status makes configure thing it's already been configured.  Goofs up out-of-directory builds.

* Update comment, added explanation and removed my initials

* Recreate configure with autogen.sh after previous change to configure.ac
2021-06-29 10:41:46 -04:00
Bill Lewis ef82681f4a Corrections to autoconf for BSD 12 shared libraries
The autoconf/automake, etc. included with Hercules are 15 to 20 years out of date and were never set up to handle newer FreeBSD properly.  As a result shared libraries and linking are not handled.  This change addresses that.

Also FORTRAN detection in configure has been known to goof up shared libraries as well.  So we disable its detection.
2021-04-13 11:38:24 -04:00
Bill Lewis 093ce24b7f Update 'config' package to recognize Apple Darwin
Updated config.guess and config.sub to the latest as of 27 DEC 2020.
This comes from: https://git.savannah.gnu.org/git/config.git
This is done to (towards) support Apple Mac with the M1 ARM processor.
2021-01-05 10:45:35 -05:00
Fish (David B. Trout) 44b86e9aa5 Fix some portability issues identified in github issue #279
[skip travis]
2020-05-17 22:06:32 -07:00
Fish (David B. Trout) efe1d01d20 HUGE REVERT in preparation for "TXF" series of commits
[skip travis]

Revert "3390 DASD CCW Command SNID (x'34') Correction for RESERVE/RELEASE"

This reverts commit 9fd1dfff4d.

Revert "(Oops!) I did accidentally change functionality! Sorry!"

This reverts commit cb24398570.

Revert "Clean up overall ARCH_DEP structure of hscmisc.c module:"

This reverts commit f99cae0938.

Revert "Suppress HHC00814I and HHC00809I for OSTAILOR VM"

This reverts commit 97ef4d5bce.

Revert "Fix comments to match current state of controversy"

This reverts commit 7aa3c4413a.

Revert "Revert "Fix minor bug in CDFTR/CXFTR instructions""

This reverts commit e4e60f37dc.

Revert "Fix minor bug in CDFTR/CXFTR instructions"

This reverts commit 0f382a7875.

Revert "Eliminate compiler warning."

This reverts commit a5ad6b0a22.

Revert "Add missing */ to facility 20 comment."

This reverts commit adfd31d280.

Revert "Update What's New [skip travis]"

This reverts commit 5b5cdf0249.

Revert "Fix z/VM guest arch switch bug identified in issue #295"

This reverts commit f5504fe407.

Revert "Update documentation. [skip travis]"

This reverts commit 8caa8b15d6.

Revert "Fix for IPL command without a LOADPARM (#296)"

This reverts commit 328e99a685.

Revert "(fix typo) [skip travis]"

This reverts commit 6665c1017a.

Revert "Update What's New and Release Notes web pages"

This reverts commit 21380cd537.

Revert "Cosmetic: remove change indicator comments"

This reverts commit 3ff73f53cb.

Revert "Cosmetic: DIAG = RS_a format."

This reverts commit 67bc1d46be.

Revert "Stop panel select watching logger pipe:"

This reverts commit bef8eb0012.

Revert "(missed one!) [skip travis]"

This reverts commit 017e4374b6.

Revert "Minor cosmetic inst format fixes"

This reverts commit c97e01a6e6.

Revert "Instruction decoders cleanup part 8: IBM formats:"

This reverts commit 977de05643.

Revert "CTCE v2 Circumventing VM/SP Problem and Minor Improvements"

This reverts commit 5080ee8059.

Revert "Fix incomplete network device group crash:"

This reverts commit 590623a729.

Revert "Workaround for VS2019 compiler bug:"

This reverts commit 3a94e280e9.

Revert "Documentation: clarify QETH statement "iface" parameter."

This reverts commit 216da217b6.

Revert "Disable DEBUG_FREESPACE build option:"

This reverts commit 68d91c0648.

Revert "Minor cosmetic + cosmetic typo fix"

This reverts commit e1cbea7326.

Revert "I/O interrupt tracing tweak:"

This reverts commit e004d298d6.

Revert "Cosmetic in preparation for next commit"

This reverts commit 456a0c4c95.

Revert "100% cosmetic: [skip travis]"

This reverts commit 5da6a86c89.

Revert "Cosmetic doc update to HERCLOGO readme [skip travis]"

This reverts commit 7efbcefe28.

Revert "Add dummy device to MSVC Windows build"

This reverts commit 91821019f2.

Revert "Cosmetic: reorg into alpha seq [skip travis]"

This reverts commit 382185ed78.

Revert "Chore: finalize dummy device skeleton"

This reverts commit 73a69e3d4c.

Revert "Fix : Updates to dummy device skeleton"

This reverts commit 9f4c91c352.

Revert "(cosmetic) [skip travis]"

This reverts commit 125c455cfb.

Revert "Instruction decoders cleanup part 7: delete unused IPRINT_FUNC"

This reverts commit fb6f3d5d97.

Revert "Instruction decoders cleanup part 7: delete unused decoders"

This reverts commit 9e8b0e1ca9.

Revert "Instruction decoders cleanup part 6: cosmetic:"

This reverts commit df8fd6e69a.

Revert "Fix: type in Makefile.am"

This reverts commit 73b3d56a31.

Revert "Updare Variuous anciliary files"

This reverts commit 49c3065a69.

Revert "Chore : tcpnje rewrite"

This reverts commit 011c66c778.

Revert "Add missing Vector Facility macros"

This reverts commit 515c428cb7.

Revert "Instruction decoders cleanup part 5: cosmetic:"

This reverts commit 94498258d5.

Revert "Instruction decoders cleanup part 4: fix RRD snafu:"

This reverts commit e899a610f0.

Revert "Instruction decoders cleanup parts 2 and 3:"

This reverts commit aa24c44b27.

Revert "Bug in SSF instruction decoder. Closes #287."

This reverts commit 2b6b899232.

Revert "100% cosmetic (comment tweaks only)"

This reverts commit c78a12e512.

Revert "Fix careless typo in RXXx_BC_DECODER (Sorry!)"

This reverts commit 8094e6506f.

Revert "(Oops!) decoders must be re-#included each time!"

This reverts commit 7089de5adc.

Revert "Instruction decoders cleanup part 1:"

This reverts commit c3e431bcf8.

Revert "Fix TCP/NJE clang warnings + Windows support"

This reverts commit a73daadd59.

Revert "Add TCP/NJE readme file"

This reverts commit fc1c87c86b.

Revert "Chore: Add TCP/NJE support - Experimental"

This reverts commit a3355dbcd1.

Revert "Document yet more Hercules related support groups"

This reverts commit bdf46c225e.

Revert "(yet more html doc tweaking)"

This reverts commit 7c29139e10.

Revert "Replace Yahoo URLs with Groups.IO URLs instead."

This reverts commit e0fb59a379.

Revert "Replace Yahoo URLs with Groups.IO URLs instead."

This reverts commit b75b31ed16.

Revert "Copyright 2020: only what's visible to the user"

This reverts commit c2d6f83184.

Revert "CTCE v2 Corrections and Improvements - Documentation Update"

This reverts commit 020e4a1545.

Revert "(update 4.3 progress)"

This reverts commit 1a1d40db4c.

Revert "Fix sockdev "bind lock" initialization bug:"

This reverts commit 99504d3c11.

Revert "Use set_lock_name to assign better device lock names"

This reverts commit 8018f7796a.

Revert "Tighter lock init/destroy validation"

This reverts commit 63797f60c6.

Revert "Track lock creation"

This reverts commit 39782c0b83.

Revert "Cosmetic removal of superfluous location argument"

This reverts commit 0cead3d18a.

Revert "Yet more cosmetic renames"

This reverts commit fbd4aeeb43.

Revert "Cosmetic struct field renames"

This reverts commit aba323706a.

Revert "Fix minor memory leak in destroy_lock"

This reverts commit 7fc2064c97.

Revert "Fix some minor compiler warnings:"

This reverts commit 9f70f79fdc.

Revert "CTCE v2 Corrections and Improvements - Documentation Update"

This reverts commit a575524d9b.

Revert "CTCE Corrections and Improvements"

This reverts commit d2921aa00c.

Revert "CTCE devices need dev->hnd->halt to always be called"

This reverts commit 8ac28edf9d.

Revert "Support for new DEVLIST and CTC DEBUG command options"

This reverts commit 5ce233e0af.

Revert "(yet another typo)"

This reverts commit 66b91d26a1.

Revert "(typo!)"

This reverts commit 4c4b9c0f30.

Revert "Define framework for new facilities."

This reverts commit ad640b125b.

Revert "New README to explain how to add a new Facility to Hercules"

This reverts commit 9bc2adeb1f.

Revert "Still trying to fix travis-ci build failures!"

This reverts commit e36d1a8f3e.

Revert "(cosmetic cleanup):"

This reverts commit 95b91e8032.

Revert "Update *nix autoconf files due to last few commits"

This reverts commit 28d4f4b0b3.

Revert "Various NetBSD/FreeBSD portability issues (#279):"

This reverts commit 56206efcfa.

Revert "Support perl being in a different place:"

This reverts commit 2f51035436.

Revert "Update documentation regarding ongoing development"

This reverts commit 57d0e0d869.

Revert "Fix minor message number typo"

This reverts commit 2e093718be.

Revert "Minor bootstrap crash handler tweak:"

This reverts commit bec283f0b3.

Revert "Restore watchdog support:"

This reverts commit 81957ddfef.

Revert "hthreads set/get thread name and lock name support"

This reverts commit f56bfb8352.

Revert "New '$test deadlock' testing command"

This reverts commit 6690b9207b.

Revert "Restore DIAG FF8 and FFC for testing purposes"

This reverts commit 002e0602dd.

Revert "Set sysblk.ipled flag on restart command too"

This reverts commit 866bda176e.

Revert "(minor html edit)"

This reverts commit caaa3dcbc0.

Revert "Update *nix autoconf files due to last few commits"

This reverts commit 23c7f6cf8d.

Revert "Treat NetBSD same as FreeBSD per github issue #279"

This reverts commit 2ff0c0d97c.

Revert "Fix another portability issues identified in github issue #279"

This reverts commit 51a24502d2.

Revert "Support for NetBSD 3 arguments pthread_setname_np"

This reverts commit edf7171bfb.

Revert "Fix some portability issues identified in github issue #279"

This reverts commit c740f710be.

Revert "Restore erroneously removed printer immediate CCW opcodes tables:"

This reverts commit 9f2c5606ff.

Revert "TRY TO FIX Travis.CI failure"

This reverts commit c67ac2ee50.

Revert "TRY TO FIX Travis.CI failure"

This reverts commit e5b477b34b.
2020-05-17 22:05:33 -07:00
Fish (David B. Trout) c740f710be Fix some portability issues identified in github issue #279 2020-02-05 22:31:32 -08:00
Ivan Warren 7cd109b278 Update the "missing" script to a more modern version
The "missing" script wasn't missing. It is an automake script that detects if
  essential elements are missing.
2019-08-05 05:57:09 +02:00
Ivan Warren 3e9e43ca9c Update config.guess and config.sub to more modern versions
Overwrites changes to support aarch64 but it should be included in this version anyway
2019-07-19 08:17:46 +02:00
Juergen Winkelmann a5221f14c1 Add build support for aarch64. Note: External packages need to be built manually until equivalent changes are made in extpkgs.sh and cmake files. 2019-03-30 21:54:45 +01:00
Fish (David B. Trout) e12b1f9db2 Fix error linking Raspberry Pi "arm" shared libraries 2018-09-28 10:30:50 -07:00
Fish (David B. Trout) 25b0adeb8c Ensure CFLAGS and --enable-optimzation=no are honored in ./configure:
closes github issue #121
2018-08-05 03:14:59 -07:00
Fish (David B. Trout) 97bbac0fb7 Add git "executable" property to scripts that need it 2018-03-08 13:27:45 -08:00
Fish (David B. Trout) 382313a24b Flexible array support fix for clang identified by Steve Orso:
https://github.com/hercules-390/hyperion/issues/222
2017-05-18 10:21:59 -07:00
Fish (David B. Trout) 23944c3cff Resolve github issue #76:
"Use of C11 atomics in Hercules fails to compile due to compiler errors at certain levels"

Add smarts to configure.ac to detect broken C11 implementation and adjust hatmoic.h accordingly.

Closes #76.
2016-08-18 09:25:16 -07:00
John P. Hartmann e1676f796a Compensate for Ubuntu having a brain dead uname -p 2014-10-04 12:42:28 +02:00
Fish (David B. Trout) a604264f13 Remove obsolete non-Git $Id$ and $Log$ special keywords. 2013-09-12 11:47:45 -07:00
Fish (David B. Trout) 4a2d84019f HQA = Hercules Build Configurations Quality Assurance Testing
The "HQA" commit introduces a new build feature that provides the ability to override Hercules's default build settings without having to modify any of the Hercules header files themselves.  (Note: not all build settings may be overridable yet. This is a work in progress.)

To override Hercules's default build settings, define an environment variable called 'HQA_DIR' pointing to the directory where your optional "hqa.h" overrides header file exists, or, instead of defining an environment variable, simply specify, if Linux, the new "--enable-hqa" configure option, or, if Windows, the new "-hqa" "makefile.bat" option.

Then, within your "hqa.h" override header, either #define the 'HQA_SCENARIO' macro to one of the pre-defined values defined in Hercules's "hqadefs.h" header file, or simply #define your own scenario. The values you #define will then override Hercules's default values.

Additionally, on Windows, you can override virtually any of the compiler settings as well, via a 'HQA.msvc' nmake !include override file that, for example, modifies the $(cflags) variable to add, remove, or change whatever compiler option you wish.
2013-04-12 14:48:06 -07:00
Jay Maynard fcfef05808 Fix for building 64-bit version on Snow Leopard.
git-svn-id: file:///home/jj/hercules.svn/trunk@5603 956126f8-22a0-4046-8f4a-272fa8102e63
2010-02-04 19:56:50 +00:00
Jan Jaeger 64b9a97a0d Add CVS message log
git-svn-id: file:///home/jj/hercules.svn/trunk@4102 956126f8-22a0-4046-8f4a-272fa8102e63
2006-12-08 09:43:35 +00:00
Ivan Warren 090d4bf62a Remove use of unnecessary file in /tmp during getopt test
git-svn-id: file:///home/jj/hercules.svn/trunk@4001 956126f8-22a0-4046-8f4a-272fa8102e63
2006-10-12 21:58:07 +00:00
Fish (David B Trout) 66d938837f remove extra '[]' brackets surrounding preamble causing test to fail
git-svn-id: file:///home/jj/hercules.svn/trunk@3939 956126f8-22a0-4046-8f4a-272fa8102e63
2006-08-17 07:08:58 +00:00
Fish (David B Trout) 9077f8751d C99 flexible array support
git-svn-id: file:///home/jj/hercules.svn/trunk@3938 956126f8-22a0-4046-8f4a-272fa8102e63
2006-08-16 17:17:31 +00:00
Volker Bandke 59bae8a40d remove erroneous blanks that caused grief with cygwin 1.5.18 autoconf
git-svn-id: file:///home/jj/hercules.svn/trunk@3275 956126f8-22a0-4046-8f4a-272fa8102e63
2005-12-01 11:22:02 +00:00
Ivan Warren a2646c473d Remove libgcrypt.m4 since libgcrypt is no longer used
git-svn-id: file:///home/jj/hercules.svn/trunk@3156 956126f8-22a0-4046-8f4a-272fa8102e63
2005-11-07 13:45:16 +00:00
Jay Maynard 2370aac4ee The big move: moving MSVC (mingw_port) branch to the trunk. Cross your
fingers...


git-svn-id: file:///home/jj/hercules.svn/trunk@3027 956126f8-22a0-4046-8f4a-272fa8102e63
2005-09-24 16:17:46 +00:00
Ivan Warren 44237948c6 Remove debug output to /tmp/a during getopt autoconf test
git-svn-id: file:///home/jj/hercules.svn/trunk@2582 956126f8-22a0-4046-8f4a-272fa8102e63
2005-02-01 23:06:52 +00:00
Ivan Warren 971b13e6f3 dyncrypt/libgcrypt API variations autodiscovery & conditionals
Fix libgcrypt implementation in crypto/Makefile.am


git-svn-id: file:///home/jj/hercules.svn/trunk@2272 956126f8-22a0-4046-8f4a-272fa8102e63
2004-05-14 10:11:08 +00:00
Ivan Warren 304e633f7a Merge of libtool_exp_merge_2 branch to main trunk
git-svn-id: file:///home/jj/hercules.svn/trunk@2005 956126f8-22a0-4046-8f4a-272fa8102e63
2003-09-21 16:39:20 +00:00
Ivan Warren 4e6933f81c Redo libtool_exp_merge_1 initial merge/commit
git-svn-id: file:///home/jj/hercules.svn/trunk@1958 956126f8-22a0-4046-8f4a-272fa8102e63
2003-09-15 13:47:10 +00:00
Fish (David B Trout) 0a84038e3a no message
git-svn-id: file:///home/jj/hercules.svn/trunk@1815 956126f8-22a0-4046-8f4a-272fa8102e63
2003-08-24 23:15:35 +00:00
Ivan Warren b0f71ce266 Async I/O stacking
git-svn-id: file:///home/jj/hercules.svn/trunk@1814 956126f8-22a0-4046-8f4a-272fa8102e63
2003-08-24 21:01:14 +00:00
Jay Maynard 1c7ea95a7e Changes required to make "make distcheck" pass again.
git-svn-id: file:///home/jj/hercules.svn/trunk@1801 956126f8-22a0-4046-8f4a-272fa8102e63
2003-08-23 02:22:20 +00:00
Fish (David B Trout) 2b3afeb724 JAP compiler optimization flags fix by Fish
git-svn-id: file:///home/jj/hercules.svn/trunk@1785 956126f8-22a0-4046-8f4a-272fa8102e63
2003-08-19 18:30:46 +00:00
Fish (David B Trout) b55828f9d4 See CHANGES entry dated 16 Aug 2003
git-svn-id: file:///home/jj/hercules.svn/trunk@1770 956126f8-22a0-4046-8f4a-272fa8102e63
2003-08-17 08:22:16 +00:00
Ivan Warren 791f9365c8 Fast Subchan & Devnum Lookup SPE
git-svn-id: file:///home/jj/hercules.svn/trunk@1755 956126f8-22a0-4046-8f4a-272fa8102e63
2003-08-14 08:23:37 +00:00
Jan Jaeger b855ddef84 Loadable device support
git-svn-id: file:///home/jj/hercules.svn/trunk@1738 956126f8-22a0-4046-8f4a-272fa8102e63
2003-08-10 16:12:55 +00:00
Jay Maynard 6805473bec Makefile.am updates for 2.17a1 beta release.
git-svn-id: file:///home/jj/hercules.svn/trunk@1672 956126f8-22a0-4046-8f4a-272fa8102e63
2003-07-16 02:31:03 +00:00
Fish (David B Trout) aee7e6469b dyngui.c support
git-svn-id: file:///home/jj/hercules.svn/trunk@1487 956126f8-22a0-4046-8f4a-272fa8102e63
2003-06-25 09:27:47 +00:00
Matt Zimmerman 9f56eff7e5 Commit autogenerated files so that nobody needs autoconf/automake to build from
CVS or make basic changes.


git-svn-id: file:///home/jj/hercules.svn/trunk@445 956126f8-22a0-4046-8f4a-272fa8102e63
2001-11-04 22:00:05 +00:00
Matt Zimmerman 69f9843907 Dummy file to force cvs to create this directory in checked-out trees
git-svn-id: file:///home/jj/hercules.svn/trunk@327 956126f8-22a0-4046-8f4a-272fa8102e63
2001-10-07 22:28:52 +00:00