X-Git-Url: http://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=configure.in;h=8eb7cebf2c505fe0111d2c1b0b235238d1395ac4;hp=f4f8f57680bbbef60963eb25f071a172c361b32b;hb=6a96f22d3c3e11f63ee17687a9de7f4c6ba854c5;hpb=7a17c3bc98ac54d4e6e271f113452ff51b69e18f;ds=sidebyside 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.