configure.ac: fix --enable-X variable names
The patch "remove redundant explicit $enableval assignments" broke several options with non-standard variable names.
This commit is contained in:
		
							
								
								
									
										12
									
								
								configure.ac
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								configure.ac
									
									
									
									
									
								
							| @@ -993,18 +993,18 @@ dnl | |||||||
| AC_ARG_ENABLE(werror, | AC_ARG_ENABLE(werror, | ||||||
| 	AS_HELP_STRING([--enable-werror], | 	AS_HELP_STRING([--enable-werror], | ||||||
| 		[treat warnings as errors (default: disabled)]),, | 		[treat warnings as errors (default: disabled)]),, | ||||||
| 	ENABLE_WERROR=no) | 	enable_werror=no) | ||||||
|  |  | ||||||
| if test "x$ENABLE_WERROR" = xyes; then | if test "x$enable_werror" = xyes; then | ||||||
| 	AM_CFLAGS="$AM_CFLAGS -Werror -pedantic-errors" | 	AM_CFLAGS="$AM_CFLAGS -Werror -pedantic-errors" | ||||||
| fi | fi | ||||||
|  |  | ||||||
| AC_ARG_ENABLE(debug, | AC_ARG_ENABLE(debug, | ||||||
| 	AS_HELP_STRING([--enable-debug], | 	AS_HELP_STRING([--enable-debug], | ||||||
| 		[enable debugging (default: disabled)]),, | 		[enable debugging (default: disabled)]),, | ||||||
| 	ENABLE_DEBUG=no) | 	enable_debug=no) | ||||||
|  |  | ||||||
| #if test "x$ENABLE_DEBUG" = xno; then | #if test "x$enable_debug" = xno; then | ||||||
| 	# don't set NDEBUG for now, until MPD is stable | 	# don't set NDEBUG for now, until MPD is stable | ||||||
| 	#AM_CFLAGS="$AM_CFLAGS -DNDEBUG" | 	#AM_CFLAGS="$AM_CFLAGS -DNDEBUG" | ||||||
| #fi | #fi | ||||||
| @@ -1012,9 +1012,9 @@ AC_ARG_ENABLE(debug, | |||||||
| AC_ARG_ENABLE(gprof, | AC_ARG_ENABLE(gprof, | ||||||
| 	AS_HELP_STRING([--enable-gprof], | 	AS_HELP_STRING([--enable-gprof], | ||||||
| 		[enable profiling via gprof (default: disabled)]),, | 		[enable profiling via gprof (default: disabled)]),, | ||||||
| 	ENABLE_GPROF=no) | 	enable_gprof=no) | ||||||
|  |  | ||||||
| if test "x$ENABLE_GPROF" = xyes; then | if test "x$enable_gprof" = xyes; then | ||||||
| 	MPD_CFLAGS="$MPD_CFLAGS -pg" | 	MPD_CFLAGS="$MPD_CFLAGS -pg" | ||||||
| fi | fi | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann