changeset 781:1f822f137e19

2006-7-20 Brian Masney <masneyb@gftp.org> * configure.in - added configure check for fsplib. Also, removed intl/Makefile and po/Makefile.in from AC_OUTPUT()
author masneyb
date Thu, 20 Jul 2006 10:22:16 +0000
parents e2d5adfaa9a9
children deb8a8b07797
files ChangeLog configure.in
diffstat 2 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jul 20 03:18:52 2006 +0000
+++ b/ChangeLog	Thu Jul 20 10:22:16 2006 +0000
@@ -1,3 +1,7 @@
+2006-7-20 Brian Masney <masneyb@gftp.org>
+	* configure.in - added configure check for fsplib. Also, removed 
+	intl/Makefile and po/Makefile.in from AC_OUTPUT()
+
 2006-7-19 Brian Masney <masneyb@gftp.org>
 	* configure.in - updated version number to 2.0.19pre1. I have a long
 	ways to go though before I can put out a new release of gftp. I want
@@ -3465,7 +3469,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.452 2006/07/20 03:18:51 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.453 2006/07/20 10:22:16 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/configure.in	Thu Jul 20 03:18:52 2006 +0000
+++ b/configure.in	Thu Jul 20 10:22:16 2006 +0000
@@ -73,6 +73,13 @@
 AC_FUNC_UTIME_NULL
 AC_CHECK_FUNCS(gai_strerror getaddrinfo getcwd gettimeofday getwd mkdir mktime putenv rmdir select socket strdup strstr strtod strtol uname grantpt openpty getdtablesize)
 
+# This is needed by fsplib. This check is from configure.ac in that distribution.
+AC_CHECK_TYPE(union semun, ,AC_DEFINE(_SEM_SEMUN_UNDEFINED,1,[Define if you do not have semun in sys/sem.h]),
+[#include <sys/types.h>
+#include <sys/ipc.h>
+#include <sys/sem.h>
+])
+
 if test "x$enable_gtk20" = "xyes" ; then
   PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0.0, found_glib20=1, found_glib20=0)
 else
@@ -293,4 +300,4 @@
 AC_CHECK_PROG(DB2HTML, db2html, true, false)
 AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML)
 
-AC_OUTPUT(Makefile docs/Makefile docs/sample.gftp/Makefile lib/Makefile lib/fsplib/Makefile src/gftp src/Makefile src/uicommon/Makefile src/gtk/Makefile src/text/Makefile gftp.spec intl/Makefile po/Makefile.in )
+AC_OUTPUT(Makefile docs/Makefile docs/sample.gftp/Makefile lib/Makefile lib/fsplib/Makefile src/gftp src/Makefile src/uicommon/Makefile src/gtk/Makefile src/text/Makefile gftp.spec)