diff options
Diffstat (limited to 'net-p2p/transmission-cli/files/patch-configure')
-rw-r--r-- | net-p2p/transmission-cli/files/patch-configure | 499 |
1 files changed, 0 insertions, 499 deletions
diff --git a/net-p2p/transmission-cli/files/patch-configure b/net-p2p/transmission-cli/files/patch-configure deleted file mode 100644 index 1217ecb36204..000000000000 --- a/net-p2p/transmission-cli/files/patch-configure +++ /dev/null @@ -1,499 +0,0 @@ ---- configure.orig 2008-05-09 16:26:19.000000000 -0500 -+++ configure 2008-05-09 16:27:32.000000000 -0500 -@@ -885,8 +885,6 @@ - PTHREAD_LIBS - PTHREAD_CFLAGS - PKG_CONFIG --OPENSSL_CFLAGS --OPENSSL_LIBS - LIBCURL_CFLAGS - LIBCURL_LIBS - subdirs -@@ -985,8 +983,6 @@ - F77 - FFLAGS - PKG_CONFIG --OPENSSL_CFLAGS --OPENSSL_LIBS - LIBCURL_CFLAGS - LIBCURL_LIBS - GTK_CFLAGS -@@ -1620,10 +1616,6 @@ - F77 Fortran 77 compiler command - FFLAGS Fortran 77 compiler flags - PKG_CONFIG path to pkg-config utility -- OPENSSL_CFLAGS -- C compiler flags for OPENSSL, overriding pkg-config -- OPENSSL_LIBS -- linker flags for OPENSSL, overriding pkg-config - LIBCURL_CFLAGS - C compiler flags for LIBCURL, overriding pkg-config - LIBCURL_LIBS -@@ -4542,7 +4534,7 @@ - ;; - *-*-irix6*) - # Find out which ABI we are using. -- echo '#line 4545 "configure"' > conftest.$ac_ext -+ echo '#line 4537 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -@@ -7285,11 +7277,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:7288: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:7280: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:7292: \$? = $ac_status" >&5 -+ echo "$as_me:7284: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -7575,11 +7567,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:7578: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:7570: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:7582: \$? = $ac_status" >&5 -+ echo "$as_me:7574: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -7679,11 +7671,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:7682: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:7674: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:7686: \$? = $ac_status" >&5 -+ echo "$as_me:7678: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -10030,7 +10022,7 @@ - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<EOF --#line 10033 "configure" -+#line 10025 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -10130,7 +10122,7 @@ - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<EOF --#line 10133 "configure" -+#line 10125 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -12550,11 +12542,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:12553: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:12545: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:12557: \$? = $ac_status" >&5 -+ echo "$as_me:12549: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -12654,11 +12646,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:12657: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:12649: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:12661: \$? = $ac_status" >&5 -+ echo "$as_me:12653: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -14218,11 +14210,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:14221: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:14213: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:14225: \$? = $ac_status" >&5 -+ echo "$as_me:14217: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -14322,11 +14314,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:14325: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:14317: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:14329: \$? = $ac_status" >&5 -+ echo "$as_me:14321: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -16511,11 +16503,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:16514: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:16506: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:16518: \$? = $ac_status" >&5 -+ echo "$as_me:16510: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -16801,11 +16793,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:16804: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:16796: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:16808: \$? = $ac_status" >&5 -+ echo "$as_me:16800: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -16905,11 +16897,11 @@ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:16908: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:16900: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:16912: \$? = $ac_status" >&5 -+ echo "$as_me:16904: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -22377,6 +22369,148 @@ - fi - - -+{ echo "$as_me:$LINENO: checking for CRYPTO_new_ex_data in -lcrypto" >&5 -+echo $ECHO_N "checking for CRYPTO_new_ex_data in -lcrypto... $ECHO_C" >&6; } -+if test "${ac_cv_lib_crypto_CRYPTO_new_ex_data+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-lcrypto $LIBS" -+cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char CRYPTO_new_ex_data (); -+int -+main () -+{ -+return CRYPTO_new_ex_data (); -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -+ (eval "$ac_link") 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest$ac_exeext && -+ $as_test_x conftest$ac_exeext; then -+ ac_cv_lib_crypto_CRYPTO_new_ex_data=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_cv_lib_crypto_CRYPTO_new_ex_data=no -+fi -+ -+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_CRYPTO_new_ex_data" >&5 -+echo "${ECHO_T}$ac_cv_lib_crypto_CRYPTO_new_ex_data" >&6; } -+if test $ac_cv_lib_crypto_CRYPTO_new_ex_data = yes; then -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_LIBCRYPTO 1 -+_ACEOF -+ -+ LIBS="-lcrypto $LIBS" -+ -+fi -+ -+ -+{ echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 -+echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } -+if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-lssl $LIBS" -+cat >conftest.$ac_ext <<_ACEOF -+/* confdefs.h. */ -+_ACEOF -+cat confdefs.h >>conftest.$ac_ext -+cat >>conftest.$ac_ext <<_ACEOF -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char SSL_library_init (); -+int -+main () -+{ -+return SSL_library_init (); -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.$ac_objext conftest$ac_exeext -+if { (ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 -+ (eval "$ac_link") 2>conftest.er1 -+ ac_status=$? -+ grep -v '^ *+' conftest.er1 >conftest.err -+ rm -f conftest.er1 -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ (exit $ac_status); } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest$ac_exeext && -+ $as_test_x conftest$ac_exeext; then -+ ac_cv_lib_ssl_SSL_library_init=yes -+else -+ echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_cv_lib_ssl_SSL_library_init=no -+fi -+ -+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 -+echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } -+if test $ac_cv_lib_ssl_SSL_library_init = yes; then -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_LIBSSL 1 -+_ACEOF -+ -+ LIBS="-lssl $LIBS" -+ -+fi -+ -+ - - if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then -@@ -22498,117 +22632,6 @@ - fi - - pkg_failed=no --{ echo "$as_me:$LINENO: checking for OPENSSL" >&5 --echo $ECHO_N "checking for OPENSSL... $ECHO_C" >&6; } -- --if test -n "$PKG_CONFIG"; then -- if test -n "$OPENSSL_CFLAGS"; then -- pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS" -- else -- if test -n "$PKG_CONFIG" && \ -- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl >= \$OPENSSL_MINIMUM\"") >&5 -- ($PKG_CONFIG --exists --print-errors "openssl >= $OPENSSL_MINIMUM") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; then -- pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= $OPENSSL_MINIMUM" 2>/dev/null` --else -- pkg_failed=yes --fi -- fi --else -- pkg_failed=untried --fi --if test -n "$PKG_CONFIG"; then -- if test -n "$OPENSSL_LIBS"; then -- pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS" -- else -- if test -n "$PKG_CONFIG" && \ -- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"openssl >= \$OPENSSL_MINIMUM\"") >&5 -- ($PKG_CONFIG --exists --print-errors "openssl >= $OPENSSL_MINIMUM") 2>&5 -- ac_status=$? -- echo "$as_me:$LINENO: \$? = $ac_status" >&5 -- (exit $ac_status); }; then -- pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= $OPENSSL_MINIMUM" 2>/dev/null` --else -- pkg_failed=yes --fi -- fi --else -- pkg_failed=untried --fi -- -- -- --if test $pkg_failed = yes; then -- --if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then -- _pkg_short_errors_supported=yes --else -- _pkg_short_errors_supported=no --fi -- if test $_pkg_short_errors_supported = yes; then -- OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openssl >= $OPENSSL_MINIMUM"` -- else -- OPENSSL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl >= $OPENSSL_MINIMUM"` -- fi -- # Put the nasty error message in config.log where it belongs -- echo "$OPENSSL_PKG_ERRORS" >&5 -- -- { { echo "$as_me:$LINENO: error: Package requirements (openssl >= $OPENSSL_MINIMUM) were not met: -- --$OPENSSL_PKG_ERRORS -- --Consider adjusting the PKG_CONFIG_PATH environment variable if you --installed software in a non-standard prefix. -- --Alternatively, you may set the environment variables OPENSSL_CFLAGS --and OPENSSL_LIBS to avoid the need to call pkg-config. --See the pkg-config man page for more details. --" >&5 --echo "$as_me: error: Package requirements (openssl >= $OPENSSL_MINIMUM) were not met: -- --$OPENSSL_PKG_ERRORS -- --Consider adjusting the PKG_CONFIG_PATH environment variable if you --installed software in a non-standard prefix. -- --Alternatively, you may set the environment variables OPENSSL_CFLAGS --and OPENSSL_LIBS to avoid the need to call pkg-config. --See the pkg-config man page for more details. --" >&2;} -- { (exit 1); exit 1; }; } --elif test $pkg_failed = untried; then -- { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it --is in your PATH or set the PKG_CONFIG environment variable to the full --path to pkg-config. -- --Alternatively, you may set the environment variables OPENSSL_CFLAGS --and OPENSSL_LIBS to avoid the need to call pkg-config. --See the pkg-config man page for more details. -- --To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. --See \`config.log' for more details." >&5 --echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it --is in your PATH or set the PKG_CONFIG environment variable to the full --path to pkg-config. -- --Alternatively, you may set the environment variables OPENSSL_CFLAGS --and OPENSSL_LIBS to avoid the need to call pkg-config. --See the pkg-config man page for more details. -- --To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. --See \`config.log' for more details." >&2;} -- { (exit 1); exit 1; }; } --else -- OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS -- OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS -- { echo "$as_me:$LINENO: result: yes" >&5 --echo "${ECHO_T}yes" >&6; } -- : --fi -- --pkg_failed=no - { echo "$as_me:$LINENO: checking for LIBCURL" >&5 - echo $ECHO_N "checking for LIBCURL... $ECHO_C" >&6; } - -@@ -27105,8 +27128,6 @@ - PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim - PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim - PKG_CONFIG!$PKG_CONFIG$ac_delim --OPENSSL_CFLAGS!$OPENSSL_CFLAGS$ac_delim --OPENSSL_LIBS!$OPENSSL_LIBS$ac_delim - LIBCURL_CFLAGS!$LIBCURL_CFLAGS$ac_delim - LIBCURL_LIBS!$LIBCURL_LIBS$ac_delim - subdirs!$subdirs$ac_delim -@@ -27183,6 +27204,8 @@ - BUILD_CLI_TRUE!$BUILD_CLI_TRUE$ac_delim - BUILD_CLI_FALSE!$BUILD_CLI_FALSE$ac_delim - BUILD_DARWIN_TRUE!$BUILD_DARWIN_TRUE$ac_delim -+BUILD_DARWIN_FALSE!$BUILD_DARWIN_FALSE$ac_delim -+BUILD_DAEMON_TRUE!$BUILD_DAEMON_TRUE$ac_delim - _ACEOF - - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then -@@ -27224,14 +27247,12 @@ - ac_delim='%!_!# ' - for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF --BUILD_DARWIN_FALSE!$BUILD_DARWIN_FALSE$ac_delim --BUILD_DAEMON_TRUE!$BUILD_DAEMON_TRUE$ac_delim - BUILD_DAEMON_FALSE!$BUILD_DAEMON_FALSE$ac_delim - LIBOBJS!$LIBOBJS$ac_delim - LTLIBOBJS!$LTLIBOBJS$ac_delim - _ACEOF - -- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then -+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 3; then - break - elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |