mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	 20c18c77e1
			
		
	
	20c18c77e1
	
	
	
		
			
			Would you believe that I wrote all of this on a Mac? I just happen to be not using HFS for the partition I did this work on. Oops :)
		
			
				
	
	
		
			31 lines
		
	
	
		
			989 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			989 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| dnl ---------------------------------------------------------------------------
 | |
| dnl Macro: MYSQL_CHECK_EXAMPLEDB
 | |
| dnl Sets HAVE_EXAMPLE_DB if --with-example-storage-engine is used
 | |
| dnl ---------------------------------------------------------------------------
 | |
| AC_DEFUN([MYSQL_CHECK_EXAMPLEDB], [
 | |
|   AC_ARG_WITH([example-storage-engine],
 | |
|               [
 | |
|   --with-example-storage-engine
 | |
|                           Enable the Example Storage Engine],
 | |
|               [exampledb="$withval"],
 | |
|               [exampledb=no])
 | |
|   AC_MSG_CHECKING([for example storage engine])
 | |
| 
 | |
|   case "$exampledb" in
 | |
|     yes )
 | |
|       AC_DEFINE([HAVE_EXAMPLE_DB], [1], [Builds Example DB])
 | |
|       AC_MSG_RESULT([yes])
 | |
|       [exampledb=yes]
 | |
|       ;;
 | |
|     * )
 | |
|       AC_MSG_RESULT([no])
 | |
|       [exampledb=no]
 | |
|       ;;
 | |
|   esac
 | |
| 
 | |
| ])
 | |
| dnl ---------------------------------------------------------------------------
 | |
| dnl END OF MYSQL_CHECK_EXAMPLE SECTION
 | |
| dnl ---------------------------------------------------------------------------
 | |
| 
 |