[kazehakase-svn] [3299] * configure.ac: Add AC_DEFINE(HAVE_STRPTIME).

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
Thu Oct 18 15:30:00 JST 2007


Revision: 3299
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3299
Author:   ikezoe
Date:     2007-10-18 15:30:00 +0900 (Thu, 18 Oct 2007)

Log Message:
-----------
	* configure.ac: Add AC_DEFINE(HAVE_STRPTIME).
	* src/missing/kz-missing.h: #include "config.h".

Modified Paths:
--------------
    kazehakase/trunk/ChangeLog
    kazehakase/trunk/configure.ac
    kazehakase/trunk/src/missing/kz-missing.h

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2007-10-18 06:14:42 UTC (rev 3298)
+++ kazehakase/trunk/ChangeLog	2007-10-18 06:30:00 UTC (rev 3299)
@@ -1,6 +1,8 @@
 2007-10-18  Hiroyuki Ikezoe  <poinc****@ikezo*****>
 
 	* src/missing/kz-missing.h: Add missing G_END_DECLS.
+	* configure.ac: Add AC_DEFINE(HAVE_STRPTIME).
+	* src/missing/kz-missing.h: #include "config.h".
 
 2007-10-17  Hiroyuki Ikezoe  <poinc****@ikezo*****>
 

Modified: kazehakase/trunk/configure.ac
===================================================================
--- kazehakase/trunk/configure.ac	2007-10-18 06:14:42 UTC (rev 3298)
+++ kazehakase/trunk/configure.ac	2007-10-18 06:30:00 UTC (rev 3299)
@@ -338,6 +338,9 @@
 AC_CHECK_FUNCS([setlocale strchr strtol uname memmove strerror])
 AC_CHECK_FUNC([strptime], [have_strptime=yes], [have_strptime=no])
 AM_CONDITIONAL(HAVE_STRPTIME, test x"$have_strptime" = "xyes")
+if test x"$have_strptime" = "xyes"; then
+  AC_DEFINE(HAVE_STRPTIME, 1, [Define strptime])
+fi
 
 dnl **************************************************************
 dnl Migemo

Modified: kazehakase/trunk/src/missing/kz-missing.h
===================================================================
--- kazehakase/trunk/src/missing/kz-missing.h	2007-10-18 06:14:42 UTC (rev 3298)
+++ kazehakase/trunk/src/missing/kz-missing.h	2007-10-18 06:30:00 UTC (rev 3299)
@@ -23,6 +23,10 @@
 
 #include <glib.h>
 
+#ifdef HAVE_CONFIG_H
+#	include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 G_BEGIN_DECLS
 
 #ifndef HAVE_STRPTIME




More information about the Kazehakase-cvs mailing list
Zurück zum Archiv-Index