Changeset ba1a2af9 in rtems


Ignore:
Timestamp:
12/01/97 21:27:24 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7150f00f
Parents:
b9ca4ba
Message:

Fixed test for RTEMS_HAS_POSIX_API so the executive POSIX API related
Makefiles would be properly generated.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    rb9ca4ba rba1a2af9  
    1919ac_help="$ac_help
    2020\
    21   --disable-posix                   disable posix interface"
     21  --enable-posix                    enable posix interface"
    2222ac_help="$ac_help
    2323\
    24   --disable-ka9q                disable KA9Q TCP/IP stack"
     24  --enable-ka9q                enable KA9Q TCP/IP stack"
    2525ac_help="$ac_help
    2626\
    27   --disable-rtems-inlines           disable RTEMS inline functions (use macros)"
     27  --enable-rtems-inlines            enable RTEMS inline functions (use macros)"
    2828ac_help="$ac_help
    2929\
     
    716716  yes) RTEMS_HAS_POSIX_API=yes ;;
    717717  no) RTEMS_HAS_POSIX_API=no ;;
    718   *)  { echo "configure: error: bad value ${enableval} for disable-posix option" 1>&2; exit 1; } ;;
     718  *)  { echo "configure: error: bad value ${enableval} for enable-posix option" 1>&2; exit 1; } ;;
    719719esac
    720720else
     
    730730  yes) RTEMS_HAS_KA9Q=yes ;;
    731731  no) RTEMS_HAS_KA9Q=no ;;
    732   *)  { echo "configure: error: bad value ${enableval} for disable-ka9q option" 1>&2; exit 1; } ;;
     732  *)  { echo "configure: error: bad value ${enableval} for enable-ka9q option" 1>&2; exit 1; } ;;
    733733esac
    734734else
     
    742742  \
    743743case "${enableval}" in
    744   yes) RTEMS_USE_MACROS=yes ;;
    745   no) RTEMS_USE_MACROS=no ;;
     744  yes) RTEMS_USE_MACROS=no ;;
     745  no) RTEMS_USE_MACROS=yes ;;
    746746  *)  { echo "configure: error: bad value ${enableval} for disable-rtems-inlines option" 1>&2; exit 1; } ;;
    747747esac
     
    13671367
    13681368
    1369 if test "$RTEMS_HAS_POSIX" = "yes"; then
     1369if test "$RTEMS_HAS_POSIX_API" = "yes"; then
    13701370 
    13711371echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6
     
    13831383
    13841384
    1385   makefiles="$makefiles c/src/exec/posix/Makefile"
     1385  makefiles="$makefiles c/src/exec/wrapup/posix/Makefile"
    13861386fi
    13871387
  • configure.in

    rb9ca4ba rba1a2af9  
    1818
    1919AC_ARG_ENABLE(posix, \
    20 [  --disable-posix                  disable posix interface], \
     20[  --enable-posix                   enable posix interface], \
    2121[case "${enableval}" in
    2222  yes) RTEMS_HAS_POSIX_API=yes ;;
    2323  no) RTEMS_HAS_POSIX_API=no ;;
    24   *)  AC_MSG_ERROR(bad value ${enableval} for disable-posix option) ;;
     24  *)  AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
    2525esac],[RTEMS_HAS_POSIX_API=yes])
    2626
    2727AC_ARG_ENABLE(ka9q, \
    28 [  --disable-ka9q                disable KA9Q TCP/IP stack], \
     28[  --enable-ka9q                enable KA9Q TCP/IP stack], \
    2929[case "${enableval}" in
    3030  yes) RTEMS_HAS_KA9Q=yes ;;
    3131  no) RTEMS_HAS_KA9Q=no ;;
    32   *)  AC_MSG_ERROR(bad value ${enableval} for disable-ka9q option) ;;
     32  *)  AC_MSG_ERROR(bad value ${enableval} for enable-ka9q option) ;;
    3333esac],[RTEMS_HAS_KA9Q=yes])
    3434
    3535AC_ARG_ENABLE(rtems-inlines, \
    36 [  --disable-rtems-inlines          disable RTEMS inline functions (use macros)], \
     36[  --enable-rtems-inlines           enable RTEMS inline functions (use macros)], \
    3737[case "${enableval}" in
    38   yes) RTEMS_USE_MACROS=yes ;;
    39   no) RTEMS_USE_MACROS=no ;;
     38  yes) RTEMS_USE_MACROS=no ;;
     39  no) RTEMS_USE_MACROS=yes ;;
    4040  *)  AC_MSG_ERROR(bad value ${enableval} for disable-rtems-inlines option) ;;
    4141esac],[RTEMS_USE_MACROS=no])
     
    172172RTEMS_CHECK_MAKEFILE(c/src/exec/sapi)
    173173
    174 if test "$RTEMS_HAS_POSIX" = "yes"; then
     174if test "$RTEMS_HAS_POSIX_API" = "yes"; then
    175175  RTEMS_CHECK_MAKEFILE(c/src/exec/posix)
    176   makefiles="$makefiles c/src/exec/posix/Makefile"
     176  makefiles="$makefiles c/src/exec/wrapup/posix/Makefile"
    177177fi
    178178
Note: See TracChangeset for help on using the changeset viewer.