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 -e '--keyword=' >/dev
/null
; then
18 echo "gettext is unable to extract translations, set XGETTEXT to GNU gettext!" >&2
20 ${XGETTEXT:-xgettext} --keyword=_
--keyword=N_
--keyword=Q_
--output=- \
21 `find . -name '*.[ch]'` |
${SED-sed} -ne '/^#:/{s/#://;s/:[0-9]*/\
23 grep -v '^$' |
sort |
uniq >po
/POTFILES.
in
26 "$srcdir/version.sh" "$srcdir"
28 if test -x "$srcdir/configure.mc"; then
29 "$srcdir/configure.mc" "$@"