--- configure.old Thu Feb 20 16:26:13 2003 +++ configure Thu Feb 20 16:28:04 2003 @@ -1123,7 +1123,7 @@ fi -for ac_hdr in unistd.h fcntl.h elf.h sys/elf.h link.h sys/link.h +for ac_hdr in unistd.h fcntl.h sys/elf.h link.h sys/link.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 @@ -1220,7 +1220,7 @@ # Check whether --enable-compat or --disable-compat was given. if test "${enable_compat+set}" = set; then enableval="$enable_compat" - libelf_enable_compat="$enableval" + DO_COMPAT="$enableval" else if test "$ac_cv_header_libelf_h$ac_cv_header_nlist_h$ac_cv_header_gelf_h" = yesyesyes @@ -3039,7 +3039,7 @@ fi case "$host" in - *-linux*) + *-linux*|*-freebsd*) if test "$GCC" = yes; then