Re: [PATCH 3/5] libgloss: merge libgloss into top-level Makefile

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <YgD++hrxLboZ8G1H@vapier>
On 05 Feb 2022 00:46, Mike Frysinger wrote:
> +if CONFIG_LIBNOSYS
> +include libnosys/Makefile.inc
> +endif
> --- a/libgloss/configure.ac
> +++ b/libgloss/configure.ac
> @@ -230,10 +230,7 @@ dnl if test "${config_testsuite}" = "true";
>  dnl   then AC_CONFIG_SUBDIRS([testsuite])
>  dnl fi
>  
> -if test "${config_libnosys}" = "true"; then
> -  AC_CONFIG_FILES([libnosys/Makefile])
> -  subdirs="$subdirs libnosys"
> -fi
> +AM_CONDITIONAL(CONFIG_LIBNOSYS, test x$config_libnosys = xtrue)
>  
>  LIB_AC_PROG_CC
>  AS=${AS-as}

i'm not super happy with the CONFIG_xxx naming.  newlib doesn't seem to have
an existing convention for me to copy & paste.  there is LIB*_MACHINE_DIR,
but those correspond to specific machine/xxx/ subdirs.

i guess i could use the newlib pattern and name these HAVE_xxx_DIR.
-mike
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmIA/voACgkQQWM7n+g3
9YFCURAA1lKLKc3Vih+mIzZAWMFpSWijaYfpXDuRdnPg1tmV8qdzM9hbrrS7JUAm
o8yXlyEK6NmhILUn2men0p430t55rcxCVxIazG4ZpcyuV5/eRcDgsMPaqV7aMzE9
OlSyQTeFUpm1IVJL+0IECzXQmEkGotBb9xt/bCQj/MaUHHnHTRT9Sl6inOFNVjOG
f28EpXWWVrzevqzgaw1zv0omSKeLQljzShV/QWMIidFpL3yS8IMHF3Q5DkA7LuWT
sWW8QhUGXV3CKmL8V0vh4MG5gJKfgSxhn9y24MU1DLuqGvyeQd3TjeXa1nItQsHz
orDVetusRaKLzzTCQeMI6Bc65+Xr+pF+Es6ukNCbc/qGDvzNwIODS4Dcoby8Md9u
4MgDtFbvuTvvalnqoirSVEiqQA5CznoP8JeUJHV538os8U8YuU479T+3Q/IR+jHT
1+Qn/znh1AbVsbTyYYlG5PVoUx8hHdv5o0loZ81gZKGhHxZorCYJXzfmrnt7tiSF
aKKVdy4vw4IAriE6TyE5BaF2917f9wIiQZgstW010piwKQAGVPPRCb4+6Q0IyS77
r8AZkg8W08tK7KY0D1nbzqRL2DHH75Lk6VCnrrX5LYtktXUD9ikxqrFigsUsC4K1
PARayyfCxd+pbmwmvzRcas3LPkfJgJ9KfUZxXu2sqR5u8Jxyh1w=
=fsAY
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.