summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-25 15:37:10 -0400
committermidipix <writeonce@midipix.org>2016-06-25 17:31:45 -0400
commitc511bd4c6cc9eb5d73314684157d1916d08c8f1a (patch)
tree95032923740a7ac1513bfaddba6560f08ece6f2a
parentc4360e28e0eb77cfd26d77066149ead257ce2ec0 (diff)
downloadapimagic-c511bd4c6cc9eb5d73314684157d1916d08c8f1a.tar.bz2
apimagic-c511bd4c6cc9eb5d73314684157d1916d08c8f1a.tar.xz
build system: warn only upon failure to detect native sizeof(void *).
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index 4400b04..cea3245 100755
--- a/configure
+++ b/configure
@@ -16,6 +16,11 @@ error_msg()
echo "$@" >&2
}
+warning_msg()
+{
+ echo "$@" >&2
+}
+
init_vars()
{
@@ -317,8 +322,7 @@ native_defaults()
fi
if [ -z "$mb_native_os_sizeof_pointer" ]; then
- error_msg "config error: could not determine size of pointer on native system."
- exit 2
+ warning_msg "config error: could not determine size of pointer on native system."
fi
# fallback os recipe