changeset 326:09aaa2e774cd

- configure: * allow --target="macos" as alias for "MacOSX" or "Darwin" in configure * typo
author Tassilo Philipp
date Fri, 22 Nov 2019 23:03:01 +0100
parents 7fbfddd1c354
children c0390dc85a07
files configure
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Nov 22 23:00:35 2019 +0100
+++ b/configure	Fri Nov 22 23:03:01 2019 +0100
@@ -5,7 +5,7 @@
 usage: $0 --<option>=<value> <var>=<value> ..
 
   --prefix=<dir>
-  --target=<platform>       uname/special targets: MacOSX,iOS,iPhoneSimulator
+  --target=<platform>       uname/special targets: macos,iOS,iPhoneSimulator
                             use "?" to get a list of explicitly specifiable
                             targets
   --sdk=<version>           Mac OS X/iOS SDK version (e.g. '6.1' or '10.9.3')
@@ -92,7 +92,7 @@
   FreeBSD)
     if [ -z "${CFLAGS}" ]; then
       if [ `uname -m` = "mips" ] && make -V MACHINE_ARCH | grep 'hf$' >/dev/null 2>&1; then
-        # FBSD12-CURRENT/mipshf needs to be told explicitly to use -mhard_float (at least as of may 2018)
+        # FBSD12-CURRENT/mipshf needs to be told explicitly to use -mhard-float (at least as of may 2018)
         printf "CFLAGS=-fPIC -mhard-float\n" >>$C
       else
         printf "CFLAGS=-fPIC\n" >>$C
@@ -101,7 +101,7 @@
     printf "LDLIBS=-lm\n" >>$C
     printf "RM=rm -f\n" >>$C
     ;;
-  MacOSX|Darwin)
+  MacOSX|macos|Darwin)
     # if Apple's libtool (not to be confused with GNU's) is available, which is according to libtool(1) "with -static [...] intended
     # to replace ar(5) and ranlib", use it - if it is shadowed by some install of GNU's libtool assume that a foreign environment is
     # intentionally used, and fall back to using 'ar rs' (the equivalent to 'libtool -static'), for compatibility: