Changeset f5c58361 in rtems


Ignore:
Timestamp:
02/05/01 18:04:57 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6e6f0f06
Parents:
2608a535
Message:

2001-02-03 Ralf Corsepius <corsepiu@…>

  • aclocal/config-subdirs.m4: New file.
  • aclocal/target.m4: Use macros from config-subdirs.m4.
Location:
aclocal
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/target.m4

    r2608a535 rf5c58361  
    5454    fi
    5555
    56     echo configuring in $ac_config_dir
     56    _RTEMS_PUSH_BUILDDIR([$ac_config_dir])
    5757
    58     case "$srcdir" in
    59 ##    .) ;;
    60     *)
    61       if test -d $ac_config_dir || mkdir $ac_config_dir; then :;
    62       else
    63         AC_MSG_ERROR(can not create `pwd`/$ac_config_dir)
    64       fi
    65       ;;
    66     esac
    67 
    68     ac_popdir=`pwd`
    69     cd $ac_config_dir
    70 
    71 changequote(, )dnl
    72       # A "../" for each directory in /$ac_config_dir.
    73       ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
    74 changequote([, ])dnl
    75 
    76     case "$srcdir" in
    77 ##    .) # No --srcdir option.  We are building in place.
    78 ##      ac_sub_srcdir=$srcdir ;;
    79     /*) # Absolute path.
    80       ac_sub_srcdir=$srcdir/$ac_config_dir ;;
    81     *) # Relative path.
    82       ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
    83     esac
    84 
    85     # Check for configure
    86     if test -f $ac_sub_srcdir/configure; then
    87       ac_sub_configure=$ac_sub_srcdir/configure
    88     else
    89       AC_MSG_WARN(no configuration information is in $ac_config_dir)
    90       ac_sub_configure=
    91     fi
     58    _RTEMS_SUB_SRCDIR([$ac_config_dir])
    9259
    9360    # The recursion is here.
    9461    if test -n "$ac_sub_configure"; then
    9562      ac_sub_cache_file=./config.cache
    96 ifdef([AC_PROVIDE_AC_PROG_INSTALL],
    97       [  case "$ac_given_INSTALL" in
    98 changequote(, )dnl
    99         [/$]*) INSTALL="$ac_given_INSTALL" ;;
    100 changequote([, ])dnl
    101         *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
    102         esac
    103 ])dnl
     63      _RTEMS_GIVEN_INSTALL
    10464
    10565      echo "[running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir"
     
    11272      then :
    11373      else
    114         AC_MSG_ERROR($ac_sub_configure failed for $ac_config_dir)
     74        AC_MSG_ERROR([$ac_sub_configure failed for $ac_config_dir])
    11575      fi
    11676    fi
    11777
    118     cd $ac_popdir
     78    _RTEMS_POP_BUILDDIR
    11979  done
    12080fi
Note: See TracChangeset for help on using the changeset viewer.