/[autoconf]/autoconf/lib/autoconf/general.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/general.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.805 by akim, Thu Oct 17 10:34:11 2002 UTC revision 1.806 by akim, Tue Oct 22 12:18:46 2002 UTC
# Line 1135  m4_define([_AC_INIT_PREPARE], Line 1135  m4_define([_AC_INIT_PREPARE],
1135  # Keep a trace of the command line.  # Keep a trace of the command line.
1136  # Strip out --no-create and --no-recursion so they do not pile up.  # Strip out --no-create and --no-recursion so they do not pile up.
1137  # Also quote any args containing shell meta-characters.  # Also quote any args containing shell meta-characters.
1138    # Make two passes to allow for proper duplicate-argument suppression.
1139  ac_configure_args=  ac_configure_args=
1140    ac_configure_args0=
1141    ac_configure_args1=
1142  ac_sep=  ac_sep=
1143  for ac_arg  ac_must_keep_next=false
1144    for ac_pass in 1 2
1145  do  do
1146    case $ac_arg in    for ac_arg
1147    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    do
1148    | --no-cr | --no-c | -n ) continue ;;      case $ac_arg in
1149    -no-recursion | --no-recursion | --no-recursio | --no-recursi \      -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)  
     continue ;;  
1150  dnl If you change this globbing pattern, test it on an old shell --  dnl If you change this globbing pattern, test it on an old shell --
1151  dnl it's sensitive.  Putting any kind of quote in it causes syntax errors.  dnl it's sensitive.  Putting any kind of quote in it causes syntax errors.
1152  [  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]    [  *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]
1153      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1154    esac      esac
1155        case $ac_pass in
1156        1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1157        2)
1158          ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1159  dnl If trying to remove duplicates, be sure to (i) keep the *last*  dnl If trying to remove duplicates, be sure to (i) keep the *last*
1160  dnl value (e.g. --prefix=1 --prefix=2 --prefix=1 might keep 2 only),  dnl value (e.g. --prefix=1 --prefix=2 --prefix=1 might keep 2 only),
1161  dnl and (ii) not to strip long options (--prefix foo --prefix bar might  dnl and (ii) not to strip long options (--prefix foo --prefix bar might
1162  dnl give --prefix foo bar).  dnl give --prefix foo bar).
1163  dnl   case " $ac_configure_args " in        if test $ac_must_keep_next = true; then
1164  dnl     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.          ac_must_keep_next=false # Got value, back to normal.
1165  dnl     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"        else
1166  dnl        ac_sep=" " ;;          case $ac_arg in
1167  dnl   esac  dnl Use broad patterns, as arguments that would have already made configure
1168    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"  dnl exit don't matter.
1169    # Get rid of the leading space.            *=* | --config-cache | -C | -disable-* | --disable-* \
1170    ac_sep=" "            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1171              | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1172              | -with-* | --with-* | -without-* | --without-* | --x)
1173                case "$ac_configure_args0 " in
1174                  "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1175                esac
1176                ;;
1177              -* ) ac_must_keep_next=true ;;
1178            esac
1179          fi
1180          ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1181          # Get rid of the leading space.
1182          ac_sep=" "
1183          ;;
1184        esac
1185      done
1186  done  done
1187    AS_UNSET(ac_configure_args0)
1188    AS_UNSET(ac_configure_args1)
1189    
1190  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1191  # config.log.  We remove comments because anyway the quotes in there  # config.log.  We remove comments because anyway the quotes in there

Legend:
Removed from v.1.805  
changed lines
  Added in v.1.806

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26