@@ -304,15 +304,12 @@ AS_IF(
)
AC_ARG_ENABLE(
- [ps3],
+ [platform-ps3],
[AS_HELP_STRING(
- [--enable-ps3],
- [build additional programs for the PS3 game console [default=no]]
- )],
- [],
- [enable_ps3=no]
-)
-AM_CONDITIONAL([ENABLE_PS3], [test "x$enable_ps3" = "xyes"])
+ [--enable-platform-ps3],
+ [build support for the PS3 game console [default=no]]
+ )])
+AM_CONDITIONAL([PLATFORM_PS3], [test "x$enable_platform_ps3" = "xyes"])
AC_ARG_ENABLE(
[debug],
@@ -24,7 +24,7 @@ ui_common_libpbui_la_SOURCES = \
ui/common/ui-system.c \
ui/common/ui-system.h
-if ENABLE_PS3
+if PLATFORM_PS3
ui_common_libpbui_la_SOURCES += \
ui/common/ps3.c \
ui/common/ps3.h
@@ -61,7 +61,7 @@ ui_ncurses_libpbnc_la_SOURCES = \
sbin_PROGRAMS += ui/ncurses/petitboot-nc
-if ENABLE_PS3
+if PLATFORM_PS3
sbin_PROGRAMS += ui/ncurses/petitboot-ps3-nc
endif
@@ -38,7 +38,7 @@ ui_twin_libpbt_la_CPPFLAGS = $(ui_twin_common_cppflags)
sbin_PROGRAMS += ui/twin/petitboot-twin
-if ENABLE_PS3
+if PLATFORM_PS3
sbin_PROGRAMS += ui/twin/petitboot-ps3-twin
endif
To prepare for other configure platform names. Signed-off-by: Geoff Levand <geoff@infradead.org> --- configure.ac | 13 +++++-------- ui/common/Makefile.am | 2 +- ui/ncurses/Makefile.am | 2 +- ui/twin/Makefile.am | 2 +- 4 files changed, 8 insertions(+), 11 deletions(-)