summaryrefslogtreecommitdiffhomepage
path: root/sysinfo/host
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-03 12:43:40 -0400
committermidipix <writeonce@midipix.org>2016-05-06 11:03:39 -0400
commit5893f1600833782d28de70d620ece9f8849bc5f3 (patch)
tree4d9253f1679d018039c112fcdd52befe42cef126 /sysinfo/host
parentb78670fb3de87ee4779e79189e773fd42fdb89e4 (diff)
downloadapimagic-5893f1600833782d28de70d620ece9f8849bc5f3.tar.bz2
apimagic-5893f1600833782d28de70d620ece9f8849bc5f3.tar.xz
build system: sysinfo/host.sh: remove host_endian_h, as it is no longer needed.
Diffstat (limited to 'sysinfo/host')
-rwxr-xr-xsysinfo/host/host.sh34
1 files changed, 0 insertions, 34 deletions
diff --git a/sysinfo/host/host.sh b/sysinfo/host/host.sh
index e4079ee..b3975ae 100755
--- a/sysinfo/host/host.sh
+++ b/sysinfo/host/host.sh
@@ -21,36 +21,6 @@ host_test()
exit 2
}
-host_endian_h()
-{
- mb_header='endian.h'
- rm -f "$mb_hdrdir"/$mb_header
-
- # portable
- printf "#include <$mb_header>" | $mb_compiler $mb_cflags \
- -E - > /dev/null 2>/dev/null \
- && return 0
-
- # non-portable
- mb_hosthdr=
-
- [ -z $mb_hosthdr ] && printf "#include <sys/$mb_header>" | $mb_compiler $mb_cflags \
- -E - > /dev/null 2>/dev/null \
- && mb_hosthdr='sys/'$mb_header
-
- [ -z $mb_hosthdr ] && printf "#include <machine/$mb_header>" | $mb_compiler $mb_cflags \
- -E - > /dev/null 2>/dev/null \
- && mb_hosthdr='machine/'$mb_header
-
- if [ -z "$mb_hosthdr" ]; then
- error_msg "config error: could not find an alternate <$mb_header>."
- exit 2
- fi
-
- printf "#include <%s>\\n" $mb_hosthdr > "$mb_hdrdir"/$mb_header || exit 2
-}
-
-
# one: args
for arg ; do
case "$arg" in
@@ -74,9 +44,5 @@ done
host_test
-# three: headers
-host_endian_h
-
-
# all done
exit 0