Skip to content

Commit

Permalink
minor fixes to configure.ac
Browse files Browse the repository at this point in the history
Helmut: "afflib fails to cross build from source, because configure.ac
has special branches for handling cross compilation and those branches
are completely broken. For instances, it decides to link -lws2_32, which
is a win32 thing. Then it forcibly disabled qemu support for no good
reason. After removing the broken cross compilation handling, afflib
cross builds successfully."
  • Loading branch information
helmutg authored and sshock committed Jun 6, 2018
1 parent bdb0ef1 commit 92ee47f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ if test x"${cross_compiling}" = "xno" ; then
AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ])
else
AC_MSG_NOTICE([Cross Compiling --- will not update CPPFALGS or LDFLAGS with /usr/local, /opt/local or /sw])
LIBS="$LIBS -lws2_32 -lgdi32"
fi

if test -r /bin/uname.exe ; then
Expand Down Expand Up @@ -181,12 +180,6 @@ AC_ARG_ENABLE([qemu])
echo "disable_qemu: " ${disable_qemu}
echo "enable_qemu: " ${enable_qemu}

if test x"${cross_compiling}" = "xyes" ; then
AC_MSG_NOTICE([cross-compiling: Disabling QEMU])
enable_qemu="no";
fi


if test "x${enable_qemu}" = "xno" ; then
enable_qemu="no"
AC_DEFINE([DISABLE_QEMU],1,[User has disabled QEMU support])
Expand Down

0 comments on commit 92ee47f

Please sign in to comment.