diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2022-08-23 00:54:43 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2022-08-23 00:55:23 +0300 |
commit | 64a11fded15b92b56b91d65fd5b2851245f69299 (patch) | |
tree | 687d1215788107ed92e207c07a91447dc1a7ef3f /newlib/configure.ac | |
parent | c3e92052bbaa861d35646e7f9ceb813c8be26a64 (diff) |
Fix problem with _newlib_version.h not being filled in correctly
Diffstat (limited to 'newlib/configure.ac')
-rw-r--r-- | newlib/configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/configure.ac b/newlib/configure.ac index bed444db0..97549ba32 100644 --- a/newlib/configure.ac +++ b/newlib/configure.ac @@ -410,6 +410,11 @@ EOF fi AC_SUBST(EXEEXT_FOR_BUILD) +AC_DEFINE(_NEWLIB_VERSION,"NEWLIB_VERSION","The newlib version in string format.") +AC_DEFINE(__NEWLIB__,NEWLIB_MAJOR_VERSION,"The newlib major version number.") +AC_DEFINE(__NEWLIB_MINOR__,NEWLIB_MINOR_VERSION,"The newlib minor version number.") +AC_DEFINE(__NEWLIB_PATCHLEVEL__,NEWLIB_PATCHLEVEL_VERSION,"The newlib patch level.") + if test "${newlib_elix_level}" -gt "0"; then AC_DEFINE_UNQUOTED(_ELIX_LEVEL, ${newlib_elix_level}, [EL/IX level]) fi |