Commit Graph

39 Commits

Author SHA1 Message Date
Dana Robinson
fb62a68888
Re-revert to using autoreconf in autogen.sh (#4253)
We previously tried removing the per-tool invocation of the Autotools
and instead simply invoked autoreconf (PR #1906). This was reverted
when it turned out that the NAG Fortran compiler had trouble with an
undecorated -shared linker flag.

It turns out that this is due to a bug in libtool 2.4.2 and earlier.
Since this version of libtool is over a decade old, we're un-reverting
the change. We've added a release note for anyone who has to build
from source on elderly platforms.

Fixes #1343
2024-03-27 08:05:21 -05:00
Satish Balay
b72cc4f7f4
autogen.sh: check directly for libtoolize instead of libtool [as libtool is not used here] (#3886)
* autogen.sh: check directly for libtoolize instead of libtool [as libtool is not used here]

* autogen.sh: simplify (g)libtoolize check - look for glibtoolize first - and then libtoolize
2024-01-12 17:43:40 -08:00
Larry Knox
11dfa25910
Update copyright headers (#2184)
* Updated source file copyright headers to remove "Copyright by the Board of Trustees
of the University of Illinois", which is kept in the top-level COPYING file.
2022-11-01 16:02:27 -05:00
Dana Robinson
0b3220636d
Reverts the autogen.sh changes from e3800e1 (#1906) (#1954)
This is causing issues with the NAG Fortran compiler in our daily
testing due to -shared getting inappropriately added. Reverting while
we investigate.
2022-07-30 10:30:15 -07:00
Dana Robinson
e3800e1235
Greatly simplifies Autotools bits of autogen.sh (#1906) 2022-07-18 14:23:29 -05:00
Dana Robinson
0c0d3bf736
Suppress the "obsolete" category of Autoconf warnings (#1853)
Very new versions of Autoconf complain about our Java macros. Since they
work well enough and there is no obvious upgrade path, we're suppressing
the category for now.
2022-07-06 14:56:26 -07:00
Dana Robinson
14da68ebff
Removes HDF Group paths, adds shellcheck fixes (#1656)
For more information:
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
  https://www.shellcheck.net/wiki/SC2230 -- which is non-standard. Use builti...
  https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...
2022-04-19 07:44:41 -05:00
Larry Knox
2ea165efd0
Update license url part2 (#333)
* Modify temporary rpath for testing in java example scripts.

* Update URL in source file Copyright headers for web copy of COPYING
    file - files not in src or test.
2021-02-17 08:52:36 -06:00
Binh-Minh Ribler
ec31438afd Fixed HDFFV-10404
Description:
    Applied the typo fixes from user's report.
    The previous pull request couldn't be merged because it was too old,
    and it was too complicated for me to resolve conflicts.
Platform tested:
    Linux/64 (jelly) - very minor
2018-07-13 13:40:22 -05:00
Larry Knox
89fbe00dec Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '54957d37f5aa73912763dbb6e308555e863c43f4':
  Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes.
  Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh.
  Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
  Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
2017-04-25 16:05:36 -05:00
Dana Robinson
b1a5ba4053 Updated bin/trace to emit errors and reordered autogen.sh processing
so that script failures leave the library in a non-compilable state,
making it harder to ignore errors.
2017-04-25 02:09:55 -04:00
Dana Robinson
9c3568819f [svn-r29501] - POSIX compliance changes to autogen.sh
- autogen.sh now exits on unknown arguments

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-03-22 02:37:07 -05:00
Dana Robinson
f7b73969f3 [svn-r28332] Updated autogen.sh to not run flex/bison.
This was giving a lot of users headaches and the parser code rarely
changes. There is now a new script (bin/genparser) which can be
run as needed.

Tested on: Ubuntu 15.10 (x86_64 Linux 4.2.0)
    gcc 5.2.1, flex 2.5.39, bison 3.0.2
2015-11-13 06:24:43 -05:00
Dana Robinson
11201a24ef [svn-r27902] Updated autogen.sh to use /usr/hdf/bin/AUTOTOOLS paths and removed
hard-coded version checks.

Tested on: jam
2015-09-28 14:04:04 -05:00
Mohamad Chaarawi
e188268610 [svn-r27898] add an additional perl command to replace int with hid_t in H5LTparse.c
- this is needed when running autogen on a couple of HPC machines.
2015-09-28 13:17:08 -05:00
Dana Robinson
aec3e1242d [svn-r27880] Changes to autogen.sh
- Removed the long options, which are not supported under
  the getopts builtin.

- Correctly labeled the autogen.sh script as requiring bash
  (via the #!). We may need to remove the bash constructs
  before the 1.10 release and revert to sh.

- The help output is now correct.

Tested on: local linux
2015-09-25 18:32:57 -05:00
Dana Robinson
04289b3e2a [svn-r27878] Updated autogen.sh script to be more informative about missing
flex/bison.

Tested on: local linux
2015-09-25 15:49:24 -05:00
Dana Robinson
e78fa78f07 [svn-r27829] Added --copy to automake invocation in autogen.sh to force copies
instead of symlinks.

Tested on: local linux
2015-09-18 16:52:48 -05:00
Dana Robinson
92dc665301 [svn-r27802] Added an explicit -I m4 to the aclocal line.
The files in the m4 directory were not getting picked up on some platforms.

Tested on: jam
2015-09-16 10:57:37 -05:00
Dana Robinson
cc0165a973 [svn-r27799] Minor warning fixes in the high-level library.
Tested on: jam (too minor for h5committest)
2015-09-16 05:34:25 -05:00
Dana Robinson
b5eaacb911 [svn-r27775] Undo of r27655
Removes .pl extension from Perl scripts. This may be returned in the future,
but it's best to keep the script names unchanged while we merge with the
trunk.

Tested on: h5committest
2015-09-14 15:11:43 -05:00
Dana Robinson
77525ea95d [svn-r27655] Add .pl extension to Perl scripts in bin (part of HDFFV-9513)
This makes things easier on Windows, where we will have to run
Perl scripts as a part of CMake.

Tested on: jam
2015-09-01 11:28:05 -05:00
Dana Robinson
42eee37a26 [svn-r26397] Manually added flex/bison warning disable pragmas from r26351
from the trunk.

Fixes: HDFFV-9149

Tested on: jam
    - examined gcc 4.9.2 output for warnings
    - ran 'make check' in hl directory
2015-03-09 04:19:48 -05:00
Dana Robinson
179f3b7879 [svn-r26270] On OS X, the autogen.sh script will first try to use glibtoolize
and then fall back to libtoolize if not found.

Tested on OS X 10.10.2 (Yosemite) with Xcode 6.1.1 and autotools 
installed via Brew
2015-02-22 03:07:00 -05:00
Dana Robinson
a8a9b47170 [svn-r26229] Removed NO TRACE notifications from bin/trace script.
Fixes: HDFFV-9098

Tested on: 64-bit linux VM (autogen only)
2015-02-19 03:07:07 -05:00
Dana Robinson
ec90898719 [svn-r26228] Added a helpful note to autogen.sh about the Xcode/OS X bison bug
that causes a circular dependency issue.

Tested on: 64-bit linux VM (autogen only - just a comment change)
2015-02-19 02:57:53 -05:00
Quincey Koziol
8b98b9ee92 [svn-r26169] Description:
Remove generated header file from repository, and add section to
autogen.sh that generates it.

Tested on:
    Mac OSX/64 10.10.2 (amazon)
2015-02-13 14:22:21 -05:00
Dana Robinson
e9144293c1 [svn-r26168] Added --force-missing to automake. It has to be used WITH --add-missing;
it's not a replacement.

Part of HDFFV-9114

Tested on jam with the -p option
2015-02-13 11:23:08 -05:00
Dana Robinson
df7c8f6bc9 [svn-r26166] Changed the automake --force-missing option back to --add-missing.
Part of HDFFV-9114

Tested on: Cygwin
2015-02-13 11:10:35 -05:00
Dana Robinson
0829df23e5 [svn-r26164] Updated autogen.sh to use the --force option on all tools
when available. Also added the --copy option to to libtoolize
so files are copied and not symlinked.

Part of HDFFV-9114

Tested on jam.

- autogen.sh -p
- configure (out-of-source)
- Modified configure.ac
- Re-run autogen.sh -p
- Re-run configure
- make

Without the fix, make fails when it notes out-of-date autotools
files and re-runs the tools, picking up jam's elderly versions.
With the fix, make succeeds.
2015-02-13 04:22:31 -05:00
Dana Robinson
7590687d4b [svn-r26143] Merged r26096-26142 from trunk.
Tested on: jam w/ Fortran and C++
2015-02-07 01:14:12 -05:00
Dana Robinson
a7def93aa3 [svn-r26142] Updated autogen.sh so it works on OS-X. Note that this does require
installing the autotools via a package manager like Homebrew since
they are not installed with XCode.

Part of: HDFFV-9114

Tested on: OS-X 10.10.2 (Yosemite) with XCode 6.1.1
2015-02-06 23:24:31 -05:00
Dana Robinson
d63cdb36cf [svn-r26136] Updated autogen.sh to run flex and bison, replacing the (incomplete)
bin/genltanalyze script, which has been deleted. Also removed the
generated hl/src/H5LTparse.c/h and H5LTanalyze.c files.

Part of: HDFFV-9120

Tested on: Local Ubuntu VM
2015-02-05 21:39:36 -05:00
Dana Robinson
eea4f45172 [svn-r26135] Updated autogen.sh to always run API-oriented scripts. Removed
the -s option from autogen.sh. Removed several generated H5E
files from version control as well as H5version.h since these
will always be regenerated.

Part of: HDFFV-9120

Tested on: Local Ubuntu VM
2015-02-05 20:02:30 -05:00
Dana Robinson
e8013712b2 [svn-r26130] Updated autogen.sh to try glibtoolize if libtoolize is
not found. Allows reconfiguration on OS-X.

Part of: HDFFV-9120

Untested since we have no suitable OS-X machines
2015-02-05 13:31:21 -05:00
Dana Robinson
ba739af91f [svn-r26129] Removed some additional generated files that were triggering autotools
re-builds, which would fail due to incorrect autotools versions.

Part of: HDFFV-9120

Tested on: jam
2015-02-05 11:54:52 -05:00
Dana Robinson
01c7b17dac [svn-r26128] - Removed libtool generated/copied files.
- Modified autogen.sh to run libtoolize.
  NOTE: OS-X often uses glibtoolize. This will be fixed soon.

- Addational helpful output added to autogen.sh.

Part of HDFFV-9120

Tested on: 64-bit Linux VM
2015-02-05 11:21:21 -05:00
Dana Robinson
8387b3fdfa [svn-r26091] Fixed some missing comment text in the autogen.sh script.
Part of HDFFV-9114

Tested on: jam
2015-01-31 08:54:31 -05:00
Dana Robinson
46ea85c6cb [svn-r26090] Added an autogen.sh script.
Note that bin/reconfigure still exists. It will be removed at a later
date.

Part of HDFFV-9114

Tested on: jam
2015-01-31 08:32:42 -05:00