Add a build option for ispell.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c66f921179)
v3.5.13-sru
Slávek Banko 4 years ago
parent 2779387ef1
commit 9ffa92f841
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -92,6 +92,7 @@ OPTION( WITH_XRANDR "Build the krandr library" ON )
OPTION( WITH_XCOMPOSITE "Enable xcomposite support" ON ) OPTION( WITH_XCOMPOSITE "Enable xcomposite support" ON )
OPTION( WITH_MITSHM "Use MIT-SHM for pixmap loading/saving" ${WITH_ALL_OPTIONS} ) OPTION( WITH_MITSHM "Use MIT-SHM for pixmap loading/saving" ${WITH_ALL_OPTIONS} )
OPTION( WITH_ISPELL "Enable ispell support" ON )
OPTION( WITH_ASPELL "Enable aspell support" ${WITH_ALL_OPTIONS} ) OPTION( WITH_ASPELL "Enable aspell support" ${WITH_ALL_OPTIONS} )
OPTION( WITH_HSPELL "Enable hspell support" ${WITH_ALL_OPTIONS} ) OPTION( WITH_HSPELL "Enable hspell support" ${WITH_ALL_OPTIONS} )
@ -1076,6 +1077,7 @@ endif( WITH_GAMIN )
##### check for ispell ########################## ##### check for ispell ##########################
if( WITH_ISPELL )
if( NOT ISPELL_LIBDIR ) if( NOT ISPELL_LIBDIR )
find_program( ISPELL_EXECUTABLE NAMES ispell DOC "path to the ispell executable" ) find_program( ISPELL_EXECUTABLE NAMES ispell DOC "path to the ispell executable" )
if( ISPELL_EXECUTABLE ) if( ISPELL_EXECUTABLE )
@ -1091,6 +1093,8 @@ if ( NOT ISPELL_LIBDIR )
endif ( ISPELL_LIBDIR ) endif ( ISPELL_LIBDIR )
endif( ISPELL_EXECUTABLE ) endif( ISPELL_EXECUTABLE )
endif ( NOT ISPELL_LIBDIR ) endif ( NOT ISPELL_LIBDIR )
endif( WITH_ISPELL )
##### check for aspell ########################## ##### check for aspell ##########################

@ -9,12 +9,6 @@
# #
################################################# #################################################
if( WITH_ASPELL ) tde_conditional_add_subdirectory( WITH_ASPELL aspell )
add_subdirectory( aspell ) tde_conditional_add_subdirectory( WITH_HSPELL hspell )
endif(WITH_ASPELL) tde_conditional_add_subdirectory( WITH_ISPELL ispell )
if( WITH_HSPELL )
add_subdirectory( hspell )
endif(WITH_HSPELL)
add_subdirectory( ispell )

Loading…
Cancel
Save