git://git.jankratochvil.net
/
mdsms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update for recent build tools
[mdsms.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
f4f8f57
..
8eb7ceb
100644
(file)
--- 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
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
else AC_MSG_RESULT(no)
fi
@@
-283,9
+285,14
@@
if test "$ACLOCAL" = "aclocal";then
ACLOCAL="$ACLOCAL -I ."
fi
ACLOCAL="$ACLOCAL -I ."
fi
-AC_SUBST(LIBOBJS)
-
AC_OUTPUT([Makefile
mdsms.spec
AC_OUTPUT([Makefile
mdsms.spec
+macros/Makefile
po/Makefile.in
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.