File drop-boost_system.patch of Package alephone
diff --git a/configure b/configure
index 98debb1..c9457d2 100755
--- a/configure
+++ b/configure
@@ -9482,56 +9482,6 @@ fi
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
export LDFLAGS
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the Boost::System library is available" >&5
-printf %s "checking whether the Boost::System library is available... " >&6; }
-if test ${ax_cv_boost_system+y}
-then :
- printf %s "(cached) " >&6
-else $as_nop
- ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
- CXXFLAGS_SAVE=$CXXFLAGS
- CXXFLAGS=
-
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <boost/system/error_code.hpp>
-int
-main (void)
-{
-boost::system::error_category *a = 0;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"
-then :
- ax_cv_boost_system=yes
-else $as_nop
- ax_cv_boost_system=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
- CXXFLAGS=$CXXFLAGS_SAVE
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_system" >&5
-printf "%s\n" "$ax_cv_boost_system" >&6; }
- if test "x$ax_cv_boost_system" = "xyes"; then
-
-
-
-printf "%s\n" "#define HAVE_BOOST_SYSTEM /**/" >>confdefs.h
-
BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
LDFLAGS_SAVE=$LDFLAGS
@@ -9682,25 +9632,10 @@ fi
done
fi
- if test "x$ax_lib" = "x"; then
- as_fn_error $? "Could not find a version of the Boost::System library!" "$LINENO" 5
- fi
- if test "x$link_system" = "xno"; then
- as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5
- fi
- fi
-
CPPFLAGS="$CPPFLAGS_SAVED"
LDFLAGS="$LDFLAGS_SAVED"
fi
-if test "x$BOOST_SYSTEM_LIB" != "x"
-then :
- LIBS="$BOOST_SYSTEM_LIB $LIBS"
-else $as_nop
- as_fn_error $? "You need the Boost::System library to run Aleph One." "$LINENO" 5
-fi
-
# Check whether --with-boost-filesystem was given.
if test ${with_boost_filesystem+y}