Skip to content

Commit e1e80bb

Browse files
committed
configure script: print more possibly interesting information
Namely: - Whether GMP was found from pkg-config - Which C includes were selected (in summary of configuration)
1 parent fbaf144 commit e1e80bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ rm -f tmp.ml
279279

280280
if test "$gmp" = 'gmp' || test "$gmp" = 'auto'; then
281281
if pkg-config gmp 2>/dev/null; then
282+
echo 'package gmp: found'
282283
gmp='OK'
283284
cclib="$cclib $(pkg-config --libs gmp)"
284285
ccinc="$ccinc $(pkg-config --cflags gmp)"
@@ -375,6 +376,7 @@ detected configuration:
375376
native-code: $hasocamlopt
376377
dynamic linking: $hasdynlink
377378
defines: $ccdef
379+
includes: $ccinc
378380
libraries: $cclib
379381
linker options: $ldflags
380382
C options: $ccopt

0 commit comments

Comments
 (0)