#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.65 for Wine 1.2-rc1.
+# Generated by GNU Autoconf 2.65 for Wine 1.2.
#
# Report bugs to <wine-devel@winehq.org>.
#
# Identity of this package.
PACKAGE_NAME='Wine'
PACKAGE_TARNAME='wine'
-PACKAGE_VERSION='1.2-rc1'
-PACKAGE_STRING='Wine 1.2-rc1'
+PACKAGE_VERSION='1.2'
+PACKAGE_STRING='Wine 1.2'
PACKAGE_BUGREPORT='wine-devel@winehq.org'
PACKAGE_URL='http://www.winehq.org'
XMKMF
LIBPTHREAD
CROSSTARGET
-CROSSTEST
CROSSCC
+CROSSTEST_DISABLE
CARBONLIB
FRAMEWORK_OPENAL
COREAUDIO
OPENGL_LIBS
XLIB
PRELINK
+MAINTAINER_MODE
ICOTOOL
CONVERT
RSVG
build_vendor
build_cpu
build
-MAINTAINER_MODE
target_alias
host_alias
build_alias
# 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 Wine 1.2-rc1 to adapt to many kinds of systems.
+\`configure' configures Wine 1.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of Wine 1.2-rc1:";;
+ short | recursive ) echo "Configuration of Wine 1.2:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-Wine configure 1.2-rc1
+Wine configure 1.2
generated by GNU Autoconf 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by Wine $as_me 1.2-rc1, which was
+It was created by Wine $as_me 1.2, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ $0 $@
# Check whether --enable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then :
enableval=$enable_maintainer_mode;
-else
- MAINTAINER_MODE=\#
-
fi
test -n "$ICOTOOL" || ICOTOOL="false"
-if test "${enable_maintainer_mode+set}" = set
+if test "x$enable_maintainer_mode" != "xyes"
then
+ MAINTAINER_MODE=\#
+
+else
if test "$FONTFORGE" = "false"; then as_fn_append wine_warnings "|fontforge is missing, fonts can't be rebuilt."; fi
if test "$RSVG" = "false"; then as_fn_append wine_warnings "|rsvg is missing, icons can't be rebuilt."; fi
for ac_header in \
AL/al.h \
AudioToolbox/AudioConverter.h \
- AudioToolbox/AudioFile.h \
- AudioToolbox/AudioFileStream.h \
AudioUnit/AudioUnit.h \
Carbon/Carbon.h \
CoreAudio/CoreAudio.h \
machine/cpu.h \
machine/limits.h \
machine/soundcard.h \
+ machine/sysarch.h \
mntent.h \
mpg123.h \
ncurses.h \
then
COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
- ac_save_LIBS="$LIBS"
- if test "$ac_cv_header_AudioToolbox_AudioFile_h" = "yes"
- then
- LIBS="$LIBS $COREAUDIO"
- for ac_func in AudioFileStreamOpen
-do :
- ac_fn_c_check_func "$LINENO" "AudioFileStreamOpen" "ac_cv_func_AudioFileStreamOpen"
-if test "x$ac_cv_func_AudioFileStreamOpen" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_AUDIOFILESTREAMOPEN 1
-_ACEOF
-
-fi
-done
-
- LIBS="$ac_save_LIBS"
- fi
- test "x$ac_cv_func_AudioFileStreamOpen" = xyes || as_fn_append wine_notices "|AudioToolbox version too old, mp3 codec won't be supported."
fi
if test "$ac_cv_header_OpenAL_al_h" = "yes"
then
" "$LINENO" 5
fi
-if test "$cross_compiling" = "no" -a "$LIBEXT" != "dll"
+CROSSTEST_DISABLE=\#
+
+if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
then
case "$host_cpu" in
i[3456789]86*)
if test "$CROSSCC" != "false"
then
- CROSSTEST="\$(CROSSTEST)"
-
+ CROSSTEST_DISABLE=""
set x $CROSSCC
shift
target=""
This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
esac
fi
-test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_func_AudioFileStreamOpen" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
+test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
if test "$ac_cv_header_AL_al_h" = "yes"
then
EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
fi
- if test "${enable_maintainer_mode+set}" = set
+ saved_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -Werror"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken unused result warnings" >&5
+$as_echo_n "checking for broken unused result warnings... " >&6; }
+if test "${ac_cv_c_unused_result_warnings+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <unistd.h>
+int
+main ()
+{
+write(2,"a",1)
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_c_unused_result_warnings=no
+else
+ ac_cv_c_unused_result_warnings=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_unused_result_warnings" >&5
+$as_echo "$ac_cv_c_unused_result_warnings" >&6; }
+ CFLAGS="$saved_CFLAGS"
+ if test "$ac_cv_c_unused_result_warnings" = "yes"
+ then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-unused-result" >&5
+$as_echo_n "checking whether the compiler supports -Wno-unused-result... " >&6; }
+if test "${ac_cv_cflags__Wno_unused_result+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_wine_try_cflags_saved=$CFLAGS
+CFLAGS="$CFLAGS -Wno-unused-result"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main(int argc, char **argv) { return 0; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_cflags__Wno_unused_result=yes
+else
+ ac_cv_cflags__Wno_unused_result=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+CFLAGS=$ac_wine_try_cflags_saved
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_unused_result" >&5
+$as_echo "$ac_cv_cflags__Wno_unused_result" >&6; }
+if test $ac_cv_cflags__Wno_unused_result = yes; then :
+ EXTRACFLAGS="$EXTRACFLAGS -Wno-unused-result"
+fi
+ fi
+
+ if test "x$enable_maintainer_mode" = "xyes"
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
$as_echo_n "checking whether the compiler supports -Werror... " >&6; }
{
ac_dir=$1
ac_enable=$2
- wine_fn_all_dir_rules $ac_dir "Make.rules \$(MAKEDEP)"
-
eval as_val=\$$ac_enable
if test "x$as_val" = x""no; then :
+ return 0
+fi
-else
- wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
+ wine_fn_all_dir_rules $ac_dir "Make.rules \$(MAKEDEP)"
+ wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"all: $ac_dir
.PHONY: $ac_dir
$ac_dir: $ac_dir/Makefile dummy
@cd $ac_dir && \$(MAKE) install-dev
uninstall:: $ac_dir/Makefile
@cd $ac_dir && \$(MAKE) uninstall"
-fi
}
wine_fn_config_lib ()
wine_fn_all_dir_rules $ac_dir "dlls/Makeimplib.rules \$(MAKEDEP)"
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"all __builddeps__: $ac_dir
-__buildcrossdeps__: $ac_dir/lib$ac_name.cross.a
-$ac_dir $ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include
-$ac_dir: dummy
+$ac_dir: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include dummy
@cd $ac_dir && \$(MAKE)
-$ac_dir/lib$ac_name.cross.a: dummy
- @cd $ac_dir && \$(MAKE) lib$ac_name.cross.a
install install-dev:: $ac_dir
@cd $ac_dir && \$(MAKE) install
uninstall:: $ac_dir/Makefile
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
-__buildcrossdeps__: $ac_file.cross.a
$ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
$ac_file.def: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile
- @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
-$ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/Makefile dummy
- @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
+ @cd dlls/$ac_dir && \$(MAKE) lib$ac_implib.def
+$ac_file.$STATIC_IMPLIBEXT: dlls/$ac_dir/Makefile dummy
+ @cd dlls/$ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
install-dev:: dlls/$ac_dir/Makefile __builddeps__
@cd dlls/$ac_dir && \$(MAKE) install-dev"
+ if test "x$CROSSTEST_DISABLE" = x
+ then
+ wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
+"__builddeps__: $ac_file.cross.a
+$ac_file.cross.a: dlls/$ac_dir/Makefile dummy
+ @cd dlls/$ac_dir && \$(MAKE) lib$ac_implib.cross.a"
+ fi
+
elif test -n "$ac_implib"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"__builddeps__: $ac_file.$IMPLIBEXT
-__buildcrossdeps__: $ac_file.cross.a
-$ac_file.$IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile $ac_deps
- @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
+$ac_file.$IMPLIBEXT: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile $ac_deps
+ @cd dlls/$ac_dir && \$(MAKE) lib$ac_implib.$IMPLIBEXT
install-dev:: dlls/$ac_dir/Makefile __builddeps__
@cd dlls/$ac_dir && \$(MAKE) install-dev"
+ if test "x$CROSSTEST_DISABLE" = x
+ then
+ wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
+"__builddeps__: $ac_file.cross.a
+$ac_file.cross.a: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile $ac_deps
+ @cd dlls/$ac_dir && \$(MAKE) lib$ac_implib.cross.a"
+ fi
if test "$ac_dir" != "$ac_implib"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
"__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
-__buildcrossdeps__: dlls/lib$ac_implib.cross.a
dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
\$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.$IMPLIBEXT \$@
-dlls/lib$ac_implib.cross.a: $ac_file.cross.a
- \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.cross.a \$@
clean::
\$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
+ if test "x$CROSSTEST_DISABLE" = x
+ then
+ wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
+"__builddeps__: dlls/lib$ac_implib.cross.a
+dlls/lib$ac_implib.cross.a: $ac_file.cross.a
+ \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.cross.a \$@"
+ fi
fi
fi
}
.PHONY: $ac_dir
$ac_dir: $ac_dir/Makefile __builddeps__ dummy
@cd $ac_dir && \$(MAKE)
-crosstest: $ac_dir/__crosstest__
-.PHONY: $ac_dir/__crosstest__
-$ac_dir/__crosstest__: $ac_dir/Makefile __buildcrossdeps__ dummy
- @cd $ac_dir && \$(MAKE) crosstest
test: $ac_dir/__test__
.PHONY: $ac_dir/__test__
$ac_dir/__test__: dummy
@cd $ac_dir && \$(MAKE) test
testclean::
\$(RM) $ac_dir/*.ok"
+
+ if test "x$CROSSTEST_DISABLE" = x
+ then
+ wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
+"crosstest: $ac_dir/__crosstest__
+.PHONY: $ac_dir/__crosstest__
+$ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
+ @cd $ac_dir && \$(MAKE) crosstest"
+ else
+ wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
+"crosstest:
+ @echo \"crosstest is not supported (mingw not installed?)\" && false"
+ fi
fi
}
wine_fn_config_test dlls/amstream/tests amstream_test
wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
wine_fn_config_dll atl enable_atl atl
+wine_fn_config_test dlls/atl/tests atl_test
wine_fn_config_dll authz enable_authz
wine_fn_config_dll avicap32 enable_avicap32 avicap32
wine_fn_config_dll avifil32 enable_avifil32 avifil32
wine_fn_config_dll mstask enable_mstask
wine_fn_config_test dlls/mstask/tests mstask_test
wine_fn_config_dll msvcirt enable_msvcirt
+wine_fn_config_dll msvcp90 enable_msvcp90
+wine_fn_config_test dlls/msvcp90/tests msvcp90_test
wine_fn_config_dll msvcr100 enable_msvcr100
wine_fn_config_dll msvcr70 enable_msvcr70 msvcr70
wine_fn_config_dll msvcr71 enable_msvcr71 msvcr71
wine_fn_config_dll pidgen enable_pidgen
wine_fn_config_dll powrprof enable_powrprof powrprof
wine_fn_config_dll printui enable_printui
-wine_fn_config_dll propsys enable_propsys
+wine_fn_config_dll propsys enable_propsys propsys
+wine_fn_config_test dlls/propsys/tests propsys_test
wine_fn_config_dll psapi enable_psapi psapi
wine_fn_config_test dlls/psapi/tests psapi_test
wine_fn_config_dll pstorec enable_pstorec
wine_fn_config_program regedit enable_regedit installbin
wine_fn_config_program regsvr32 enable_regsvr32 installbin
wine_fn_config_program rpcss enable_rpcss install
+wine_fn_config_program rundll.exe16 enable_win16 install
wine_fn_config_program rundll32 enable_rundll32 install
wine_fn_config_program sc enable_sc install
wine_fn_config_program secedit enable_secedit install
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by Wine $as_me 1.2-rc1, which was
+This file was extended by Wine $as_me 1.2, which was
generated by GNU Autoconf 2.65. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-Wine config.status 1.2-rc1
+Wine config.status 1.2
configured by $0, generated by GNU Autoconf 2.65,
with options \\"\$ac_cs_config\\"