git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43223
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
dnl to use it for cygwin/mingw32, keep in mind that replacing last
dnl comma with the equal sign works) so
dnl simply disable it
- found_versioning=no
+ wx_cv_version_script=no
;;
*)
case "${host}" in
*-*-cygwin* | *-*-mingw* )
- found_versioning=no
+ wx_cv_version_script=no
;;
*)
ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
- ac_config_files="$ac_config_files version-script Makefile"
+if test "$wx_cv_version_script" = "yes"; then
+ ac_config_files="$ac_config_files version-script"
+
+fi
+ ac_config_files="$ac_config_files Makefile"
ac_config_commands="$ac_config_commands wx-config"
[ chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ],
[ TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}" ])
-AC_CONFIG_FILES([ version-script Makefile ])
+if test "$wx_cv_version_script" = "yes"; then
+ AC_CONFIG_FILES(version-script)
+fi
+AC_CONFIG_FILES(Makefile)
AC_CONFIG_COMMANDS([wx-config],
[ rm -f wx-config