Fix prefix test.

This commit is contained in:
Roy Marples 2008-03-03 08:06:53 +00:00
parent 67c5fd6bb8
commit c67c283b2a
2 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,8 @@
#ifndef PREFIX
# define PREFIX ""
#else
# define HAVE_PREFIX
#endif
#define RC_LEVEL_BOOT "boot"

View File

@ -186,7 +186,7 @@ static bool file_regex (const char *file, const char *regex)
const char *rc_sys (void)
{
#ifdef PREFIX
#ifdef HAVE_PREFIX
return (RC_SYS_PREFIX);
#else