Changeset f5c58361 in rtems
- Timestamp:
- 02/05/01 18:04:57 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 6e6f0f06
- Parents:
- 2608a535
- Location:
- aclocal
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
aclocal/target.m4
r2608a535 rf5c58361 54 54 fi 55 55 56 echo configuring in $ac_config_dir56 _RTEMS_PUSH_BUILDDIR([$ac_config_dir]) 57 57 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]) 92 59 93 60 # The recursion is here. 94 61 if test -n "$ac_sub_configure"; then 95 62 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 104 64 105 65 echo "[running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir" … … 112 72 then : 113 73 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]) 115 75 fi 116 76 fi 117 77 118 cd $ac_popdir78 _RTEMS_POP_BUILDDIR 119 79 done 120 80 fi
Note: See TracChangeset
for help on using the changeset viewer.