Skip to content

Commit ad41aa8

Browse files
committed
configure: future proof
1 parent 14c75ae commit ad41aa8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7175,6 +7175,8 @@ if test -f /usr/local/bin/bash; then
71757175
CXXSHELL=/usr/local/bin/bash
71767176
elif test -f /bin/bash; then
71777177
CXXSHELL=/bin/bash
7178+
elif test -f /bin/zsh; then
7179+
CXXSHELL=/bin/zsh
71787180
fi
71797181

71807182
# Extract the first word of "clang-format", so it can be a program name with args.

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ if test -f /usr/local/bin/bash; then
8686
CXXSHELL=/usr/local/bin/bash
8787
elif test -f /bin/bash; then
8888
CXXSHELL=/bin/bash
89+
elif test -f /bin/zsh; then
90+
CXXSHELL=/bin/zsh
8991
fi
9092

9193
AC_PATH_PROG(CLANGFORMAT, clang-format, $ac_cv_path_TRUE)

0 commit comments

Comments
 (0)