summaryrefslogtreecommitdiff
path: root/x11/XFree86/scripts/configure
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11/XFree86/scripts/configure8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/XFree86/scripts/configure b/x11/XFree86/scripts/configure
index 8be93543648e..299a38014150 100644
--- a/x11/XFree86/scripts/configure
+++ b/x11/XFree86/scripts/configure
@@ -246,7 +246,8 @@ cat <<'END'
will not be enabled if the kerberos libraries are unavailable.
END
-yesno "Do you want to enable KerberosIV support? [YES] "
+#yesno "Do you want to enable KerberosIV support? [YES] "
+answ=NO
cpkb=NO
if [ $answ = YES ]; then
LIBKRB=/usr/lib/libkrb.a
@@ -267,6 +268,11 @@ if [ $cpkb != NO ]; then
echo "#define HasKrb4 $answ" >> $F
fi
+# ELF detection
+test `sysctl -n kern.osreldate` -ge 300004 &&
+ test `objformat` = elf &&
+ echo "#define UseElfFormat YES" >> $F
+
echo
echo "End of configuration questions. No more user input required"
echo