You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.2 KiB

  1. --- a/configure
  2. +++ b/configure
  3. @@ -37,6 +37,7 @@ Usage: ./configure [options]
  4. --disable-iconv disable iconv support
  5. --without-gnapplet disable installation of gnapplet
  6. --without-completion disable installation of bash completion script
  7. +--without-libdbi disable libdbi support
  8. All enable params have their disable counterparts.
  9. @@ -61,6 +62,7 @@ CMAKE_PYTHON=
  10. CMAKE_GNAP=
  11. CMAKE_COMPLETE=
  12. CMAKE_ICONV=
  13. +CMAKE_LIBDBI=
  14. # process command line
  15. while [ "$#" -gt 0 ] ; do
  16. @@ -117,6 +119,9 @@ while [ "$#" -gt 0 ] ; do
  17. --without-completion)
  18. CMAKE_COMPLETE="-DINSTALL_BASH_COMPLETION=OFF"
  19. ;;
  20. + --without-libdbi)
  21. + CMAKE_LIBDBI="-DWITH_LibDBI=OFF"
  22. + ;;
  23. --build=*)
  24. ;;
  25. --disable-dependency-tracking)
  26. @@ -153,4 +158,4 @@ fi
  27. cd "$BUILD_DIR"
  28. # invoke cmake to do configuration
  29. -cmake $SOURCE_DIR $CMAKE_ROOT $CMAKE_PREFIX $CMAKE_SHARED $CMAKE_DEBUG $CMAKE_BACKUP $CMAKE_CROSS $CMAKE_PROTECTION $CMAKE_GNAP $CMAKE_COMPLETE $CMAKE_ICONV
  30. +cmake $SOURCE_DIR $CMAKE_ROOT $CMAKE_PREFIX $CMAKE_SHARED $CMAKE_DEBUG $CMAKE_BACKUP $CMAKE_CROSS $CMAKE_PROTECTION $CMAKE_GNAP $CMAKE_COMPLETE $CMAKE_ICONV $CMAKE_LIBDBI