Hi,

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

+enable_casesafe

+  --enable-casesafe       enables case safe usernames

+# Check whether --enable-casesafe was given.
+if test "${enable_casesafe+set}" = set; then :
+  enableval=$enable_casesafe; $as_echo "#define CASESAFE 1" >>confdefs.h
+fi

though i run configure --enable-casesafe, CASESAFE is not being defined

should i add '#define CASESAFE 1' to config.h instead of confdefs.h? If so what 
are the equivalent changes to configure.ac?

In general how to properly define a cmacro from configure or configure.ac?

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


Attachment: shadow-4.1.3-casesafe.patch
Description: Binary data


... Necktwi



_______________________________________________
Pkg-shadow-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-shadow-devel

Reply via email to