Rename 'cvs2cl.pl' to the more common 'cvs2cl'.
[mdsms.git] / configure.in
index f4f8f57..8eb7ceb 100644 (file)
@@ -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.