patch-configure_in 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --- cryptsetup-1.1.0.orig/configure.in 2010-01-17 11:26:31.000000000 +0100
  2. +++ cryptsetup-1.1.0/configure.in 2010-02-16 20:32:36.868858986 +0100
  3. @@ -62,11 +62,11 @@ LIBS=$saved_LIBS
  4. dnl ==========================================================================
  5. -AC_ARG_ENABLE(shared-library,
  6. -[ --disable-shared-library
  7. +AC_ARG_ENABLE(shared,
  8. +[ --disable-shared
  9. disable building of shared cryptsetup library],,
  10. -enable_shared_library=yes)
  11. -AM_CONDITIONAL(STATIC_LIBRARY, test x$enable_shared_library = xno)
  12. +enable_shared=yes)
  13. +AM_CONDITIONAL(STATIC_LIBRARY, test x$enable_shared = xno)
  14. AC_ARG_ENABLE(selinux,
  15. [ --disable-selinux disable selinux support [[default=auto]]],[], [])
  16. @@ -80,7 +80,7 @@ LIBS=$saved_LIBS
  17. if test "x$enable_selinux" != xno; then
  18. AC_CHECK_LIB(sepol, sepol_bool_set)
  19. AC_CHECK_LIB(selinux, is_selinux_enabled)
  20. - if test x$enable_static = xyes; then
  21. + if test x$enable_static_cryptsetup = xyes; then
  22. SELINUX_STATIC_LIBS=$LIBS
  23. # Check if we need -pthread with --enable-static and selinux
  24. saved_LIBS2=$LIBS
  25. @@ -91,7 +91,7 @@ if test "x$enable_selinux" != xno; then
  26. fi
  27. fi
  28. -if test x$enable_static = xyes; then
  29. +if test x$enable_static_cryptsetup = xyes; then
  30. saved_LIBS2=$LIBS
  31. LIBS="$LIBS -static"
  32. # Check if it there is still not some missing dependency like static selinux libs
  33. @@ -135,8 +135,8 @@ CS_NUM_WITH([luks1-keybits],[key length
  34. dnl ==========================================================================
  35. -AM_CONDITIONAL(STATIC_CRYPTSETUP, test x$enable_static = xyes)
  36. -AM_CONDITIONAL(DYNAMIC_CRYPTSETUP, test x$enable_static = xno)
  37. +AM_CONDITIONAL(STATIC_CRYPTSETUP, test x$enable_static_cryptsetup = xyes)
  38. +AM_CONDITIONAL(DYNAMIC_CRYPTSETUP, test x$enable_static_cryptsetup = xno)
  39. dnl ==========================================================================