apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@apache.org
Subject cvs commit: apr/build apr_common.m4
Date Tue, 03 Apr 2001 01:19:50 GMT
fielding    01/04/02 18:19:49

  Modified:    .        CHANGES configure.in
               build    apr_common.m4
  Log:
  Generate config.nice for easy re-run of configure, because Ryan wanted it.
  
  Obtained from: Apache httpd 2.0
  
  Revision  Changes    Path
  1.83      +2 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.82
  retrieving revision 1.83
  diff -u -r1.82 -r1.83
  --- CHANGES	2001/04/03 00:02:01	1.82
  +++ CHANGES	2001/04/03 01:19:39	1.83
  @@ -1,5 +1,7 @@
   Changes with APR b1  
   
  +  *) Generate config.nice for easy re-run of configure. [Roy Fielding]
  +
     *) Define preprocessor flags in CPPFLAGS instead of CFLAGS and
        bring some sanity to the compiler command-lines. [Roy Fielding]
   
  
  
  
  1.272     +4 -0      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.271
  retrieving revision 1.272
  diff -u -r1.271 -r1.272
  --- configure.in	2001/04/03 01:09:44	1.271
  +++ configure.in	2001/04/03 01:19:41	1.272
  @@ -17,6 +17,10 @@
   sinclude(build/apr_hints.m4)
   sinclude(build/libtool.m4)
   
  +dnl Generate ./config.nice for reproducing runs of configure
  +dnl
  +APR_CONFIG_NICE(config.nice)
  +
   AC_CANONICAL_SYSTEM
   echo "Configuring APR library"
   OS=$host
  
  
  
  1.14      +19 -0     apr/build/apr_common.m4
  
  Index: apr_common.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_common.m4,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- apr_common.m4	2001/04/03 00:02:02	1.13
  +++ apr_common.m4	2001/04/03 01:19:46	1.14
  @@ -2,6 +2,25 @@
   dnl apr_common.m4: APR's general-purpose autoconf macros
   dnl
   
  +AC_DEFUN(APR_CONFIG_NICE,[
  +  rm -f $1
  +  cat >$1<<EOF
  +#! /bin/sh
  +#
  +# Created by configure
  +
  +EOF
  +  if test -n "$OPTIM"; then
  +    echo "OPTIM=\"$OPTIM\"; export OPTIM" >> $1
  +  fi
  +
  +  for arg in [$]0 "[$]@"; do
  +    echo "\"[$]arg\" \\" >> $1
  +  done
  +  echo '"[$]@"' >> $1
  +  chmod +x $1
  +])
  +
   dnl
   dnl APR_SUBDIR_CONFIG(dir [, sub-package-cmdline-args])
   dnl
  
  
  

Mime
View raw message