Changeset 69df7da in rtems for configure.in


Ignore:
Timestamp:
May 22, 1997, 6:13:24 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f5bd03c
Parents:
edd12702
Message:

updated to correct problem in decoding arguments provided to configure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    redd12702 r69df7da  
    422422AC_ARG_ENABLE(posix, \
    423423[  --disable-posix                  disable posix interface], \
    424 RTEMS_HAS_POSIX_API=no,RTEMS_HAS_POSIX_API=yes)
     424[case "${enableval}" in
     425  yes) RTEMS_HAS_POSIX_API=yes ;;
     426  no) RTEMS_HAS_POSIX_API=no ;;
     427  *)  AC_MSG_ERROR(bad value ${enableval} for disable-posix option) ;;
     428esac],[RTEMS_HAS_POSIX_API=yes])
    425429
    426430AC_ARG_ENABLE(tcpip, \
    427431[  --disable-tcpip                  disable KA9Q TCP/IP stack], \
    428 RTEMS_HAS_KA9Q=no,RTEMS_HAS_KA9Q=yes)
     432[case "${enableval}" in
     433  yes) RTEMS_HAS_KA9Q=yes ;;
     434  no) RTEMS_HAS_KA9Q=no ;;
     435  *)  AC_MSG_ERROR(bad value ${enableval} for disable-tcpip option) ;;
     436esac],[RTEMS_HAS_KA9Q=yes])
    429437
    430438AC_ARG_ENABLE(rtems-inlines, \
    431439[  --disable-rtems-inlines          disable RTEMS inline functions (use macros)], \
    432 RTEMS_USE_MACROS=yes,RTEMS_USE_MACROS=no)
     440[case "${enableval}" in
     441  yes) RTEMS_USE_MACROS=yes ;;
     442  no) RTEMS_USE_MACROS=no ;;
     443  *)  AC_MSG_ERROR(bad value ${enableval} for disable-rtems-inlines option) ;;
     444esac],[RTEMS_USE_MACROS=no])
    433445
    434446AC_ARG_ENABLE(gcc28, \
    435447[  --enable-gcc28                   enable use of gcc 2.8.x features], \
    436 RTEMS_USE_GCC272=no,RTEMS_USE_GCC272=yes)
     448[case "${enableval}" in
     449  yes) RTEMS_USE_GCC272=no ;;
     450  no) RTEMS_USE_GCC272=yes ;;
     451  *)  AC_MSG_ERROR(bad value ${enableval} for gcc-28 option) ;;
     452esac],[RTEMS_USE_GCC272=yes])
    437453
    438454AC_ARG_ENABLE(libcdir, \
Note: See TracChangeset for help on using the changeset viewer.