Update of /cvsroot/bogofilter/bogofilter
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2300
Modified Files:
Makefile.am configure.ac
Log Message:
Import GNU getopt from GCC's CVS repository.
Index: Makefile.am
===================================================================
RCS file: /cvsroot/bogofilter/bogofilter/Makefile.am,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- Makefile.am 31 Jan 2004 03:25:07 -0000 1.145
+++ Makefile.am 31 Jan 2004 06:12:52 -0000 1.146
@@ -16,7 +16,7 @@
EXTRA_DIST= autogen.sh gsl config.rpath \
bogofilter.cf.example \
bogofilter.spec bogofilter.spec.in \
- METHODS Doxyfile \
+ METHODS Doxyfile gnugetopt \
CHANGES-0.10 README.cvs \
CHANGES-0.11 RELEASE.NOTES-0.11 \
CHANGES-0.12 RELEASE.NOTES-0.12 \
@@ -45,5 +45,5 @@
@( cat $(srcdir)/.rsyncs | sed -e 's}^}rsync -av --delete $(PACKAGE)-$(VERSION)/ }; s/\($$\)/ \&/;' ; echo "wait" ) | $(SHELL) -x
dist-hook:
- cd $(distdir) && find doc gsl -name CVS -type d -prune -exec rm -r '{}' ';'
+ cd $(distdir) && find doc gnugetopt gsl -name CVS -type d -prune -exec rm -r '{}' ';'
rm -f $(distdir)/doc/.cvsignore
Index: configure.ac
===================================================================
RCS file: /cvsroot/bogofilter/bogofilter/configure.ac,v
retrieving revision 1.244
retrieving revision 1.245
diff -u -d -r1.244 -r1.245
--- configure.ac 31 Jan 2004 05:01:46 -0000 1.244
+++ configure.ac 31 Jan 2004 06:12:52 -0000 1.245
@@ -250,7 +250,7 @@
AC_FUNC_MMAP
AC_FUNC_VPRINTF
-AC_CHECK_FUNCS(alarm bzero ftruncate memset mkdir socket strdup strerror flock lockf fcntl strchr strrchr memcpy memmove munmap pow sqrt strcasecmp strcspn strspn strstr snprintf vsnprintf)
+AC_CHECK_FUNCS(alarm bzero ftruncate memset mkdir socket strdup strerror flock lockf fcntl strchr strrchr memcpy memmove munmap pow sqrt strcasecmp strcspn strspn strstr snprintf vsnprintf getopt_long)
AC_REPLACE_FUNCS(strlcpy strlcat)
AC_LIB_RPATH
@@ -529,6 +529,7 @@
PATH="$PATH_SAVED"
AM_CONDITIONAL(NEED_GSL,test $need_my_gsl != 0)
+AM_CONDITIONAL(NEED_GETOPT,test $ac_cv_func_getopt_long != yes)
have_dosish_system=no
case "${target}" in
|