<html><body>
<p>Hi,</p>
<p>I want to define cmacro #define CASESAFE from configure. Please find the patch that I've made, attached. I have put the following in configure</p>
<p>+enable_casesafe</p>
<p>+  --enable-casesafe       enables case safe usernames</p>
<p>+# Check whether --enable-casesafe was given. +if test “${enable_casesafe+set}” = set; then : +  enableval=$enable_casesafe; $as_echo “#define CASESAFE 1” >>confdefs.h +fi</p>
<p>though i run configure --enable-casesafe, CASESAFE is not being defined</p>
<p>should i add ‘#define CASESAFE 1’ to config.h instead of confdefs.h? If so what are the equivalent changes to configure.ac?</p>
<p>In general how to properly define a cmacro from configure or configure.ac?</p>
<p>I may submit the patch but it can always be rejected. I use it on my LFS. I am also doing appropriate changes for musl</p>

<img src="https://u7535577.ct.sendgrid.net/wf/open?upn=W2WV5NpjpLTnx2Qwp2lPexFb1YxibHTOJleHBW4RJJh5GNIDqBtRjT-2BSOoVJj47wmCaAIg-2FSN8539-2BhwVypPHJ1revmp2XuzEvOEi6iWJqjvFf07SL0p8Hl9FfG6vLE2vNwq8hZAkwCOVH2EogDZIsDPD7b-2FKajPjt1nXepjuYaw-2FIzQKqcoq-2FvWWYkHf-2FlVn4Wx0VG0p4btYMAFEQW-2Bby6yEaCQu9uY2mue4q90jxrfDkZXj7RdE4FsjK1HiON5" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>