5 # Use backticks to support ksh on Solaris
7 srcdir
=`cd "$basedir" && pwd`
11 ${AUTORECONF:-autoreconf} --verbose --install --force -I m4 ${AUTORECONF_FLAGS}
13 # Customize the INSTALL file
14 rm -f INSTALL
&& ln -s doc
/INSTALL .
16 # Generate po/POTFILES.in
17 if ! xgettext
-h 2>&1 |
grep -- '--keyword' >/dev
/null
; then
18 echo "gettext is unable to extract translations, set XGETTEXT to GNU gettext!" >&2
21 ${XGETTEXT:-xgettext} --keyword=_
--keyword=N_
--keyword=Q_
--output=- \
22 `find . -name '*.[ch]'` |
${SED-sed} -ne '/^#:/{s/#://;s/:[0-9]*/\
24 grep -v '^$' |
sort |
uniq >po
/POTFILES.
in
27 "$srcdir/version.sh" "$srcdir"
29 if test -x "$srcdir/configure.mc"; then
30 "$srcdir/configure.mc" "$@"