view autogen.sh @ 21767:b86e6d2abf23

imap-login: Add option to retain client id This should be enabled if client_id is wanted for auth policy
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Tue, 21 Feb 2017 14:46:31 +0200
parents 5af715500928
children
line wrap: on
line source

#!/bin/sh

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

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

for dir in $GETTEXT_DIR /usr/share/gettext /usr/local/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 https://www.dovecot.org/tmp/wiki2-export.tar.gz
  tar xzf wiki2-export.tar.gz
  if [ $? != 0 ]; then
    echo "Failed to uncompress wiki docs"
    exit
  fi
  mv wiki2-export/*.txt wiki/
  rm -rf wiki2-export wiki2-export.tar.gz
  cd ..
fi

cd doc/wiki
cp -f Makefile.am.in Makefile.am
echo *.txt | sed 's, , \\/	,g' | tr '/' '\n' >> Makefile.am
cd ../..

autoreconf -i

rm -f ChangeLog