summaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent-rasterbar-14/files/patch-configure.in
blob: 8c9d4d6680511e6fd3e8321e40e4b433297b9044 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
--- configure.in.orig	2009-08-05 11:29:42.000000000 +0900
+++ configure.in	2009-08-29 03:28:28.000000000 +0900
@@ -65,19 +65,6 @@
 AM_CONDITIONAL([ENABLE_SHIPPED_ASIO], false)
 
 dnl Check for boost libraries.
-AX_BOOST_BASE([1.35],[
-   AX_BOOST_SYSTEM
-   dnl check that Boost.System was found:
-   if test -z "$BOOST_SYSTEM_LIB"; then
-      AC_MSG_ERROR([unable to find Boost.System library, currently this is required.])
-   fi
-
-   AX_BOOST_ASIO
-   dnl check that Boost.Asio was found:
-   if test -z "$BOOST_ASIO_LIB"; then
-      AC_MSG_ERROR([Unable to find Boost.Asio library, currently this is required.])
-   fi
-],[
    AX_BOOST_BASE([1.34],[
 
    dnl the user can choose which Asio library to use
@@ -121,7 +108,6 @@
     esac
     AM_CONDITIONAL([ENABLE_SHIPPED_ASIO], [test x$enable_shipped_asio = "xyes"])
 ])
-])
 
 AC_MSG_NOTICE([BOOST_CPPFLAGS=$BOOST_CPPFLAGS])
 AC_MSG_NOTICE([BOOST_LDFLAGS=$BOOST_LDFLAGS])
@@ -351,7 +337,7 @@
 esac
 
 dnl Use possibly specific python install params
-if [[ "x$PYTHON_INSTALL_PARAMS" == "x" ]]; then
+if [[ "x$PYTHON_INSTALL_PARAMS" = "x" ]]; then
 	PYTHON_INSTALL_PARAMS='--prefix=$(DESTDIR)$(prefix)'
 fi
 AC_SUBST(PYTHON_INSTALL_PARAMS)
@@ -413,7 +399,7 @@
 esac
 
 dnl Set some defines if we are building a shared library
-if [[ "x$enable_shared" == "xyes" ]]; then
+if [[ "x$enable_shared" = "xyes" ]]; then
 	AC_DEFINE(TORRENT_BUILDING_SHARED,,[Make sure the functions and classes are exported.])
 	COMPILETIME_OPTIONS+="-DTORRENT_LINKING_SHARED "
 fi
@@ -425,7 +411,7 @@
 	[case "$enableval" in
 		no)
 			AC_DEFINE(NDEBUG,,[Define to disable debugging])
-			DEBUGFLAGS="-Os"
+			DEBUGFLAGS=""
 #			COMPILETIME_OPTIONS+="-DNDEBUG "
 			;;
 		yes)
@@ -438,7 +424,7 @@
 			AC_MSG_ERROR([Unknown --enable-debug option "$enableval". Use either "yes" or "no".])
 			;;
 	esac],
-	[DEBUGFLAGS="-Os"
+	[DEBUGFLAGS=""
 	AC_DEFINE(NDEBUG,,[Define to disable debugging])
 #	COMPILETIME_OPTIONS+="-DNDEBUG "
 	]