httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sas...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr configure.in
Date Sat, 29 Apr 2000 23:41:10 GMT
sascha      00/04/29 16:41:10

  Modified:    src/lib/apr configure.in
  Log:
  Small cleanup:
  
  * configure.in is in multiple locations, use threads.m4 instead for AC_INIT
  * use standard way to access config.(sub|guess)
  * respect CPPFLAGS
  
  Revision  Changes    Path
  1.76      +11 -7     apache-2.0/src/lib/apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/configure.in,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -u -r1.75 -r1.76
  --- configure.in	2000/04/28 23:20:37	1.75
  +++ configure.in	2000/04/29 23:41:09	1.76
  @@ -2,11 +2,14 @@
   dnl ## Autoconf configuration file for APR
   dnl ##
   
  +dnl Process this file with autoconf to produce a configure script.
  +AC_INIT(threads.m4)
  +AC_CONFIG_HEADER(include/apr_private.h)
  +AC_CONFIG_AUX_DIR_DEFAULT
   
  -AC_CONFIG_AUX_DIR(./helpers)
   echo "Configuring APR library"
  -OS=`./config.guess`
  -OS=`./config.sub $OS`
  +OS=`$ac_config_guess`
  +OS=`$ac_config_sub $OS`
   echo "Platform: ${OS}"
   
   dnl # Some initial steps for configuration.  We setup the default directory
  @@ -17,10 +20,6 @@
   echo "(Default will be ${DEFAULT_OSDIR})"
   MODULES="file_io network_io threadproc misc locks time mmap shmem dso i18n"
   
  -dnl Process this file with autoconf to produce a configure script.
  -AC_INIT(configure.in)
  -AC_CONFIG_HEADER(include/apr_private.h)
  -
   # Most platforms use a prefix of 'lib' on their library files.
   LIBPREFIX='lib'
   
  @@ -541,5 +540,10 @@
   MAKEFILE3="test/Makefile"
   AC_SUBST(SUBDIRS)
   AC_SUBST(MODULES)
  +
  +if test -n "$CPPFLAGS"; then
  +  CFLAGS="$CFLAGS $CPPFLAGS"
  +fi
  +
   AC_OUTPUT($MAKEFILE1 $MAKEFILE2 $MAKEFILE3 include/apr.h)
   
  
  
  

Mime
View raw message