added buggy-emsi feature
This commit is contained in:
		
							parent
							
								
									02de329152
								
							
						
					
					
						commit
						9e21057061
					
				@ -41,4 +41,4 @@
 | 
				
			|||||||
 + some changes in autoconf
 | 
					 + some changes in autoconf
 | 
				
			||||||
 * added Type to nlookup
 | 
					 * added Type to nlookup
 | 
				
			||||||
 * fixed 'Ñ' in FAQ
 | 
					 * fixed 'Ñ' in FAQ
 | 
				
			||||||
 
 | 
					 * added buggy-emsi option in configure. use it in case of problems with stupid mailers
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,9 @@
 | 
				
			|||||||
 | 
					2005-06-23  Evgeniy Kozhuhovskiy  <e.kozhuhovskiy@gmail.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* bforce/prot_emsi.c (sm_rx_waitseq): reviewed code for buggy-emsi option
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* configure.in: added --disable-buggy-emsi option for stupid mailers
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2005-06-05  Evgeniy Kozhuhovskiy  <e.kozhuhovskiy@gmail.com>
 | 
					2005-06-05  Evgeniy Kozhuhovskiy  <e.kozhuhovskiy@gmail.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* configure.in: added logdir and spooldir to ./configure
 | 
						* configure.in: added logdir and spooldir to ./configure
 | 
				
			||||||
 | 
				
			|||||||
@ -419,10 +419,12 @@ static int sm_rx_waitseq(s_rx_emsidat *d)
 | 
				
			|||||||
					 */
 | 
										 */
 | 
				
			||||||
					return SM3;
 | 
										return SM3;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					#ifndef BUGGY_EMSI			      
 | 
				
			||||||
				else if( !strncasecmp(d->buf, "EMSI_INQC816", 12) )
 | 
									else if( !strncasecmp(d->buf, "EMSI_INQC816", 12) )
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
				        return SM1;
 | 
									        return SM1;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					#endif /*BUGGY_EMSI*/				
 | 
				
			||||||
				else
 | 
									else
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					DEB((D_HSHAKE, "got unexpected emsi sequence: \"%s\"",
 | 
										DEB((D_HSHAKE, "got unexpected emsi sequence: \"%s\"",
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										19
									
								
								source/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								source/configure
									
									
									
									
										vendored
									
									
								
							@ -855,6 +855,7 @@ Optional Features:
 | 
				
			|||||||
 --enable-log-passwd      write session password to log (default)
 | 
					 --enable-log-passwd      write session password to log (default)
 | 
				
			||||||
 --enable-csy-locks       use '.csy' locks while dialing (default)
 | 
					 --enable-csy-locks       use '.csy' locks while dialing (default)
 | 
				
			||||||
 --enable-syslog		use syslog for logging experimental (default)
 | 
					 --enable-syslog		use syslog for logging experimental (default)
 | 
				
			||||||
 | 
					 --disable-buggy-emsi	disable buggy emsi support (default)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Optional Packages:
 | 
					Optional Packages:
 | 
				
			||||||
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 | 
					  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 | 
				
			||||||
@ -1603,6 +1604,24 @@ _ACEOF
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
fi;
 | 
					fi;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Check whether --enable-buggy_emsi or --disable-buggy_emsi was given.
 | 
				
			||||||
 | 
					if test "${enable_buggy_emsi+set}" = set; then
 | 
				
			||||||
 | 
					  enableval="$enable_buggy_emsi"
 | 
				
			||||||
 | 
					  if test $enableval = yes; then
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cat >>confdefs.h <<\_ACEOF
 | 
				
			||||||
 | 
					#define BUGGY_EMSI 1
 | 
				
			||||||
 | 
					_ACEOF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						fi
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cat >>confdefs.h <<\_ACEOF
 | 
				
			||||||
 | 
					#define BUGGY_EMSI 0
 | 
				
			||||||
 | 
					_ACEOF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					fi;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Check whether --with-uucp-lockdir or --without-uucp-lockdir was given.
 | 
					# Check whether --with-uucp-lockdir or --without-uucp-lockdir was given.
 | 
				
			||||||
if test "${with_uucp_lockdir+set}" = set; then
 | 
					if test "${with_uucp_lockdir+set}" = set; then
 | 
				
			||||||
 | 
				
			|||||||
@ -82,6 +82,11 @@ AC_ARG_ENABLE(syslog,       [ --enable-syslog		use syslog for logging [experimen
 | 
				
			|||||||
		AC_DEFINE([USE_SYSLOG], [1], [Use syslog for logging])
 | 
							AC_DEFINE([USE_SYSLOG], [1], [Use syslog for logging])
 | 
				
			||||||
	fi], [AC_DEFINE([USE_SYSLOG], [1], [Use syslog for logging])])
 | 
						fi], [AC_DEFINE([USE_SYSLOG], [1], [Use syslog for logging])])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					AC_ARG_ENABLE(buggy_emsi,   [ --disable-buggy-emsi	disable buggy emsi support (default)],
 | 
				
			||||||
 | 
						[if test $enableval = yes; then
 | 
				
			||||||
 | 
							AC_DEFINE([BUGGY_EMSI], [1], [Disable buggy emsi])
 | 
				
			||||||
 | 
						fi], [AC_DEFINE([BUGGY_EMSI], [0], [Enable buggy emsi])])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
AC_ARG_WITH(uucp-lockdir,       [ --with-uucp-lockdir      specify directory for UUCP style locks],
 | 
					AC_ARG_WITH(uucp-lockdir,       [ --with-uucp-lockdir      specify directory for UUCP style locks],
 | 
				
			||||||
	[AC_DEFINE_UNQUOTED(BFORCE_LOCK_DIR, "$withval")],
 | 
						[AC_DEFINE_UNQUOTED(BFORCE_LOCK_DIR, "$withval")],
 | 
				
			||||||
	[AC_MSG_CHECKING("UUCP lock files directory")
 | 
						[AC_MSG_CHECKING("UUCP lock files directory")
 | 
				
			||||||
 | 
				
			|||||||
@ -145,3 +145,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/* Define if you have the <unistd.h> header file.  */
 | 
					/* Define if you have the <unistd.h> header file.  */
 | 
				
			||||||
#undef HAVE_UNISTD_H
 | 
					#undef HAVE_UNISTD_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* Define if you want buggy emsi :) */
 | 
				
			||||||
 | 
					#undef BUGGY_EMSI
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user