--- configure.orig 2013-07-13 10:23:28.000000000 -0300 +++ configure 2014-02-18 01:53:05.000000000 -0300 @@ -18416,7 +18416,7 @@ GCCVER2=`echo $GCCVER | awk '{print $1 * 100}'` case "$host" in i386-*-freebsd*) - if test $GCCVER2 -lt 300 ; then + if test "x$GCCVER" != x -a $GCCVER2 -lt 300 ; then { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "GCC $GCCVER causes a coredump on $host. @@ -22154,7 +22154,7 @@ done - if test "x$ac_heimdal" == "x" ; then + if test "x$ac_heimdal" = "x" ; then for ac_header in gssapi/gssapi_generic.h do : ac_fn_cxx_check_header_mongrel "$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default" @@ -22351,7 +22351,7 @@ ac_com_error_message=no - if test "x$ac_cv_header_com_err_h" == "xyes" ; then + if test "x$ac_cv_header_com_err_h" = "xyes" ; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -22363,7 +22363,7 @@ fi rm -f conftest* - elif test "x$ac_cv_header_et_com_err_h" == "xyes" ; then + elif test "x$ac_cv_header_et_com_err_h" = "xyes" ; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -22424,7 +22424,7 @@ fi - if test `echo $KRB5LIBS | grep -c com_err` -ne 0 -a "x$ac_com_error_message" == "xyes" ; then + if test `echo $KRB5LIBS | grep -c com_err` -ne 0 -a "x$ac_com_error_message" = "xyes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5 $as_echo_n "checking for error_message in -lcom_err... " >&6; } if ${ac_cv_lib_com_err_error_message+:} false; then : @@ -22467,7 +22467,7 @@ fi - elif test "x$ac_com_error_message" == "xyes" ; then + elif test "x$ac_com_error_message" = "xyes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lkrb5" >&5 $as_echo_n "checking for error_message in -lkrb5... " >&6; } if ${ac_cv_lib_krb5_error_message+:} false; then : @@ -24033,6 +24033,7 @@ cassert \ crypt.h \ cstdarg \ + cstdio \ cstdlib \ cstring \ list \ @@ -24341,12 +24342,12 @@ #if HAVE_NETINET_IP_H #include #endif -#if HAVE_NETINET_IP_COMPAT_H -#include -#endif #if HAVE_NET_IF_H #include #endif +#if HAVE_NETINET_IP_COMPAT_H +#include +#endif #if HAVE_NETINET_IP_FIL_H #include #endif