You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by je...@apache.org on 2002/08/19 09:33:46 UTC

cvs commit: httpd-2.0 configure.in acinclude.m4

jerenkrantz    2002/08/19 00:33:46

  Modified:    .        configure.in acinclude.m4
  Log:
  Use APR_PARSE_ARGUMENTS instead of APACHE_PARSE_ARGUMENTS
  
  Submitted by:	Thom May <th...@planetarytramp.net>
  Reviewed by:	Justin Erenkrantz
  
  Revision  Changes    Path
  1.229     +1 -1      httpd-2.0/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/configure.in,v
  retrieving revision 1.228
  retrieving revision 1.229
  diff -u -r1.228 -r1.229
  --- configure.in	16 Jul 2002 14:42:35 -0000	1.228
  +++ configure.in	19 Aug 2002 07:33:45 -0000	1.229
  @@ -29,7 +29,7 @@
   APACHE_ENABLE_LAYOUT
   
   dnl reparse the configure arguments.
  -APACHE_PARSE_ARGUMENTS
  +APR_PARSE_ARGUMENTS
   
   dnl export expanded and relative configure argument variables
   APACHE_EXPORT_ARGUMENTS
  
  
  
  1.130     +0 -122    httpd-2.0/acinclude.m4
  
  Index: acinclude.m4
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/acinclude.m4,v
  retrieving revision 1.129
  retrieving revision 1.130
  diff -u -r1.129 -r1.130
  --- acinclude.m4	14 Aug 2002 20:43:52 -0000	1.129
  +++ acinclude.m4	19 Aug 2002 07:33:45 -0000	1.130
  @@ -488,128 +488,6 @@
   ])
   
   dnl
  -dnl APACHE_PARSE_ARGUMENTS
  -dnl a reimplementation of autoconf's argument parser,
  -dnl used here to allow us to co-exist layouts and argument based
  -dnl set ups.
  -AC_DEFUN(APACHE_PARSE_ARGUMENTS,[
  -ac_prev=
  -for ac_option
  -do
  -  # If the previous option needs an argument, assign it.
  -  if test -n "$ac_prev"; then
  -    eval "$ac_prev=\$ac_option"
  -    ac_prev=
  -    continue
  -  fi
  -
  -  ac_optarg=`expr "x$ac_option" : 'x[[^=]]*=\(.*\)'`
  -
  -  case $ac_option in
  -
  -  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  -    ac_prev=bindir ;;
  -  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  -    bindir="$ac_optarg" ;;
  -
  -  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  -    ac_prev=datadir ;;
  -  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  -  | --da=*)
  -    datadir="$ac_optarg" ;;
  -
  -  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  -  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  -  | --exec | --exe | --ex)
  -    ac_prev=exec_prefix ;;
  -  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  -  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  -  | --exec=* | --exe=* | --ex=*)
  -    exec_prefix="$ac_optarg" ;;
  -
  -  -includedir | --includedir | --includedi | --included | --include \
  -  | --includ | --inclu | --incl | --inc)
  -    ac_prev=includedir ;;
  -  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  -  | --includ=* | --inclu=* | --incl=* | --inc=*)
  -    includedir="$ac_optarg" ;;
  -
  -  -infodir | --infodir | --infodi | --infod | --info | --inf)
  -    ac_prev=infodir ;;
  -  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  -    infodir="$ac_optarg" ;;
  -
  -  -libdir | --libdir | --libdi | --libd)
  -    ac_prev=libdir ;;
  -  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  -    libdir="$ac_optarg" ;;
  -
  -  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  -  | --libexe | --libex | --libe)
  -    ac_prev=libexecdir ;;
  -  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  -  | --libexe=* | --libex=* | --libe=*)
  -    libexecdir="$ac_optarg" ;;
  -
  -  -localstatedir | --localstatedir | --localstatedi | --localstated \
  -  | --localstate | --localstat | --localsta | --localst \
  -  | --locals | --local | --loca | --loc | --lo)
  -    ac_prev=localstatedir ;;
  -  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  -  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  -  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  -    localstatedir="$ac_optarg" ;;
  -
  -  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  -    ac_prev=mandir ;;
  -  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  -    mandir="$ac_optarg" ;;
  -
  -  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  -    ac_prev=prefix ;;
  -  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  -    prefix="$ac_optarg" ;;
  -
  -  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  -    ac_prev=sbindir ;;
  -  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  -  | --sbi=* | --sb=*)
  -    sbindir="$ac_optarg" ;;
  -
  -  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  -  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  -  | --sharedst | --shareds | --shared | --share | --shar \
  -  | --sha | --sh)
  -    ac_prev=sharedstatedir ;;
  -  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  -  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  -  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  -  | --sha=* | --sh=*)
  -    sharedstatedir="$ac_optarg" ;;
  -
  -  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  -  | --syscon | --sysco | --sysc | --sys | --sy)
  -    ac_prev=sysconfdir ;;
  -  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  -  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  -    sysconfdir="$ac_optarg" ;;
  -
  -  esac
  -done
  -
  -# Be sure to have absolute paths.
  -for ac_var in exec_prefix prefix
  -do
  -  eval ac_val=$`echo $ac_var`
  -  case $ac_val in
  -    [[\\/$]]* | ?:[[\\/]]* | NONE | '' ) ;;
  -    *)  AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
  -  esac
  -done
  -
  -])dnl
  -
  -dnl
   dnl APACHE_EXPORT_ARGUMENTS
   dnl Export (via APACHE_SUBST) the various path-related variables that
   dnl apache will use while generating scripts like autoconf and apxs and