Changeset 69df7da in rtems


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.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    redd12702 r69df7da  
    11041104  enableval="$enable_posix"
    11051105  \
    1106 RTEMS_HAS_POSIX_API=no
     1106case "${enableval}" in
     1107  yes) RTEMS_HAS_POSIX_API=yes ;;
     1108  no) RTEMS_HAS_POSIX_API=no ;;
     1109  *)  { echo "configure: error: bad value ${enableval} for disable-posix option" 1>&2; exit 1; } ;;
     1110esac
    11071111else
    11081112  RTEMS_HAS_POSIX_API=yes
     
    11141118  enableval="$enable_tcpip"
    11151119  \
    1116 RTEMS_HAS_KA9Q=no
     1120case "${enableval}" in
     1121  yes) RTEMS_HAS_KA9Q=yes ;;
     1122  no) RTEMS_HAS_KA9Q=no ;;
     1123  *)  { echo "configure: error: bad value ${enableval} for disable-tcpip option" 1>&2; exit 1; } ;;
     1124esac
    11171125else
    11181126  RTEMS_HAS_KA9Q=yes
     
    11241132  enableval="$enable_rtems_inlines"
    11251133  \
    1126 RTEMS_USE_MACROS=yes
     1134case "${enableval}" in
     1135  yes) RTEMS_USE_MACROS=yes ;;
     1136  no) RTEMS_USE_MACROS=no ;;
     1137  *)  { echo "configure: error: bad value ${enableval} for disable-rtems-inlines option" 1>&2; exit 1; } ;;
     1138esac
    11271139else
    11281140  RTEMS_USE_MACROS=no
     
    11341146  enableval="$enable_gcc28"
    11351147  \
    1136 RTEMS_USE_GCC272=no
     1148case "${enableval}" in
     1149  yes) RTEMS_USE_GCC272=no ;;
     1150  no) RTEMS_USE_GCC272=yes ;;
     1151  *)  { echo "configure: error: bad value ${enableval} for gcc-28 option" 1>&2; exit 1; } ;;
     1152esac
    11371153else
    11381154  RTEMS_USE_GCC272=yes
     
    12481264set dummy $ac_prog; ac_word=$2
    12491265echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1250 echo "configure:1251: checking for $ac_word" >&5
     1266echo "configure:1267: checking for $ac_word" >&5
    12511267if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
    12521268  echo $ac_n "(cached) $ac_c" 1>&6
     
    12771293
    12781294echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1279 echo "configure:1280: checking whether ln -s works" >&5
     1295echo "configure:1296: checking whether ln -s works" >&5
    12801296if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    12811297  echo $ac_n "(cached) $ac_c" 1>&6
  • 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.