SF.net SVN: geany: [2649] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Thu Jun 5 16:52:40 UTC 2008
Revision: 2649
http://geany.svn.sourceforge.net/geany/?rev=2649&view=rev
Author: eht16
Date: 2008-06-05 09:52:39 -0700 (Thu, 05 Jun 2008)
Log Message:
-----------
Remove check for unistd.h, assume it is available (already often used without checking).
Modified Paths:
--------------
trunk/ChangeLog
trunk/configure.in
trunk/tagmanager/entry.c
trunk/wscript
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-06-05 16:42:28 UTC (rev 2648)
+++ trunk/ChangeLog 2008-06-05 16:52:39 UTC (rev 2649)
@@ -3,6 +3,9 @@
* Makefile.am, waf, wscript, scripts/wafinit.sh:
Add alternative build system: Waf.
Use wafinit.sh to create a Makefile and configure files.
+ * configure.in, wscript, tagmanager/entry.c:
+ Remove check for unistd.h, assume it is available (already often
+ used without checking).
2008-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2008-06-05 16:42:28 UTC (rev 2648)
+++ trunk/configure.in 2008-06-05 16:52:39 UTC (rev 2649)
@@ -33,7 +33,7 @@
# autoscan start
# Checks for header files.
-AC_CHECK_HEADERS([fcntl.h fnmatch.h glob.h regex.h stdlib.h sys/time.h unistd.h])
+AC_CHECK_HEADERS([fcntl.h fnmatch.h glob.h regex.h stdlib.h sys/time.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_OFF_T
Modified: trunk/tagmanager/entry.c
===================================================================
--- trunk/tagmanager/entry.c 2008-06-05 16:42:28 UTC (rev 2648)
+++ trunk/tagmanager/entry.c 2008-06-05 16:52:39 UTC (rev 2649)
@@ -25,10 +25,8 @@
#if defined (HAVE_TYPES_H)
# include <types.h> /* to declare off_t on some hosts */
#endif
-#if defined (HAVE_UNISTD_H)
-# include <unistd.h> /* to declare close (), ftruncate (), truncate () */
-#endif
+
/* These header files provide for the functions necessary to do file
* truncation.
*/
Modified: trunk/wscript
===================================================================
--- trunk/wscript 2008-06-05 16:42:28 UTC (rev 2648)
+++ trunk/wscript 2008-06-05 16:52:39 UTC (rev 2649)
@@ -109,8 +109,7 @@
conf_check_header('sys/time.h')
conf_check_header('sys/types.h')
conf_check_header('sys/stat.h')
- conf_check_header('unistd.h')
- conf.define('HAVE_STDLIB', 1) # are there systems without stdlib.h?
+ conf.define('HAVE_STDLIB_H', 1) # are there systems without stdlib.h?
conf.define('STDC_HEADERS', 1) # an optimistic guess ;-)
if Params.g_options.gnu_regex:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list