summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwsanchez <wsanchez@13f79535-47bb-0310-9956-ffa450edef68>2001-02-08 21:33:26 +0000
committerwsanchez <wsanchez@13f79535-47bb-0310-9956-ffa450edef68>2001-02-08 21:33:26 +0000
commit1a27655bd5d6fd698506c684cc308f2ce5ea0b35 (patch)
tree2d508c1568636204436c055996f80e64b8da4f88
parent69ed99989c34172d0b3645f6fbbbc0feeb4d4dc5 (diff)
downloadlibapr-1a27655bd5d6fd698506c684cc308f2ce5ea0b35.tar.gz
Add Darwin/Mac OS.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61197 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xhelpers/config.guess3
-rwxr-xr-xhelpers/config.sub2
-rwxr-xr-xshmem/unix/mm/config.guess3
-rwxr-xr-xshmem/unix/mm/config.sub2
4 files changed, 8 insertions, 2 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.
;;
diff --git a/shmem/unix/mm/config.guess b/shmem/unix/mm/config.guess
index 9c362ec93..fdeb6b182 100755
--- a/shmem/unix/mm/config.guess
+++ b/shmem/unix/mm/config.guess
@@ -839,6 +839,9 @@ EOF
*:Rhapsody:*:*)
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
exit 0 ;;
+ *:Darwin:*:*)
+ echo `uname -p`-apple-darwin${UNAME_RELEASE}
+ exit 0 ;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
diff --git a/shmem/unix/mm/config.sub b/shmem/unix/mm/config.sub
index 416140415..89fbd90d3 100755
--- a/shmem/unix/mm/config.sub
+++ b/shmem/unix/mm/config.sub
@@ -913,7 +913,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*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \