2 # Process this file with autoconf to produce a configure script.
5 AC_INIT(parthenope, svn91, cjg)
6 AC_CONFIG_SRCDIR([src/parthenope.c])
7 AC_CONFIG_HEADER([config.h])
10 # Checks for programs.
14 # Checks for libraries.
16 # Checks for header files.
18 # Checks for typedefs, structures, and compiler characteristics.
22 # Checks for library functions.
24 # Conditional compilation
25 AC_ARG_ENABLE(platform,
26 AC_HELP_STRING([--enable-platform=platform],
27 [Select for which should be built: uboot (default) or openfirmware]),
28 [case "${enableval}" in
36 AC_MSG_ERROR([bad value ${enableval} for --enable-platform option])
41 AM_CONDITIONAL(USE_UBOOT, test x"$platform" = xuboot)
42 AM_CONDITIONAL(USE_OPENFIRMWARE, test x"$platform" = xopenfirmware)
43 AC_CONFIG_FILES([Makefile