You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							41 lines
						
					
					
						
							1.4 KiB
						
					
					
				
			
		
		
	
	
							41 lines
						
					
					
						
							1.4 KiB
						
					
					
				| # --- SDE-COPYRIGHT-NOTE-BEGIN --- | |
| # This copyright note is auto-generated by ./scripts/Create-CopyPatch. | |
| # | |
| # Filename: package/.../courier-authlib/courier-authlib.conf | |
| # Copyright (C) 2006 The OpenSDE Project | |
| # | |
| # More information can be found in the files COPYING and README. | |
| # | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; version 2 of the License. A copy of the | |
| # GNU General Public License can be found in the file COPYING. | |
| # --- SDE-COPYRIGHT-NOTE-END --- | |
|  | |
|  | |
| # check for mysql | |
| if pkginstalled mysql ; then | |
| 	pkgprefix -t mysql | |
| 	var_append confopt ' ' "--with-mysql-libs=$root$( pkgprefix libdir mysql )/mysql" | |
| 	var_append confopt ' ' "--with-mysql-includes=$root$( pkgprefix includedir mysql )" | |
| else | |
| 	var_append confopt ' ' "--without-authmysql" | |
| fi | |
|  | |
| # check for postgresql | |
| if pkginstalled postgresql ; then | |
| 	pkgprefix -t postgresql | |
| 	var_append confopt ' ' "--with-pgsql-libs=$root$( pkgprefix libdir postgresql )" | |
| 	var_append confopt ' ' "--with-pgsql-includes=$root$( pkgprefix includedir postgresql )" | |
| else | |
| 	var_append confopt ' ' "--without-authpgsql" | |
| fi | |
|  | |
| # check for openldap | |
| if pkginstalled openldap ; then | |
| 	pkgprefix -t openldap | |
| 	var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir openldap )" | |
| else | |
| 	var_append confopt ' ' "--without-authldap" | |
| fi | |
| 
 | |
| 
 |