aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-03-01 13:35:19 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-03-01 13:35:19 +0200
commitc39c22ef05a188119bbf6da7b80e900ff3fcab31 (patch)
treef21b237b72f45853d355cb23d5e91dc158f38021 /configure.ac
parent0b59be74188529bcb0aa3476fee51a525b365391 (diff)
downloadegawk-c39c22ef05a188119bbf6da7b80e900ff3fcab31.tar.gz
egawk-c39c22ef05a188119bbf6da7b80e900ff3fcab31.tar.bz2
egawk-c39c22ef05a188119bbf6da7b80e900ff3fcab31.zip
Don't build the extensions if no API support.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5b2507e5..2f42f4e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -287,6 +287,11 @@ AC_FUNC_MBRTOWC
dnl check for dynamic linking
dnl This is known to be very primitive
+dnl On MirBSD (and probably other systems), don't even try.
+case `uname` in
+MirBSD | MirOS)
+ : ;;
+*)
AC_CHECK_HEADER(dlfcn.h,
[
# Check this separately. Some systems have dlopen
@@ -306,6 +311,8 @@ AC_CHECK_HEADER(dlfcn.h,
fi
fi
])
+ ;;
+esac
dnl check for how to use getpgrp
dnl have to hardwire it for VMS POSIX. Sigh.