Skip to content
Snippets Groups Projects
Commit 13eb8931 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

remove our cross compiling cruft and add warning where $cross_compiling == yes

parent 65e40981
No related branches found
No related tags found
Loading
This diff is collapsed.
......@@ -153,9 +153,6 @@ dnl OL_ARG_ENABLE(kbind,[ --enable-kbind enable LDAPv2+ Kerberos IV bind (dep
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
......@@ -755,20 +752,6 @@ fi
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
......@@ -2397,6 +2380,7 @@ AC_C_CONST
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment