Skip to content

Simplify configure.ac for faster autotools build.#1126

Merged
iphydf merged 1 commit intoTokTok:masterfrom
iphydf:simplify-autotools
Aug 30, 2018
Merged

Simplify configure.ac for faster autotools build.#1126
iphydf merged 1 commit intoTokTok:masterfrom
iphydf:simplify-autotools

Conversation

@iphydf
Copy link
Copy Markdown
Member

@iphydf iphydf commented Aug 25, 2018

  • Remove ability to disable logging.
  • Remove unused NCURSES_FOUND.
  • Remove checks for stdbool and existence of int types.
    These mostly exist, and if they don't, we'll just fail to compile.
  • Remove checks for various functions.

This change is Reviewable

@iphydf iphydf added this to the v0.2.x milestone Aug 25, 2018
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 25, 2018

Codecov Report

Merging #1126 into master will increase coverage by <.1%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #1126     +/-   ##
========================================
+ Coverage    82.5%   82.6%   +<.1%     
========================================
  Files          82      81      -1     
  Lines       14478   14437     -41     
========================================
- Hits        11957   11931     -26     
+ Misses       2521    2506     -15
Impacted Files Coverage Δ
auto_tests/network_test.c 90.3% <0%> (-7.3%) ⬇️
toxcore/net_crypto.c 93.6% <0%> (-0.5%) ⬇️
toxcore/DHT.c 76.7% <0%> (-0.1%) ⬇️
toxcore/mono_time.c 92.8% <0%> (ø) ⬆️
auto_tests/reconnect_test.c
toxcore/Messenger.c 85.8% <0%> (ø) ⬆️
toxcore/onion_client.c 95% <0%> (+0.1%) ⬆️
toxav/msi.c 65.6% <0%> (+0.8%) ⬆️
toxcore/LAN_discovery.c 84.9% <0%> (+0.9%) ⬆️
toxav/toxav.c 69.1% <0%> (+0.9%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 730e4cf...36f0caa. Read the comment docs.

Comment thread configure.ac Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does seem these tests aren't used. But meanwhile it seems we should be testing (with AC_CHECK_FUNCS) for memset_s and explicit_bzero. CMakeLists checks for them, and crypto_core_mem.c uses the defines.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@iphydf iphydf force-pushed the simplify-autotools branch from be90c83 to b99e9d5 Compare August 26, 2018 08:34
@iphydf
Copy link
Copy Markdown
Member Author

iphydf commented Aug 26, 2018

Done.

@iphydf iphydf force-pushed the simplify-autotools branch from b99e9d5 to dd4eb6d Compare August 26, 2018 22:21
@iphydf
Copy link
Copy Markdown
Member Author

iphydf commented Aug 27, 2018

@zugz lgtm?

@iphydf iphydf force-pushed the simplify-autotools branch from dd4eb6d to 63899e8 Compare August 28, 2018 02:00
* Remove ability to disable logging.
* Remove unused `NCURSES_FOUND`.
* Remove checks for stdbool and existence of int types.
  These mostly exist, and if they don't, we'll just fail to compile.
* Remove checks for various functions.
* Add check for `explicit_bzero` and `memset_s`.
@iphydf iphydf force-pushed the simplify-autotools branch from 63899e8 to 36f0caa Compare August 30, 2018 22:15
@iphydf iphydf merged commit 36f0caa into TokTok:master Aug 30, 2018
@iphydf iphydf deleted the simplify-autotools branch August 30, 2018 22:22
@robinlinden robinlinden modified the milestones: v0.2.x, v0.2.8 Oct 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants