: "${DEFCKTNAME=`$with_krb5_config --defcktname`}"
fi
fi
+dnl The outer brackets around the case statement prevent m4 from eating the
+dnl brackets in the glob patterns.
if test "${DEFCCNAME+set}" != set; then
- DEFCCNAME=FILE:/tmp/krb5cc_%{uid}
+ [case $host in
+ *-*-darwin[0-9].* | *-*-darwin10.*)
+ # Use the normal default for OS X 10.6 (Darwin 10) and prior.
+ ;;
+ *-*-darwin*)
+ # For OS X 10.7 (Darwin 11) and later, the native ccache uses
+ # the KCM daemon.
+ DEFCCNAME=KCM:
+ ;;
+ esac]
+ if test "${DEFCCNAME+set}" != set; then
+ DEFCCNAME=FILE:/tmp/krb5cc_%{uid}
+ fi
fi
if test "${DEFKTNAME+set}" != set; then
DEFKTNAME=FILE:/etc/krb5.keytab