file_op_context_t: remove op_preserve member.
[midnight-commander.git] / autogen.sh
blobee76efc22e7e6b6a26ddb79282197d2f254c8cfc
1 #!/bin/sh
3 set -e
5 srcdir="$(cd "$(dirname "$0")" && pwd)"
7 cd "$srcdir"
9 ${AUTORECONF:-autoreconf} --verbose --install --force -I m4 ${AUTORECONF_FLAGS}
11 # Customize the INSTALL file
12 rm -f INSTALL && ln -s doc/INSTALL
14 # Generate po/POTFILES.in
15 ${XGETTEXT:-xgettext} --keyword=_ --keyword=N_ --keyword=Q_ --output=- \
16 `find . -name '*.[ch]'` | ${SED-sed} -ne '/^#:/{s/#://;s/:[0-9]*/\
17 /g;s/ //g;p;}' | \
18 grep -v '^$' | sort | uniq >po/POTFILES.in
20 $srcdir/version.sh "$srcdir"
22 if test -x $srcdir/configure.mc; then
23 $srcdir/configure.mc "$@"