Commit graph

77 commits

Author SHA1 Message Date
Fredrik Roubert
5314d9d737 ICU-22751 Delete icu4c/source/test/perf/leperf. 2024-12-05 20:50:03 +01:00
Fredrik Roubert
3fe88eb8b3 ICU-22952 Make configure --help show --enable-* / --disable-* consistently. 2024-10-24 13:12:29 -07:00
Begasus
ce11068030 ICU-22392 Add, primary support for Haiku 2024-09-24 14:34:11 -07:00
Fredrik Roubert
e53f1df472 ICU-22873 Make configure log versions of the compilers used. 2024-09-17 15:06:39 +05:30
Fredrik Roubert
b542ae9d91 ICU-22874 Update to use autoconf 2.72 for generating configure files. 2024-09-16 16:12:35 +02:00
Fredrik Roubert
30fdd06cba ICU-22310 Delete long since obsolete configure.ac sections.
Having commented-out checks for things that don't even need to be
checked serves no purpose.

MSVC floating point optimizations don't need to be set, /fp:precise is
the default and has been so for a very long time now:

https://learn.microsoft.com/en-us/cpp/build/reference/fp-specify-floating-point-behavior?view=msvc-140

ICU4C requires C++17 and there aren't any compilers capable of that
without namespace support so there's no need to check that.
2024-09-13 13:44:17 +02:00
Fredrik Roubert
d1cfbb22f1 ICU-22310 Revert now obsolete autoconf "pld hack". 2024-06-13 15:09:29 +02:00
Fredrik Roubert
58df035f1d ICU-22310 Revert now obsolete autoconf bug workaround for echo. 2024-06-13 15:09:00 +02:00
Fredrik Roubert
2a6bc212d4 ICU-22691 Delete abandoned sample code. 2024-03-21 23:19:54 +01:00
Vincent Torri
3a6b1ef80e ICU-22612 usage of C++11 implies the existence of stdint.h, so remove useless checks
See #2860
2024-03-06 10:56:53 +01:00
Jordan Williams
75ff7952b9 ICU-22556 Prefer cc and c++ compilers
When building icu4c, it defaults to clang instead of gcc when the default compiler, cc / c++, is a symlink to gcc / g++.
This not the expected behavior when building C and C++ code.
It appears that this behavior was put in place originally for supporting C++11, which hopefully is no longer such a concern.
This PR adjusts the configure.ac for icu4c to prefer the cc and c++ compilers first.
2024-02-29 19:43:43 +01:00
Fredrik Roubert
ac7e3de879 ICU-21107 Remove obsolete conditional use of C++17 std::string_view.
ICU4C now requires C++17 so std::string_view must always be available.
2024-01-22 12:30:24 +09:00
Fredrik Roubert
45d351ca4e ICU-21107 Update ICU4C minimum standard version from C99 to C11. 2023-12-21 09:31:55 +09:00
Fredrik Roubert
7ec1765ce8 ICU-21107 Update ICU4C minimum standard version from C++11 to C++17. 2023-12-14 09:36:22 -08:00
Fredrik Roubert
e5f3295b91 ICU-22522 Revert "Use the Clang -Wno-ambiguous-reversed-operator flag".
This reverts commit dc1b8ca26e.
2023-12-04 16:17:20 +01:00
Fredrik Roubert
e48d2734c6 ICU-22522 Revert "Add early check for AX_CHECK_COMPILE_FLAG".
This reverts commit 9f358ccb24.
2023-12-04 16:17:20 +01:00
Rahul Pandey
68f5ef835b ICU-22220 BRS73RC Regenerate configure files and fix broken links in comments 2023-03-22 12:38:41 +05:30
Daniel Schürmann
9f358ccb24 ICU-22010 Add early check for AX_CHECK_COMPILE_FLAG
This helps to avoid missleading error message:

```
./source/configure: line 7981: syntax error near unexpected token 'newline'
./source/configure: line 7981: 'AX_CHECK_COMPILE_FLAG('
```
2022-07-12 13:30:01 +05:30
Mojca Miklavec
406d90000f ICU-13543 Do not remove -std=c++11 from compiler flags on Solaris 2022-01-21 10:54:05 -06:00
Shane F. Carr
b2c1dffb70 ICU-21545 Add plumbing for running icuexportdata in BRS
See #1857

