Bug 345

Summary: ./configure produces warning message with --without-ldap
Product: Sudo Reporter: T Chan <something-bz>
Component: ConfigureAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: low    
Version: 1.7.0   
Hardware: PC   
OS: Linux   
Attachments: configure.in patch

Description T Chan 2009-04-10 16:34:34 MDT
Created attachment 251 [details]
configure.in patch

Lack of quotes around a shell variable cause it to expand to nothing when --without-ldap is set (because with_ldap=no is changed to with_ldap="" earlier in the script):
    checking for getspnam... yes
    ./configure: line 22314: test: !=: unary operator expected
    checking for log file location... /var/log/sudo.log

Otherwise it behaves as expected, but seems a bit fragile.
Comment 1 Todd C. Miller 2009-04-10 17:00:09 MDT
Thanks, this will be fixed in 1.7.1
Comment 2 Todd C. Miller 2009-04-18 19:19:00 MDT
Fixed in sudo 1.7.1, released today