I don't know if most have had the pleasure of trying to configure on a modern Mac, but we have to specify x86_64 explicitly. We are warned when running just 'config', but PERL does not honor the CTRL-C on Mac OS X. So its usually a process of double-config'ing - first for i686 and then for x86_64.
$ git diff config
diff --git a/config b/config
index 4052c9e..d06ec44 100755
--- a/config
+++ b/config
@@ -274,10 +274,13 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
Darwin:*)
case "$MACHINE" in
- Power*)
+ Power*)
echo "ppc-apple-darwin${VERSION}"
;;
- *)
+ x86_64)
+ echo "x86_64-apple-darwin64"
+ ;;
+ *)
echo "i686-apple-darwin${VERSION}"
;;
esac
@@ -551,6 +554,9 @@ case "$GUESSOS" in
else
OUT="darwin-ppc-cc"
fi ;;
+ x86_64-apple-darwin*)
+ OUT="darwin64-x86_64-cc"
+ ;;
i?86-apple-darwin*)
ISA64=`(sysctl -n hw.optional.x86_64) 2>/dev/null`
if [ "$ISA64" = "1" -a -z "$KERNEL_BITS" ]; then
config.patch
Description: Binary data
