#
# For a description of the syntax of this configuration file,
# see scripts/config/Kconfig-language.txt
#
menu "Language Bindings"

config CONFIG_BINDINGS
    bool "Create language bindings"
    default n
    help
        axTLS supports language bindings in C#, VB.NET, Java and Perl.

        Select Y here if you want to build the various language bindings.

config CONFIG_CSHARP_BINDINGS
    bool "Create C# bindings"
    default n
    depends on CONFIG_BINDINGS
    help
        Build C# bindings.

        This requires .NET to be installed on Win32 platforms and mono to be
        installed on all other platforms.

config CONFIG_VBNET_BINDINGS
    bool "Create VB.NET bindings"
    default n
    depends on CONFIG_BINDINGS
    help
        Build VB.NET bindings.

        This requires the .NET to be installed and is only built under Win32
        platforms.

menu ".Net Framework"
depends on CONFIG_CSHARP_BINDINGS || CONFIG_VBNET_BINDINGS
config CONFIG_DOT_NET_FRAMEWORK_BASE
    string "Location of .NET Framework"
    default "c:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727"
endmenu

config CONFIG_JAVA_BINDINGS
    bool "Create Java bindings"
    default n
    depends on CONFIG_BINDINGS
    help
        Build Java bindings.

        Current Issues (see README): 
        * Needs Java 1.4 or better.
        * If building under Win32 it will use the Win32 JDK.

menu "Java Home"
depends on CONFIG_JAVA_BINDINGS
config CONFIG_JAVA_HOME
    string "Location of JDK"
    default "c:\\Program Files\\Java\\jdk1.5.0_06" if CONFIG_PLATFORM_WIN32 || CONFIG_PLATFORM_CYGWIN
    default "/usr/local/jdk142" if !CONFIG_PLATFORM_WIN32 && !CONFIG_PLATFORM_CYGWIN
    depends on CONFIG_JAVA_BINDINGS 
    help
        The location of Sun's JDK.
endmenu

config CONFIG_PERL_BINDINGS
    bool "Create Perl bindings"
    default n
    depends on CONFIG_BINDINGS
    help
        Build Perl bindings.

        Current Issues (see README):
        * 64 bit versions don't work at present.
        * libperl.so needs to be in the shared library path.

menu "Perl Home"
depends on CONFIG_PERL_BINDINGS && CONFIG_PLATFORM_WIN32
config CONFIG_PERL_CORE
    string "Location of Perl CORE"
    default "c:\\perl\\lib\\CORE"
    help:
        works with ActiveState
        "http://www.activestate.com/Products/ActivePerl"

config CONFIG_PERL_LIB
    string "Name of Perl Library"
    default "perl58.lib"
endmenu

config CONFIG_LUA_BINDINGS
    bool "Create Lua bindings"
    default n
    depends on CONFIG_BINDINGS && !CONFIG_PLATFORM_WIN32
    help
        Build Lua bindings (see www.lua.org).

menu "Lua Home"
depends on CONFIG_LUA_BINDINGS 
config CONFIG_LUA_CORE
    string "Location of Lua CORE"
    default "/usr/local"
    help:
        If the Lua exists on another directory then this needs to be changed
endmenu

endmenu
