1266
1269
--disable-option-checking ignore unrecognized --enable/--with options
1267
1270
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1268
1271
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1269
--disable-crt Do not use the default crt headers
1270
--enable-sdk=ARG Add the desired SDK, where ARG can be one of ddk,
1272
--enable-maintainer-mode enable make rules and dependencies not useful
1273
(and sometimes confusing) to the casual installer
1276
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1277
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1278
--with-sdk=ARG Add the desired SDK, where ARG can be one of ddk,
1271
1279
directx, or all
1273
1281
Report bugs to <mingw-w64-public@lists.sourceforge.net>.
2214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2215
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2216
# Check whether --enable-maintainer-mode was given.
2217
if test "${enable_maintainer_mode+set}" = set; then :
2218
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2220
USE_MAINTAINER_MODE=no
2223
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2224
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2225
if test $USE_MAINTAINER_MODE = yes; then
2226
MAINTAINER_MODE_TRUE=
2227
MAINTAINER_MODE_FALSE='#'
2229
MAINTAINER_MODE_TRUE='#'
2230
MAINTAINER_MODE_FALSE=
2233
MAINT=$MAINTAINER_MODE_TRUE
2206
2237
# Make sure we can run config.sub.
2207
2238
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2208
2239
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2282
2313
# Checks for header files.
2284
GLHEAD_LIST=$srcdir/include/GL/*.h
2285
2315
BASEHEAD_LIST=$srcdir/include/*.h
2286
for i in c dlg h16 hxx rh ver; do
2316
for i in dlg h16 hxx rh ver; do
2287
2317
BASEHEAD_LIST="$BASEHEAD_LIST "$srcdir/include/*.$i
2289
2319
#FIXME: Add in base directx
2294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for c-runtime headers" >&5
2295
$as_echo_n "checking for c-runtime headers... " >&6; }
2296
# Check whether --enable-crt was given.
2297
if test "${enable_crt+set}" = set; then :
2298
enableval=$enable_crt;
2303
if test x$enable_crt=xyes; then
2305
ENABLE_CRT_FALSE='#'
2311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_crt" >&5
2312
$as_echo "$enable_crt" >&6; }
2321
SYSHEAD_LIST=$srcdir/include/sys/*.h
2322
SECHEAD_LIST=$srcdir/include/sec_api/*.h
2323
SECSYSHEAD_LIST=$srcdir/include/sec_api/sys/*.h
2324
GLHEAD_LIST=$srcdir/include/GL/*.h
2325
MINGWHELPERHEAD_LIST=$srcdir/include/psdk_inc/*.h
2314
2334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for optional sdk headers" >&5
2315
2335
$as_echo_n "checking for optional sdk headers... " >&6; }
2316
# Check whether --enable-sdk was given.
2317
if test "${enable_sdk+set}" = set; then :
2318
enableval=$enable_sdk;
2337
# Check whether --with-sdk was given.
2338
if test "${with_sdk+set}" = set; then :
2323
case $enable_sdk in #(
2344
case $with_sdk in #(
2326
enable_sdk="ddk,directx"
2328
enable_directx=yes ;; #(
2347
with_sdk="ddk,directx"
2349
with_directx=yes ;; #(
2332
enable_directx=no ;; #(
2353
with_directx=no ;; #(
2336
enable_directx=yes ;; #(
2357
with_directx=yes ;; #(
2340
enable_directx=no ;; #(
2361
with_directx=no ;; #(
2342
as_fn_error "Invalid option: $enable_sdk. Please choose one of ddk, directx, or all." "$LINENO" 5 ;;
2363
as_fn_error "Invalid option: $with_sdk. Please choose one of ddk, directx, or all." "$LINENO" 5 ;;
2344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sdk" >&5
2345
$as_echo "$enable_sdk" >&6; }
2350
if test $enable_directx = yes; then :
2365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sdk" >&5
2366
$as_echo "$with_sdk" >&6; }
2368
if test $with_directx = yes; then :
2352
2370
DXHEAD_LIST=$srcdir/direct-x/include/*.[hi]*
2371
SDKSHEAD_LIST=$srcdir/direct-x/include/sdks/*.h
2373
SDKSHEAD_LIST=$srcdir/include/sdks/*.h
2358
if test $enable_ddk = yes; then :
2377
if test $with_ddk = yes; then :
2360
2379
DDKHEAD_LIST=$srcdir/ddk/include/ddk/*.h
2380
SDKSHEAD_LIST="$SDKSHEAD_LIST "$srcdir/ddk/include/sdks/*.h
2470
if test -z "${ENABLE_CRT_TRUE}" && test -z "${ENABLE_CRT_FALSE}"; then
2471
as_fn_error "conditional \"ENABLE_CRT\" was never defined.
2489
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2490
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
2472
2491
Usually this means the macro was only invoked conditionally." "$LINENO" 5
3061
3080
case $ac_config_target in
3062
3081
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3063
3082
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3064
"crt/sdks/_mingw_directx.h") CONFIG_FILES="$CONFIG_FILES crt/sdks/_mingw_directx.h" ;;
3065
"crt/sdks/_mingw_ddk.h") CONFIG_FILES="$CONFIG_FILES crt/sdks/_mingw_ddk.h" ;;
3067
3084
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;