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
Ugly argument parsing bug fixed, courtesy of Bruno Ferri <bruno@eliocopy.com>.
[mdsms.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
0777284
..
e90c5d6
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-26,22
+26,32
@@
AC_ARG_WITH(lock-directory,
with_lock_directory=$withval, with_lock_directory=)
AC_MSG_RESULT($with_lock_directory)
with_lock_directory=$withval, with_lock_directory=)
AC_MSG_RESULT($with_lock_directory)
+AC_ARG_WITH(efence,
+[ --without-efence disable use of Electric Fence in maintainer-mode],
+ efence=$withval, efence=yes)
+
dnl Checks for programs.
AC_PROG_CC
if test "$USE_MAINTAINER_MODE" = yes;then
dnl Checks for programs.
AC_PROG_CC
if test "$USE_MAINTAINER_MODE" = yes;then
- if test "$GCC" = yes;then
- CFLAGS="-Wall -ansi -pedantic -ggdb"
- LDFLAGS="$LDFLAGS -lefence"
+ if test "$GCC" = yes;then
+ CFLAGS="$CFLAGS -Wall -ansi -pedantic -ggdb"
+ if test x$efence != xno;then
+ AC_CHECK_LIB(efence, EF_Exit)
fi
fi
+ fi
else
LDFLAGS="-s"
else
LDFLAGS="-s"
- AC_DEFINE(NDEBUG)
-
fi
+
AC_DEFINE(NDEBUG)
+fi
AC_PROG_CPP
dnl Checks for pathnames.
AC_PROG_CPP
dnl Checks for pathnames.
+ALL_LINGUAS="cs"
+AM_GNU_GETTEXT
+AC_CHECK_HEADERS(libintl.h)
+
AC_MSG_CHECKING([for modem lock directory])
dirx=""
if test "$with_lock_directory" = no;then
AC_MSG_CHECKING([for modem lock directory])
dirx=""
if test "$with_lock_directory" = no;then
@@
-252,4
+262,7
@@
fi
AC_SUBST(LIBOBJS)
AC_SUBST(LIBOBJS)
-AC_OUTPUT(Makefile)
+AC_OUTPUT([Makefile
+mdsms.spec
+po/Makefile.in
+intl/Makefile],[sed -e "/POTFILES =/r po/POTFILES" -e "s/ ChangeLog / /" po/Makefile.in > po/Makefile])