<<< Date Index >>>     <<< Thread Index >>>

Re: mutt/2046: Configuring --without-domain leads to literal DOMAIN="no"



moritz+mutt@xxxxxxxxxxxx writes:
> >Number:         2046
> >Notify-List:    
> >Category:       mutt
> >Synopsis:       Configuring --without-domain leads to literal DOMAIN="no"

 This simple patch should have the desired effect, as the code itself is
 already ifdef'd for DOMAIN:

--- configure.in.orig   2005-08-24 15:34:40.000000000 +0100
+++ configure.in        2005-08-25 15:07:29.000000000 +0100
@@ -483,7 +483,9 @@
                                                                                
                                                                            
 AC_ARG_WITH(domain, AC_HELP_STRING([--with-domain=DOMAIN], [Specify your DNS 
domain name]),
         [if test $withval != yes; then
+            if test $withval != no; then
                 AC_DEFINE_UNQUOTED(DOMAIN,"$withval",[ Define your domain 
name. ])
+            fi
         fi])
                                                                                
                                                                            
 need_socket="no"