chiark
/
gitweb
/
~mdw
/
runlisp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7615305
)
configure.ac: Don't try to dump Lisps which we couldn't find.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 13 May 2021 13:52:00 +0000
(14:52 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 13 May 2021 13:56:08 +0000
(14:56 +0100)
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index ac42a38c14ba69e5e21aee2148068f1a88584b80..19f91ae3627c5051ced1213b990b064174f7760e 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-61,8
+61,9
@@
AC_ARG_ENABLE([imagedump],
AC_DEFUN([mdw_CHECK_LISP],
[AC_CHECK_PROGS([$1], [$2])
AC_ARG_VAR([$1], [Path to the $1 Lisp system.])
AC_DEFUN([mdw_CHECK_LISP],
[AC_CHECK_PROGS([$1], [$2])
AC_ARG_VAR([$1], [Path to the $1 Lisp system.])
-case ,$enable_imagedump, in
- ,yes, | *,$2,*) dump=t ;;
+case $[]$1:,$enable_imagedump, in
+ :*) dump=nil ;;
+ *:,yes, | *:*,$2,*) dump=t ;;
*) dump=nil ;;
esac
AM_CONDITIONAL([DUMP_$1], [test $dump = t])])
*) dump=nil ;;
esac
AM_CONDITIONAL([DUMP_$1], [test $dump = t])])