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

mainmenu "axTLS Configuration"

config HAVE_DOT_CONFIG
    bool
    default y

choice 
    prompt "Platform"
    default CONFIG_PLATFORM_LINUX

config CONFIG_PLATFORM_LINUX
    bool "Linux"

config CONFIG_PLATFORM_CYGWIN
    bool "Cygwin"

config CONFIG_PLATFORM_WIN32
    bool "Win32"

endchoice 

menu "General Configuration"

config PREFIX
    string "axTLS installation prefix"
    depends on !CONFIG_PLATFORM_WIN32
    default "/usr/local"
    help
      Define your directory to install axTLS files/subdirs in.

config CONFIG_DEBUG
    bool "Build axTLS with Debugging symbols"
    default n
    help
      Say Y here if you wish to compile axTLS with debugging symbols.
      This will allow you to use a debugger to examine axTLS internals.  
      This increases the size of the binary considerably and should only be 
      used when doing development.
      If you are doing development and want to debug axTLS, answer Y.

      Most people should answer N.

config CONFIG_STRIP_UNWANTED_SECTIONS
    depends on !CONFIG_PLATFORM_WIN32 && !CONFIG_DEBUG
    bool "Strip unwanted sections from elf binaries"
    default y
    help
        Strip unwanted sections from the resulting binaries

menu "Microsoft Compiler Options"
depends on CONFIG_PLATFORM_WIN32

choice 
    prompt "Compiler"
    depends on CONFIG_PLATFORM_WIN32
    default CONFIG_VISUAL_STUDIO_7_0

config CONFIG_VISUAL_STUDIO_7_0
    bool "Visual Studio 7.0 (2003)"
    help 
        Use Microsoft's Visual Studio 2003 platform.

config CONFIG_VISUAL_STUDIO_8_0
    bool "Visual Studio 8.0 (2005)"
    help 
        Use Microsoft's Visual Studio 2005 platform.

endchoice

config CONFIG_VISUAL_STUDIO_7_0_BASE
    string "Base"
    depends on CONFIG_VISUAL_STUDIO_7_0
    default "c:\\Program Files\\Microsoft Visual Studio .NET 2003"

config CONFIG_VISUAL_STUDIO_8_0_BASE
    string "Base"
    depends on CONFIG_VISUAL_STUDIO_8_0
    default "c:\\Program Files\\Microsoft Visual Studio 8"

endmenu

config CONFIG_EXTRA_CFLAGS_OPTIONS
    string "Any extra CFLAGS options for the compiler?"
    help
        Do you want to pass any extra CFLAGS options to the compiler as  
        you build axTLS? If so, this is the option for you...  For
        example, if you want to add some simple compiler switches (like
        -march=i686), or check for warnings using -Werror, just those 
        options here.

config CONFIG_EXTRA_LDFLAGS_OPTIONS
    string "Any extra LDFLAGS options for the compiler?"
    help
        Do you want to pass any extra LDFLAGS options to the compiler?

endmenu

source ssl/Config.in
config CONFIG_AXHTTPD
    bool "Enable HTTP/HTTPS Web Server"
    default y
    help
        Build the AXHTTPD web server

source httpd/Config.in
source bindings/Config.in
source samples/Config.in
source ssl/BigIntConfig.in

