view autogen.sh @ 5450:7a6db5ec047d HEAD

Better type safety to module_contexts arrays. Already fixed some bugs.
author Timo Sirainen <tss@iki.fi>
date Thu, 29 Mar 2007 14:51:09 +0300
parents 9d36800df1ae
children e9745c1c4d14
line wrap: on
line source

#!/bin/sh

# If you've non-standard directories, set these
#ACLOCAL_DIR=
#GETTEXT_DIR=

if test "$ACLOCAL_DIR" != ""; then
  ACLOCAL="aclocal -I $ACLOCAL_DIR"
  export ACLOCAL
fi

for dir in $GETTEXT_DIR /usr/share/gettext; do
  if test -f $dir/config.rpath; then
    /bin/cp -f $dir/config.rpath .
    break
  fi
done

if ! test -f doc/wiki/Authentication.txt; then
  cd doc
  wget http://www.dovecot.org/tmp/wiki-export.tar.gz
  tar xzf wiki-export.tar.gz
  mv wiki-export/*.txt wiki/
  cd wiki
  cp -f Makefile.am.in Makefile.am
  echo *.txt | sed 's/ / \\\n	/g' >> Makefile.am
  cd ..
  rm -rf wiki-export wiki-export.tar.gz
  cd ..
fi

autoreconf -i