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
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.