Changeset 0a9a0f5 in rtems
- Timestamp:
- 11/20/02 02:57:38 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- fd5e23a
- Parents:
- cd1fac6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
rcd1fac6 r0a9a0f5 1 2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * aclocal/quoting.m4: Reworked (Part of fix to PR 312). 4 1 5 2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 6 -
aclocal/quoting.m4
rcd1fac6 r0a9a0f5 1 1 dnl RTEMS_CONFIGURE_ARGS_QUOTE(dnl RETURN_VAR, [ADDITIONAL_CASES], [VAR_TO_PROCESS]]) 2 2 dnl 3 AC_DEFUN([ RTEMS_CONFIGURE_ARGS_QUOTE],3 AC_DEFUN([_RTEMS_CONFIGURE_ARGS_QUOTE], 4 4 [ 5 $1_prune() 6 { 5 7 # Remove --cache-file and --srcdir arguments so they do not pile up. 6 8 $1= 7 9 ac_prev= 8 for ac_arg in m4_if([$3],,[$ac_configure_args],[[$]$3]); do 10 for ac_arg 11 do 9 12 if test -n "$ac_prev"; then 10 13 ac_prev= 11 14 continue 12 15 fi 13 # the eval casts away sh quotes 14 case `eval echo $ac_arg` in 16 case $ac_arg in 15 17 -cache-file | --cache-file | --cache-fil | --cache-fi \ 16 18 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) … … 27 29 ;; 28 30 m4_if([$2],,,[$2]) 29 *) $1="$$1 $ac_arg" ;;31 *) $1="$$1 '$ac_arg'" ;; 30 32 esac 31 33 done 34 export $1 35 } 32 36 ]) 37 38 AC_DEFUN([RTEMS_CONFIGURE_ARGS_QUOTE],[ 39 m4_expand_once([_RTEMS_CONFIGURE_ARGS_QUOTE([$1],[$2])]) 40 eval $1_prune m4_if([$3],,[$ac_configure_args],[[$]$3]) 41 ])
Note: See TracChangeset
for help on using the changeset viewer.