summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorWilfredo Sanchez <wsanchez@apache.org>2001-02-08 21:33:26 +0000
committerWilfredo Sanchez <wsanchez@apache.org>2001-02-08 21:33:26 +0000
commit5cfaed84ae3d107cc003f6a3301a336977c8f81e (patch)
tree2d508c1568636204436c055996f80e64b8da4f88 /helpers
parent9a4cf92d2a5a9b1bdd964a6c55008e892672ad3a (diff)
downloadapr-5cfaed84ae3d107cc003f6a3301a336977c8f81e.tar.gz
Add Darwin/Mac OS.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61197 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/config.guess3
-rwxr-xr-xhelpers/config.sub2
2 files changed, 4 insertions, 1 deletions
diff --git a/helpers/config.guess b/helpers/config.guess
index a58889d62..a5d1bd6dc 100755
--- a/helpers/config.guess
+++ b/helpers/config.guess
@@ -947,6 +947,9 @@ EOF
*:Rhapsody:*:*)
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
exit 0 ;;
+ *:Darwin:*:*)
+ echo `uname -p`-apple-darwin${UNAME_RELEASE}
+ exit 0 ;;
*:OS/2:*:*)
echo "i386-pc-os2_emx"
exit 0;;
diff --git a/helpers/config.sub b/helpers/config.sub
index 19c7337e4..df1ad1afc 100755
--- a/helpers/config.sub
+++ b/helpers/config.sub
@@ -921,7 +921,7 @@ case $os in
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
- | -interix* | -uwin* | -rhapsody* | -openstep* | -oskit* \
+ | -interix* | -uwin* | -rhapsody* | -darwin* | -openstep* | -oskit* \
| -tpf* | -os390* | -vmcms* )
# Remember, each alternative MUST END IN *, to match a version number.
;;