more fixes for autoconf 2.50:
ac-2.50 does not use config.cache by default so we cannot use it to pass arguments to subdirs configure scripts. Instead, we now export some shell variables to make sure they are part of subdir configure script's environment git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4218,6 +4218,10 @@ if test "$wxUSE_GUI" = "yes"; then
|
||||
wx_cv_program_ext=$PROGRAM_EXT
|
||||
wx_cv_target_library=$WX_TARGET_LIBRARY
|
||||
wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
|
||||
dnl we need to export them because passing them through cache won't
|
||||
dnl work when cache=/dev/null (which is default for autoconf 2.50)
|
||||
export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
|
||||
wx_cv_target_library wx_cv_target_libtype
|
||||
AC_CONFIG_SUBDIRS(demos samples utils contrib)
|
||||
fi
|
||||
dnl from wxUSE_GUI
|
||||
|
Reference in New Issue
Block a user