summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-03-18 06:40:28 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-03-18 06:40:28 (EDT)
commiteba1e7cb9ee547e96cfee2fa8faf5de92c6be507 (patch)
treec6ab9f794a6bd5c62b5988a17c257c7748198674 /configure.ac
parent7d6c171379b2a57a97f332a4e7fcd3135dcccb5b (diff)
downloaddodge-balls-eba1e7cb9ee547e96cfee2fa8faf5de92c6be507.zip
dodge-balls-eba1e7cb9ee547e96cfee2fa8faf5de92c6be507.tar.gz
dodge-balls-eba1e7cb9ee547e96cfee2fa8faf5de92c6be507.tar.bz2
build: Don't clean source files in in-tree build
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e43c092..9d0173c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,8 @@ AM_SILENT_RULES([yes])
AM_CONDITIONAL([IN_GIT],
[test -d "${srcdir}/.git" && command -v git >/dev/null 2>&1])
+AM_CONDITIONAL([OUT_OF_TREE], [test x"${srcdir}" != x'.' ])
+
save_CFLAGS="${CFLAGS-}"
AC_PROG_CC()
AM_PROG_CC_C_O()