summaryrefslogtreecommitdiff
path: root/net-p2p/transmission-cli/files/patch-configure
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2008-03-30 16:42:30 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2008-03-30 16:42:30 +0000
commit02efad15683180d7abbf29eb3ecf9a8de358a799 (patch)
tree2ac38d2e2b468823470a7473e1b2620238172168 /net-p2p/transmission-cli/files/patch-configure
parent- Fix distinfo to include checksums for optional file. (diff)
-Update to 1.10.
-Do not get libevent to link with librt, which our clock_gettime() is in libc.
Notes
Notes: svn path=/head/; revision=210169
Diffstat (limited to 'net-p2p/transmission-cli/files/patch-configure')
-rw-r--r--net-p2p/transmission-cli/files/patch-configure206
1 files changed, 129 insertions, 77 deletions
diff --git a/net-p2p/transmission-cli/files/patch-configure b/net-p2p/transmission-cli/files/patch-configure
index 3ed17c312902..a8cb746a9d81 100644
--- a/net-p2p/transmission-cli/files/patch-configure
+++ b/net-p2p/transmission-cli/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig 2008-01-25 12:25:43.000000000 -0600
-+++ configure 2008-01-25 12:26:45.000000000 -0600
-@@ -880,11 +880,9 @@
+--- configure.orig 2008-03-29 14:43:46.000000000 -0500
++++ configure 2008-03-29 14:47:37.000000000 -0500
+@@ -882,11 +882,9 @@
PTHREAD_CC
PTHREAD_LIBS
PTHREAD_CFLAGS
@@ -12,17 +12,17 @@
+PKG_CONFIG
GTK_CFLAGS
GTK_LIBS
- WITH_GTK_TRUE
-@@ -971,8 +969,6 @@
+ BUILD_GTK_TRUE
+@@ -979,8 +977,6 @@
F77
FFLAGS
PKG_CONFIG
-OPENSSL_CFLAGS
-OPENSSL_LIBS
GTK_CFLAGS
- GTK_LIBS'
- ac_subdirs_all='third-party/libevent'
-@@ -1593,10 +1589,6 @@
+ GTK_LIBS
+ GIO_CFLAGS
+@@ -1609,10 +1605,6 @@
F77 Fortran 77 compiler command
FFLAGS Fortran 77 compiler flags
PKG_CONFIG path to pkg-config utility
@@ -32,175 +32,175 @@
- linker flags for OPENSSL, overriding pkg-config
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
GTK_LIBS linker flags for GTK, overriding pkg-config
-
-@@ -4501,7 +4493,7 @@
+ GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
+@@ -4523,7 +4515,7 @@
;;
*-*-irix6*)
# Find out which ABI we are using.
-- echo '#line 4504 "configure"' > conftest.$ac_ext
-+ echo '#line 4496 "configure"' > conftest.$ac_ext
+- echo '#line 4526 "configure"' > conftest.$ac_ext
++ echo '#line 4518 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
-@@ -7244,11 +7236,11 @@
+@@ -7266,11 +7258,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:7247: $lt_compile\"" >&5)
-+ (eval echo "\"\$as_me:7239: $lt_compile\"" >&5)
+- (eval echo "\"\$as_me:7269: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:7261: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-- echo "$as_me:7251: \$? = $ac_status" >&5
-+ echo "$as_me:7243: \$? = $ac_status" >&5
+- echo "$as_me:7273: \$? = $ac_status" >&5
++ echo "$as_me:7265: \$? = $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.
-@@ -7534,11 +7526,11 @@
+@@ -7556,11 +7548,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:7537: $lt_compile\"" >&5)
-+ (eval echo "\"\$as_me:7529: $lt_compile\"" >&5)
+- (eval echo "\"\$as_me:7559: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:7551: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-- echo "$as_me:7541: \$? = $ac_status" >&5
-+ echo "$as_me:7533: \$? = $ac_status" >&5
+- echo "$as_me:7563: \$? = $ac_status" >&5
++ echo "$as_me:7555: \$? = $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.
-@@ -7638,11 +7630,11 @@
+@@ -7660,11 +7652,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:7641: $lt_compile\"" >&5)
-+ (eval echo "\"\$as_me:7633: $lt_compile\"" >&5)
+- (eval echo "\"\$as_me:7663: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:7655: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-- echo "$as_me:7645: \$? = $ac_status" >&5
-+ echo "$as_me:7637: \$? = $ac_status" >&5
+- echo "$as_me:7667: \$? = $ac_status" >&5
++ echo "$as_me:7659: \$? = $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
-@@ -9989,7 +9981,7 @@
+@@ -10011,7 +10003,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
--#line 9992 "configure"
-+#line 9984 "configure"
+-#line 10014 "configure"
++#line 10006 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -10089,7 +10081,7 @@
+@@ -10111,7 +10103,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
--#line 10092 "configure"
-+#line 10084 "configure"
+-#line 10114 "configure"
++#line 10106 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
-@@ -12509,11 +12501,11 @@
+@@ -12531,11 +12523,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:12512: $lt_compile\"" >&5)
-+ (eval echo "\"\$as_me:12504: $lt_compile\"" >&5)
+- (eval echo "\"\$as_me:12534: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:12526: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-- echo "$as_me:12516: \$? = $ac_status" >&5
-+ echo "$as_me:12508: \$? = $ac_status" >&5
+- echo "$as_me:12538: \$? = $ac_status" >&5
++ echo "$as_me:12530: \$? = $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.
-@@ -12613,11 +12605,11 @@
+@@ -12635,11 +12627,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:12616: $lt_compile\"" >&5)
-+ (eval echo "\"\$as_me:12608: $lt_compile\"" >&5)
+- (eval echo "\"\$as_me:12638: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:12630: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-- echo "$as_me:12620: \$? = $ac_status" >&5
-+ echo "$as_me:12612: \$? = $ac_status" >&5
+- echo "$as_me:12642: \$? = $ac_status" >&5
++ echo "$as_me:12634: \$? = $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
-@@ -14177,11 +14169,11 @@
+@@ -14199,11 +14191,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:14180: $lt_compile\"" >&5)
-+ (eval echo "\"\$as_me:14172: $lt_compile\"" >&5)
+- (eval echo "\"\$as_me:14202: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:14194: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-- echo "$as_me:14184: \$? = $ac_status" >&5
-+ echo "$as_me:14176: \$? = $ac_status" >&5
+- echo "$as_me:14206: \$? = $ac_status" >&5
++ echo "$as_me:14198: \$? = $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.
-@@ -14281,11 +14273,11 @@
+@@ -14303,11 +14295,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:14284: $lt_compile\"" >&5)
-+ (eval echo "\"\$as_me:14276: $lt_compile\"" >&5)
+- (eval echo "\"\$as_me:14306: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:14298: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-- echo "$as_me:14288: \$? = $ac_status" >&5
-+ echo "$as_me:14280: \$? = $ac_status" >&5
+- echo "$as_me:14310: \$? = $ac_status" >&5
++ echo "$as_me:14302: \$? = $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
-@@ -16470,11 +16462,11 @@
+@@ -16492,11 +16484,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:16473: $lt_compile\"" >&5)
-+ (eval echo "\"\$as_me:16465: $lt_compile\"" >&5)
+- (eval echo "\"\$as_me:16495: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:16487: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-- echo "$as_me:16477: \$? = $ac_status" >&5
-+ echo "$as_me:16469: \$? = $ac_status" >&5
+- echo "$as_me:16499: \$? = $ac_status" >&5
++ echo "$as_me:16491: \$? = $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.
-@@ -16760,11 +16752,11 @@
+@@ -16782,11 +16774,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:16763: $lt_compile\"" >&5)
-+ (eval echo "\"\$as_me:16755: $lt_compile\"" >&5)
+- (eval echo "\"\$as_me:16785: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:16777: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
-- echo "$as_me:16767: \$? = $ac_status" >&5
-+ echo "$as_me:16759: \$? = $ac_status" >&5
+- echo "$as_me:16789: \$? = $ac_status" >&5
++ echo "$as_me:16781: \$? = $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.
-@@ -16864,11 +16856,11 @@
+@@ -16886,11 +16878,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:16867: $lt_compile\"" >&5)
-+ (eval echo "\"\$as_me:16859: $lt_compile\"" >&5)
+- (eval echo "\"\$as_me:16889: $lt_compile\"" >&5)
++ (eval echo "\"\$as_me:16881: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
-- echo "$as_me:16871: \$? = $ac_status" >&5
-+ echo "$as_me:16863: \$? = $ac_status" >&5
+- echo "$as_me:16893: \$? = $ac_status" >&5
++ echo "$as_me:16885: \$? = $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
-@@ -22161,6 +22153,148 @@
+@@ -22187,6 +22179,148 @@
@@ -349,7 +349,7 @@
{ echo "$as_me:$LINENO: checking for library containing socket" >&5
echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
if test "${ac_cv_search_socket+set}" = set; then
-@@ -22328,237 +22462,6 @@
+@@ -22354,237 +22488,6 @@
fi
@@ -587,9 +587,9 @@
# Check whether --enable-largefile was given.
if test "${enable_largefile+set}" = set; then
enableval=$enable_largefile;
-@@ -23027,6 +22930,126 @@
+@@ -23052,6 +22955,126 @@
+
- have_gtk=yes
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
@@ -714,7 +714,32 @@
pkg_failed=no
{ echo "$as_me:$LINENO: checking for GTK" >&5
echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
-@@ -26479,11 +26502,9 @@
+@@ -23154,6 +23177,8 @@
+ fi
+
+ build_gtk=no
++use_gio=no
++use_libnotify=no
+ if test "x$want_gtk" = "xyes" ; then
+ if test "x$have_gtk" = "xyes"; then
+ build_gtk=yes
+@@ -23174,6 +23199,7 @@
+
+
+
++if test "x$build_gtk" = "xyes"; then
+
+ pkg_failed=no
+ { echo "$as_me:$LINENO: checking for GIO" >&5
+@@ -23333,6 +23359,7 @@
+ _ACEOF
+
+ fi
++fi
+
+
+ case "$am__api_version" in
+@@ -26732,11 +26759,9 @@
PTHREAD_CC!$PTHREAD_CC$ac_delim
PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
@@ -726,13 +751,40 @@
+PKG_CONFIG!$PKG_CONFIG$ac_delim
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
GTK_LIBS!$GTK_LIBS$ac_delim
- WITH_GTK_TRUE!$WITH_GTK_TRUE$ac_delim
-@@ -26555,7 +26576,7 @@
+ BUILD_GTK_TRUE!$BUILD_GTK_TRUE$ac_delim
+@@ -26814,7 +26839,7 @@
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
-- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then
-+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then
+- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+@@ -26833,7 +26858,7 @@
+
+ cat >>$CONFIG_STATUS <<_ACEOF
+ cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
+-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
++/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
+ _ACEOF
+ sed '
+ s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
+@@ -26846,6 +26871,8 @@
+ ' >>$CONFIG_STATUS <conf$$subs.sed
+ rm -f conf$$subs.sed
+ cat >>$CONFIG_STATUS <<_ACEOF
++:end
++s/|#_!!_#|//g
+ CEOF$ac_eof
+ _ACEOF
+
+@@ -27099,7 +27126,7 @@
+ s&@INSTALL@&$ac_INSTALL&;t t
+ s&@MKDIR_P@&$ac_MKDIR_P&;t t
+ $ac_datarootdir_hack
+-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed 's/|#_!!_#|//g' >$tmp/out
++" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
+
+ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&