History

[NOMERGE] configure: don't rebuild conftest and don't remove it

This is StreetLISP-specific, to avoid constant reconfigures since the meson would be rebuilding conftest each time and running configure again on every build.

Sigrid Solveig Haflínudóttir committed 10 months ago

Commit 7327aa21 parent 04da1001 file · +4 −2Browse files

Unified · Split

configure+4−2
@@ -449,8 +449,9 @@ if test x"$show_help" = "xyes" ; then · 448 unmodified lines
449fi449fi
450 450
451CONFTEST=./conftest$EXESUF451CONFTEST=./conftest$EXESUF
452test -x $CONFTEST && CONFTEST_keep=1
452if test -z "$cross_prefix" \453if test -z "$cross_prefix" \
453 && $cc -o $CONFTEST "$source_path/conftest.c" \454 && (test -x $CONFTEST || $cc -o $CONFTEST "$source_path/conftest.c") \
454 && $CONFTEST 2>/dev/null; then455 && $CONFTEST 2>/dev/null; then
455 cc_name="$($CONFTEST compiler)"456 cc_name="$($CONFTEST compiler)"
456 gcc_major="$($CONFTEST version)"457 gcc_major="$($CONFTEST version)"
@@ -729,7 +730,8 @@ fi · 272 unmodified lines
729 730
730echo "@set VERSION $version" > config.texi731echo "@set VERSION $version" > config.texi
731 732
732rm -f $TMPN* $CONFTEST733rm -f $TMPN*
734test -z "$CONFTEST_keep" && test -x $CONFTEST && $CONFTEST
733 735
734# ---------------------------------------------------------------------------736# ---------------------------------------------------------------------------
735# build tree in object directory if source path is different from current one737# build tree in object directory if source path is different from current one

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t