#3271: Udev/Systemd 197
--------------------+-------------------------------------------------------
 Reporter:  Krejzi  |       Owner:  bdubbs@…                   
     Type:  task    |      Status:  assigned                   
 Priority:  normal  |   Milestone:  7.3                        
Component:  Book    |     Version:  SVN                        
 Severity:  normal  |    Keywords:                             
--------------------+-------------------------------------------------------

Comment(by Krejzi):

 Also, you can always check for function like this (It's probably
 incorrect)

 {{{
 printf '#include <stdlib.h>\nint main(void){__secure_getenv();}' | gcc -xc
 - -o /dev/null && CFLAGS+=-DHAVE___SECURE_GETENV
 printf '#include <stdlib.h>\nint main(void){secure_getenv();}' | gcc -xc -
 -o /dev/null && CFLAGS+=-DHAVE_SECURE_GETENV
 }}}

 Just find a right way to do it in Makefile.

 Also, on my system, I've noticed this

 {{{
 checking for __secure_getenv... no
 checking for secure_getenv... yes
 }}}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3271#comment:7>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to