apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: apr-iconv buildconf buildconf.sh
Date Sun, 23 Mar 2003 00:08:49 GMT
aaron       2003/03/22 16:08:49

  Added:       .        buildconf
  Removed:     .        buildconf.sh
  Log:
  Rename buildconf.sh as buildconf, and make it executable.
  
  Revision  Changes    Path
  1.1                  apr-iconv/buildconf
  
  Index: buildconf
  ===================================================================
  #!/bin/sh
  
  #
  # Build aclocal.m4 from libtool's libtool.m4 and our own M4 files.
  #
  libtoolize=`../apr/build/PrintPath glibtoolize libtoolize`
  if [ "x$libtoolize" = "x" ]; then
      echo "libtoolize not found in path"
      exit 1
  fi
  ltpath=`dirname $libtoolize`
  ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4
  echo "Incorporating $ltfile into aclocal.m4 ..."
  echo "dnl THIS FILE IS AUTOMATICALLY GENERATED BY buildconf.sh" > aclocal.m4
  echo "dnl edits here will be lost" >> aclocal.m4
  cat build/apr-iconv.m4 >> aclocal.m4
  cat $ltfile >> aclocal.m4
  
  #
  # Create the libtool helper files
  #
  # Note: we always replace the files, and we copy (rather than link) them.
  #
  echo "Copying libtool helper files ..."
  $libtoolize --force --copy
  
  #
  # Generate the autoconf header (include/apu_config.h) and ./configure
  #
  echo "Creating include/private/apu_config.h ..."
  autoheader
  
  echo "Creating configure ..."
  ### do some work to toss config.cache?
  autoconf
  
  
  

Mime
View raw message