ol_enable_kbind=${ol_enable_kbind-no}
OL_ARG_ENABLE(ipv6,[ --enable-ipv6 enable IPv6 support], auto)dnl
OL_ARG_ENABLE(local,[ --enable-local enable AF_LOCAL (AF_UNIX) socket support], auto)dnl
-dnl OL_ARG_ENABLE(x_compile,[ --enable-x-compile enable cross compiling],
-dnl no, [yes no])dnl
-ol_enable_x_compile=${ol_enable_x_compile-no}
dnl ----------------------------------------------------------------
dnl General "with" options
AC_PROG_CPP
-dnl ----------------------------------------------------------------
-dnl Cross compiling checks
-if test $cross_compiling = yes -a $ol_enable_x_compile = yes; then
- AC_MSG_WARN([cross compiling.... some functionality will be removed.])
-
-elif test $cross_compiling = no -a $ol_enable_x_compile = yes; then
- AC_MSG_WARN([programs compiled here do run here...])
- AC_MSG_ERROR([ if not cross compiling, use --disable-x-compile.])
-
-elif test $cross_compiling = yes -a $ol_enable_x_compile = no; then
- AC_MSG_WARN([programs compiled here do not run here...])
- AC_MSG_ERROR([ if cross compiling, add --enable-x-compile.])
-fi
-
dnl ----------------------------------------------------------------
dnl Checks for UNIX Variants
dnl AC_AIX
OL_C_VOLATILE
if test $cross_compiling = yes ; then
+ AC_MSG_WARN([Crossing compiling... all bets are off!])
AC_DEFINE(CROSS_COMPILING, 1, [define if cross compiling])
else
AC_C_BIGENDIAN