summaryrefslogtreecommitdiff
path: root/x11/XFree86/scripts/configure
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-09-21 00:04:36 +0000
committerSteve Price <steve@FreeBSD.org>1998-09-21 00:04:36 +0000
commit30f779debfef7e8718ce1b6e8941e575b1331695 (patch)
tree9e584991a3c38b01abbfee2c884f7a18a16b3c81 /x11/XFree86/scripts/configure
parentIf a.out minor number is zero, ELF shlib names should be listed. (diff)
Convert to ELF. These changes are based on a recent thread
on the -current mailing list and at least partial credit goes to the following people for this commit: Joachim Kuebart <joki@kuebart.stuttgart.netsurf.de> Ollivier Robert <roberto@keltia.freenix.fr> NOTE: Kerberos support has been temporarily turned off until someone can make it work.
Notes
Notes: svn path=/head/; revision=13269
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