prefer ndbm.h to dbm.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10637 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		
							
								
								
									
										6
									
								
								cf/db.m4
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								cf/db.m4
									
									
									
									
									
								
							@@ -92,10 +92,10 @@ if test "$db_type" = "unknown" -o "$ac_cv_func_dbm_firstkey" = ""; then
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  AC_FIND_FUNC_NO_LIBS(dbm_firstkey, ndbm, [
 | 
					  AC_FIND_FUNC_NO_LIBS(dbm_firstkey, ndbm, [
 | 
				
			||||||
  #include <stdio.h>
 | 
					  #include <stdio.h>
 | 
				
			||||||
  #if defined(HAVE_DBM_H)
 | 
					  #if defined(HAVE_NDBM_H)
 | 
				
			||||||
  #include <dbm.h>
 | 
					 | 
				
			||||||
  #elif defined(HAVE_NDBM_H)
 | 
					 | 
				
			||||||
  #include <ndbm.h>
 | 
					  #include <ndbm.h>
 | 
				
			||||||
 | 
					  #elif defined(HAVE_DBM_H)
 | 
				
			||||||
 | 
					  #include <dbm.h>
 | 
				
			||||||
  #else
 | 
					  #else
 | 
				
			||||||
  #error no ndbm.h
 | 
					  #error no ndbm.h
 | 
				
			||||||
  #endif
 | 
					  #endif
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user