diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2016-03-03 17:53:39 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2016-03-03 17:53:39 (GMT) |
commit | c59c785c7f58f6869a1a5999e0aee252dfc5b555 (patch) | |
tree | bc499dc893dda26a82936faa163068b9cea42881 | |
parent | f67572fda7c5998becb41dd0bd7ceca0dcbd0bea (diff) | |
parent | 58617df80d92cc36c332a47d982a13321c5f7878 (diff) |
Merge pull request #365 from bhundven/no_aout_static_check
configure: Don't write a.out on static compiler check
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4fd5776..8651015 100644 --- a/configure.ac +++ b/configure.ac @@ -136,7 +136,7 @@ AC_PROG_CPP #--------------------------------------------------------------------- # Check to see if gcc can static link AC_MSG_CHECKING([if gcc can static link]) -echo "int main() {}" | gcc -static -xc - > /dev/null 2>&1 +echo "int main() {}" | gcc -static -o /dev/null -xc - > /dev/null 2>&1 static_test=$? AS_IF([test $static_test -eq 0], [static_link=y |