[mingw] added --with-freedos to configure

* default is enabled (=> add --without-freedos to disable)
* also update the release process as a result
* also update version to rufus next
* also fixed FreeDOS embedded files lost when RC is edited in Visual Studio
This commit is contained in:
Pete Batard 2012-01-06 16:46:27 +00:00
parent 3187f71933
commit 55e6cd8023
9 changed files with 115 additions and 204 deletions

57
configure vendored
View file

@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for rufus 1.0.6.
# Generated by GNU Autoconf 2.68 for rufus 1.0.7.
#
# Report bugs to <https://github.com/pbatard/rufus/issues>.
#
@ -559,16 +559,18 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='rufus'
PACKAGE_TARNAME='rufus'
PACKAGE_VERSION='1.0.6'
PACKAGE_STRING='rufus 1.0.6'
PACKAGE_VERSION='1.0.7'
PACKAGE_STRING='rufus 1.0.7'
PACKAGE_BUGREPORT='https://github.com/pbatard/rufus/issues'
PACKAGE_URL='https://github.com/pbatard/rufus'
PACKAGE_URL='http://rufus.akeo.ie'
ac_unique_file="src/rufus.c"
ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
EXESUFFIX
AM_RCFLAGS
AM_LDFLAGS
AM_CFLAGS
VISIBILITY_CFLAGS
@ -648,6 +650,7 @@ ac_subst_files=''
ac_user_opts='
enable_option_checking
enable_silent_rules
with_freedos
enable_debug
'
ac_precious_vars='build_alias
@ -1200,7 +1203,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures rufus 1.0.6 to adapt to many kinds of systems.
\`configure' configures rufus 1.0.7 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1266,7 +1269,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of rufus 1.0.6:";;
short | recursive ) echo "Configuration of rufus 1.0.7:";;
esac
cat <<\_ACEOF
@ -1276,7 +1279,12 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-silent-rules less verbose build output (undo: `make V=1')
--disable-silent-rules verbose build output (undo: `make V=0')
--enable-debug keep debug symbols for gdb (default y)
--enable-debug keep debug symbols for gdb (default=yes)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-freedos embed FreeDOS support (default=yes)
Some influential environment variables:
CC C compiler command
@ -1291,7 +1299,7 @@ Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to <https://github.com/pbatard/rufus/issues>.
rufus home page: <https://github.com/pbatard/rufus>.
rufus home page: <http://rufus.akeo.ie>.
_ACEOF
ac_status=$?
fi
@ -1354,7 +1362,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
rufus configure 1.0.6
rufus configure 1.0.7
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@ -1409,7 +1417,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by rufus $as_me 1.0.6, which was
It was created by rufus $as_me 1.0.7, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@ -2224,7 +2232,7 @@ fi
# Define the identity of the package.
PACKAGE='rufus'
VERSION='1.0.6'
VERSION='1.0.7'
cat >>confdefs.h <<_ACEOF
@ -3365,13 +3373,18 @@ $as_echo "#define _GNU_SOURCE /**/" >>confdefs.h
AM_CFLAGS="${AM_CFLAGS} -DWINVER=0x501 -D_WIN32_IE=0x501 -D_WIN32_WINNT=0x501"
AM_LDFLAGS="${AM_LDFLAGS} -Wl,-no-undefined"
# Debug logging
#AC_ARG_ENABLE([log], [AS_HELP_STRING([--enable-log], [enable logging (default y)])],
# [log_enabled=$enableval],
# [log_enabled='yes'])
#if test "x$log_enabled" != "xno"; then
# AC_DEFINE([RUFUS_DEBUG], [1], [Debug logging])
#fi
# Check whether --with-freedos was given.
if test "${with_freedos+set}" = set; then :
withval=$with_freedos;
else
with_freedos=yes
fi
if test "x$with_freedos" != "xno" ; then
AM_RCFLAGS="-DWITH_FREEDOS"
EXESUFFIX="f"
fi
# Debug symbols
# Check whether --enable-debug was given.
@ -3416,6 +3429,8 @@ AM_CFLAGS="$AM_CFLAGS -std=gnu99 -Wshadow -Wall -Wundef -Wunused -Wstrict-protot
ac_config_files="$ac_config_files Makefile"
ac_config_files="$ac_config_files src/Makefile"
@ -3982,7 +3997,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by rufus $as_me 1.0.6, which was
This file was extended by rufus $as_me 1.0.7, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -4030,13 +4045,13 @@ Configuration files:
$config_files
Report bugs to <https://github.com/pbatard/rufus/issues>.
rufus home page: <https://github.com/pbatard/rufus>."
rufus home page: <http://rufus.akeo.ie>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
rufus config.status 1.0.6
rufus config.status 1.0.7
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"