@@ -709,6 +709,7 @@ HAVE_BOEHM_GC_TRUE
709
709
HAVE_ALDOR_GC_FALSE
710
710
HAVE_ALDOR_GC_TRUE
711
711
GC
712
+ LIB_CC_FLAGS
712
713
BUILD_JAVA_FALSE
713
714
BUILD_JAVA_TRUE
714
715
JAVAC
@@ -5291,6 +5292,23 @@ fi
5291
5292
fi
5292
5293
fi
5293
5294
5295
+ { printf " %s\n" " $as_me :${as_lineno-$LINENO } : checking Options for build library .." >&5
5296
+ printf %s " checking Options for build library ..... " >&6 ; }
5297
+ { printf " %s\n" " $as_me :${as_lineno-$LINENO } : checking $CC supports -Wno-int-conversion" >&5
5298
+ printf %s " checking $CC supports -Wno-int-conversion... " >&6 ; }; echo " int main() { return 1; }" > conftest-Wno-int-conversion.c;
5299
+ res=no
5300
+ if $CC -Werror -Wno-int-conversion -c conftest-Wno-int-conversion.c > /dev/null 2>&1 ; then cfg_no_int_conversion=" -Wno-int-conversion" ; res=yes; fi ;
5301
+ { printf " %s\n" " $as_me :${as_lineno-$LINENO } : result: $res " >&5
5302
+ printf " %s\n" " $res " >&6 ; }
5303
+ { printf " %s\n" " $as_me :${as_lineno-$LINENO } : checking $CC supports -Wno-incompatible-pointer-types" >&5
5304
+ printf %s " checking $CC supports -Wno-incompatible-pointer-types... " >&6 ; }; echo " int main() { return 1; }" > conftest-Wno-incompatible-pointer-types.c;
5305
+ res=no
5306
+ if $CC -Werror -Wno-incompatible-pointer-types -c conftest-Wno-incompatible-pointer-types.c > /dev/null 2>&1 ; then cfg_no_incompatible_pointer_types=" -Wno-incompatible-pointer-types" ; res=yes; fi ;
5307
+ { printf " %s\n" " $as_me :${as_lineno-$LINENO } : result: $res " >&5
5308
+ printf " %s\n" " $res " >&6 ; }
5309
+ LIB_CC_FLAGS=" ${cfg_no_int_conversion} ${cfg_no_incompatible_pointer_types} "
5310
+
5311
+
5294
5312
# Check whether --enable-edit-gloop was given.
5295
5313
if test ${enable_edit_gloop+y}
5296
5314
then :
@@ -13438,7 +13456,9 @@ CC=$lt_save_CC
13438
13456
13439
13457
13440
13458
# Enable extra warnings and -Werror if supported.
13441
- { printf " %s\n" " $as_me :${as_lineno-$LINENO } : checking $CC supports -Wno-error=shift-negative-value" >&5
13459
+ { printf " %s\n" " $as_me :${as_lineno-$LINENO } : checking Strict options for C compiler" >&5
13460
+ printf %s " checking Strict options for C compiler... " >&6 ; }
13461
+ { printf " %s\n" " $as_me :${as_lineno-$LINENO } : checking $CC supports -Wno-error=shift-negative-value" >&5
13442
13462
printf %s " checking $CC supports -Wno-error=shift-negative-value... " >&6 ; }; echo " int main() { return -1 << 1; }" > conftest-Wno-error=shift-negative-value.c;
13443
13463
res=no
13444
13464
if $CC -Werror -Wno-error=shift-negative-value -c conftest-Wno-error=shift-negative-value.c > /dev/null 2>&1 ; then cfg_no_shift_negative_value=" -Wno-error=shift-negative-value" ; res=yes; fi ;
@@ -13450,8 +13470,6 @@ printf %s "checking $CC supports -Wno-sign-compare... " >&6; }; echo "" > confte
13450
13470
if $CC -Werror -Wno-sign-compare -c conftest-Wno-sign-compare.c > /dev/null 2>&1 ; then cfg_no_sign_compare=" -Wno-sign-compare" ; res=yes; fi ;
13451
13471
{ printf " %s\n" " $as_me :${as_lineno-$LINENO } : result: $res " >&5
13452
13472
printf " %s\n" " $res " >&6 ; }
13453
- { printf " %s\n" " $as_me :${as_lineno-$LINENO } : checking Strict options for C compiler" >&5
13454
- printf %s " checking Strict options for C compiler... " >&6 ; }
13455
13473
13456
13474
cfgSTRICTCFLAGS=" -pedantic -std=c99 -Wall -Wextra -Werror -Wno-empty-body -Wno-enum-compare \
13457
13475
-Wno-missing-field-initializers -Wno-unused -Wno-unused-parameter \
@@ -13829,8 +13847,6 @@ fi
13829
13847
13830
13848
13831
13849
# Git SHA1 hash as ld build-id.
13832
- { printf " %s\n" " $as_me :${as_lineno-$LINENO } : gitid $gitid ld: $ld_has_build_id " >&5
13833
- printf " %s\n" " $as_me : gitid $gitid ld: $ld_has_build_id " >&6 ; }
13834
13850
{ printf " %s\n" " $as_me :${as_lineno-$LINENO } : checking build id" >&5
13835
13851
printf %s " checking build id... " >&6 ; }
13836
13852
if test yes = " $ld_has_build_id " && test true = " $gitid " ; then
0 commit comments