mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Support for finding gssapi functions in the library "gss", as required
by Solaris 10 and possibly others. Stefan Kaltenbrunner
This commit is contained in:
		
							
								
								
									
										2
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@@ -6824,7 +6824,7 @@ fi
 | 
			
		||||
rm -f conftest.err conftest.$ac_objext \
 | 
			
		||||
      conftest$ac_exeext conftest.$ac_ext
 | 
			
		||||
if test "$ac_cv_search_gss_init_sec_context" = no; then
 | 
			
		||||
  for ac_lib in gssapi_krb5 'gssapi -lkrb5 -lcrypto'; do
 | 
			
		||||
  for ac_lib in gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'; do
 | 
			
		||||
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 | 
			
		||||
    cat >conftest.$ac_ext <<_ACEOF
 | 
			
		||||
/* confdefs.h.  */
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
dnl Process this file with autoconf to produce a configure script.
 | 
			
		||||
dnl $PostgreSQL: pgsql/configure.in,v 1.520 2007/07/12 14:36:52 mha Exp $
 | 
			
		||||
dnl $PostgreSQL: pgsql/configure.in,v 1.521 2007/07/14 11:13:28 mha Exp $
 | 
			
		||||
dnl
 | 
			
		||||
dnl Developers, please strive to achieve this order:
 | 
			
		||||
dnl
 | 
			
		||||
@@ -767,7 +767,7 @@ fi
 | 
			
		||||
 | 
			
		||||
if test "$with_gssapi" = yes ; then
 | 
			
		||||
  if test "$PORTNAME" != "win32"; then
 | 
			
		||||
    AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 'gssapi -lkrb5 -lcrypto'], [],
 | 
			
		||||
    AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
 | 
			
		||||
		 		  [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
 | 
			
		||||
  else
 | 
			
		||||
    LIBS="$LIBS -lgssapi32"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user