summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
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.
;;