summaryrefslogtreecommitdiff
path: root/lib/make/configure
diff options
context:
space:
mode:
Diffstat (limited to 'lib/make/configure')
-rwxr-xr-xlib/make/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/make/configure b/lib/make/configure
index 8ea8b006..4c45038f 100755
--- a/lib/make/configure
+++ b/lib/make/configure
@@ -6633,7 +6633,7 @@ int main() {
__builtin_expect(0,0);
; return 0; }
EOF
-if { (eval echo configure:6637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
cctk_cv_have_c_builtin_expect=yes
else
@@ -6720,7 +6720,7 @@ int main() {
__builtin_unreachable();
; return 0; }
EOF
-if { (eval echo configure:6724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
cctk_cv_have_c_builtin_unreachable=yes
else
@@ -8105,7 +8105,7 @@ cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char ajEfMT;
+char ONuS7I;
int main() {
mkstemp()