annotate autogen.sh @ 19615:152ed3cd2bad

pop3-migration: Added pop3_migration_skip_size_check setting If we know that we're not going to be able to match any messages by sizes, we might as well not ask for the messages' sizes. This is useful at least with Yahoo.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sun, 24 Jan 2016 16:27:21 +0200
parents b0707e5a89cd
children 5af715500928
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4988
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
1 #!/bin/sh
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
2
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
3 # If you've non-standard directories, set these
4990
786556485e91 Comment out the configurable dir environments.
Timo Sirainen <tss@iki.fi>
parents: 4988
diff changeset
4 #ACLOCAL_DIR=
786556485e91 Comment out the configurable dir environments.
Timo Sirainen <tss@iki.fi>
parents: 4988
diff changeset
5 #GETTEXT_DIR=
4988
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
6
10753
80a11f8650a4 Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents: 9575
diff changeset
7 ACLOCAL="aclocal -I ."
4988
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
8 if test "$ACLOCAL_DIR" != ""; then
10753
80a11f8650a4 Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents: 9575
diff changeset
9 ACLOCAL="$ACLOCAL -I $ACLOCAL_DIR"
4988
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
10 fi
10753
80a11f8650a4 Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents: 9575
diff changeset
11 export ACLOCAL
4988
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
12
9575
38add5a084db autogen.sh: Look up config.rpath also from /usr/local/shared/gettext/.
Timo Sirainen <tss@iki.fi>
parents: 8523
diff changeset
13 for dir in $GETTEXT_DIR /usr/share/gettext /usr/local/share/gettext; do
4988
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
14 if test -f $dir/config.rpath; then
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
15 /bin/cp -f $dir/config.rpath .
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
16 break
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
17 fi
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
18 done
12d853120b45 Rewrite. Use autoreconf now. Also copy config.rpath from gettext's directory.
Timo Sirainen <tss@iki.fi>
parents: 3857
diff changeset
19
5501
e9745c1c4d14 Fixed to work with POSIX sh.
Timo Sirainen <tss@iki.fi>
parents: 5441
diff changeset
20 if test ! -f doc/wiki/Authentication.txt; then
5441
9d36800df1ae Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents: 5057
diff changeset
21 cd doc
11716
3d737e1ed65e autogen.sh: Use wiki2-export for docs for now.
Timo Sirainen <tss@iki.fi>
parents: 10753
diff changeset
22 wget http://www.dovecot.org/tmp/wiki2-export.tar.gz
3d737e1ed65e autogen.sh: Use wiki2-export for docs for now.
Timo Sirainen <tss@iki.fi>
parents: 10753
diff changeset
23 tar xzf wiki2-export.tar.gz
11863
598b1334fbba autogen.sh: If wiki docs can't be downloaded/uncompressed, fail early.
Timo Sirainen <tss@iki.fi>
parents: 11716
diff changeset
24 if [ $? != 0 ]; then
598b1334fbba autogen.sh: If wiki docs can't be downloaded/uncompressed, fail early.
Timo Sirainen <tss@iki.fi>
parents: 11716
diff changeset
25 echo "Failed to uncompress wiki docs"
598b1334fbba autogen.sh: If wiki docs can't be downloaded/uncompressed, fail early.
Timo Sirainen <tss@iki.fi>
parents: 11716
diff changeset
26 exit
598b1334fbba autogen.sh: If wiki docs can't be downloaded/uncompressed, fail early.
Timo Sirainen <tss@iki.fi>
parents: 11716
diff changeset
27 fi
11716
3d737e1ed65e autogen.sh: Use wiki2-export for docs for now.
Timo Sirainen <tss@iki.fi>
parents: 10753
diff changeset
28 mv wiki2-export/*.txt wiki/
3d737e1ed65e autogen.sh: Use wiki2-export for docs for now.
Timo Sirainen <tss@iki.fi>
parents: 10753
diff changeset
29 rm -rf wiki2-export wiki2-export.tar.gz
5441
9d36800df1ae Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents: 5057
diff changeset
30 cd ..
9d36800df1ae Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents: 5057
diff changeset
31 fi
9d36800df1ae Added documentation to doc/wiki/. autogen.sh downloads them from dovecot.org
Timo Sirainen <tss@iki.fi>
parents: 5057
diff changeset
32
5532
Timo Sirainen <tss@iki.fi>
parents: 5501
diff changeset
33 cd doc/wiki
Timo Sirainen <tss@iki.fi>
parents: 5501
diff changeset
34 cp -f Makefile.am.in Makefile.am
Timo Sirainen <tss@iki.fi>
parents: 5501
diff changeset
35 echo *.txt | sed 's, , \\/ ,g' | tr '/' '\n' >> Makefile.am
Timo Sirainen <tss@iki.fi>
parents: 5501
diff changeset
36 cd ../..
Timo Sirainen <tss@iki.fi>
parents: 5501
diff changeset
37
5057
d86ee13688d5 Removed -f option from autoreconf, since it overwrites our INSTALL file.
Timo Sirainen <tss@iki.fi>
parents: 5000
diff changeset
38 autoreconf -i
19583
b0707e5a89cd ChangeLog: Generate mercurial style changelogs
Aki Tuomi <aki.tuomi@dovecot.net>
parents: 11863
diff changeset
39
b0707e5a89cd ChangeLog: Generate mercurial style changelogs
Aki Tuomi <aki.tuomi@dovecot.net>
parents: 11863
diff changeset
40 rm -f ChangeLog