diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-18 05:17:54 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-20 03:59:16 +0300 |
commit | 21fb1b461c29b61faf199ec2362ff9a53d6f01e6 (patch) | |
tree | 71112e065cf05d4c6e5c1c3376c5dcb4c40346b6 /newlib/configure | |
parent | 850e08fedbc6fcd15b6db3ea44aaeafb14fb5490 (diff) |
newlib: move version defines out of the config headers
This will make it easier to move newlib.h to use autoheader directly.
We only want the newlib version defines in our hand curated version
file, _newlib_version.h, not in the template header, newlib.h, so
using AC_DEFINE doesn't make much sense.
Diffstat (limited to 'newlib/configure')
-rwxr-xr-x | newlib/configure | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/newlib/configure b/newlib/configure index 624ec89af..2be0a6c33 100755 --- a/newlib/configure +++ b/newlib/configure @@ -638,6 +638,10 @@ HAVE_LONG_DOUBLE_FALSE HAVE_LONG_DOUBLE_TRUE libc_cv_cc_loop_to_function libc_cv_initfinit_array +NEWLIB_PATCHLEVEL_VERSION +NEWLIB_MINOR_VERSION +NEWLIB_MAJOR_VERSION +NEWLIB_VERSION EXEEXT_FOR_BUILD CC_FOR_BUILD STDIO64_OBJECTLIST @@ -11970,7 +11974,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11973 "configure" +#line 11977 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12076,7 +12080,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12079 "configure" +#line 12083 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12572,16 +12576,8 @@ _ACEOF -$as_echo "#define _NEWLIB_VERSION \"4.2.0\"" >>confdefs.h -$as_echo "#define __NEWLIB__ 4" >>confdefs.h - - -$as_echo "#define __NEWLIB_MINOR__ 2" >>confdefs.h - - -$as_echo "#define __NEWLIB_PATCHLEVEL__ 0" >>confdefs.h if test "${multilib}" = "yes"; then |