X-Git-Url: https://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=configure.in;h=8eb7cebf2c505fe0111d2c1b0b235238d1395ac4;hp=f4f8f57680bbbef60963eb25f071a172c361b32b;hb=3b014e78c3dff6daa5ba9b60fb34aa8d3f1e3e01;hpb=e622d224927f061c72126c61cc1c2185914320fd diff --git a/configure.in b/configure.in index f4f8f57..8eb7ceb 100644 --- a/configure.in +++ b/configure.in @@ -103,8 +103,10 @@ if test "$enable_debug" = yes;then AC_MSG_CHECKING(whether to use included getopt) if test "$with_getopt" = yes -o "$ac_cv_func_getopt_long" != yes ;then - LIBOBJS="$LIBOBJS getopt1.o getopt.o" - AC_MSG_RESULT(yes) + AC_LIBOBJ(getopt) + AC_LIBOBJ(getopt1) + AC_LIBSOURCE(getopt.h) + AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) fi @@ -283,9 +285,14 @@ if test "$ACLOCAL" = "aclocal";then ACLOCAL="$ACLOCAL -I ." fi -AC_SUBST(LIBOBJS) - AC_OUTPUT([Makefile mdsms.spec +macros/Makefile po/Makefile.in -intl/Makefile],[sed -e "/POTFILES =/r po/POTFILES" -e "s/ ChangeLog / /" po/Makefile.in > po/Makefile]) +intl/Makefile]) + +dnl FIXME: Why is "po/POTFILES" being substituted? +echo mdsms.c >po/POTFILES.in +make -C po Makefile + +echo done.