about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-04-14 09:11:02 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-04-14 09:11:02 +0000
commit7657ea65dcebc6585e583b8295004e9cda5431ae (patch)
tree8d90f2c314a3afbc26b2b9682e365f4f3b71380a /configure.ac
parent8020750b3c8ac68dcd7d402a5aa9751fabd26704 (diff)
downloadzsh-7657ea65dcebc6585e583b8295004e9cda5431ae.tar.gz
zsh-7657ea65dcebc6585e583b8295004e9cda5431ae.tar.xz
zsh-7657ea65dcebc6585e583b8295004e9cda5431ae.zip
28997: make --enable-libc-musl explicit
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 27a17e276..fca1dd6a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2466,6 +2466,17 @@ if test x$zsh_cv_c_unicode_support = xyes; then
 fi
 
 dnl
+dnl musl support
+dnl
+AH_TEMPLATE([LIBC_MUSL],
+[Define to 1 if musl is being used as the C library])
+AC_ARG_ENABLE(libc-musl,
+AC_HELP_STRING([--enable-libc-musl], [compile with musl as the C library]),
+[if test x$enableval = xyes; then
+  AC_DEFINE(LIBC_MUSL)
+fi])
+
+dnl
 dnl static user lookup
 dnl
 AC_ARG_ENABLE(dynamic-nss,