summaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in
index 5d104064935..afcaf963937 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -80,6 +80,13 @@ AC_ARG_WITH(template,
[ TEMPLATE=template/$withval ],
[ TEMPLATE=template/`uname -s | tr A-Z a-z` ])
AC_MSG_RESULT($TEMPLATE)
+
+if test "$TEMPLATE" = "linux-elf"; then
+ LINUX_ELF=yes
+else
+ LINUX_ELF=no
+fi
+AC_SUBST(LINUX_ELF)
export TEMPLATE
if test ! -f "$TEMPLATE"; then