Skip to content

Commit

Permalink
configure script: print additional, possibly interesting information
Browse files Browse the repository at this point in the history
Namely:
- Whether GMP was found from pkg-config
- Which C includes were selected (in summary of configuration)
  • Loading branch information
xavierleroy committed Jul 18, 2023
1 parent ff08cba commit fdb4643
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ rm -f tmp.ml

if test "$gmp" = 'gmp' || test "$gmp" = 'auto'; then
if pkg-config gmp 2>/dev/null; then
echo 'package gmp: found'
gmp='OK'
cclib="$cclib $(pkg-config --libs gmp)"
ccinc="$ccinc $(pkg-config --cflags gmp)"
Expand Down Expand Up @@ -375,6 +376,7 @@ detected configuration:
native-code: $hasocamlopt
dynamic linking: $hasdynlink
defines: $ccdef
includes: $ccinc
libraries: $cclib
linker options: $ldflags
C options: $ccopt
Expand Down

0 comments on commit fdb4643

Please sign in to comment.