- Renames tool from icuwriteuprops
- Adds more command-line flags
2021-09-21 17:40:27 -05:00
Shane F. Carr
92db25165f ICU-21545 Add icuwriteuprops tool
See #1741
2021-09-08 15:27:43 -05:00
Fredrik Roubert
dc1b8ca26e ICU-20973 Use the Clang -Wno-ambiguous-reversed-operator flag. 2021-08-17 00:35:00 +02:00
luz paz
73eca0a9c9 ICU-21580 Fix typos in icu4c/
Found via `codespell -q 3 -L ans,anumber,atleast,ba,bre,hace,nd,nin,ois,rsource,som,sur,tht -S icu4c/source/data/zone,icu4c/source/data/lang`
ICU-21580 Fix source (related) typos
ICU-21580 Revert extraneous auto-encoding
ICU-21580 Re-add previous reverted fix without auto-encoding
2021-07-19 13:22:38 -05:00
Steven R. Loomis
8d2360ae6e ICU-13837 c build: make --disable-layoutex the default
- update GitHub workflow / Azure pipeline to no longer specify layoutex

Also:
- update configure.ac that was missed in #1265 cad3903cc2 ICU-21051
- some FALSE/TRUE were missed in source/test/letest
2020-12-15 10:35:59 -06:00
Hugo van der Merwe
a08ac00c67 ICU-21304 Update old userguide links to unicode-org.github.io 2020-10-01 01:28:05 +02:00
Yuta Saito
1a01c5edc1 ICU-20978 Reduce unnecessary building for tools when cross-building 2020-03-17 18:42:30 -07:00
Fredrik Roubert
d8f14e22df ICU-20758 Add a StringPiece constructor for any string view type.
Using the C++ SFINAE (substitution failure is not an error) technique,
it's possible to provide an icu::StringPiece constructor that accepts
any string view type that might be available in the current compilation
unit, without adding any additional dependencies or configuration flags
to ICU.
2019-08-15 13:36:09 +02:00
Steven R. Loomis
fc487bf32b ICU-20493 Warn on global/static c’tors
- add -Wglobal-constructors to clang (only for libs)
- Note: ignore 'runstatedir' flap in configure
2019-07-26 15:16:13 -07:00
Norbert Runge
1606c4c586 ICU-20652 Adds Makefile.in, a fuzzer driver, and minor changes to in fuzzer
targets to test/fuzzer/ directory. This will enable compilation and
smoke test of fuzzer targets as part of the ICU continuous build.

ICU-20652 Fixed exit-on-error behaviour of fuzzer targets execution.
Minor clean-ups and improvements

ICU-20652 Modifies fuzzer/Makefile.in to fix Windows build issue.

ICU-20627 Adds explicit enablement of fuzzer targets build to ICU4C
configuration and Makefile.in. File 'configure' was created from
'configure.ac' by executing 'autoreconf'.

autoreconf added some new entries into 'configure' about runstatedir. Not sure
why it did this, they are not related to fuzzer.
2019-06-18 14:43:33 -07:00
Shane Carr
702fdb6c33 ICU-20593 Renaming Python buildtool to icutools.databuilder. 2019-05-07 13:42:06 -07:00
Shane F. Carr
732bf71451 ICU-20528 Fill in testdata/rules.mk when there is no Python. 2019-04-03 17:03:26 -05:00
Steven R. Loomis
3a28fb7216 ICU-20479 don’t leave junk in source directory on configure or make check
- see also ICU-20062
- add a `-B` option to the two python invocations on Windows
- set PYTHONDONTWRITEBYTECODE in configure.ac and icudefs.mk.in

Co-authored-by: Fredrik Roubert <roubert@google.com>
2019-03-08 14:28:27 -08:00
Steven R. Loomis
67d218f247 ICU-20470 skip data/rules.mk regen for source tarball
- If icu/source/data/locales/root.txt missing, skip
  python rules.mk generation.
