Changeset e412bae in rtems


Ignore:
Timestamp:
Apr 18, 1997, 12:45:32 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
dda5cf4
Parents:
fb07f404
Message:

Modifications to add --enable-libcdir and --enable-gcc28. These
trip options which allow the RTEMS makefile structure to support
both gcc 2.7.2.2 and gcc 2.8 whenever that is released.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Makefile.in

    rfb07f404 re412bae  
    4444RTEMS_HAS_KA9Q = @RTEMS_HAS_KA9Q@
    4545RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
     46RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
     47RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
    4648
    4749ifeq ($(RTEMSBSP),)
     
    8789            \"RTEMS_HAS_KA9Q=$(RTEMS_HAS_KA9Q)\" \
    8890            \"RTEMS_USE_MACROS=$(RTEMS_USE_MACROS)\" \
     91            \"RTEMS_USE_GCC272=$(RTEMS_USE_GCC272)\" \
     92            \"RTEMS_LIBC_DIR=$(RTEMS_LIBC_DIR)\" \
    8993            \"AWK=$(AWK)\" $@" ; \
    9094            eval $$cmd || $(EXIT_CMD); \
  • configure

    rfb07f404 re412bae  
    2323\
    2424  --disable-rtems-inlines           disable RTEMS inline functions (use macros)"
     25ac_help="$ac_help
     26\
     27  --enable-gcc28                    enable use of gcc 2.8.x features"
     28ac_help="$ac_help
     29\
     30  --enable-libcdir=directory        set the directory for the C library"
    2531ac_help="$ac_help
    2632\
     
    908914
    909915echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    910 echo "configure:911: checking whether ${MAKE-make} sets \${MAKE}" >&5
     916echo "configure:917: checking whether ${MAKE-make} sets \${MAKE}" >&5
    911917set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    912918if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    981987
    982988echo $ac_n "checking host system type""... $ac_c" 1>&6
    983 echo "configure:984: checking host system type" >&5
     989echo "configure:990: checking host system type" >&5
    984990
    985991host_alias=$host
     
    10021008
    10031009echo $ac_n "checking target system type""... $ac_c" 1>&6
    1004 echo "configure:1005: checking target system type" >&5
     1010echo "configure:1011: checking target system type" >&5
    10051011
    10061012target_alias=$target
     
    10201026
    10211027echo $ac_n "checking build system type""... $ac_c" 1>&6
    1022 echo "configure:1023: checking build system type" >&5
     1028echo "configure:1029: checking build system type" >&5
    10231029
    10241030build_alias=$build
     
    10781084  RTEMS_USE_MACROS=no
    10791085fi
     1086
     1087
     1088# Check whether --enable-gcc272 or --disable-gcc272 was given.
     1089if test "${enable_gcc272+set}" = set; then
     1090  enableval="$enable_gcc272"
     1091  \
     1092RTEMS_USE_GCC272=no
     1093else
     1094  RTEMS_USE_GCC272=yes
     1095fi
     1096
     1097# Check whether --enable-libcdir or --disable-libcdir was given.
     1098if test "${enable_libcdir+set}" = set; then
     1099  enableval="$enable_libcdir"
     1100  \
     1101 RTEMS_LIBC_DIR="${enableval}" ; \
     1102test -d ${enableval} || { echo "configure: error: "$enableval is not a directory" " 1>&2; exit 1; } 
     1103fi
     1104
    10801105
    10811106
     
    11791204set dummy $ac_prog; ac_word=$2
    11801205echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1181 echo "configure:1182: checking for $ac_word" >&5
     1206echo "configure:1208: checking for $ac_word" >&5
    11821207if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
    11831208  echo $ac_n "(cached) $ac_c" 1>&6
     
    12081233
    12091234echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1210 echo "configure:1211: checking whether ln -s works" >&5
     1235echo "configure:1237: checking whether ln -s works" >&5
    12111236if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    12121237  echo $ac_n "(cached) $ac_c" 1>&6
     
    12501275RTEMS_BSP=$enableval
    12511276fi
     1277
     1278
    12521279
    12531280
     
    14881515s%@RTEMS_HAS_KA9Q@%$RTEMS_HAS_KA9Q%g
    14891516s%@RTEMS_USE_MACROS@%$RTEMS_USE_MACROS%g
     1517s%@RTEMS_USE_GCC272@%$RTEMS_USE_GCC272%g
    14901518s%@PROJECT_ROOT@%$PROJECT_ROOT%g
    14911519s%@program_prefix@%$program_prefix%g
  • configure.in

    rfb07f404 re412bae  
    391391RTEMS_USE_MACROS=yes,RTEMS_USE_MACROS=no)
    392392
     393AC_ARG_ENABLE(gcc272, \
     394[  --enable-gcc28                   enable use of gcc 2.8.x features], \
     395RTEMS_USE_GCC272=no,RTEMS_USE_GCC272=yes)
     396
     397AC_ARG_ENABLE(libcdir, \
     398[  --enable-libcdir=directory       set the directory for the C library], \
     399[ RTEMS_LIBC_DIR="${enableval}" ; \
     400test -d ${enableval} || AC_MSG_ERROR("$enableval is not a directory" ) ] )
     401
     402
    393403RTEMS_PREFIX=${target_cpu}-${target_vendor}
    394404
     
    510520AC_SUBST(RTEMS_HAS_KA9Q)
    511521AC_SUBST(RTEMS_USE_MACROS)
     522AC_SUBST(RTEMS_USE_GCC272)
     523AC_SUBST(RTEMS_LIBC_DIR)
    512524AC_SUBST(PROJECT_ROOT)
    513525AC_SUBST(program_prefix)
Note: See TracChangeset for help on using the changeset viewer.