configure.ac: add missing "test"
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
		
							parent
							
								
									08c7df9b08
								
							
						
					
					
						commit
						9eecc9ac73
					
				| 
						 | 
					@ -841,7 +841,7 @@ if test "x$WITH_SYSTEMD_DAEMON" = xauto; then
 | 
				
			||||||
	WITH_SYSTEMD_DAEMON="$HAVE_SYSTEMD_DAEMON"
 | 
						WITH_SYSTEMD_DAEMON="$HAVE_SYSTEMD_DAEMON"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
if test "x$WITH_SYSTEMD_DAEMON" = xyes; then
 | 
					if test "x$WITH_SYSTEMD_DAEMON" = xyes; then
 | 
				
			||||||
	if "x$HAVE_SYSTEMD_DAEMON" = xno; then
 | 
						if test "x$HAVE_SYSTEMD_DAEMON" = xno; then
 | 
				
			||||||
		AC_MSG_ERROR([systemd support requested but no library has been found])
 | 
							AC_MSG_ERROR([systemd support requested but no library has been found])
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
	AC_DEFINE(HAVE_SYSTEMD_DAEMON, 1, [Define to 1 if libsystemd-daemon is available])
 | 
						AC_DEFINE(HAVE_SYSTEMD_DAEMON, 1, [Define to 1 if libsystemd-daemon is available])
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue