# configure.ac

option('enable-debug',
       type : 'combo',
       choices : ['no', 'minimum', 'yes'],
       value : '',
       description : 'turn on debugging @<:@default=glib_debug_default@:>@')

option('enable-gc-friendly',
       type : 'boolean',
       value : false,
       description : 'turn on garbage collector friendliness [default=no]')

option('enable-mem-pools',
       type : 'boolean',
       value : true,
       description : 'disable all glib memory pools')

option('with-runtime-libdir',
       type : 'string',
       value : '',
       description : 'install runtime libraries relative to libdir')

option('with-python',
       type : 'string',
       value : '',
       description : 'Path to Python interpreter; searches $PATH if only a program name is given; if not given, searches for a few standard names such as "python3" or "python2"')

option('with-libiconv',
       type : 'combo',
       choices : ['no', 'gnu', 'native'],
       value : '',
       description : 'use the libiconv library')

option('enable-included-printf',
       type : 'boolean',
       value : false,
       description : 'use included printf [default=auto]')

option('with-gio-module-dir',
       type : 'string',
       value : '',
       description : 'load gio modules from this directory [LIBDIR/gio/modules]')

option('enable-selinux',
       type : 'boolean',
       value : true,
       description : 'build without selinux support')

option('enable-fam',
       type : 'boolean',
       value : true,
       description : 'don't use fam for file system monitoring')

option('enable-xattr',
       type : 'boolean',
       value : true,
       description : 'build without xattr support')

option('enable-libelf',
       type : 'boolean',
       value : true,
       description : 'build without libelf support')

option('enable-libmount',
       type : 'boolean',
       value : false,
       description : 'build with libmount support [default for Linux]')

option('with-threads',
       type : 'combo',
       choices : ['posix', 'win32'],
       value : '',
       description : 'specify a thread implementation to use')

option('with-pcre',
       type : 'combo',
       choices : ['internal', 'system'],
       value : 'system',
       description : 'whether to use system PCRE [default=system]')

option('enable-man',
       type : 'boolean',
       value : false,
       description : 'generate man pages [default=auto]')

option('enable-dtrace',
       type : 'boolean',
       value : false,
       description : 'include tracing support for dtrace')

option('enable-systemtap',
       type : 'boolean',
       value : false,
       description : 'include tracing support for systemtap')

option('with-tapset-install-dir',
       type : 'string',
       value : '',
       description : 'path where systemtap tapsets are installed [DATADIR/systemtap/tapset]')

option('enable-coverage',
       type : 'boolean',
       value : false,
       description : 'enable coverage testing with gcov')

option('enable-bsymbolic',
       type : 'boolean',
       value : true,
       description : 'avoid linking with -Bsymbolic')

option('enable-znodelete',
       type : 'boolean',
       value : true,
       description : 'avoid linking with -z,nodelete')

option('enable-compile-warnings',
       type : 'boolean',
       value : true,
       description : 'Don't use builtin compiler warnings')

# m4macros/glib-2.0.m4

option('enable-glibtest',
       type : 'boolean',
       value : false,
       description : '--disable-glibtest      do not try to compile and run a test GLIB program')

# m4macros/glibtests.m4

option('enable-installed-tests',
       type : 'boolean',
       value : false,
       description : 'Enable installation of some test cases')

option('enable-always-build-tests',
       type : 'boolean',
       value : false,
       description : 'Enable always building tests during 'make all'')

# m4macros/ltoptions.m4

option('enable-shared',
       type : 'string',
       value : '',
       description : 'build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@')

option('enable-static',
       type : 'string',
       value : '',
       description : 'build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@')

option('enable-fast-install',
       type : 'string',
       value : '',
       description : 'optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@')

option('with-aix-soname',
       type : 'combo',
       choices : ['aix', 'svr4', 'both'],
       value : 'aix',
       description : 'shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.')

option('with-pic',
       type : 'string',
       value : '',
       description : 'try to use only PIC/non-PIC objects @<:@default=use both@:>@')

# m4macros/gtk-doc.m4

option('with-html-dir',
       type : 'string',
       value : '',
       description : 'path to installed docs')

option('enable-gtk-doc',
       type : 'boolean',
       value : false,
       description : 'use gtk-doc to build documentation [[default=no]]')

option('enable-gtk-doc-html',
       type : 'boolean',
       value : false,
       description : 'build documentation in html format [[default=yes]]')

option('enable-gtk-doc-pdf',
       type : 'boolean',
       value : false,
       description : 'build documentation in pdf format [[default=no]]')

# m4macros/gsettings.m4

option('enable-schemas-compile',
       type : 'boolean',
       value : true,
       description : 'Disable regeneration of gschemas.compiled on install')

# m4macros/libtool.m4

option('with-sysroot',
       type : 'string',
       value : '',
       description : 'Search for dependent libraries within DIR (or the compiler's sysroot
   if not specified).')

option('enable-libtool-lock',
       type : 'boolean',
       value : true,
       description : 'avoid locking (might break parallel builds)')

option('with-gnu-ld',
       type : 'boolean',
       value : false,
       description : 'assume the C compiler uses GNU ld @<:@default=no@:>@')