- Also, create build directories properly as needed
- Also includes noise changes to configure
  (configure was probably generated using unreleased
   autoconf 2.70 or 2.69 + patches)
- eac8f4b31a did not
  regen configure properly, so BUILDTOOL_OPTS is now
  ICU_DATA_BUILDTOOL_OPTS
2019-03-04 07:40:40 -08:00
Shane Carr
eac8f4b31a ICU-20460 Adding mechanism to build unicore data into dat file. 2019-02-27 18:36:02 -08:00
Shane F. Carr
8db0321f54 ICU-10923 Adding file replacement mechanism to buildtool. 2019-02-20 12:20:25 -06:00
Shane Carr
06a8de0f0a ICU-10923 Configure should fail when Python fails. 2019-02-15 17:10:59 -08:00
Shane Carr
ccba38d382 ICU-20298 Adding improved locale filtering to buildtool.
- Integrates changes from cldrbug 11802 to ICU.
- Adds test suite for buildtool.
- Adds new filter type "union".
2019-01-28 13:43:17 -08:00
Shane Carr
1a453301ee ICU-10923 Adding unix-exec mode to buildtool and updating help page.
- Renames --format flag to --mode.
- Renames windirect to windows-exec.
2019-01-25 15:34:44 -08:00
Shane Carr
c30cd07c7e ICU-20299 Adds Python 2.7 support to data build script. 2018-12-12 12:56:00 -08:00
Shane Carr
a2a39e69d0 ICU-10923 Adding initial version of data file filtering.
- Reads filters.json or .hjson from ICU_DATA_FILTER_FILE environment variable
- Adds DepTarget for dependency semantics, and warns for missing deps.
- Fixes certain tests that crash with sliced locale data.
- Includes support for 4 filter types.
2018-12-07 16:51:18 -08:00
Steven R. Loomis
00b360227b ICU-20247 use = instead of == in sh compare
* Note: the diff will show changes to "runstatedir". This is
a feature which ICU does not use, and it is not in any released
autoconf version. Perhaps some distributions patched autoconf
locally.

https://lists.gnu.org/archive/html/autoconf/2018-07/msg00006.html
2018-12-05 14:32:36 -08:00
Shane Carr
ee9c0b944c ICU-10923 Rewriting data build orchestration in Python.
- Creates new Python package in icu4c/data/buildtool
- Creates BUILRDULES.py in icu4c/data and icu4c/test/testdata, unified between Unix/Windows
- Removes most data build orchestration rules from makedata.mak, testdata.mak, data/Makefile.in, and test/testdata/Makefile.in
- Removes pool.res files and builds them on the fly instead
2018-11-19 13:43:35 -07:00
Shane F. Carr
a38beef113
ICU-20160 Add check for Python 3 in autoconf and nmake. (#157) 2018-09-27 14:27:41 -07:00
Andy Heninger
0a1513bcc9
ICU-12505 U_HAVE_STD_ATOMICS, reduce & simplify configure options. (#52) 2018-09-27 14:27:38 -07:00
Hugh McMaster
e21982ce40
ICU-10464 Make installation of icu-config optional (#13)
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Originally ICU-20030
2018-09-27 14:27:37 -07:00
Jeff Genovy
4bf9c4a8be ICU-13667 Fix discrepancy in text in 'configure'.
X-SVN-Rev: 41468
2018-05-25 23:47:51 +00:00
Shane Carr
16aedd5e1a ICU-13670 Changing CFLAGS to C11 and fixing check for unicode string literals.
X-SVN-Rev: 41263
2018-04-23 21:16:52 +00:00
Yoshito Umaoka
c620f117ca ICU-13385 autoconf to detect if xlocale.h exists or not.
X-SVN-Rev: 40568
2017-10-05 06:39:53 +00:00
Steven R. Loomis
4b9ca817eb ICU-13387 autoconf fixes for disabled tools and tests and draft api
X-SVN-Rev: 40556
2017-10-04 22:41:40 +00:00
Steven R. Loomis
0944bb9c8f ICU-13089 detect sed, use $(SED) for icu-config
X-SVN-Rev: 39992
2017-04-06 21:21:34 +00:00