patch-configure 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. --- cryptsetup-1.1.0.orig/configure 2010-01-17 11:29:24.000000000 +0100
  2. +++ cryptsetup-1.1.0/configure 2010-02-16 20:32:36.868858986 +0100
  3. @@ -894,7 +894,6 @@ enable_nls
  4. enable_rpath
  5. with_libiconv_prefix
  6. with_libintl_prefix
  7. -enable_shared_library
  8. enable_selinux
  9. with_plain_hash
  10. with_plain_cipher
  11. @@ -1543,7 +1542,7 @@ Optional Features:
  12. --disable-largefile omit support for large files
  13. --disable-nls do not use Native Language Support
  14. --disable-rpath do not hardcode runtime library paths
  15. - --disable-shared-library
  16. + --disable-shared
  17. disable building of shared cryptsetup library
  18. --disable-selinux disable selinux support [default=auto]
  19. @@ -5966,13 +5965,13 @@ if test "${lt_cv_nm_interface+set}" = se
  20. else
  21. lt_cv_nm_interface="BSD nm"
  22. echo "int some_variable = 0;" > conftest.$ac_ext
  23. - (eval echo "\"\$as_me:5969: $ac_compile\"" >&5)
  24. + (eval echo "\"\$as_me:5968: $ac_compile\"" >&5)
  25. (eval "$ac_compile" 2>conftest.err)
  26. cat conftest.err >&5
  27. - (eval echo "\"\$as_me:5972: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  28. + (eval echo "\"\$as_me:5971: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  29. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  30. cat conftest.err >&5
  31. - (eval echo "\"\$as_me:5975: output\"" >&5)
  32. + (eval echo "\"\$as_me:5974: output\"" >&5)
  33. cat conftest.out >&5
  34. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  35. lt_cv_nm_interface="MS dumpbin"
  36. @@ -7177,7 +7176,7 @@ ia64-*-hpux*)
  37. ;;
  38. *-*-irix6*)
  39. # Find out which ABI we are using.
  40. - echo '#line 7180 "configure"' > conftest.$ac_ext
  41. + echo '#line 7179 "configure"' > conftest.$ac_ext
  42. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  43. (eval $ac_compile) 2>&5
  44. ac_status=$?
  45. @@ -8409,11 +8408,11 @@ else
  46. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  47. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  48. -e 's:$: $lt_compiler_flag:'`
  49. - (eval echo "\"\$as_me:8412: $lt_compile\"" >&5)
  50. + (eval echo "\"\$as_me:8411: $lt_compile\"" >&5)
  51. (eval "$lt_compile" 2>conftest.err)
  52. ac_status=$?
  53. cat conftest.err >&5
  54. - echo "$as_me:8416: \$? = $ac_status" >&5
  55. + echo "$as_me:8415: \$? = $ac_status" >&5
  56. if (exit $ac_status) && test -s "$ac_outfile"; then
  57. # The compiler can only warn and ignore the option if not recognized
  58. # So say no if there are warnings other than the usual output.
  59. @@ -8748,11 +8747,11 @@ else
  60. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  61. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  62. -e 's:$: $lt_compiler_flag:'`
  63. - (eval echo "\"\$as_me:8751: $lt_compile\"" >&5)
  64. + (eval echo "\"\$as_me:8750: $lt_compile\"" >&5)
  65. (eval "$lt_compile" 2>conftest.err)
  66. ac_status=$?
  67. cat conftest.err >&5
  68. - echo "$as_me:8755: \$? = $ac_status" >&5
  69. + echo "$as_me:8754: \$? = $ac_status" >&5
  70. if (exit $ac_status) && test -s "$ac_outfile"; then
  71. # The compiler can only warn and ignore the option if not recognized
  72. # So say no if there are warnings other than the usual output.
  73. @@ -8853,11 +8852,11 @@ else
  74. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  75. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  76. -e 's:$: $lt_compiler_flag:'`
  77. - (eval echo "\"\$as_me:8856: $lt_compile\"" >&5)
  78. + (eval echo "\"\$as_me:8855: $lt_compile\"" >&5)
  79. (eval "$lt_compile" 2>out/conftest.err)
  80. ac_status=$?
  81. cat out/conftest.err >&5
  82. - echo "$as_me:8860: \$? = $ac_status" >&5
  83. + echo "$as_me:8859: \$? = $ac_status" >&5
  84. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  85. then
  86. # The compiler can only warn and ignore the option if not recognized
  87. @@ -8908,11 +8907,11 @@ else
  88. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  89. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  90. -e 's:$: $lt_compiler_flag:'`
  91. - (eval echo "\"\$as_me:8911: $lt_compile\"" >&5)
  92. + (eval echo "\"\$as_me:8910: $lt_compile\"" >&5)
  93. (eval "$lt_compile" 2>out/conftest.err)
  94. ac_status=$?
  95. cat out/conftest.err >&5
  96. - echo "$as_me:8915: \$? = $ac_status" >&5
  97. + echo "$as_me:8914: \$? = $ac_status" >&5
  98. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  99. then
  100. # The compiler can only warn and ignore the option if not recognized
  101. @@ -11292,7 +11291,7 @@ else
  102. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  103. lt_status=$lt_dlunknown
  104. cat > conftest.$ac_ext <<_LT_EOF
  105. -#line 11295 "configure"
  106. +#line 11294 "configure"
  107. #include "confdefs.h"
  108. #if HAVE_DLFCN_H
  109. @@ -11388,7 +11387,7 @@ else
  110. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  111. lt_status=$lt_dlunknown
  112. cat > conftest.$ac_ext <<_LT_EOF
  113. -#line 11391 "configure"
  114. +#line 11390 "configure"
  115. #include "confdefs.h"
  116. #if HAVE_DLFCN_H
  117. @@ -14409,14 +14408,14 @@ POPT_LIBS=$LIBS
  118. LIBS=$saved_LIBS
  119. -# Check whether --enable-shared-library was given.
  120. -if test "${enable_shared_library+set}" = set; then :
  121. - enableval=$enable_shared_library;
  122. +# Check whether --enable-shared was given.
  123. +if test "${enable_shared+set}" = set; then :
  124. + enableval=$enable_shared;
  125. else
  126. - enable_shared_library=yes
  127. + enable_shared=yes
  128. fi
  129. - if test x$enable_shared_library = xno; then
  130. + if test x$enable_shared = xno; then
  131. STATIC_LIBRARY_TRUE=
  132. STATIC_LIBRARY_FALSE='#'
  133. else
  134. @@ -14619,7 +14618,7 @@ _ACEOF
  135. fi
  136. - if test x$enable_static = xyes; then
  137. + if test x$enable_static_cryptsetup = xyes; then
  138. SELINUX_STATIC_LIBS=$LIBS
  139. # Check if we need -pthread with --enable-static and selinux
  140. saved_LIBS2=$LIBS
  141. @@ -14684,7 +14683,7 @@ fi
  142. fi
  143. fi
  144. -if test x$enable_static = xyes; then
  145. +if test x$enable_static_cryptsetup = xyes; then
  146. saved_LIBS2=$LIBS
  147. LIBS="$LIBS -static"
  148. # Check if it there is still not some missing dependency like static selinux libs
  149. @@ -14916,7 +14915,7 @@ fi
  150. - if test x$enable_static = xyes; then
  151. + if test x$enable_static_cryptsetup = xyes; then
  152. STATIC_CRYPTSETUP_TRUE=
  153. STATIC_CRYPTSETUP_FALSE='#'
  154. else
  155. @@ -14924,7 +14923,7 @@ else
  156. STATIC_CRYPTSETUP_FALSE=
  157. fi
  158. - if test x$enable_static = xno; then
  159. + if test x$enable_static_cryptsetup = xno; then
  160. DYNAMIC_CRYPTSETUP_TRUE=
  161. DYNAMIC_CRYPTSETUP_FALSE='#'
  162. else