Remove WXWIN_OS_DESCRIPTION.
This constant wasn't very useful as it contained the description of the OS on the machine where the library was built, not the one on which the application using it was running. It also wasn't used anywhere in wxWidgets and apparently wasn't meant to be used outside of it. Finally, putting the output of `uname -r` into it created problems with creating reproducible builds as just a change in the kernel version changed the build results. Closes #17002.
This commit is contained in:
committed by
Vadim Zeitlin
parent
aa4811cdbb
commit
ecf85bf4cb
15
configure.in
15
configure.in
@@ -7395,21 +7395,6 @@ if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl get the string with OS info - used by wxGetOsDescription() on MacOS X
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
if test "$cross_compiling" != "no"; then
|
||||
dnl Use best guess from host as we can't use uname when cross compiling
|
||||
OSINFO="\"$host\""
|
||||
else
|
||||
dnl attualy work out OS version
|
||||
OSINFO=`uname -s -r -m`
|
||||
OSINFO="\"$OSINFO\""
|
||||
fi
|
||||
|
||||
AC_DEFINE_UNQUOTED(WXWIN_OS_DESCRIPTION, $OSINFO)
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl define the variable containing the installation prefix (used in dcpsg.cpp)
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user