From: Greg Hudson Date: Wed, 9 Feb 2011 04:46:46 +0000 (+0000) Subject: Assume ELF on FreeBSD if objformat doesn't exist X-Git-Tag: krb5-1.10-alpha1~599 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=940bf2436d5c31c97d006a58d1f259dc4bc53ec2;p=thirdparty%2Fkrb5.git Assume ELF on FreeBSD if objformat doesn't exist If /usr/bin/objformat doesn't exist on a FreeBSD system, it could indicate a pre-3.0 a.out version or a post-7.0 ELF version. Since FreeBSD 3.0 is now twelve years old, it's safer to assume ELF than a.out. From aberry@likewise.com. ticket: 6858 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24619 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/config/shlib.conf b/src/config/shlib.conf index f176921f4f..dd21126e19 100644 --- a/src/config/shlib.conf +++ b/src/config/shlib.conf @@ -309,7 +309,7 @@ mips-*-netbsd*) if test -x /usr/bin/objformat ; then objformat=`/usr/bin/objformat` else - objformat="aout" + objformat="elf" fi PICFLAGS=-fpic if test "x$objformat" = "xelf" ; then