mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-11-04 07:52:59 +00:00 
			
		
		
		
	Fix --with-{openssl|gnutls} to accept path names
This patch fixes --with-openssl and --with-gnutls and enables both to accept path names, so that you can use "./configure --with-XXX=/path". All the other --with-XXX parameters support this already.
This commit is contained in:
		@@ -315,7 +315,7 @@ fi
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
AC_ARG_WITH(openssl,
 | 
					AC_ARG_WITH(openssl,
 | 
				
			||||||
	[  --with-openssl          enable SSL support using OpenSSL],
 | 
						[  --with-openssl          enable SSL support using OpenSSL],
 | 
				
			||||||
	[	if test "$withval" = "yes"; then
 | 
						[	if test "$withval" != "no"; then
 | 
				
			||||||
			if test "$withval" != "yes"; then
 | 
								if test "$withval" != "yes"; then
 | 
				
			||||||
				CFLAGS="-I$withval/include $CFLAGS"
 | 
									CFLAGS="-I$withval/include $CFLAGS"
 | 
				
			||||||
				CPPFLAGS="-I$withval/include $CPPFLAGS"
 | 
									CPPFLAGS="-I$withval/include $CPPFLAGS"
 | 
				
			||||||
@@ -332,7 +332,7 @@ AC_ARG_WITH(openssl,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
AC_ARG_WITH(gnutls,
 | 
					AC_ARG_WITH(gnutls,
 | 
				
			||||||
	[  --with-gnutls           enable SSL support using gnutls],
 | 
						[  --with-gnutls           enable SSL support using gnutls],
 | 
				
			||||||
	[	if test "$withval" = "yes"; then
 | 
						[	if test "$withval" != "no"; then
 | 
				
			||||||
			if test "$withval" != "yes"; then
 | 
								if test "$withval" != "yes"; then
 | 
				
			||||||
				CFLAGS="-I$withval/include $CFLAGS"
 | 
									CFLAGS="-I$withval/include $CFLAGS"
 | 
				
			||||||
				CPPFLAGS="-I$withval/include $CPPFLAGS"
 | 
									CPPFLAGS="-I$withval/include $CPPFLAGS"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user